examples/device/cdc_msc_freertos does not compile for stm32f439nucleo as-is
Operating System
Linux (Debian 12.1 via WSL on Windows 10)
Board
ST STM32F439-Nucleo
Firmware
examples/device/cdc_msc_freertos
What happened ?
Following output from make BOARD=stm323f439nucleo all
WORKAROUND: Disable maybe-uninitialized as an error by adding to Makefile:
CFLAGS_GCC += -Wno-error=maybe-uninitialized
How to reproduce ?
-
git clone https://github.com/hathach/tinyusb -
cd tinyusb/examples/device/cdc_msc_freertos -
make BOARD=stm32f439nucleo get-deps -
make BOARD=stm32f439nucleo all
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
N/A as the build does not complete, no Debug Log generated
Screenshots
No response
I have checked existing issues, dicussion and documentation
- [x] I confirm I have checked existing issues, dicussion and documentation.
Note: The example appears to run correctly on an STM32F429-Nucleo board, with the described workaround.
Same issue with host/cdc_msc_hid_freertos It's a freertos "error" (There's a configAssert guarding the potentially uninitialized variable) but I don't think we should have -Werror for third party chunks..