Daniel Agar
5739cf27e5
boards: delete obsolete commented config systemcmd
5 years ago
Roman Dvořák
75fe3bee8c
drivers/rpm: add simple RPM message simulator (dummy publisher)
5 years ago
Daniel Agar
06478d9997
delete obsolete SENSORIOCSPOLLRATE/SENSORIOCRESET and systemcmds/config
5 years ago
Daniel Agar
7c7ee115e3
boards: px4_io-v2 defconfig optimizations to save memory
...
* disable CONFIG_ARMV7M_MEMCPY to save flash
* disable CONFIG_LIB_BOARDCTL
* remove unnecessary pthread and task settings
* reduce preallocated watchdogs
* reduce console buffer size
* reduce IDLE thread stack
* reduce user main stack
Co-Authored-By: David Sidrane <David.Sidrane@Nscdg.com>
5 years ago
mcsauder
6548fde024
Whitespace cleanup to quiet new blank line at EOF git hook.
5 years ago
Daniel Agar
1ac6230758
boards: always change default IMU_GYRO_RATEMAX on px4_fmu-v2/v3 and mro_x21
...
- this can lower cpu usage considerably on older boards
5 years ago
Daniel Agar
588195f46c
boards: px4/fmu-v4pro cleanup rc.board_sensors
...
- board has either an icm20602 or icm20608g, not both
- probe all typical externally compasses
5 years ago
Daniel Agar
66eacd24bc
px4_fmu-v5_stackcheck: update stack sizes and add to Jenkins
...
- increase stack sizes to run cleanly under stackcheck
- this is likely overkill for most boards, but using stackcheck to set our minimum ensures we have a very safe margin on regular builds and it's something we can currently afford
- remove holybro_durandal-v1_stackcheck from test rack (there's only one unit)
5 years ago
Daniel Agar
276b2cad5a
boards: fmu was renamed pwm_out
5 years ago
Daniel Agar
55fc0cbdc7
boards/px4/fmu-v4: fix internal hmc5883 start
5 years ago
Beat Küng
8338f4e543
uvify/core: enable tx dma on telem2
5 years ago
Beat Küng
31937c280d
px4/v4: enable tx dma on telem2
5 years ago
Beat Küng
cbed023334
px4/v{2,3}: enable tx dma on telem2
5 years ago
Beat Küng
68e1172bb5
px4/v5x: enable tx dma on telem2
5 years ago
Beat Küng
c713ce721e
KakuteF7: enable SPI DMA for SPI 4
...
DMA for SPI 1 left disabled because the SD card does not work when enabling
it.
5 years ago
Daniel Agar
a89bba470a
boards: STM32F76xxx/STM32F77xxx linker add ITCM RAM and .ramfuncs handling
...
- this doesn't currently change anything, but gets us ready to start
experimenting with using the small amount of instruction tightly memory
on STM32F7
- the .ramfuncs section works with NuttX CONFIG_ARCH_RAMFUNCS
5 years ago
Daniel Agar
7aa7f0ed95
switch remaining boards to new InvenSense IMU drivers
5 years ago
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