Commit Graph

75 Commits

Author SHA1 Message Date
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
Lorenz Meier 85651218e2 FMU-inspired PPM config 2014-01-02 10:22:00 +01:00
Andrew Tridgell 70e56a3d54 px4fmu2: enable SPI sensor DRDY pins 2013-12-10 11:03:43 +01:00
Lorenz Meier 881cf61553 Added IOCTL and command for sensor rail reset (does not yet re-initialize sensor drivers) 2013-12-04 07:57:23 +01:00
Andrew Tridgell bdb462379a FMUv2: don't config ADC pins that are now used for MPU6k CS and other uses 2013-11-30 20:21:51 +11:00
Andrew Tridgell 19853f87a2 FMUv2: change CS pins to 2MHz
this gives cleaner traces
2013-11-30 20:21:44 +11:00
Andrew Tridgell 720f6ab313 FMUv2: set MPU6000 CS as initially de-selected 2013-11-30 20:20:03 +11:00
Andrew Tridgell 3a597d1a1f FMUv2: added define for MPU DRDY pin 2013-11-30 20:19:58 +11:00
Andrew Tridgell 3decf408c2 FMUv2: added support for MPU6000 on v2.4 board 2013-11-30 20:19:52 +11:00
Lorenz Meier c63995e91c Hotfix: Be more aggressive about SPI2 init on v1 boards 2013-11-08 14:22:27 +01:00
Jean Cyr 89d3e1db28 Implement Spektrum DSM pairing in V2
- Bind control for V2
- Relays and accessory power not supported on V2 hardware
2013-09-18 20:04:22 -04:00
px4dev ed4b34547c Make the init code compile if we don't have the granule allocator / dma allocator required 2013-09-11 13:42:29 -07:00
px4dev bbac1445b0 Add DMA buffer allocation pool. 2013-09-11 13:42:29 -07:00
Lorenz Meier b71c0c1f49 Added support for FMUv1 for RGB led and dim led support 2013-08-17 15:46:13 +02:00
Julian Oes 0c4e3dce0e Added LED_TOGGLE for normal LEDs 2013-08-15 17:34:49 +02:00
px4dev 9d6ec6b365 Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
px4dev 57cbf724f1 Fix the clock enable register for FMUv2 PWM outputs 1-4.
Teach the stm32 pwm driver about the MOE bit on advanced timers.
2013-07-29 23:13:46 -07:00
Lorenz Meier ffd14e1396 Updated F330 script, enabled amber led 2013-07-25 12:44:47 +02:00
Lorenz Meier d84824dd4f Compile fixes 2013-07-18 10:35:36 +02:00
Lorenz Meier 349c962469 Compiling / executing WIP on leds, leds not operational yet 2013-07-18 10:01:43 +02:00
Lorenz Meier 17445b0fbb Added led support to FMUv2 2013-07-17 22:54:05 +02:00
px4dev 16cb0a793d Some more v2 pin / gpio configs missed in the previous commit 2013-07-11 23:23:10 -07:00
px4dev 0efb1d6ceb Fix the px4io serial port device name now that we're not using UART8 as the console. 2013-07-07 18:50:04 -07:00