Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d14360f
Cranking up bus speeds for all sensors to achievable 10.4 MHz, will c…
LorenzMeier Dec 15, 2013
8061587
Enabled MPU6K and updated startup script to start all sensors
LorenzMeier Dec 15, 2013
c7962e1
Re-introduced AQ MAVLink files since we have had them around before
LorenzMeier Dec 16, 2013
c04c486
PX4IO upgrade improvement
LorenzMeier Dec 16, 2013
7350d4e
mpu6000: disable interrupts during initial reset
Dec 16, 2013
05e56bc
Enable DMA on UART8
LorenzMeier Dec 16, 2013
1b9de77
Removed whitespace
LorenzMeier Dec 17, 2013
55b7c22
sensors: support for Futaba RC failsafe
DrTon Nov 1, 2013
f7afb11
commander: bug fixed in failsafe
DrTon Nov 1, 2013
aaa1099
sensors: code style fixed
DrTon Nov 1, 2013
5a44f13
Hotfix: Fixed mapping of override channel
LorenzMeier Dec 19, 2013
896be6c
px4io: configure APM use of px4io without RC handling
Aug 21, 2013
d5af0f6
APM: configure px4io for no RC handling and no mavlink pipe
Aug 27, 2013
4a75d8d
px4io: enable power on Spektrum connector on init
Sep 18, 2013
27cd06c
added libtomcrypt library
davidbuzz Sep 27, 2013
1b078e4
added libtomfastmath
davidbuzz Sep 27, 2013
10a16f2
added otp library
davidbuzz Sep 27, 2013
b2730e9
added auth command
davidbuzz Sep 27, 2013
0fc5dca
ms5611: enabled debug()
Dec 6, 2013
e084237
mpu6000: added logging of good transfers and enable debug
Dec 16, 2013
24aef47
ms5611: report P and T in ms5611 info
Dec 30, 2013
37de1ab
PPM channel count detection is now using a more paranoid approach.
LorenzMeier Dec 20, 2013
b4d3371
otp: fixed build warnings
Dec 31, 2013
cd8d61e
FMUv1: use larger CDCACM buffer size for faster log transfer on FMUv1
Dec 31, 2013
0a413fc
Greatly robustified PPM parsing, needs cross-checking with receiver m…
LorenzMeier Dec 25, 2013
c87c46d
Added PPM frame length feedback in IO comms and status command - allo…
LorenzMeier Dec 25, 2013
2613ae8
Changed RSSI range to 0..255
LorenzMeier Dec 25, 2013
3b2d5a8
Paranoid PPM shape checking
LorenzMeier Dec 27, 2013
72de681
FMU-inspired PPM config
LorenzMeier Jan 2, 2014
a2999ad
Final pin config for F1 PPM decoding, tested to be operational, pendi…
LorenzMeier Jan 2, 2014
14d170c
Removed bogus 50 MHz setting, only relevant for outputs
LorenzMeier Jan 2, 2014
9186703
FMUv2: make all UARTs use 512 byte buffer, 2048 for CDCACM output
Jan 7, 2014
cc994c1
FMUv2: enable RXDMA on 2nd GPS port and debug console
Jan 7, 2014
6677dca
meas_airspeed: avoid trivial dependency on math lib
Jan 7, 2014
076dbca
px4iofirmware: make forceupdate more reliable
Jan 7, 2014
30a534f
Revert "Cranking up bus speeds for all sensors to achievable 10.4 MHz…
Jan 13, 2014
892165a
Added support for byte MTD
LorenzMeier Jan 11, 2014
0f603ba
Added MTD adapter driver
LorenzMeier Jan 11, 2014
a31348a
Added mtd tool
LorenzMeier Jan 11, 2014
36f8698
Added support for N MTD / ramtron partitions / files
LorenzMeier Jan 12, 2014
7e900c7
Enabled MTD partitions, successfully tested params
LorenzMeier Jan 12, 2014
2cd855a
mtd: added "mtd erase"
Jan 14, 2014
c1847d9
Eliminated magic number
LorenzMeier Jan 14, 2014
a9af053
Pruned old RAMTRON interface
LorenzMeier Jan 14, 2014
1a6ab1e
Enabled EEPROM as MTD backend device
LorenzMeier Jan 14, 2014
20d31bf
Disabling EEPROM and old RAMTRON driver
LorenzMeier Jan 14, 2014
4f19a32
Deleting old eeprom driver directory
LorenzMeier Jan 14, 2014
f2f4b08
Patching up MPU6K pin disable defines
LorenzMeier Jan 14, 2014
9f2601e
Introducing mtd status command, fixing compile errors for I2C setup
LorenzMeier Jan 14, 2014
1e0b20a
mtd: fixed creation and erase of a single partition
Jan 15, 2014
e0b34d8
Improved test suite, now features a MTD device test
LorenzMeier Jan 15, 2014
8adc243
mtd: added "mtd readtest" and "mtd rwtest"
Jan 16, 2014
c35fff2
mtd: use new MTDIOC_SETSPEED ioctl
Jan 16, 2014
7ed00f8
px4fmu: added PWM_SERVO_SET_COUNT API
Jan 20, 2014
bf42b12
hmc5883: much faster calibration code with bug fixes
Jan 22, 2014
c0f87b1
px4io: improved reliability of forceupdate re-starting px4io
Jan 24, 2014
2699e15
Fix the initialisation and operation of the PX4IO ADC - now RSSI and …
px4dev Jan 23, 2014
9b99b5d
ms5611: added "ms5611 test2"
Jan 29, 2014
c5e7cc6
FMUv2: set SPI GPIO pins on bus 1 to 50MHz
Jan 29, 2014
0a59f21
FMUv2: push SPI2 GPIO speed up to 50MHz as well
Jan 29, 2014
9833402
Update px4io.h
totaltmega Jan 29, 2014
33db733
Revert "Update px4io.h"
totaltmega Jan 29, 2014
c08af34
px4io_v1 current sensor adc was not defined
totaltmega Jan 29, 2014
6a8506b
FMUv1: setup SPI pins as 50MHz on PX4v1
Jan 30, 2014
859e0cc
FMUv2: fixed UART3 flow control pins
Feb 10, 2014
92e1eef
px4io: support PX4IO_P_SETUP_FORCE_SAFETY_OFF
Feb 11, 2014
3801ae9
pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl
Feb 11, 2014
9bfcd3d
uORB: added an ORB topic for system_power
Feb 12, 2014
65e7aaa
adc: publish system_power ORB topic from ADC
Feb 12, 2014
788ba7c
meas_airspeed: correct MS4525 airspeed using 5V rail voltage
Feb 12, 2014
f234a91
meas_airspeed: added temperature compensation with voltage too
Feb 12, 2014
63cb8f2
airspeed: cope properly with reversed tubes on pitot tube
Feb 13, 2014
63bac16
MPU6000: gyro topic was not initialized
julianoes Feb 16, 2014
aaf5026
tests: added "tests file2" filesystem test
Mar 3, 2014
043b189
FMUv2: switch debug console and 2nd GPS
Mar 4, 2014
7f1aa4f
hmc5883: properly reset mag to normal state on calibration fail
Mar 11, 2014
6e26604
Merge remote-tracking branch 'upstream/master'
totaltmega Mar 20, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 11 additions & 5 deletions ROMFS/px4fmu_common/init.d/rc.sensors
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ fi
if mpu6000 start
then
echo "using MPU6000"
set BOARD fmuv1
else
echo "using L3GD20 and LSM303D"
l3gd20 start
lsm303d start
fi

