I am wondering where inside a port specific module should I add new functions for example, I wish to add a few new functions to the esp32 modnetwork.c file to add in WPA2 EAP networking support, where in the file would it be best at add these?
After the last function declaration that is accessible from uPy? In the middle somewhere? or at the beginning.
Question about adding new functions to port specific modules.
Re: Question about adding new functions to port specific modules.
Still looking for an answer.
Re: Question about adding new functions to port specific modules.
Doesn't really matter where, as long as it compiles? The function object eventually needs to go in mp_module_network_globals_table so must be defined before that.