2016-07-25 01:02 PM
We have spent weeks getting the CubeMX setup just right, and have decided that we need a processor that has more memory. I really don't want to start from scratch, the processor is almost identical except that it has twice the Flash.
Is there anyway to change the selected processor but leave all the pin assignments and IP setups as-is?Currently configured for STM32L011K4Tx, going to an STM32L031K6Tx-Matt #stm32l031 #cubemx #stm32l0112016-07-25 01:09 PM
While waiting for a response thought I'd play with it.
Yes - it's easy!1) Setup a new project with the new processor2) Before doing any assignments, click on ''File -> Import Project'' (This is grayed out if anything is changed).3) Select the project for the smaller processorEverything that is ''compatible'' is brought into the new project (even the clock settings).The only thing that was not compatible is the BOOT0 pin, which cannot be reassigned on the 031 part.-Matt