I followed the instruction except in the toolchain where I chose Cross ARM GCC instead. (The one from GNU ARM Eclipse)
I run into the following error when I compile the code:
Code: Select all
**** Incremental Build of configuration Default for project ARMCM4-STM32F407-DISCOVERY ****
make all
Building file: C:/Users/lavincio/Desktop/ChibiOS_2.6.8/ChibiOS_2.6.8/test/coverage/main.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -O2 -g -std=gnu11 -MMD -MP -MF"test/coverage/main.d" -MT"test/coverage/main.o" -c -o "test/coverage/main.o" "C:/Users/lavincio/Desktop/ChibiOS_2.6.8/ChibiOS_2.6.8/test/coverage/main.c"
C:/Users/lavincio/Desktop/ChibiOS_2.6.8/ChibiOS_2.6.8/test/coverage/main.c:21:16: fatal error: ch.h: No such file or directory
#include "ch.h"
^
compilation terminated.
make: *** [test/coverage/main.o] Error 1
test/coverage/subdir.mk:18: recipe for target 'test/coverage/main.o' failedCould you tell me what I did wrong? Or are there anyone who has similar Eclipse config that could guide me on setting up the compiler?
Thanks!