Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIO raised an error due to arm-none-eabi-gcc version 10.3.1 #2125

Closed
fpistm opened this issue Sep 11, 2023 · 0 comments · Fixed by #2126
Closed

PIO raised an error due to arm-none-eabi-gcc version 10.3.1 #2125

fpistm opened this issue Sep 11, 2023 · 0 comments · Fixed by #2126
Labels
enhancement New feature or request
Milestone

Comments

@fpistm
Copy link
Member

fpistm commented Sep 11, 2023

Since #2123, user of PIO have an error:
0ffbf3e#commitcomment-126862592

error: a label can only be part of a statement and a declaration is not a statement

After some test, I've been able to reproduce within Arduino by downgrading the arm-none-eab-gcc version used from 12.2.1 to 10.3.1
PIO uses arm-non-eabi-gcc 10.3.1 while Arduino used 12.2.1.
A request was made to update it:
platformio/platform-ststm32#720
Seems it brings some issues with gdb anyway it seems user can update it manually.

Nevertheless, I guess the code could be update to avoid this.

/cc @ellensp

@fpistm fpistm added the enhancement New feature or request label Sep 11, 2023
@fpistm fpistm added this to the 2.7.0 milestone Sep 11, 2023
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue Sep 11, 2023
Fixes stm32duino#2125

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm added a commit that referenced this issue Sep 12, 2023
Fixes #2125

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant