You are reading a single comment by @tve and its replies. Click here to read the full conversation.
  • Monologue continued... I think that what I need to do is grab FreeRTOS from source and integrate it into Espruino. Make that work on the EMW3165. Then continue and deal with LwIP and WWD. Trying to just glue the whole thing together isn't magically going to work...
    To integrate FreeRTOS is similar to what we had to do with the esp8266:

    • the main espruino loop needs to run in a low priority thread
    • the timer stuff needs to run in a high priority thread and use FreeRTOS timers
    • gpio interrupts need to work with FreeRTOS
    • sleep modes need to work with FreeRTOS
    • dunno whether something else uses interrupts...
About

Avatar for tve @tve started