i'm a newbie and try to get started with ChibiOS on my two boards Olimex-STM32F103P and STM32F4x7Discovery.
I have setup newest Eclipse Environment under Windows7 with Codesourcery Lite++ Toolchain.
I tried to build the demo projects ARMCM4-STM32F407-DISCOVERY and ARMCM3-STM32F103-G++
but none of them could be complied.
I have exactly done the way described here:
http://www.chibios.org/dokuwiki/doku.ph ... s:eclipse2
After some investigation i found that the first errors starting in rule files rule.mk in folder
..\..\os\ports\GCC\ARMCMx\STM32F4xx the rules cannot work within windows:
$(OBJDIR):
mkdir $(OBJDIR)
(when OBJDIR is "build/obj")
$(LSTDIR):
mkdir $(LSTDIR)
(when LSTDIR is "build/lst")
DOSbox>mkdir build/obj
syntax error
the clean rule seems also work only with an linux or cygwin environment:
- clean:
@echo Cleaning
-rm -fR .dep $(BUILDDIR)
@echo Done
after i created this Folders manually i was able to compile the whole project but only within a shell. The same try within Eclipse tells always:
**** Build of configuration Debug for project ARMCM4-STM32F407-DISCOVERY ****
cs-make all
'Building file: ../main.c'
'Invoking: ARM Sourcery Windows GCC C Compiler'
arm-none-eabi-gcc -O0 -Wall -Wa,-adhlns="main.o.lst" -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -mcpu=cortex-m3 -mthumb -g3 -gdwarf-2 -o"main.o" "../main.c"
../main.c:21:16: fatal error: ch.h: No such file or directory
compilation terminated.
cs-make: *** [main.o] Error 1
am i the only guy who si trying to test it with a windows Environment - or maybe i did a great misstake ?
Maybe i forgot to install some additional software ?
with kind regards,
THaala