STCubeIDE 1.16.1 __ALIGN syntax error and underlines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-14 4:22 AM
Since today CubeIDE 1.16.1 suddenly reports syntax errors for lines such as:
__ALIGN_BEGIN uint8_t USBD_Desc[USB_DESC_SIZ] __ALIGN_END =
{ ...
The code compiles fine. but all the lines following are underlined. Removing __ALIGN_END removes all those underlines but the line itself is still marked as a syntax error. I can't recall having change the code., this just appeared today. Ubuntu 24.10. Years ago someone posed something similar https://devzone.nordicsemi.com/f/nordic-q-a/30023/how-to-get-rid-of-__align-4-syntax-error-in-eclipse
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-14 6:56 AM
Hello @debugging
The STM32CubeIDE is not officially supported on Ubuntu 24.10
Here is the list of OS supported (in RN):
Supported operating systems and architectures
• Windows® 10 and 11, 64 bits (x64)
• Linux®: Ubuntu® LTS 20.04 and LTS 22.04, and Fedora® 36
• macOS® 12 (Monterey), macOS® 13 (Ventura)
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 3:46 AM - edited ‎2024-11-15 3:46 AM
CubeIDE was already on 24.10 before this started to occur. Is there anything wrong with that syntax ? It seems it wasn't before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 4:05 AM
Hello @debugging
STM32CubeIDE is not officially supported on Ubuntu 24.10, which may lead to unexpected behavior, including incorrect syntax error reporting for valid code.
The IDE may not function correctly due to dependencies or compatibility issues inherent to the OS version
Recommendation:
Use a Virtual Machine: If downgrading is not feasible, you could run an officially supported version of Ubuntu in a virtual machine (VM) and install STM32CubeIDE there.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-29 2:09 AM - edited ‎2024-11-29 2:10 AM
Ok then. If the syntax and correct and the IDE flags this as a problem, could STMICRO please consider to mark this as an issue to fix for CubeIDE once you start evaluating this for 24.04?
