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:
https://pixhawk.org/dev/toolchain_installation_win
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?

Hi,

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/px4fmu-v2_default.build/firmware.elf
BIN:     /c/px4/Firmware/Build/px4fmu-v2_default.build/firmware.bin
%% Generating /c/px4/Firmware/Build/px4fmu-v2_default.build/firmware.px4
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/px4fmu-v2_default.build'
Using Pixhawk PSP COM Port Settings:
usage: px_uploader.py [-h] --port PORT [--baud BAUD] [--force]
                      [--boot-delay BOOT_DELAY]
                      firmware
px_uploader.py: error: too few arguments
make[2]: *** [upload-serial-px4fmu-v2] Error 2
make[2]: Leaving directory `/c/px4/Firmware/Build/px4fmu-v2_default.build'
make[1]: *** [upload] Error 2
make: *** [/c/px4/Firmware/Build/px4fmu-v2_default.build/firmware.px4] Error 2
make[1]: Leaving directory `/c/px4/Firmware/Build/px4fmu-v2_default.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.