Replies: 1 comment
-
can you check and post your armgcc version here. Anyway, your armgcc is probably too old, try to install with xpacks
installation path is either or simply download it from arm |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Set up
[Mandatory] Provide details of your setup help us to reproduce the issue as quick as possible
Describe the bug
ace@ubuntu:~/tinyusb/examples/device/webusb_serial$ make BOARD=stm32f103bluepill all
CC system_stm32f1xx.o
In file included from /home/ace/tinyusb/lib/CMSIS_5/CMSIS/Core/Include/cmsis_compiler.h:54:0,
from /home/ace/tinyusb/lib/CMSIS_5/CMSIS/Core/Include/core_cm3.h:115,
from /home/ace/tinyusb/hw/mcu/st/cmsis_device_f1/Include/stm32f103xb.h:132,
from /home/ace/tinyusb/hw/mcu/st/cmsis_device_f1/Include/stm32f1xx.h:131,
from /home/ace/tinyusb/hw/mcu/st/cmsis_device_f1/Source/Templates/system_stm32f1xx.c:59:
/home/ace/tinyusb/lib/CMSIS_5/CMSIS/Core/Include/cmsis_gcc.h: In function '__cmsis_start':
/home/ace/tinyusb/lib/CMSIS_5/CMSIS/Core/Include/cmsis_gcc.h:151:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (__copy_table_t const* pTable = ©_table_start; pTable < ©_table_end; ++pTable) {
To reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots, bus capture to help explain your problem.
Log
Please provide the stack's log (uart/rtt/swo) where the issue occurred, best with comments to explain the actual events. To enable logging, add
LOG=2
to to the make command if building with stock examples or setCFG_TUSB_DEBUG=2
in your tusb_config.h. More information can be found at example's readmeBeta Was this translation helpful? Give feedback.
All reactions