Karl Schwabe
48c467f602
Remove CONFIG_ARCH_BOARD #ifdef dependencies from mtd
...
Since mtd already checks whether CONFIG_MTD_RAMTRON is set in
defconfig use this define to check whether to call ramtron_attach()
or at24xxx_attach() in the main function, instead of checking
CONFIG_ARCH_BOARD_PX4FMU-V1.
Also instead of using #ifdef CONFIG_ARCH_BOARD_AEROCORE to determine
whether to start mtd on spi 2 or 4, rather use a new board define
PX4_SPI_BUS_RAMTRON in the board_config.h file.
2015-11-13 16:30:57 +01:00
ksschwabe
6b7fe11c2e
Tone_alarm: added checking to make sure HRT and Tone_alarm on different timers.
2015-09-03 17:52:57 +02:00
ksschwabe
9f300e054d
Added ability to use timer 1 and timer 8 for the tone alarm driver.
2015-09-03 11:03:11 +02:00
Karl Schwabe
8e16fdeebf
pwm_input bug fix: Incorrect APBs on timers 5, 9, 10, 11 and 12
2015-08-29 00:29:52 +02:00
Karl Schwabe
85bf7c31ab
HRT driver fix : Incorrect APBs for timers 5, 10 and 11.
2015-08-29 00:07:20 +02:00
ksschwabe
fb2082e6ae
Introduce new variable for TONE_ALARM_CLOCK_POWER_REG to account for timers being on different APBs
2015-08-26 11:03:32 +02:00
ksschwabe
5b659407a6
Bug fix: Incorrect APBs used in HRT driver and tone alarm driver.
2015-08-25 17:24:11 +02: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