Better build system for embedded ESP32 development?

1 points by wojciii ↗ HN
I recently did some development using esp32. The tools provided .. idf.py is horrible at building software. I'm kind of surprised how bad it is.

You have to use kconfig to configure esp32 components.. but you can't disable a component - it will be built even when not used.

Adding a 3rd party lib requires one to write cmake to build the library as an esp32 component.

I guess what I'm asking is what you use for building software based on esp32?

I was looking at something like the yocto build system but for embedded development. I wasn't able to find anything.

4 comments

[ 4.1 ms ] story [ 17.8 ms ] thread
Try using literally any other embedded SDK and you'll realise that idf is actually a dream.
I have and this is not the case. The issue is that it does not work very well for my use case.

I do agree that the tool is quite user friendly when you use it for the intended purpose: apps for the microcontrollers without many dependencies on external libraries.

I've been curious about to try Zephyr. I hear good things about it.

Right now I'm using PlatformIO for my ESP32 development.