if l3gd20 start
then
echo "using L3GD20(H)"
fi

if lsm303d start
then
set BOARD fmuv2
else
set BOARD fmuv1
fi

# Start airspeed sensors
Expand Down
17 changes: 9 additions & 8 deletions ROMFS/px4fmu_common/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ then
#
# Load microSD params
#
#if ramtron start
#then
# param select /ramtron/params
# if [ -f /ramtron/params ]
# then
# param load /ramtron/params
# fi
#else
if mtd start
then
param select /fs/mtd_params
if param load /fs/mtd_params
then
else
echo "FAILED LOADING PARAMS"
fi
else
param select /fs/microsd/params
if [ -f /fs/microsd/params ]
then
Expand Down
3 changes: 1 addition & 2 deletions makefiles/config_px4fmu-v1_backside.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ MODULES += modules/sensors
#
# System commands
#
MODULES += systemcmds/eeprom
MODULES += systemcmds/ramtron
MODULES += systemcmds/mtd
MODULES += systemcmds/bl_update
MODULES += systemcmds/boardinfo
MODULES += systemcmds/i2c
Expand Down
3 changes: 1 addition & 2 deletions makefiles/config_px4fmu-v1_default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ MODULES += modules/sensors
#
# System commands
#
MODULES += systemcmds/eeprom
MODULES += systemcmds/ramtron
MODULES += systemcmds/mtd
MODULES += systemcmds/bl_update
MODULES += systemcmds/boardinfo
MODULES += systemcmds/i2c
Expand Down
49 changes: 49 additions & 0 deletions makefiles/config_px4fmu-v1_test.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#
# Makefile for the px4fmu_default configuration
#

