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 15, 2011
·
11 revisions
http://wiki.openpilot.org/display/Doc/Firmware+Development+on+Windows
http://wiki.openpilot.org/display/Doc/GCS+Development+on+Windows
- install eclipse
- install hardware debugging
- install git
- install tortoise git
- get code
- Download openocd
- Use the openocd driver to install for the JTAG adaptors
- install sdl driver for gcs (identify the correct machine bit size. My machine is 64 , but it was compiling for 32 bit)
- Unicode NSIS install system nsis-2.46-Unicode-setup.exe. This tool is optional and only used to build Windows OpenPilot GCS installer. But if you want to build a Windows redistributable installer, it is mandatory.
- Follow instruction in /make/winx86. Note to add mysysgit/cmd folder to the system path
- 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
- now use the eclipse settings in lorenz file ..
- specify to which i2c buses are the controllers connected to ..
Comment the PIOS_INCLUDE_SDCARD in flight/PX2DMU/System/inc/pios_config.h
and
#EXTRAINCDIRS += $(DOSFSDIR)
#EXTRAINCDIRS += $(MSDDIR)
in flight/PX2FMU/Makefile