Brandon
8e6bb3164c
Make: start irlock
2015-08-31 18:00:22 +09:00
Brandon
25c59f954a
Make: add irlock to px4 build
2015-08-31 18:00:21 +09:00
Andrew Tridgell
baeddfe4f3
PX4: enable probe of MPU9250 if available
2015-08-17 09:33:01 +10:00
Andrew Tridgell
c9e04cb98d
PX4: fixed build with uavcan as submodule
2015-06-12 18:24:25 +10:00
Andrew Tridgell
d45f6e8f1d
PX4: fixed startup tone
...
'start' doesn't work any more
2015-06-12 17:55:29 +10:00
Andrew Tridgell
a3334e0602
PX4: updates for upstream merge
2015-06-09 19:45:00 +10:00
Andrew Tridgell
bd32774768
PX4: added ver command
...
this allows us to see what silicon revision the stm32 is
2015-04-25 07:34:56 +10:00
Andrew Tridgell
3659cd7359
PX4: update bootloader with battery power boot fix from David
2015-04-15 21:56:49 +10:00
Andrew Tridgell
f4537f4dec
PX4: updated bootloaders to current version
2015-04-15 15:54:32 +10:00
Andrew Tridgell
2aa73c427b
PX4: enable temperature compensation in hmc5883 driver
2015-04-02 14:35:52 -07:00
Andrew Tridgell
f05c4eb019
PX4: enabled SPI hmc5883 for FMUv3
2015-03-12 12:50:27 +11:00
Andrew Tridgell
644d0c223a
PX4: update FMUv2 bootloader
...
this one adds the CHIP command so we can differentiate rev3 silicon
2015-03-05 22:12:08 +11:00
Randy Mackay
ab96e98815
PX4: start oreoled driver
2015-03-02 16:57:54 +09:00
Randy Mackay
43f3827fd5
Make: add oreoled module to Pixhawk build
2015-03-02 16:57:52 +09:00
Andrew Tridgell
bdd265a985
PX4: use mode_pwm4 on startup
...
this prevents any pin activity on startup
2015-02-23 14:15:14 +11:00
Andrew Tridgell
9efc0acf19
PX4: start the pwm_input driver
2015-02-23 14:15:14 +11:00
Andrew Tridgell
a6454c9918
PX4: build the pwm_input driver
2015-02-23 14:15:14 +11:00
Andrew Tridgell
648c398ccd
PX4: added README for new tools
2015-02-14 12:25:44 +11:00
Andrew Tridgell
5d6bed2814
PX4: added genmsg and gencpp tools
...
these are needed for the latest PX4Firmware build
2015-02-14 12:25:44 +11:00
Jonathan Challinger
604742ac0e
rc.APM: disarm px4io before trying to update
2015-02-11 21:05:42 +11:00
Luis Rodrigues
6557432c0d
PX4: Added support for TeraRanger One sensor
2015-02-11 18:41:42 +11:00
Randy Mackay
a8c176f104
PX4: smart battery on second I2C bus
2015-02-10 21:44:12 +09:00
Andrew Tridgell
c0e212916b
PX4: auto-format microSD if corrupt
...
and allow boot with no microSD if USB is not connected. If USB is
connected give a nsh shell on USB
2015-02-06 19:05:02 +11:00
Andrew Tridgell
8bd7c171e4
PX4: added usb_connected command
2015-02-06 19:05:02 +11:00
Andrew Tridgell
3918413b36
PX4: simplify ms5611 startup
2015-02-01 14:13:59 +11:00
Andrew Tridgell
5133799e23
PX4: start two barometers if possible
2015-01-09 11:50:57 +11:00
Randy Mackay
b4b062e9ef
PX4: start batt_smbus
2014-12-31 15:22:52 +09:00
Randy Mackay
70dcc724ac
PX4: add batt_smbus module to build
2014-12-31 15:22:52 +09:00
Randy Mackay
9d5c27ca83
PX4: start px4flow driver
2014-12-06 18:16:43 +11:00
Andrew Tridgell
9b75237a38
PX4: don't build lsm303d and l3gd20 on PX4v1
2014-11-28 09:16:56 +11:00
Andrew Tridgell
bbb47ece9c
PX4: use a common makefile for most of v1 and v2
2014-11-28 08:06:32 +11:00
Andrew Tridgell
4edd943166
PX4: disable auth on px4v1 too
2014-11-26 19:19:05 +11:00
Andrew Tridgell
5a78c584d2
PX4: disable auth command to keep us below 1MByte
2014-11-26 10:38:31 +11:00
Andrew Tridgell
420889d061
build: added motor_test, and fixed build checks for PX4
2014-11-26 10:24:14 +11:00
Andrew Tridgell
4f44a63bef
build: fixed build with PX4/Firmware master
...
the reflect command has not been merged upstream yet
2014-11-20 08:59:04 +11:00
Andrew Tridgell
6d10797c59
build: enable uavcan if ../uavcan directory is present
2014-11-18 21:42:36 +11:00
Andrew Tridgell
a9ee2ae253
PX4: change IMU order so vib isolated IMUs are 1 and 2
...
also try to start external ms5611
2014-11-18 15:39:37 +11:00
Andrew Tridgell
26d3ad18b8
Revert "PX4: enabled support for UAVCAN"
...
This reverts commit 71b2306aa9
.
This broke the build due to git submodules. We need to work out how
ArduPilot is going to handle the external uavcan module dependency
before we enable this again
2014-11-14 16:08:52 +11:00
Holger Steinhaus
71b2306aa9
PX4: enabled support for UAVCAN
2014-11-14 14:32:42 +11:00
Andrew Tridgell
3f60cddb87
PX4: build reflect command for USB stress testing
2014-11-07 22:15:28 +11:00
Andrew Tridgell
1adacf42b9
PX4: fixed startup log msg location
2014-10-30 08:30:38 +11:00
Andrew Tridgell
500ecebf57
PX4: conditionally build auth command and libraries
...
this makes it possible to build with upstream master
2014-10-30 08:09:38 +11:00
Andrew Tridgell
834c91b192
PX4: try starting the ll40ls on either I2C bus
2014-10-20 07:07:14 +11:00
Randy Mackay
4bdd814dcc
Build: enable px4flow driver on Pixhawk
2014-10-15 16:35:26 +09:00
akdslr
26a36eeca1
PX4 ROMFS INIT: Added starting the optional mb12xx sensor
2014-07-08 15:07:49 +10:00
akdslr
17eacf5bff
mk PX4: Added the new ll40ls device to modules list and start commands
2014-07-08 15:07:49 +10:00
Andrew Tridgell
8710922a02
PX4: fixed orientation of internal hmc5883 on FMUv3
2014-07-04 13:58:38 +10:00
Andrew Tridgell
a25eab4ada
PX4: try to start both hmc5883 sensors
...
internal + external
2014-07-04 12:08:17 +10:00
Andrew Tridgell
d462d91533
PX4: added comments on FMU3 rotations
2014-07-04 10:47:58 +10:00
Andrew Tridgell
41486ac59c
PX4: fixed l3gd20 rotation
...
based on first flight log
2014-07-04 10:18:04 +10:00
Kevin Hester
a8fd4472be
ph2 support: Fix typo in startup rc
2014-07-04 10:17:28 +10:00
Andrew Tridgell
292d1d8179
PX4: try to startup FMUv3 with right rotations
2014-07-03 14:21:45 +10:00
Andrew Tridgell
226eece7e2
PX4: added conversion lib for rotation
2014-07-03 14:21:25 +10:00
holger
65e7c74067
PX4: disable PX4IO RC handling in a clean way
...
Upstream PX4 Firmware provides a clean way to disable PX4IO handling by supplying the argument "norc" to "px4io start". After applying this fix to the rc.APM startup script, the quick hack contained in commit 180cceee of diydrones/PX4Firmware can be safely reverted.
2014-07-03 11:20:14 +10:00
Andrew Tridgell
166c1fd530
PX4: startup FMUv3 sensors if available
2014-06-30 07:58:35 +10:00
NosDE
613fda4889
PX4: enabling mkblctrl for fmuv1/fmuv2
...
See the comments in mk/PX4/ROMFS/init.d/rc.APM for details
2014-03-29 06:45:30 +11:00
Andrew Tridgell
11956ece7c
PX4: make compass calibrate fail non-fatal
...
until we sort out what is going on with compass calibration failures
this is the best option
2014-03-11 13:32:47 +11:00
Andrew Tridgell
d3088b230a
PX4: use RGBLED state to show startup state
...
solid white while booting, solid red on error
2014-02-04 21:43:47 +11:00
Andrew Tridgell
02c98f901d
PX4: run hmc5883 compass calibration on every boot
...
this gives us more consistent compass readings between boots
2014-01-22 17:15:34 +11:00
Andrew Tridgell
792667e311
PX4: test MTD device on boot
...
full rwtest on FMUv2, read test on FMUv1
2014-01-16 13:11:14 +11:00
Andrew Tridgell
950bb09735
PX4: enable MTD on FMUv1 as well
2014-01-15 19:33:14 +11:00
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
db8b262939
PX4: enable mtd driver in build
2014-01-14 12:46:26 +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
2e9e464c4b
PX4: update FMUv1 bootloader to use USBID 0x10
2013-12-21 06:25:43 +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
829767bed2
PX4: change FMUv2 bootloader USB ID to 0x0011
2013-12-13 11:02:19 +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
Andrew Tridgell
06e29536f1
PX4: added auth command to the build
2013-09-27 15:44:31 +10: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
7536e0759d
PX4: enable rgbled on FMUv1
2013-09-06 08:15:31 +10:00
Andrew Tridgell
474a6d1218
PX4: added FMU bootloader images to ROMFS
...
this makes it much easier for users to update their bootloaders
2013-09-04 12:53:56 +10:00
Andrew Tridgell
28fcb1666e
PX4: fixed build for change in library layout
2013-08-30 13:01:34 +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
01e9122850
PX4: disable sensors module
...
this isn't needed for APM, and fails to build
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
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
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
6ce63da042
PX4: fixed airspeed build on FMUv1
2013-08-30 13:01:32 +10:00