2024-11-14 04: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
2024-11-14 06: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
2024-11-15 03:46 AM - edited 2024-11-15 03: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.
2024-11-15 04: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
2024-11-29 02:09 AM - edited 2024-11-29 02: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?