Flash.id Synax Error Bug
- February 5, 2024
- 3 replies
- 3978 views
Hello,
I am posting for help with an issue I am encountering when trying to build and run a project using STM32cubeIDE.
The error message I get is: C:/ST/STM32CubeIDE_1.14.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe:../STM32F769II_FLASH.ld:48: syntax error
However, when I go to the line of code in question, there does not seem to be any syntax errors. The line in question is bolded:
MEMORY
{
FLASH (rx) : ORIGIN = 0x08008200, LENGTH = 2048K - 32K - 512 /* modified for 32K bootloader and version metadata*/
VERSION (rx) : ORIGIN = 0x08008000, LENGTH = 512 /* version info metadata at beginning of app region */
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
SRAM1 (xrw) : ORIGIN = 0x20020000, LENGTH = 368K
SRAM2 (xrw) : ORIGIN = 0x2007C000, LENGTH = 16K
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
}
Does anyone know why this would be throwing a syntax error?
