Emile Castelnuovo
01b7bcd05d
mk: new VRBRAIN board definition
2014-04-08 16:19:20 +10:00
Emile Castelnuovo
bbe0362600
mk: new make files for VRBRAIN
2014-04-08 16:19:19 +10:00
Andrew Tridgell
fb70ecb9d4
build: added -obc supplementary target
2014-04-07 07:28:50 +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
f31183f22d
build: added APM_BUILD_DIRECTORY define to build
...
this makes it possible to have different default parameter values for
different vehicle types in libraries, as long as you use the makefile
based build
2014-03-26 12:15:31 +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
Mike McCauley
55cf4b2111
mk: added HIL_MODE defitinition for Flymaple
2014-02-17 05:56:37 +11:00
Andrew Tridgell
082a3561c4
build: make hil equal hilsensors
2014-02-15 05:29:46 +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
e037b37880
PX4: added "make px4-cleandep" for faster rebuilding between branches
2014-01-22 17:15:34 +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
7a02c2720b
PX4: added defines for PX4 and NuttX version in logs
2014-01-14 15:35:41 +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
f3c36ccef1
px4: fixed IO build
2013-12-30 14:51:40 +11:00
Andrew Tridgell
b59f2d4326
build: put px4io elf files in build directory
2013-12-28 10:17:47 +11:00
Andrew Tridgell
2e9e464c4b
PX4: update FMUv1 bootloader to use USBID 0x10
2013-12-21 06:25:43 +11:00
Macrauder
62fcfd8d9b
build: Use generic app descriptior for mac spotlight search
...
kMDItemKinde is a localized string, only in EN OSX versions the value
is Application, changed to generic ContentType metafild
2013-12-17 14:55:31 +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
ceef872a51
build: fixed a build cmp warning
2013-12-11 17:29:27 +11:00
Andrew Tridgell
3c5dcc7862
PX4: added -Wno-packed
...
we know that packed data structures are not as efficient
2013-12-11 11:10:26 +11:00
Andrew Tridgell
56752f4027
build: reduced PX4 warnings and avoid rebuilding when possible
2013-12-11 09:59:41 +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
6448ff455f
build: added new copter frame type 'single'
2013-11-13 09:21:21 +11:00
Andrew Tridgell
6deeca1cc0
build: support all copter frame types on all boards
2013-11-13 09:12:02 +11:00
Andrew Tridgell
18c3b16aa8
build: added GIT_VERSION define to Makefile build
2013-11-09 10:09:19 +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
561618b2b2
build: added -lrt for Linux build
2013-10-08 11:50:54 +11:00
Andrew Tridgell
d73c49bebc
build: override opt flags for Linux build
2013-09-28 21:24:03 +10:00
Andrew Tridgell
71d0b294c5
build: added -lpthread and SKETCHNAME in build
2013-09-28 21:24:02 +10:00
Andrew Tridgell
4c05848734
build: added Linux targets
2013-09-28 21:24:02 +10:00
Andrew Tridgell
06e29536f1
PX4: added auth command to the build
2013-09-27 15:44:31 +10:00
Andrew Tridgell
081a481a7c
build: added flymaple-upload target
2013-09-25 15:46:55 +10:00
Andrew Tridgell
815be5ddfe
build: fixed libmaple upload target
2013-09-24 13:51:28 +10:00
Andrew Tridgell
3df849b8d1
build: make flymaple port find libmaple in parent directory
...
saves some hassle for people following the instructions
2013-09-24 13:51:28 +10:00
Mike McCauley
f90790a26c
build: added build files for Flymaple port
2013-09-24 13:32:50 +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
0c926c38b1
PX4: boot the FMU bootloader in ROMFS
2013-09-04 13:15:51 +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
935546d80d
PX4: setup build layout to assume PX4Firmware and PX4NuttX trees
...
both in directory above ardupilot
2013-08-30 13:32:23 +10:00
Andrew Tridgell
78e85b36a4
PX4: moved MAXOPTIMIZATION change to APM build system
...
simpler than patching Firmware
2013-08-30 13:01:34 +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
f48acffc52
PX4: always rebuild module.mk
...
this allows for switching build between different vehicle types
2013-08-30 13:01:34 +10:00
Andrew Tridgell
699e188110
build: only use a build in $SKETCHBOOK for px4
...
for others it is more convenient to use /tmp, as quite a few scripts
rely on this
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
ad445379b5
PX4: speed up the build a lot
...
this avoids removal of built objects and dependencies by allowing the
PX4 build system to put all objects and dependencies in the per-board
build directories
2013-08-30 13:01:33 +10:00
Andrew Tridgell
34af601551
Build: move BUILDROOT inside SKETCHBOOK
...
this allows for relative paths in the px4 build
2013-08-30 13:01:33 +10:00
Andrew Tridgell
16b5f923ae
PX4: remove the use of symlinks in PX4 build
...
this should make it more windows friendly
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
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