Any trick to make/flash different microcontrollers at once?

I have a few different boards connected to host. Whenever FW changed, I should do the same steps for each - “make menuconfig;make;flash_usb”
Could someone explain the method for switching between several predefined configurations using make menuconfig?

I was looking for the same thing a while ago and was told there isn’t a way of doing that.

Now, just doing a search on this, I found:

Which I think explains how to do what you’re looking for.

3 Likes

Thanks. Exactly what I want.

Doesn’t KIAUH have the option to name/reuse makemenu configurations?

Actually, I think we have an even more convenient solution.

1 Like

Nice solution, but focused on stand-alone physical printers. However, it is unfortunately not suitable for my development setup, which involves a few Docker containers and host development env.
The variant with the simple script referred to a different KCONFIG_CONFIG now works excellently on my machine.

1 Like