MK60DN512VLQ10 and STM32L4P5ZETx.they are the same in ARM Cortex-M4 and even in pin configurations.
Asked
Active
Viewed 31 times
1 Answers
1
The code will run on the microcontroller Core, but peripherals (GPIO, USART etc) are completely different. So you will need to rewrite all peripheral-related code. If your project structure is logical (ie if you have decent HAL - Hardware Abstraction Layer) it can be done without touching the main program logic.
But it is hard, long and unpleasant work - sometimes it easier to rewrite it from the scratch.

0___________
- 60,014
- 4
- 34
- 74
-
will the same architecture MCU have the same register configurations without considering peripherals – JAMES Aug 09 '22 at 11:44
-
Core registers - yes. Peripheral registers - no – 0___________ Aug 09 '22 at 13:58