Commit Graph

87 Commits

Author SHA1 Message Date
Andrew Tridgell 9d09a96377 PX4: don't write to BOOT.LOG unless we have errors
this gets us to zero writes to microSD when no errors and not armed
2014-01-14 13:57:59 +11:00
Andrew Tridgell db19c8b410 PX4: start mtd driver on FMUv2 2014-01-14 12:46:27 +11:00
Andrew Tridgell 8698ee43bb PX4: use BOOT.LOG instead of boot.log 2014-01-14 12:46:26 +11:00
Andrew Tridgell f7029e6587 px4: enable dual telemetry by default on FMUv1
this makes us compatible with wiring diagrams from PX4 site
2013-12-31 11:54:42 +11:00
Andrew Tridgell 5ca73785c8 PX4: added automatic IO firmware update
this avoids the px4io.loaded file on the SD card that confused many
users
2013-12-13 12:44:47 +11:00
Andrew Tridgell 3ead86ee2d PX4: start all sensor types on PX4
this allows for secondary sensors
2013-12-09 17:34:06 +11:00
Andrew Tridgell f1bad032dd PX4: added support for the MPU6000 on the v2.4 Pixhawk 2013-11-28 21:32:12 +11:00
Andrew Tridgell 45bf96382c PX4: setup uartD on PX4
on FMUv1 enable uartD only if /fs/microsd/APM/uartD.en exists

on FMU2 always enable uartD
2013-11-23 19:29:22 +11:00
Andrew Tridgell 145bbd1656 PX4: changed startup to fail if no px4io on FMUv2 2013-11-02 21:41:11 +11:00
Randy Mackay 8f16dbf95e PX4: start rgbled driver 2013-09-11 13:15:35 +09:00
Andrew Tridgell 905c84bb4c PX4: move PX4IO update to before any sensors start
this seems to make the update much more reliable, possibly as it
avoids an interrupt load from l3gd20 driver
2013-09-07 17:39:51 +10:00
Andrew Tridgell ef6407988b PX4: avoid nsh redirects in if statements
this helps avoid FAT filesystem corruption
2013-09-06 22:14:04 +10:00
Andrew Tridgell 8efcf05835 PX4: start nsh on USB if SD card not inserted
useful for debugging
2013-08-30 13:01:34 +10:00
Andrew Tridgell 1230df8b0d PX4: try to start meas_airspeed driver 2013-08-30 13:01:33 +10:00
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 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 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 200d310843 PX4: better error handling in startup script 2013-08-30 13:01:33 +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 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 33aa91c0dc PX4: adapt rc.APM for FMUv1 and FMUv2 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
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
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 48875a3e19 PX4: enable ets_airspeed driver if connected 2013-06-03 11:51:09 +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 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 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