STM32CubeMX does not generate *.ld files when SW4STM32 is selected as Toolchain/IDE
I am on macOS 10.13.6 High Sierra. I own a NUCLEO-F446RE board.
I am trying to build a simple test project with SystemWorkbench, i.e. SW4STM32.
I open STM32CubeMX, I select my NUCLEO board, I select SW4STM32 as Toolchain/IDE, I press "generate code" and in the project folder there are no *.ld files, that is why when I try to build in SystemWorkbench app i get this error:
Building target: 00test.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs -T"../" -Wl,-Map=output.map -Wl,--gc-sections -o "00test.elf" @"objects.list" -lm
/Applications/Ac6/SystemWorkbench.app/Contents/Eclipse/plugins/fr.ac6.mcu.externaltools.arm-none.macos64_1.17.0.201812190825/tools/compiler/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: read in flex scanner failed
collect2: error: ld returned 1 exit status
make: *** [00test.elf] Error 1Instead if I choose STM32CubeIDE as Toolchain/IDE both "STM32F446RETX_FLASH.ld" and "STM32F446RETX_RAM.ld" files are generated and I can build and run without problems.
Info:
STM32CubeMX version 5.6.0