#
# Use the configuration's ROMFS.
#
ROMFS_ROOT = $(PX4_BASE)/ROMFS/px4fmu_test
ROMFS_OPTIONAL_FILES = $(PX4_BASE)/Images/px4io-v1_default.bin

#
# Board support modules
#
MODULES += drivers/device
MODULES += drivers/stm32
MODULES += drivers/stm32/adc
MODULES += drivers/stm32/tone_alarm
MODULES += drivers/led
MODULES += drivers/boards/px4fmu-v1
MODULES += drivers/px4io
MODULES += systemcmds/perf
MODULES += systemcmds/reboot
MODULES += systemcmds/tests
MODULES += systemcmds/nshterm
MODULES += systemcmds/mtd

#
# Library modules
#
MODULES += modules/systemlib
MODULES += modules/systemlib/mixer
MODULES += modules/uORB

#
# Transitional support - add commands from the NuttX export archive.
#
# In general, these should move to modules over time.
#
# Each entry here is <command>.<priority>.<stacksize>.<entrypoint> but we use a helper macro
# to make the table a bit more readable.
#
define _B
$(strip $1).$(or $(strip $2),SCHED_PRIORITY_DEFAULT).$(or $(strip $3),CONFIG_PTHREAD_STACK_DEFAULT).$(strip $4)
endef

# command priority stack entrypoint
BUILTIN_COMMANDS := \
$(call _B, sercon, , 2048, sercon_main ) \
$(call _B, serdis, , 2048, serdis_main )
3 changes: 2 additions & 1 deletion makefiles/config_px4fmu-v2_default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ MODULES += drivers/px4fmu
MODULES += drivers/px4io
MODULES += drivers/boards/px4fmu-v2
MODULES += drivers/rgbled
MODULES += drivers/mpu6000
MODULES += drivers/lsm303d
MODULES += drivers/l3gd20
MODULES += drivers/hmc5883
Expand All @@ -44,7 +45,6 @@ MODULES += modules/sensors
#
# System commands
#
MODULES += systemcmds/ramtron
MODULES += systemcmds/bl_update
MODULES += systemcmds/boardinfo
MODULES += systemcmds/mixer
Expand All @@ -58,6 +58,7 @@ MODULES += systemcmds/top
MODULES += systemcmds/tests
MODULES += systemcmds/config
MODULES += systemcmds/nshterm
MODULES += systemcmds/mtd

#
# General system control
Expand Down
3 changes: 3 additions & 0 deletions makefiles/config_px4fmu-v2_test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ MODULES += drivers/led
MODULES += drivers/boards/px4fmu-v2
MODULES += systemcmds/perf
MODULES += systemcmds/reboot
MODULES += systemcmds/tests
MODULES += systemcmds/nshterm
MODULES += systemcmds/mtd

#
# Library modules
Expand Down
123 changes: 123 additions & 0 deletions mavlink/include/mavlink/v1.0/autoquad/autoquad.h

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions mavlink/include/mavlink/v1.0/autoquad/mavlink.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/** @file
* @brief MAVLink comm protocol built from autoquad.xml
* @see http://pixhawk.ethz.ch/software/mavlink
*/
#ifndef MAVLINK_H
#define MAVLINK_H

#ifndef MAVLINK_STX
#define MAVLINK_STX 254
#endif

#ifndef MAVLINK_ENDIAN
#define MAVLINK_ENDIAN MAVLINK_LITTLE_ENDIAN
#endif

#ifndef MAVLINK_ALIGNED_FIELDS
#define MAVLINK_ALIGNED_FIELDS 1
#endif

#ifndef MAVLINK_CRC_EXTRA
#define MAVLINK_CRC_EXTRA 1
#endif

#include "version.h"
#include "autoquad.h"

#endif // MAVLINK_H
Loading