Andrew Tridgell
f88bb5638b
PX4: changes to startup after stacksize fix
...
we can redirect to FAT fs again, and remove the sleep lines
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1137de1002
PX4: make upload targets depend on build targets
...
this allows for "make px4-v1-upload" for faster development cycles
2013-08-30 13:01:33 +10:00
Andrew Tridgell
02b8d3497e
PX4: avoid writing px4io update log to SD card
...
this seems to be one of the causes of lockups of the FMU
2013-08-30 13:01:33 +10:00
Andrew Tridgell
2e75dd50be
PX4: added a sleep before probing for PX4IO update
...
this makes boot more reliable for some unknown reason
2013-08-30 13:01:33 +10:00
Andrew Tridgell
50cc6b5445
PX4: implement APM/nostart in rcS
...
this keeps the same shell on nostart, avoiding relying on nshterm
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1c1e7ed414
PX4: changed to new names for board modules
2013-08-30 13:01:33 +10:00
Andrew Tridgell
84b21eed78
PX4: fixed test logic for console
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1853223f45
PX4: hide the mkdir error on boot
2013-08-30 13:01:33 +10:00
Andrew Tridgell
372c424605
PX4: added mathlib/math/filter module
...
needed for (unused!) l3gd20 driver
2013-08-30 13:01:33 +10:00
Andrew Tridgell
927bbc6527
PX4: enable nshterm and math/filter on FMUv2
2013-08-30 13:01:33 +10:00
Andrew Tridgell
a0af499aa5
PX4: added nshterm command
2013-08-30 13:01:33 +10:00
Andrew Tridgell
200d310843
PX4: better error handling in startup script
2013-08-30 13:01:33 +10:00
Andrew Tridgell
f45e0fe737
PX4: don't need hil module
2013-08-30 13:01:32 +10:00
Andrew Tridgell
0e0afbd756
PX4: allow NuttX tree to be in directory above Firmware tree
2013-08-30 13:01:32 +10:00
Julian Oes
3b9d71ae8a
PX4: Changed the startup script to have mavlink on USART2 / Serial 1 on FMUv2
2013-08-30 13:01:32 +10:00
Andrew Tridgell
16a3f0d47b
PX4: only put one IO firmware in ROMFS
...
saves a bit of space. This also fixes makefile based upload
2013-08-30 13:01:32 +10:00
Andrew Tridgell
272057ff6d
PX4: fixed build of v1 and v2 firmwares in one build
...
this does a clean on each build, which is horribly inefficient. To fix
that we need to work out what state information is preventing
switching targets in one build
2013-08-30 13:01:32 +10:00
Andrew Tridgell
0f5111caeb
PX4: expand pass thru mixer to 8 channels
...
we're not using it now, but when we do use it we want all 8 channels
2013-08-30 13:01:32 +10:00
Andrew Tridgell
d9d378f74e
PX4: disable mixer load for now
...
loading a mixer disables IO output
2013-08-30 13:01:32 +10:00
Andrew Tridgell
6ce63da042
PX4: fixed airspeed build on FMUv1
2013-08-30 13:01:32 +10:00
Andrew Tridgell
0f8892e3b9
PX4: enable airspeed base driver and meas driver
...
this uses the new airspeed parent driver from Lorenz
2013-08-30 13:01:32 +10:00
Andrew Tridgell
3a6b7df23c
PX4: disable bma180 driver for FMUv1
2013-08-30 13:01:32 +10:00
Andrew Tridgell
33aa91c0dc
PX4: adapt rc.APM for FMUv1 and FMUv2
2013-08-30 13:01:32 +10:00
Andrew Tridgell
25b2cc7bf6
PX4: moved px4io-*.bin to ROMFS
...
this is more convenient than users having to copy it over
2013-08-30 13:01:32 +10:00
Andrew Tridgell
d27b338e18
PX4: added io-v2 targets
2013-08-30 13:01:32 +10:00
Andrew Tridgell
140fc63a69
PX4: added px4-v2 targets
2013-08-30 13:01:32 +10:00
Andrew Tridgell
bc6c5d0fb1
HAL_PX4: enable right FMUv2 drivers
...
ets_airspeed is ok, but mkblctrl driver doesn't build yet
2013-08-30 13:01:32 +10:00
Julian Oes
ca29d543fd
PX4: Added config file fmuv2 board, not used yet
2013-08-30 13:01:32 +10:00
Julian Oes
56e94d70e9
PX4: Adaptations to latest build changes
2013-08-30 13:01:32 +10:00
Marco Bauer
ae2ee399c2
PX4: added support for mkblctrl driver
...
this enables runtime support for the mkblctrl I2C ESC drivers
2013-07-11 13:50:22 +10:00
Marco Bauer
c7c0fc01c3
PX4: enable mkblctrl driver
2013-07-11 13:50:22 +10:00
Michael Woods
1c17bed1ef
build: Adding a check for Darwin when adding avrdude.conf's flag for uploading.
2013-07-05 22:52:46 +10:00
Kevin Hester
6187c66147
PX4: A better error message in the log file when the px4io upgrade fails
2013-07-05 22:44:47 +10:00
John Boiles
bb2a6b8a22
HAL_SITL: Fixing SITL build for OSX.
2013-07-05 22:36:57 +10:00
Andrew Tridgell
3b6bf49c84
PX4: fixed startup logging
...
echo has a very limited argument count
2013-06-27 10:49:54 +10:00
Andrew Tridgell
d487b1170e
PX4: log devices being used in boot.log
2013-06-24 21:51:31 +10:00
Andrew Tridgell
28ffa4059b
PX4: added ARDUPILOT_BUILD define
...
will be used to avoid some code in the px4io driver
2013-06-24 21:51:17 +10:00
Andrew Tridgell
1132c0ae7c
PX4: use PX4_ROOT=../PX4Firmware by default
...
this should make PX4 builds work out of the box on Windows for people who have used
the github for windows tool to download the two repositories
2013-06-24 12:37:18 +10:00
Kevin Hester
7652f403ea
PX4: Remove -Os because I've changed the px4 tree to have that as the
...
default
2013-06-18 12:14:50 +10:00
Andrew Tridgell
48875a3e19
PX4: enable ets_airspeed driver if connected
2013-06-03 11:51:09 +10:00
Andrew Tridgell
109c1ca792
PX4: added eagletree I2C airspeed driver to the NuttX build
...
just needs a wrapper driver in APM now
2013-06-02 14:49:34 +10:00
Andrew Tridgell
b91755318a
HAL_PX4: play some tones on PX4IO firmware load
...
gives some chance of knowing if it worked
2013-06-01 12:41:28 +10:00
Andrew Tridgell
856d654601
PX4-build: cope with relative path in PX4_ROOT
2013-05-22 22:57:24 +10:00
Andrew Tridgell
dd0630dc16
PX4: fixed handling of nostart option
2013-05-13 11:27:55 +10:00
Andrew Tridgell
01da926f04
PX4: don't start px4io twice
2013-05-11 21:07:27 +10:00
Andrew Tridgell
1248a49284
PX4: need led driver in build for latest upstream changes
2013-05-10 06:16:54 +10:00
Andrew Tridgell
3a66d304af
PX4: changed EXTRAFLAGS to EXTRADEFINES for PX4
2013-05-10 06:16:54 +10:00
Andrew Tridgell
0acceb04ff
build: added px4-archives target
2013-05-10 06:16:54 +10:00
Andrew Tridgell
06cf9def98
PX4: auto-build the archives if needed
2013-05-10 06:16:54 +10:00
Andrew Tridgell
73250efc01
build: added support for the new PX4 build system
2013-05-10 06:16:54 +10:00
Andrew Tridgell
9b752f5d2a
PX4: added in remaining example mixers
2013-05-10 06:16:54 +10:00
Andrew Tridgell
947297f0cd
PX4: added base ROMFS files from upstream
2013-05-10 06:16:54 +10:00
Andrew Tridgell
172faeea26
HAL_PX4: moved rc.APM to new ROMFS directory
2013-05-10 06:16:54 +10:00
Andrew Tridgell
c612b4ad73
build-PX4: changed the PX4 build to use CONFIG_C99_BOOL8
...
this fixes bool behaviour to match C99, which some of the APM code
assumed, including simple mode in ArduCopter
2013-04-24 08:31:39 +10:00
Andrew Tridgell
b05117f5cd
build: fixed heli-hil and quad-hil copter builds
2013-04-17 21:39:22 +10:00
Andrew Tridgell
0af84177da
px4: fixed passing of EXTRAFLAGS for ArduCopter frame type
2013-04-17 13:19:45 +10:00
Andrew Tridgell
7ad8670df7
SITL: show the build target
...
makes it easier to find the elf
2013-04-02 14:18:42 +11:00
Andrew Tridgell
eb3c9ab79e
build: fixed SITL build flags
2013-03-29 18:32:52 +11:00
Andrew Tridgell
4a56b4a145
build: fixed SITL build on windows
2013-03-28 13:23:30 +11:00
Andrew Tridgell
1d836db862
build: added all 7 copter frame types to binary build
2013-03-18 14:44:41 +11:00
Andrew Tridgell
d06668f1cd
build: added support for "make apm1-1280"
2013-03-12 12:45:49 +11:00
Randy Mackay
0bf6a52f7a
Build: fix case of "com3" and add Arduino path override
2013-03-08 16:59:35 +09:00
Randy Mackay
66a4f6a1ec
Build: MINGW can be used to build/upload apm hex
2013-03-08 15:53:09 +09:00
Stephen
c4ea89b10a
Build: Cygwin Windows build and upload fixes
...
SITL, HIL and normal builds and uploads work under Cygwin
2013-03-08 15:02:22 +09:00
Andrew Tridgell
7f1c8fd364
build: fixed cygwin build
2013-03-03 22:22:33 +11:00
Andrew Tridgell
a77b5e9954
build: fixed eclipse build on Windows for PX4
2013-02-21 21:03:55 +11:00
Andrew Tridgell
ded192be3f
build: split up the build system to allow for better board support
...
this will make it easier to support boards like the VRBrain
2013-02-21 16:48:49 +11:00
Andrew Tridgell
899b91c162
build: fixed etags target
2013-02-11 13:52:37 +11:00
Andrew Tridgell
346f6cb903
build: fixed dependency generation for PX4 build
2013-01-22 09:49:57 +11:00
Andrew Tridgell
9efcdd7926
build: add CONFIG_APM=y to build
...
this allows us to disable some of the larger apps in the px4 build, to
save flash space
2013-01-22 07:49:12 +11:00
Andrew Tridgell
4200593206
build: added EXTERNAL_SCRIPTS to PX4 build
2013-01-21 08:27:02 +11:00
Andrew Tridgell
33bcd50284
build: added configure_px4fmu to clean target
2013-01-20 22:13:20 +11:00
Chris Gough
76ebcb9980
PX4 makefile: 'make configure_px4fmu' on px4 source before build
...
Pull Request #37
Ammended: squashed fixups down into a single commit
Signed-off-by: Pat Hickey <pat@moreproductive.org>
2013-01-19 11:13:40 -08:00
Andrew Tridgell
d6ce86a746
PX4: fixed build on MacOS
2013-01-11 13:46:13 +11:00
Pat Hickey
892a322574
Arduino.mk: default config.mk port changed to ACM0 (for APM2)
2013-01-10 13:51:03 -08:00
Pat Hickey
268dd85319
Arduino.mk: more verbose default config file, with default HAL_BOARD apm2
2013-01-09 13:31:58 -08:00
Pat Hickey
7142368a97
mk: wibbles clean up output a little
...
clean up extra slash in /mk//Arduino.mk
etags can be .PHONY so we dont get errors about overriding existing recipie
2013-01-09 11:27:59 -08:00
Andrew Tridgell
534169d148
build: fixed up px4-clean to clean both trees
2013-01-02 17:51:48 +11:00
Andrew Tridgell
7daa697f4b
build: move the main PX4 build logic to APM tree
2013-01-02 17:50:15 +11:00
Andrew Tridgell
92605a63ea
build: give an error if PX4_ROOT not defined for PX4 build
2013-01-02 17:32:28 +11:00
Andrew Tridgell
af647650c5
build: added makefile wrappers for px4 or AVR build
2013-01-02 17:28:09 +11:00
Andrew Tridgell
197583be9b
build: force signed char
...
this was the default with the AVR compiler anyway, but this makes it
clearer what we assume
2013-01-02 14:45:09 +11:00
Andrew Tridgell
9b434d167c
build: fixed CC build warnings
2013-01-02 10:19:55 +11:00
Andrew Tridgell
0186fabb3b
build: allow building with the "Empty" HAL
...
useful for porting
2012-12-24 07:30:50 +11:00
Andrew Tridgell
0c38ba958a
build: default to APM2 build
2012-12-22 13:05:12 +11:00
Andrew Tridgell
f0dfcc1126
build: default to APM2 build
2012-12-22 13:02:42 +11:00
Andrew Tridgell
4ee969f439
Tools: fixed build_all.sh script
2012-12-20 14:52:37 +11:00
Pat Hickey
23d6c79313
Arduino.mk: fixes to obey HAL_BOARD in user's config.mk
2012-12-20 14:52:35 +11:00
Andrew Tridgell
97341cc4a5
Build: added targets.mk
2012-12-20 14:52:35 +11:00
Pat Hickey
91b94c0f6c
Arduino.mk: fixed per-target toolchains
2012-12-20 14:52:35 +11:00
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
2012-12-20 14:52:35 +11:00