I tried to compile the cf firmware on Windows 7 64 bit using MinGW and Sourcery CodeBench Lite. It was surprisingly easy and everthing seems to build fine (not tested yet) with only one little issue: I can not use the repository (didn't manage to get hg to work, yet) so I downloaded the software from bitbucket directly, but you guys use some scripts to create version.c from the repository.
So there was one little change nessescary in the Makefile to create a "fake" version.c
Code: Select all
clean_version:
ifeq ($(SHELL),/bin/sh)
@echo " CLEAN_VERSION"
# @rm -f version.c
@cp ./utils/src/version.vtpl ./version.c
endif
BTW: According to the documentation "make compile" should not replace version.c, but it does!
EDIT: Just saw that Sourcery CodeBench only works for the crazyflie firmware, because the crazyradio uses "sdcc" instead of "arm-none-eabi": I'll try to intall and test this later, too..