Skip to main content
MMevo.1
Associate II
January 9, 2023
Solved

How to port STM32 Nucleo example to my board

Hi, I want to use STM32 Nucleo example "STM32F072_MB1303_DRP_SRCING_DEVICE" on my board that include 1x STUSB1602 + 1x STM32F072CBU6 (48-UFQFPN).

(the example works with STUSB1602 + STM32F072RB (LQFP64))-

What will be the easiest way to port the example to my board??

modify the example or creating a new project and coping the relevant example files?

Thanks,

Maor

This topic has been closed for replies.
KnarfB
KnarfBBest answer
Super User
January 9, 2023

The STM32CubeMX has a feature for migrating to another chip under Pinout (Alt+L). If you use BSP drivers, you need to adjust the pins in the code.

hth

KnarfB

3 replies

KnarfB
KnarfBBest answer
Super User
January 9, 2023

The STM32CubeMX has a feature for migrating to another chip under Pinout (Alt+L). If you use BSP drivers, you need to adjust the pins in the code.

hth

KnarfB

MMevo.1
MMevo.1Author
Associate II
January 9, 2023

Thank you for your answer,

Starting with modifying the BSP..

Pavel A.
January 9, 2023

The easiest way is, of course, have somebody else do it ))