Skip to content

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

  1. install eclipse

  2. install hardware debugging

  3. install git

  4. install tortoise git

  5. get code

  6. Download openocd

  7. Use the openocd driver to install for the JTAG adaptors

  8. install sdl driver for gcs (identify the correct machine bit size. My machine is 64 , but it was compiling for 32 bit)

  9. 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.

  10. Follow instruction in /make/winx86. Note to add mysysgit/cmd folder to the system path

  11. 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

  12. now use the eclipse settings in lorenz file ..

  13. specify to which i2c buses are the controllers connected to ..

already done on my code (Dont worry about this)

Comment the PIOS_INCLUDE_SDCARD in flight/PX2DMU/System/inc/pios_config.h
and
#EXTRAINCDIRS += $(DOSFSDIR)
#EXTRAINCDIRS += $(MSDDIR)
in flight/PX2FMU/Makefile

Clone this wiki locally