Congrats!
I was on the live youtube for just a bit (enough to see it working ) so I can attest it's pretty cool 😎
lwIP Library with CDC Ethernet for the TI-84+ CE
Re: lwIP Library with CDC-ECM for the TI-84+ CE
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)My calculator programs
Mes programmes pour calculatrices
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14677
- Images: 1119
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Public Beta Released
The implementation of lwIP for the TI-84+ CE is now officially moved into public beta as we await work from the toolchain devs on a method to make this a dynamic library. I was advised by commandblockguy that at present we use this as a static library.
Source: https://github.com/acagliano/lwip-ce
Simply run the following commands to set yourself with a working repo:
This will clone the repo and fetch app tools. For now, anything using lwIP will need to be build as an app due to the sheer size of the code-base.
For drivers, I have implemented USB CDC for ECM and NCM devices. This means that most 10/100/1000 and most Gigabit adapters will work fine. You may also use a WPS-capable Ethernet-Wifi adapter. WPS is needed because SSID polling and selection is not a thing, although if anyone would like to write, test, and submit a driver for that for a specific chipset, please do so.
It is the intent with this project to allow addons via extensions/modules that users can drop in that lwIP will load, either via some internal call like (eg) lwipce_load_ext(TLSDRVCE) [this would load a hypothetical TLS implementation) or as a dynamic library via LIBLOAD (more on that later - WIP). This would allow users to hypothetically build applications like HTTP(s), SMTP, SSH, as well as to extend the driver set (ex: adding a driver for a wireless card). We are unsure at present how this would actually function internally and are open to suggestions.
The implementation of lwIP for the TI-84+ CE is now officially moved into public beta as we await work from the toolchain devs on a method to make this a dynamic library. I was advised by commandblockguy that at present we use this as a static library.
Source: https://github.com/acagliano/lwip-ce
Simply run the following commands to set yourself with a working repo:
- Code: Tout sélectionner
git clone https://github.com/acagliano/lwip-ce # into whatever dir you want
cd lwip-ce
git submodule update --init --recursive
This will clone the repo and fetch app tools. For now, anything using lwIP will need to be build as an app due to the sheer size of the code-base.
For drivers, I have implemented USB CDC for ECM and NCM devices. This means that most 10/100/1000 and most Gigabit adapters will work fine. You may also use a WPS-capable Ethernet-Wifi adapter. WPS is needed because SSID polling and selection is not a thing, although if anyone would like to write, test, and submit a driver for that for a specific chipset, please do so.
It is the intent with this project to allow addons via extensions/modules that users can drop in that lwIP will load, either via some internal call like (eg) lwipce_load_ext(TLSDRVCE) [this would load a hypothetical TLS implementation) or as a dynamic library via LIBLOAD (more on that later - WIP). This would allow users to hypothetically build applications like HTTP(s), SMTP, SSH, as well as to extend the driver set (ex: adding a driver for a wireless card). We are unsure at present how this would actually function internally and are open to suggestions.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 11
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC Ethernet for the TI-84+ CE
Hello,
I have a Ti-83 Premium CE, does lw-ip will work on it?
And I didn’t know how it’s work, can you explain me?
Thanks-you
I have a Ti-83 Premium CE, does lw-ip will work on it?
And I didn’t know how it’s work, can you explain me?
Thanks-you
-
tom-garnier
Niveau 6: SM (Super Membre)- Messages: 55
- Inscription: 18 Mai 2024, 09:27
- Localisation: Bretagne, France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: tom-garnier
Re: lwIP Library with CDC Ethernet for the TI-84+ CE
tom-garnier a écrit:I have a Ti-83 Premium CE, does lw-ip will work on it?
If it's an ez80 cpu, perhaps. Try it out and let us know.
tom-garnier a écrit:And I didn’t know how it’s work, can you explain me?
It's not an easy thing to figure out but the main.c stub is a good starting point.
Headers
- Code: Tout sélectionner
// I recommend you include these 4 files AT LEAST for basic functionality.
// init and timeouts are needed to initialize the stack and to poll the timers
// netif is optional; since the usb interacts with netifs internally, you will need to poll for an up netif and use it
#include "lwip/init.h"
#include "lwip/timeouts.h"
#include "lwip/netif.h"
Initialization
- Code: Tout sélectionner
lwip_init(); // <== start with this before using lwip; it initializes the stack
// initialize the usb ethernet drivers
usb_Init(eth_handle_usb_event, NULL, NULL, USB_DEFAULT_INIT_FLAGS);
The above should come before pretty much anything.
Using lwip is modular. So what this means is that you have to make use of the API for whatever protocol you plan to use. For example, if you want to use TCP, you need to include "lwip/tcp.h" (or altcp.h). You will then need to follow the documentation provided by non-gnu for using it.
https://www.nongnu.org/lwip/2_1_x/group ... __api.html
*NOTE* you can only use the callback API ("raw" API). Anything else does not work on the calculator because it's NOSYS.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 11
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC Ethernet for the TI-84+ CE
The 83PCE is the 84+CE with a better-featured OS (exact math engine), so the code really ought to work on both models.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Messages: 6861
- Inscription: 23 Déc 2009, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: -
- GitHub: debrouxl
Re: lwIP Library with CDC Ethernet for the TI-84+ CE
Also I added better usage directives to the readme.
Hopefully this helps anyone aiming to use it.
https://github.com/cagstech/lwip-ce/blo ... /README.md
Hopefully this helps anyone aiming to use it.
https://github.com/cagstech/lwip-ce/blo ... /README.md
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 11
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC Ethernet for the TI-84+ CE
The work on TLS has begun.
https://github.com/cagstech/lwip-ce/blo ... ls/INFO.md
This file presents some notes on what cipher-suites are required versus what we can currently support and notes on what else would need to be implemented.
We are (or more accurately--I am, unless others offer help) building a TLS implementation completely from scratch in ez80 assembly.
I therefore request prayers for the state of my soul. Though, assistance from any who know cryptography would work as well.
https://github.com/cagstech/lwip-ce/blo ... ls/INFO.md
This file presents some notes on what cipher-suites are required versus what we can currently support and notes on what else would need to be implemented.
We are (or more accurately--I am, unless others offer help) building a TLS implementation completely from scratch in ez80 assembly.
I therefore request prayers for the state of my soul. Though, assistance from any who know cryptography would work as well.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 11
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
17 messages
• Page 2 sur 2 • 1, 2
Retourner vers Langages alternatifs
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 5 invités