James Goppert
e55af00222
Removed weak attributes.
2015-09-13 14:40:27 -04:00
James Goppert
34eeee9fa9
Added defautl config for nuttx, nuttx now works over usb.
2015-09-10 13:57:54 -04:00
James Goppert
cf37394484
Added board config for nuttx sim.
2015-09-09 08:28:54 -04:00
James Goppert
b6b25f2ad1
Nuttx sim support.
2015-09-09 08:18:41 -04:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Mark Charlebois
54bae34a2c
Build fixes for qurt after rebase on PX4 master
...
Removed the re-definitions of the usage method in the posix/main.cpp file.
Added qurt_external_hook interface to call externally linked module.
Fixed code format to comply with PX4 style.
Added usage information to main app and handled cases for unknown arguments.
Fixed the orb_priority interface to use int32_t instead of int.
Fixes to get hil working with led changes.
Added the config_eagle_adsp.mk file and update the make files to to use new
include/lib paths
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-09-04 11:09:29 -07:00
ksschwabe
e1572d3942
Moved ADC channel defines for battery voltage, battery current, and airspeed voltage to board_config.h. This allows better portabilit of code from one board to another, since it removes the hardcoded #ifdef sections from the Px4 sensors code.
2015-07-17 14:09:52 +02:00
ksschwabe
b528e1f593
Added ADC channel definitions to the board_config.h file. This way new boards with different ADC channel sets can still use the Px4 adc.c driver.
2015-07-10 17:03:22 +02:00
Ban Siesta
bd48ef0386
Merge remote-tracking branch 'px4/pr/2196' into lidar_tests
2015-05-24 09:40:03 +01:00
Max Shvetsov
dbe58d6165
[pwm_input] reset feature added
...
publication to range_finder topic added
2015-05-19 12:40:42 +03:00
Mark Charlebois
36f5d47ed9
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/gyro_calibration.cpp
src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
nopeppermint
52fca5b7a1
correct comments
2015-05-13 22:24:32 +02:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
3c76006541
Board drivers: Only print if init fails
2015-04-27 09:07:52 +02:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Lorenz Meier
3ee9b441c6
Add STM32F4 discovery config.
2015-04-16 22:51:08 +02:00
Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
Daniel Agar
c2abb0f82a
fix code style if trivial one line difference
2015-03-19 23:49:36 +01:00
Andrew Tridgell
322392d853
fmuv2: setup for PWM input on timer4, channel 2
2015-02-23 19:52:38 +01:00
Andrew Tridgell
2f25469bbe
px4fmu-v1: removed baro I2C address in board_config.h
...
the ms5611 can be on two addresses. The driver handles this, not the
board config
2015-02-01 13:09:55 +01:00
Lorenz Meier
da977bb39b
Added HMC chip select support
2014-12-26 19:55:58 +01:00
Daniel Agar
d511e39ea7
turn on -Werror and fix resulting errors
2014-12-22 17:56:59 -05:00
Lorenz Meier
3d2a5bae51
Board drivers: Optimize for size
2014-11-15 13:51:16 +01:00
Lorenz Meier
2cadd45f30
Configure led ring and enable heartbeat on it
2014-11-02 10:13:11 +01:00
Lorenz Meier
4bfa30bfd6
FMUv2: Add missing declarations.
2014-10-09 11:14:13 +02:00
Lorenz Meier
c3e25377d7
FMUv1: Add missing declarations.
2014-10-09 11:13:55 +02:00
Lorenz Meier
bc5d1648fe
Aerocore: Add missing declarations
2014-10-09 11:13:34 +02:00
Lorenz Meier
369c7d277f
Board config cleanup for external bus support
2014-07-08 13:50:00 +02:00
Andrew Tridgell
e4e152a85b
FMUv2: added define for PX4_I2C_BUS_ONBOARD
...
needed for hmc5883 on main bus (for FMUv3)
2014-07-08 11:45:11 +02:00
Andrew Tridgell
644d4bb3dc
FMUv2: added defines for FMUv3 sensors
...
this enables EXT0 to EXT3 on external SPI bus, and gives correct names
for FMUv3 board
2014-07-08 11:43:37 +02:00
Lorenz Meier
35cd487a42
drivers: Warning fixes
2014-06-30 12:20:02 +02:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Lorenz Meier
65344133a4
Count devices on SPI4 / EXT from 1 as for the other buses
2014-05-28 10:49:43 +02:00
Lorenz Meier
2bfde311db
Fix SPI select on port 4 to use the right defines
2014-05-28 10:49:34 +02:00
Lorenz Meier
096a4673e9
Add SPI4 init bits for FMUv2
2014-05-28 10:49:20 +02:00
Lorenz Meier
366e9c633d
FMUv1 board prettifying
2014-05-28 10:49:02 +02:00
Ash Charles
cbc559b6d6
[l3gd20] Make gyro orientation board-overridable
...
As discussed [1], provide a default SENSOR_BOARD_ROTATION
(270 degrees as this seems most common) and let boards override it
as necessary.
[1] https://github.com/gumstix/m4-firmware/commit/7d0850a710b3ac9e9e165beb36389577d0e5adcb#commitcomment-6315550
Signed-off-by: Ash Charles <ashcharles@gmail.com >
2014-05-14 09:19:30 -07:00
Ash Charles
2d29c5bd72
[aerocore] Remove commented code for GPIO2
...
GPIO2 is currently used for the tone alarm, not an arbitrary GPIO.
Signed-off-by: Ash Charles <ashcharles@gmail.com >
2014-05-13 14:06:59 -07:00
Ash Charles
9db966e058
[gps] Conditionally set default GPS port
...
AeroCore uses ttyS0 not ttyS3 as the serial port connected to the GPS.
Now, a board can set GPS_DEFAULT_UART_PORT to override the default setting
in a board-specific fashion.
Signed-off-by: Ash Charles <ashcharles@gmail.com >
2014-05-13 13:47:40 -07:00
Ash Charles
e5508a1aa0
Add Gumstix AeroCore device
...
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.
[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/
Signed-off-by: Ash Charles <ashcharles@gmail.com >
2014-05-13 09:41:41 -07:00
Lorenz Meier
5bc61c3c57
S.BUS output disable cleanup
2014-01-22 08:30:48 +01:00
Lorenz Meier
71b11d54e0
Configuring PX4IOv2 led pins
2014-01-16 20:13:35 +01:00
Lorenz Meier
2600c96e92
Configuring PX4IOv1 led pins
2014-01-16 20:13:17 +01:00
Lorenz Meier
a0bb6674da
Fix FMUs B/E led pin config
2014-01-16 19:03:14 +01:00
Lorenz Meier
33b84186e3
Patching up MPU6K pin disable defines
2014-01-14 08:58:30 +01:00
Lorenz Meier
4fcbe806ce
Cleaned up init config and picked a safe bet on FRAM clock speed
2014-01-09 18:05:17 +01:00
Lorenz Meier
72b9d3a0b1
Added unique ID location
2014-01-07 21:42:17 +01:00
Lorenz Meier
c11e36ad3d
Board config sweep / cleanup. No further functionality-relevant points found
2014-01-02 17:42:01 +01:00
Lorenz Meier
07fa4e3ec8
Removed bogus 50 MHz setting, only relevant for outputs
2014-01-02 17:26:57 +01:00
Lorenz Meier
445b9b2339
Final pin config for F1 PPM decoding, tested to be operational, pending in-application testing
2014-01-02 10:45:00 +01:00