3 ms·
Nim compiles to C source code. Isn't the ESP32 SDK just C?
by mixedCase 9y ago
Nim compiles to C source code. Isn't the ESP32 SDK just C?
- squarefoot 9y agoI believe so, but on a ucontroller it also needs to know the machine data types, memory structure, internal peripherals etc, where is this or that pin, how to start a timer or read the ADC etc. Probably all it needs is a good set of .h files to generate appropriate code.
- gokr 9y agoJust as a sidenote, there is: https://github.com/xyz32/boneIO https://github.com/xyz32/boneIO ...and a while back I played too with: https://github.com/gokr/ardunimo https://github.com/gokr/ardunimo Nim is quite perfect for these things since it compiles via C/C++ which makes it go anywhere.