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
Andrew Tridgell
96d290a283
PX4: add PYTHONPATH for genmsg and gencpp tools
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
Jonathan Challinger
5059fc620c
Build: add git hashes to .px4 files
2015-02-11 20:22:08 +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
Emile Castelnuovo
b62ad2db71
build: added missing VR boards.
2015-02-02 08:44:01 +11:00
LukeMike
b278e058fa
ROMFS: added new ROMFS for VR Brain 5.2 and VR Micro Brain 5.2
2015-02-02 08:44:00 +11:00
LukeMike
35c7a74256
VRBRAIN_TARGETS: changed makefile for VR boards
2015-02-02 08:44:00 +11:00
Emile Castelnuovo
cd9537e1f8
build: added and modified scripts to build for all VR boards
2015-02-02 08:43:58 +11:00
LukeMike
af309a26d9
mk: added new VRBrain 5 PRO board
2015-02-02 08:43:57 +11:00
LukeMike
b14ca1b977
build: Added flag to build VRBRAIN versions with different kind of RC Inputs
...
Conflicts:
mk/vrbrain_targets.mk
2015-02-02 08:43:57 +11:00
Andrew Tridgell
3918413b36
PX4: simplify ms5611 startup
2015-02-01 14:13:59 +11:00
Andrew Tridgell
b0b57cccce
build: add -nologging build modifier
...
useful for testing
2015-01-17 10:45:02 +13:00
Grant Morphett
8b08402c60
mk: Added a "help" target to the make system.
...
Now if developers type "make help" they get a useful message.
2015-01-17 10:29:14 +13:00
mirkix
001758071f
mk: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black
2015-01-12 21:36:40 +13:00
Andrew Tridgell
5133799e23
PX4: start two barometers if possible
2015-01-09 11:50:57 +11:00
Andrew Tridgell
15c5e153c8
PX4: re-enable some warnings as errors
2015-01-09 11:38:28 +11:00
Andrew Tridgell
5b46dec9a0
PX4: avoid build errors from new upstream -Werror directives
2015-01-09 11:37: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
722ce0628a
PX4: enable ccache on windows build
2014-12-04 08:12:47 +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
John Williams
b1c6931ade
Build: added zynq make target
2014-11-14 10:21:05 +11:00
Andrew Tridgell
75a517824b
build: put elf file in current directory
...
makes it more obvious where the build ends up
2014-11-13 17:27:53 +11:00
Andrew Tridgell
b5f1ab496b
build: be less strict on compiler version for PXF
2014-11-07 22:15:28 +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
6bf76acf96
PX4: add TESTS_MATHLIB_DISABLE define
...
this helps building with upstream master
2014-10-30 08:09:39 +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
Emile Castelnuovo
958e5e31fc
Build: VRBRAIN corrected order of MAG startup for 4.5 board
2014-08-31 10:57:05 +09:00
Emile Castelnuovo
0e118eb3d0
Build: VRBRAIN corrected order of MAG startup
2014-08-31 10:57:01 +09:00
LukeMike
44f1ef207d
VRBRAIN: added startup of internal mag's driver for VR Brain Standard 5
2014-08-31 10:56:54 +09:00
LukeMike
bebfbd3fbb
VRBRAIN: modified target clean
2014-08-16 20:28:42 +10:00
Andrew Tridgell
148dfbd180
build: fixed flymaple build
2014-08-13 18:46:44 +10:00
Andrew Tridgell
1a007dfcc0
build: added subtypes for all boards
2014-08-13 18:46:43 +10:00
Mikhail Avkhimenia
2899e44c0c
build: add navio build target
2014-08-12 22:08:13 +10:00
Mikhail Avkhimenia
e5c8a0af77
build: add Raspberry Pi toolchain
2014-08-12 22:07:22 +10:00
Andrew Tridgell
4dfafcf7ba
build: removed hil from frames list
...
it breaks "apm1-hil" target for copter
2014-08-07 12:34:30 +10:00
Andrew Tridgell
8ac9c11055
build: allow "make px4-v2-hil-upload"
2014-08-07 09:51:32 +10:00
Andrew Tridgell
24b481ac0d
build: fixed dependency on frame type in make target
2014-08-01 06:54:03 +10:00
LukeMike
b6d361a3f7
build: VRBRAIN changed start of new drivers of sensors
2014-07-15 20:42:50 +10:00
LukeMike
f1b99036e2
build: VRBRAIN added new module for rotation of sensors
2014-07-15 20:42:33 +10:00
Andrew Tridgell
fdeac40135
build: added board subtypes to build
2014-07-14 09:44:35 +10:00
Andrew Tridgell
e2a3a4e45c
build: allow native build to use distcc
2014-07-14 09:44:34 +10:00
Andrew Tridgell
3475f39daf
build: enable ccache if installed for all builds
2014-07-14 09:44:34 +10:00
Andrew Tridgell
09e9074cb2
build: added bbone as build target
2014-07-14 09:44:34 +10:00
Andrew Tridgell
a224d8c3f9
build: rename board_avr_sitl.mk to board_native.mk
2014-07-14 09:44:34 +10:00
Andrew Tridgell
0b6c810a6e
build: added ERLE build type
2014-07-14 08:52:43 +10:00
Andrew Tridgell
fc368202ad
build: fixed build with latest upstream PX4 Firmware tree
2014-07-09 08:12:10 +10:00
Andrew Tridgell
5230684bad
build: disable some compiler errors for now
...
this needs more work, but allows us to build with upstream PX4
Firmware now
2014-07-08 20:28:45 +10: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
LukeMike
0dc0d2f6c0
VRBRAIN: included module esc_calib for ESC's calibration from shell
2014-07-01 12:21:35 +02:00
LukeMike
de1d0c6989
VRBRAIN: deactivated error on HMC5883 start
2014-07-01 12:21:34 +02:00
LukeMike
0dc274221b
VRBRAIN: renamed external and on board drivers for MPU6000 and HMC5883 sensors
2014-07-01 12:21:33 +02:00
LukeMike
69f75886e1
VRBRAIN: some not important adjustments
2014-07-01 12:21:32 +02:00
LukeMike
3adb04dd71
VRBRAIN: added automatic update of bootloader from SD at startup
2014-07-01 12:21:32 +02:00
LukeMike
efd407b56e
VRBRAIN: enabled the compilation of module bl_update for bootloader update from nuttx
2014-07-01 12:21:31 +02:00
Andrew Tridgell
166c1fd530
PX4: startup FMUv3 sensors if available
2014-06-30 07:58:35 +10:00
LukeMike
78f29f11e7
VRBRAIN: Modified makefile for VirtualRobotix's boards
2014-06-19 11:28:45 +02:00
LukeMike
33537b26ce
VRBRAIN: Removed the stop in case of error on startup of magnetometer.
...
Thus should enable to fly without a magnetometer.
2014-06-19 11:28:33 +02:00
Emile Castelnuovo
8a747ef977
VRBRAIN: added missing boards definition
2014-06-19 11:27:43 +02:00
LukeMike
b7907e6a5a
VRBRAIN: Added makefile and startup scripts for VR Brain 5 board.
2014-06-19 11:27:41 +02:00
LukeMike
068dce6820
VRBRAIN: Scripts for VRBRAIB custom start
2014-06-19 11:27:40 +02:00
LukeMike
994f6160af
VRBRAIN: Changed the management of VirtualRobotix's boards.
...
Added missing files
2014-06-19 11:27:39 +02:00
LukeMike
8f552d5758
VRBRAIN: Changed the management of VirtualRobotix's boards.
2014-06-19 11:27:38 +02:00
Andrew Tridgell
cf3b487e63
build: fixed TOOLPATH on MacOS
...
thanks to oriondream for this fix
fixes issue #1151
2014-06-17 20:46:12 +10:00
Andrew Tridgell
3909a9574b
AVR: fixed some build warnings with gcc 4.8.2
2014-05-08 15:15:55 +10:00
Andrew Tridgell
603e84a688
SITL: disable missing initializer warnings
...
not specifying all initializers is normal
2014-05-08 11:11:35 +10:00
Andrew Tridgell
3dc0404e2b
SITL: prevent unused parameter warnings
2014-05-08 11:01:32 +10:00
Emile Castelnuovo
1d28acd182
VRBRAIN: Added missing files. Added *.vbrain files to git ignore.
2014-04-08 16:19:20 +10:00
Emile Castelnuovo
7fe4847b6c
VRBRAIN: Added NuttX driver vroutput for PWM out
...
Modified script rc.APM to launch modules vrinput and vroutput
Modified startup scripts to run APM without SD
2014-04-08 16:19:20 +10:00
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
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