[parrot] move and merge ardrone2 and bebop scripts

- common utility functions but still a lot of differences
- some features like network configuration not yet supported on bebop
- upload tested with bebop, more checks needed for ardrone2
This commit is contained in:
Gautier Hattenberger
2014-12-05 16:41:55 +01:00
parent 01a8bb28e5
commit 2b358ebf35
8 changed files with 399 additions and 192 deletions
+3 -7
View File
@@ -25,15 +25,11 @@
include $(PAPARAZZI_SRC)/conf/Makefile.linux
DRONE = $(PAPARAZZI_SRC)/sw/ext/bebop.py
# Allow modules or other raw makefiles to add actions to the upload
upload_extra:
DRONE = $(PAPARAZZI_SRC)/sw/tools/parrot/bebop.py
# Program the device and start it.
upload program: upload_extra $(OBJDIR)/$(TARGET).elf
upload program: $(OBJDIR)/$(TARGET).elf
$(Q)$(DRONE) --host=$(HOST) upload_file_and_run $(OBJDIR)/$(TARGET).elf $(SUB_DIR)
# Listing of phony targets.
.PHONY : upload_extra upload program
.PHONY : upload program