summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32f1
AgeCommit message (Collapse)Author
2026-06-18fix(stm32_fsdev): don't enable the unused USB wakeup EXTI IRQ (F1/F3/G4/L1)hathach
The classic-USB STM32 fsdev driver enabled the EXTI-line USB wakeup interrupt (USBWakeUp_IRQn, and USBWakeUp_RMP_IRQn on the F3 remap path) in the NVIC, but never uses it: resume is serviced in-band via ISTR.WKUP in the USB_LP/HP ISR, and the driver never arms or clears that EXTI line. The wakeup EXTI interrupt is only needed to wake the core from STOP mode, which TinyUSB does not implement. Leaving its NVIC vector enabled lets it fire spuriously into an unhandled or looping vector -- the freeze reported in #3696 on STM32G473. USBWakeUp_IRQn is a valid, dedicated USB-wakeup-via-EXTI interrupt (e.g. stm32g473xx.h: =42 "USB Wakeup through EXTI line"), not an "unrelated interrupt"; it is simply unused here. - Comment out USBWakeUp_IRQn for F1/F3/G4/L1 and USBWakeUp_RMP_IRQn on the F3 remap path, kept in place so STOP-mode wakeup is a one-line re-enable. - Keep the STM32L1 USBWakeUp_IRQn -> USB_FS_WKUP_IRQn alias for that re-enable. - Document the rationale in fsdev_stm32.h with a TODO. - Comment out the matching USBWakeUp(_RMP)_IRQHandler in the F1/F3/G4 BSPs, and the FreeRTOS NVIC_SetPriority(USBWakeUp_IRQn) on F1/G4. Fixes #3696 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-04-29ensure board_uart_write return -1 on defaultHiFiPhile
Signed-off-by: HiFiPhile <[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-03-06fix warningshathach
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
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-07-02remove legacy DEPS_SUBMODULES in makehathach
2025-01-25cmake remove EXAMPLE-tinyusb target as libraryhathach
2025-01-24add cmake RTOS=zephyr (default noos) for zephyr buildhathach
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-11-30Add bin & hex output to cmake targets.HiFiPhile
2024-08-13minor update to cmake profilehathach
2024-08-02add stm32f103ze_iarhathach
2024-05-13Ci tweak3 (#2643)Ha Thach
- enable --one-per-family to build 1 board per family, also skip family if board specified in -b also present - minimize ci run for push event - only build one board per family - skip hil test on both pi4 and hfp - full build will be runn for PR event - IAR always build 1 board per family regardless of event - update build.py to optimize make - remove all setup python since we don't really need it
2024-05-03add cmake for stm32wbhathach
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 f4hathach
2024-04-23port clang stm32: f1, f2, f3hathach
2024-01-11fix build with f1 without uarthathach
2023-12-28Merge branch 'hathach:master' into master沈玴興
2023-12-18update FreeRTOSConfig.hhathach
- remove configAssert() - configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-12-18add uart printf log into hw/bsp/stm32f1YixingShen
fix hw/bsp/stm32f1/stm32f1xx_hal_conf.h's HAL_CORTEX_MODULE_ENABLED
2023-11-23move tools/cmake to examples/build_systemhathach
2023-11-23make nanolib linking explicitly by each family/boardhathach
2023-11-23correct gcc version major comparisonhathach
2023-11-16switch freertos to static allocation only (dynamic = 0), since it is ↵hathach
possible now with latest freertos cmake
2023-08-04add uid for some stm32hathach
2023-08-03more board_api.h renamehathach
2023-08-03add osal queue name if neededhathach
also mass change configQUEUE_REGISTRY_SIZE = 4
2023-06-30move LTO checked to family_support.cmakehathach
2023-06-27rework cmake with rtos support add RTOS to ↵hathach
family_configure_device/host/dual_example()
2023-06-24move all IAR to cmakehathach
2023-06-24add cmake for f0, f1hathach
2023-06-24rename GCC_CFLAGS to CFLAGS_GCC, GCC_SRC_S to SRC_S_GCC etc ..hathach
2023-06-24update all stm32 to use new enhance makehathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-17Merge pull request #1391 from perigoso/renesas-raHa Thach
Renesas ra family support
2023-03-16rename FREERTOS_PORT to FREERTOS_PORTABLE_SRChathach
also fix trailing spaces
2023-03-16fix HAL_Delay no effect bug on st platformtyustli
2023-03-08Merge branch 'master' into renesas-rahathach
2023-03-06change gcc to 10.3 due to freeRTOS warninghathach