Daniel Agar
da383064c6
NuttX update with STM32H7 SPI DMA support
...
- holybro durdandal enable SPI DMA
5 years ago
Julian Oes
f650b91718
battery: check source param inside battery lib
...
This moves the handling of the BAT%d_SOURCE param inside of the battery
library. Users of the library now pass the source instead of the flag
whether to publish. The battery library then checks if the source is
selected using the param and publishes accordingly.
Since we removed the strange system_source flag, we now need to look at
all batteries in commander.
For current estimation - I think - it makes sense to sum them up.
5 years ago
Julian Oes
b01cdafcf6
boards: add esc_battery to build
5 years ago
Julian Oes
509b8b6b4b
First skeleton for esc_battery module
5 years ago
Daniel Agar
ad559a66a1
examples: add simple work_item example module
5 years ago
David Sidrane
025799248c
holybro_durandal-v1:Ensure SDMMC power seqensing is clean
5 years ago
Daniel Agar
40b1043e12
NuttX boards minor lpwork and init stack increases
5 years ago
Daniel Agar
15332a7e56
boards: reduce CONFIG_NFILE_DESCRIPTORS 20 -> 15
5 years ago
Daniel Agar
7c8ab49eb9
boards: mro_ctrl-zero-f7 fix i2c
...
- STM32_HSI_FREQUENCY 24 MHz -> 16 MHz (required for NuttX stm32f7 i2c)
5 years ago
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
5 years ago
Daniel Agar
1cc8e4dc1a
distance_sensor/vl53l0x: move to PX4Rangefinder and cleanup
5 years ago
Daniel Agar
baa50a1985
boards: omnibus/f4sd add board_dma_map.h
5 years ago
Daniel Agar
ca81175b07
rename drivers/px4fmu -> drivers/pwm_out
...
- split out header
5 years ago
Daniel Agar
39b47e63b5
boards: airmind mindpx-v2 switch to new mpu6000 and mpu6500 drivers
5 years ago
Beat Küng
cc6ae7ad41
fix omnibus/f4sd: bmp280 start
5 years ago
Beat Küng
fc3b497b41
omnibus/f4sd: switch over mpu6000 driver
...
I'm seeing 'mpu6000: FIFO empty: 49 events' increasing, but that is
epxected as there's no DRDY.
5 years ago
Daniel Agar
a38d4192ab
boards: airmind mindpx-v2 fix L3GD20 DRDY pin
5 years ago
Peter van der Perk
9490f41f85
rddrone-uavcan146 removed shared clock between hrt & rtc
...
Removed non-existing SW2 button
Fixed SW3 button pinmux
Added FlexCAN pin definition
hrt use external sirc clock
rtc use 32khz lpo clock
5 years ago
Travis Bottalico
e898b7f110
- Remove RC_SERIAL_SINGLEWIRE, this broke Spektrum radio on last commit
...
- set FSYNC INT pins to 0 to be safe
5 years ago
baumanta
2103b8f7de
fmu-v5_optimized: disable esc_calib
5 years ago
Daniel Agar
44bec269b0
boards: update all NuttX configs CONFIG_NSH_MAXARGUMENTS 12 -> 15
5 years ago
Peter van der Perk
a4e6f96365
rddrone-uavcan146: HRT & RTC timer support
5 years ago
Hyon Lim
2b54e19adf
Script: As recent driver refactoring checkes start argument first, we change script accordingly.
5 years ago
Hyon Lim
fd0ea29fc6
Board support: UVify Core. As Core is not using SPI4 as external, SPI4 external interface related code removed.
...
Also, PMW3901 flow sensor is added on SPI2 bus.
5 years ago
Hyon Lim
1161dac875
Script update: PMW3901 driver argument has changed. so we change scripts and SPI interface.
5 years ago
Hyon Lim
e8f0c8e239
NSH argument stack increased. Specific MAVLink configuration requires more than 12 parameters.
5 years ago
Hyon Lim
afcf0960df
IFO-S RGB LED app setting has been changed.
5 years ago
Hyon Lim
15f997d337
Airframe: IFO-S setup is added.
5 years ago
Daniel Agar
f4e2cd36d4
add new invensense/mpu6500 driver for airmind mindpx
5 years ago
Daniel Agar
f5fe50f839
invensense/icm20608g driver minor improvements
...
- interupt pin set active low and latch
- relax retry timeout if configure failed
- improve configured empty rate (sample rate) rounding
- fix RegisterCheck
- check FIFO count as part of full transfer and reset or adjust timing if necessary
- rename DRV_IMU_DEVTYPE_ICM20608 -> DRV_IMU_DEVTYPE_ICM20608G
5 years ago
Daniel Agar
a13e8e573e
boards: fmu-v2/v3 rc.board_sensors remove obsolete hmc5883 argument
...
- try to keep fmu-v2/v3 mostly in sync
5 years ago
Beat Küng
81dc73b752
fmu-v5_optimized: disable bl_update
...
to reduce FLASH usage
5 years ago
Beat Küng
7ea8dff8db
spi: do not deselect other chip-selects
...
And make sure on reset & init everything is deselected.
Reduces CPU load on a pixhawk cube by almost 1%.
5 years ago
Beat Küng
6a41c9e417
refactor fxos8701cq: use driver base class
5 years ago
Beat Küng
5fa4cd1019
refactor fxas21002c: use driver base class
5 years ago
Daniel Agar
974cb30b6d
nxp_rddrone-uavcan146 ignore i2c for now (platform support is incomplete)
5 years ago
Beat Küng
b156fe5787
boards: remove deprecated SPI + I2C defines from board_config.h
...
chip-selects are deselected in stm32_spiinitialize()
5 years ago
Beat Küng
f74474dd55
fmuk66-v3: fix spi bus numbering passing to px4_spibus_initialize
...
Fixes an error on bootup ([boot] FAILED to initialize SPI port 0). Other
than that, everything was working.
5 years ago
Beat Küng
04cffce992
refactor aerofc_adc: use driver base class
5 years ago
Beat Küng
030ba24f53
refactor pca9685: use driver base class
5 years ago
Beat Küng
6588dd0861
refactor icm20948: use driver base class
5 years ago
Beat Küng
924f46ee28
refactor icm20608g: use driver base class
5 years ago
Beat Küng
c4a19c8852
refactor icm20689: use driver base class
5 years ago
Beat Küng
609eafd4cd
refactor l3gd20: use driver base class
5 years ago
Beat Küng
6cf4de9e02
refactor lsm303d: use driver base class
5 years ago
Beat Küng
3423809cd9
refactor ism330dlc: use driver base class
5 years ago
Beat Küng
00280d55c2
refactor rm3100: use driver base class
5 years ago
Beat Küng
74db018012
refactor lsm303agr: use driver base class
5 years ago
Beat Küng
4d511868e6
refactor lis3mdl: use driver base class
5 years ago
Beat Küng
54da4997ad
refactor bmi088: use driver base class
5 years ago