Hacker News new | ask | show | jobs
by girvo 1307 days ago
Champion! That’s exactly what I’ve been looking for haha

I’m trying to remove the need for external commands to compile Nim when used with ESP-IDF for embedded firmware development, which is dependent on CMake.

Going to take a crack at this today :)

1 comments

Have you replaced writing C code for ESP with writing Nim and compiling it to C instead?
That’s exactly what we’re doing, yeah. --compileOnly gets pretty far, and I’d love to remove the need for having to run that compilation step separately before CMake builds the firmware from the generated C sources
Excellent, I've been hearing good things about Nim. I'm eager to try it out soon for a embedded project.
You'll find me (and some others) in the #embedded channel on Nim's Discord/Matrix if you have questions!
Yay! Thank you.