Firmware development Pixhawk in Win7 and Eclipse

Hi guys,

I wonder if it is still possible to develope pixhawk firmware in eclipse.
Unfortunately, really good pages got removed, like:
which showed a really good tutorial how to install pixhawk with eclipse.

So I wonder if there is any more tutorial out there or is it not longer assisted?


I tried to upload the firmware to the pixhawk in eclipse but I got an error:

Creating start script romfs_scratch/init.d/rc.autostart
All done!
# Execute in standard dir as well
# so developers notice the generated file
Scanning source path c:/px4/Firmware/ROMFS/px4fmu_common/init.d/
Creating start script c:/px4/Firmware/ROMFS/px4fmu_common/init.d/rc.autostart
All done!
Pruning ROMFS files.
ROMFS:   romfs.img
OBJ:     romfs.o
CC:      romfs.o.c
CC:      romfs.o.c
LINK:    /c/px4/Firmware/Build/
BIN:     /c/px4/Firmware/Build/
%% Generating /c/px4/Firmware/Build/
Scanning source path c:/px4/Firmware/src
Creating XML file parameters.xml
All done!
Scanning source path c:/px4/Firmware/ROMFS/px4fmu_common/init.d/
Creating XML file airframes.xml
All done!
make[2]: Entering directory `/c/px4/Firmware/Build/'
Using Pixhawk PSP COM Port Settings:
usage: [-h] --port PORT [--baud BAUD] [--force]
                      [--boot-delay BOOT_DELAY]
                      firmware error: too few arguments
make[2]: *** [upload-serial-px4fmu-v2] Error 2
make[2]: Leaving directory `/c/px4/Firmware/Build/'
make[1]: *** [upload] Error 2
make: *** [/c/px4/Firmware/Build/] Error 2
make[1]: Leaving directory `/c/px4/Firmware/Build/'

does anyone know what this Error 2 means and how I can upload the firmware?

Hi Michael,

Based on the build output it looks like you have a very old copy of the source, so first I’d update that through git.

Almost all development is done on Linux or MacOS. If it’s currently broken on Windows we can definitely fix it, but you’re much better off setting up a development environment in Linux either natively or through VMWare. Getting access to the right tools will be easier and the compile will be much faster.

@dagar, what are the standard development combo here? Appreciated!

@jihuangcontrol Ubuntu or OSX.

Good. I have Ubuntu on my machine.