That's a good list! But the LwIP and FreeRTOS <=> POSIX brigde requires support 
in the Nim standard library to make using Nim sockets/selects/etc libraries 
possible.

The port on my branch with networking supports the LwIP, and some of the VFS 
via the normal POSIX API's (uart, select, etc). The core part to make Nim 
usable with ESP-IDF is:

  * the FreeRTOS <=> POSIX bridges
  * Nim compiler constants for 'os:freertos'
  * LwIP wrappers
  * Modifications to the standard libraries.



Once those are in place the VFS, FreeRTOS tasks, etc can be handled readily as 
libraries, or small PR's.

Unfortunately the standard libraries include number of when ... blocks to avoid 
functions that don't make sense on FreeRTOS slimmed POSIX. Since you need to 
space the rest of the proc with the when block, any upstream changes in those 
files cause conflicts.

So it's a pain to rebase... Anyone know what's required to get the base PR 
merged? Then it'd be much easier to start working on testing out the full 
system and expanding out the features. 

Reply via email to