cancel
Showing results for 
Search instead for 
Did you mean: 

Can software developed for NUCLEO-F0 run on an F3 or F4 without modification?

BMcKnight
Associate II

Hello,

I came across an old book in a bookstore that has some interesting bare metal C projects for a NUCLEO-F030.  Other than setting the clock speed to 80 MHz and adjusting for some pin variance, will code written for it run on a NUCLEO-F3 or -F4?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
mfgkw
Senior II

While a STM32F030... has an M0 core the STM32F3... and STM32F4... have M4 cores.

There are similarities, but also many differences. So you will not be able to move any code without changes between them.

(Not using LL but HAL would hide many differences though.)

View solution in original post

3 REPLIES 3
mfgkw
Senior II

While a STM32F030... has an M0 core the STM32F3... and STM32F4... have M4 cores.

There are similarities, but also many differences. So you will not be able to move any code without changes between them.

(Not using LL but HAL would hide many differences though.)

Ah... didn't consider that.  Yes, I would be using LL without HAL so there would be differences.  Looks like I'm buying yet another NUCLEO.  :)

 

Thanks. 

 

Andrew Neil
Super User

Essentially the same question here: STM32L476 vs STM32F411 vs STM32F303.

It would be a Porting exercise ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.