summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32h5
AgeCommit message (Collapse)Author
2026-07-24stm32h5: TRACE_ETM support and stm32h563nucleo referencehathach
H5 hangs its debug AP if trace CoreSight is touched unclocked (recover = power-cycle): the reference's AfterTargetConnect clocks the DBGMCU trace domain but defers IOEN to firmware, or the mid-boot clock switch desyncs the decoder. Stock solder bridges make the CN5 path marginal: validated config is 100 MHz core, width 1, +5 ns (board.h selects the reduced clock for TRACE_ETM builds); width 4 / 250 MHz retest waits on SB removal.
2026-07-15bsp/stm32h5: add missing IAR linker script for stm32h533hathach
stm32h533nucleo could never link with IAR: family.cmake points LD_FILE_IAR at linker/stm32h533xx_flash.icf, which did not exist (every sibling H5 variant has one). Surfaced by CircleCI's one-random job picking stm32h533nucleo+IAR (Fatal error[Lc002]). H533 and H523 have identical memory maps (512K flash / 272K RAM; their GCC .ld files differ only in a comment), so the icf is a copy of the H523 one.
2026-06-27bsp/stm32h5: fix linkerHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-06-27bsp/stm32h5: fix uart definitionHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-06-26Added NUCLEO_H533RE so this board can be used out-of-the-boxgrunzasr
2026-06-26Added files by copying and modifying files from stm32h503nucleo direcotry to ↵Steven Grunza
stm32h533nucleo
2026-05-17bsp: fix tcpp0203 lto uninit errorHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-04-29ensure board_uart_write return -1 on defaultHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-04-10fix stm32h5 hard fault when reading UID with ICACHE enabledhathach
On STM32H5, reading UID_BASE with ICACHE enabled causes a hard fault (ST errata). Cache the unique ID at the very start of board_init(), before any user code has a chance to enable ICACHE. Closes: https://github.com/hathach/tinyusb/discussions/3588 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-06remove IAR toolchain support from make build systemhathach
IAR is only supported with CMake. Remove all IAR-specific references from the Make build system including toolchain files, SRC_S_IAR, LD_FILE_IAR variables, and IAR toolchain detection. Also fix GET_SECTOR_COUNT truncation in msc_file_explorer and broken formatting in stm32f7 board_uart_write. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-03update stm32 to use better uart idhathach
2026-04-03stm32 add uart hwfifo if supported, otherwise usb tu_fifo_t for receive uart ↵hathach
in irq
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-12-16more fixesHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-28Fix buttonHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-27fix buildHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-27bsp/stm32h5: increase stack for msc_file_explorerHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-27bsp/stm32h5: support host modeHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-26Merge remote-tracking branch 'tinyusb/master' into hcd_fsdevZixun LI
2025-11-25fsdev: reorganize functionsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-25bsp: Disable SysTick ISR if FreeRTOS is enabledZixun LI
2025-10-28fix warning with strict prototypes warningshathach
2025-10-28disable warning for startup filehathach
2025-10-23refactor family.cmake: rename add_board_target() to family_add_board() and ↵hathach
move it to family_configure_common() also move startup and linker from board target to actual exe
2025-10-14fix lots of warnings for missing-prototypes for irqhandlerhathach
2025-01-27Merge branch 'master' into masterHiFiPhile
2025-01-25cmake remove EXAMPLE-tinyusb target as libraryhathach
2025-01-24add cmake RTOS=zephyr (default noos) for zephyr buildhathach
2025-01-23stm32: fix conditional compilation error when not using uarthohoho
2025-01-22- change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR conflict ↵hathach
with zephyr - change tinyusb CMakeLists.txt to function tinyusb_target_add() instead of defining tinyusb lib target
2024-12-27embed metadata to family.c and board.h to generate supported boards dochathach
2024-12-11Merge branch 'master' into fork/HiFiPhile/rt1170hathach
2024-12-06correct clock setting for h563 nucleohathach
2024-11-30Add bin & hex output to cmake targets.HiFiPhile
2024-11-21fix cihathach
2024-08-01increase freerto min task stack for some stm32hathach
2024-04-24update clang make build for stm32: f0 f1 f2 f3 f4 f7 h7 g0 g4 l0 l4 samd21 ↵hathach
samd51 nrf
2024-04-23clang support for H5hathach
2024-04-09Fix stm32h573i_dk button & led.HiFiPhile
2024-04-02check for PWR_USBSCR_USB33DEN before enabling USB VDDhathach
2024-04-01Minor formatHiFiPhile
2024-04-01Fixed trailing whitespace in family.cWojciech Klimek
2024-04-01Support for STM32H503 MCU - review changesWojciech Klimek
Implemented changes suggested in the review: - restored original name of SystemClock_Config() function - some GPIO clocks are only enabled if macros are defined - moved GPIO clocks init back to family.c
2024-03-31Support for STM32H503 MCUWojciech Klimek
- 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
2023-12-18update FreeRTOSConfig.hhathach
- remove configAssert() - configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-12-18added ioc for h563 nucleo, usb working with on-board stlinkhathach
2023-12-15rename dk board and more updatehathach
2023-12-15update h5 build make/cmakehathach
2023-12-13Fix CI & typo.HiFiPhile
2023-12-12Add Support stm32h5 for stm32h573i based on stm32_fsdev G0 implementation ↵henneboi
Tested on Windows with IAR and gcc toolchain ( via cubeide) Tested only with audio examples, but sould be ok for other examples Cmake pacthed : but not tested Linux build : not tested Added a temporary workaround in make file to support H5 HAL repo ( ARMCC_VERSION=0)