2025-04-28 9:00 AM - last edited on 2025-04-28 9:30 AM by Andrew Neil
Hi,
I have just set up a fresh and clean STM32F466 project in CubeMX which makes use of a UART and a bunch of GPIOs. right after generating the code (and prior to changing ANYTHING at the generated code!), I get the following compile error in CubeIDE:
c:\st\stm32cubeide_1.11.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe:C:\F\motion\STM32F446RETX_FLASH.ld:88: non constant or forward reference address expression for section .ARM.extab
Any idea how to fix that?
Thanks!
2025-04-28 9:23 AM
Include the IOC file you are having issues with.
Ensure you're on the latest CubeMX version.
2025-04-28 9:48 AM
What is in C:\F\motion\STM32F446RETX_FLASH.ld line 88 ?