Beat Küng
34c75f2d36
boards: temporarily disable UART TX DMA
...
work-around for https://github.com/PX4/Firmware/issues/14659 .
This can be reverted when fixed properly.
5 years ago
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
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
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
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
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
02f4ad61ec
I2C/SPI require device type in constructor
5 years ago
Daniel Agar
ca81175b07
rename drivers/px4fmu -> drivers/pwm_out
...
- split out header
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
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
b156fe5787
boards: remove deprecated SPI + I2C defines from board_config.h
...
chip-selects are deselected in stm32_spiinitialize()
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
4d511868e6
refactor lis3mdl: use driver base class
5 years ago
Beat Küng
54da4997ad
refactor bmi088: use driver base class
5 years ago
Beat Küng
7626be0485
refactor mpu9250: use driver base class
5 years ago
Beat Küng
2f3174abb0
refactor icm20602: use driver base class
5 years ago
Daniel Agar
8738c26426
boards: enable NuttX SPI DMA buffers
...
- update to NuttX with stm32f4 and stm32f7 SPI DMA internal buffers
- remove explicit DMA buffer allocations from new IMU drivers
- restore original BOARD_DMA_ALLOC_POOL_SIZE
- decrease SPI DMA thresholds based on fmu-v2/v3/v4/v5 bench testing
5 years ago
Daniel Agar
b73ec18abb
boards: add px4_fmu-v4 and px4_fmu-v5 optimized (-O3) build variants
5 years ago
Daniel Agar
1be959cba8
InvenSense ICM-40609-D IMU driver
...
This is another new InvenSense sensor with max output data rate of 32 kHz (both accel & gyro), on board anti-aliasing filter, and accel range 32G. Overall quite similar to the ICM-42688-P added in #14420 , but with doubled accel range and without the optional high resolution output or clock sync.
5 years ago
SalimTerryLi
dc8e775d8f
ADC: replace ioctl with uorb message ( #14087 )
5 years ago
Beat Küng
8ebde51648
refactor hmc5883: use driver base class
...
Removes the calibration on startup, as these values were overwritten by
the system calibration values anyway.
So the only difference is that if all calibration scales were equal to 1,
the driver startup would have failed.
5 years ago
Beat Küng
47b329cc54
refactor bmm150: use driver base class
5 years ago
Beat Küng
ec2de33547
lights: use driver base class
5 years ago
Beat Küng
832ccd262e
refactor ina226: use driver base class
5 years ago
Beat Küng
985bb2adc9
refactor bmp388: use driver base class
5 years ago
Beat Küng
dbb53044ce
refactor ms5611: use driver base class
...
Also: remove device type auto-detection as it will not work with
together with the new SPI board config (which specifies a specific
device type)
5 years ago