Skip to main content
MMevo.1
Associate II
Jan 9, 2023 8:37 AM UTC
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
Jan 9, 2023 9:08 AM UTC

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
Jan 9, 2023 9:08 AM UTC

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
Jan 9, 2023 9:38 AM UTC

Thank you for your answer,

Starting with modifying the BSP..

Pavel A.
Jan 9, 2023 9:35 AM UTC

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