Support for STM32H503 MCU

- added support for STM32H503RB on H503RB-NUCLEO board
- modified H5 family.c file to allow portability between H503 and H565/H573
- redefined USB_DRD_BASE to USB_DRD_FS_BASE if STM32H503xx is used
This commit is contained in:
Wojciech Klimek
2024-03-31 23:11:49 +02:00
parent 82dfe95655
commit 943a2a6db3
7 changed files with 199 additions and 18 deletions

View File

@@ -0,0 +1,8 @@
set(MCU_VARIANT stm32h503xx)
set(JLINK_DEVICE stm32h503rb)
function(update_board TARGET)
target_compile_definitions(${TARGET} PUBLIC
STM32H503xx
)
endfunction()