forked from zhao0079/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Environment setup in Windows for OpenPilot
eohan edited this page Nov 8, 2011
·
11 revisions
install eclipse
install hardware debugging
install git
install tortoise git
get code
install openocd driver
install sdl driver for gcs (identify the correct machine bit size. My machine is 64 , but it was compiling for 32 bit)
change openocd.exe bin file in sh.cmd file in mysysgit\cmd\sh.cmd , put all the correct commands in this file
Use the command with the correct board and driver ..
https://github.com/qgc/hardware/wiki/PX2-Bringup-and-Unbricking-Notes
Comment the PIOS_INCLUDE_SDCARD in flight/PX2DMU/System/inc/pios_config.h
and
#EXTRAINCDIRS += $(DOSFSDIR)
#EXTRAINCDIRS += $(MSDDIR)
in flight/PX2FMU/Makefile
now use the eclipse settings in lorenz file ..
specify to which i2c buses are the controllers connected to ..