3 ms·
Great to hear!
by elcritch 5y ago
Great to hear!
- girvo 5y agoI'm putting together some pull requests at some point in the near-ish future to bring it up to date with ESP-IDF 4.3 and add some more interfaces for some modules (esp_pthread.h and some others). It's working quite well on Nim v1.6.4 -- though I set my project up with PlatformIO and adjusted the CMakeLists.txt to read nimcache, and wrote my own nim.cfg I'll likely setup a new template project for all of that, as I think PlatformIO's lib folder allowing people to add C libraries (including their own they write) and manage, build, and flash their boards is quite nice. Its a bit different to how Nesper sets up its project, so I reckon a secondary template project is the way to go. Wrote my own tasks too, just to be sure. Honestly one thing I'd love to do is see if I can get Nim calling the ESP32 toolchain itself: compile out to object files and just have CMake link them, rather than the current --compileOnly:on approach. Might be more trouble than it's worth though! Also, I have full JTAG debugging (including breakpoints in the Nim source) working remarkably well!
- elcritch 5y agoThat's awesome! I'd definitely be open to PRs for Nesper. Long term I think even a pure Nim RTOS would be awesome too complete with cross compiling and linking. Let me know if you ever get a chance to do a writeup for using JTAG with Nim and ESP32's. I've never tried it, but it'd be cool to show it to people.