CubeIDE : support for more than one cubeMx project
I actually have a Nucleo and a custom board. They are running same software and are very identical in terms of hardware but not identical: but there is at 2 pins that need to be changed and UART added: set baud rate, set NVIC IT. I also have to insert my IT handler once CUbeMX updated files (in stm32xxx_it.c)
I wonder if i could handle 2 differents layout (via ie a new target or a new board, as mentionned in CubeIDE), but i have no idea how to support this.
I guess i should have 2x .ioc files, and eventually a couple of scripts to start CubeMX generation and copy/paste the IT callback (although it coudl overwrite CubeMX generated file).
Any idea on how to do this ? Thank you !
