Migrating NUCLEO152RE to STM32L073

190 Views Asked by At

I have a code on NUCLEOL152RE i want to migrate this code to STM32L073RZ

What are the step i have to be done to migrate this code from NUCLEO152RE to STM32L073.

1

There are 1 best solutions below

0
On

There is significant difference between cores you are switching.

Cortex M0+ doesn't support unaligned access:

"There is no support for unaligned accesses on the Cortex-M0+ processor. Any attempt to perform an unaligned memory access operation results in a HardFault exception."

It means that e. g. 4B variable address must be 4-dividable. Is it uncomfortable while parsing protocol frames etc.

Also it doesn't support bitbanding (bit access to memory).