I have managed a simple symlink based approach to allow quick switching to a few build targets without the time consumption for every confload action.
Please see attached patch. I think that this makes more sense for starters who are simply doing experiments and wanna have an impression of several stuff. Real project workers could do well without this feature.
Of course the script could be integrated in mk/main.mk
In this file however, a few changes were necessary in order to clean not by removing build/ but the contents of it. Otherwise the symlink would be destroyed.
$ ./confload project/gpio_http_admin/stm32f746g-discovery
-existing configuration still used (to renew it from template, do make confclean and repeat)
This example also documents another (for experimenters) handy feature. The traditional make confload-xxx operates as before, using real folders conf & build. If executed accidentally, any used template/project specific folders are not lost and would be 'relinked' again by invocating the new script.
Disadvantage of the script compared to make confload-xxx: no autocompletion.
PS: For any new project using embox without needing external memory, I'm considering the following NXP MCU's offering 4 MB flash & up to 1 MB RAM: i.MX RT1024 resp. 1064 (https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/i-mx-rt-crossover-mcus:IMX-RT-SERIES
). Could fit as industrial controller with webserver, modbus, profibus, wifi etc.