2019-11-08 05:20 AM
Hi,
Recently I tried to install FreeRTOS on my STM32F103RB and when I finished the installation and configuration I got a compilation error. I need a solution to this problem.
The problem looks like this:
13:57:07 **** Incremental Build of configuration Debug for project RTOS_BOMBARDIER ****
make -j11 all
arm-none-eabi-gcc -o "RTOS_BOMBARDIER.elf" @"objects.list" -mcpu=cortex-m3 --specs=nosys.specs -Wl,-Map="RTOS_BOMBARDIER.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.macos64_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o: In function `_start':
(.text+0x4a): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [makefile:41: RTOS_BOMBARDIER.elf] Error 1
"make -j11 all" terminated with exit code 2. Build might be incomplete.
13:57:07 Build Failed. 1 errors, 0 warnings. (took 153ms)
What should I do to fix the error?