Daniel Agar
7aa7f0ed95
switch remaining boards to new InvenSense IMU drivers
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
ca81175b07
rename drivers/px4fmu -> drivers/pwm_out
...
- split out header
5 years ago
Daniel Agar
44bec269b0
boards: update all NuttX configs CONFIG_NSH_MAXARGUMENTS 12 -> 15
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
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
00280d55c2
refactor rm3100: 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
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
1710cd9648
refactor px4flow: use driver base class
5 years ago
Beat Küng
22a38453ab
refactor bmi055: use driver base class
5 years ago
Beat Küng
969a77f889
refactor mpu6000: use driver base class
5 years ago
Beat Küng
be0a205438
refactor ist8310: use driver base class
5 years ago
Beat Küng
58f386a81c
refactor pmw3910: use driver base class
5 years ago
Daniel Agar
f9794e99f8
move hover_thrust_estimator to new module (mc_hover_thrust_estimator)
...
* MC_HTE: unitialize with hover_thrust parameter
* MC_HTE: constrain hover thrust setter between 0.1 and 0.9
* MC_HTE: integrate with land detector and velocity controller
* MCHoverThrustEstimator: Always publish an estimate even when not fusing measurements. This is required as the land detector and the position controller need to receive a hover thrust value.
* MC_HTE: use altitude agl threshold to start the estimator
local_position.z is relative to the origin of the EKF while dist_bottom
is above ground
Co-authored-by: bresch <brescianimathieu@gmail.com>
5 years ago
Daniel Agar
46a09b711f
boards: increase STDIO buffer size where we can afford it
5 years ago
Beat Küng
335623e11d
SPI config: use enum to specify bus
5 years ago
Beat Küng
1851665fab
boards: add new spi+i2c config
...
Chip-select and SPI initialization uses the new config, whereas the drivers
still use the existing defines.
The configuration in board_config.h can be removed after all drivers are
updated.
5 years ago
Daniel Agar
4698a09b98
delete unmaintained outback challenge (OBC) bottle drop example
5 years ago
David Sidrane
cad3a811d2
nxp_fmurt1062-v1:Run from OCRAM
5 years ago
David Sidrane
3ed643f3d7
fmurt1062-v1:Update imxrt_flexspi_nor_boot configurable
5 years ago
Beat Küng
ccf2078c66
nxp/fmurt1062-v1: use hw description methods for timer configuration
5 years ago
Beat Küng
8cd9afc19a
imxrt io_timer: remove some fields from io_timers_t and split out channel indexes
...
IOMUX uses different enumeration from GPIO pin + port, so we cannot use
.gpio_out, and add a .gpio_portpin.
5 years ago
Beat Küng
b399698306
ist8310: remove calibration code
...
- it does nothing useful
- increases boot time by 2 seconds on pixhawk 4 due to a poll timeout:
IST8310 on I2C bus 3 at 0x0e (bus: 100 KHz, max: 400 KHz)
WARN [ist8310] ERROR: TIMEOUT 2
5 years ago
David Sidrane
78c7f98ef1
nxp_fmurt1062-v1:Memory Reorg
5 years ago
David Sidrane
962716a7c3
nxp_fmurt1062-v1:Performance tuning
5 years ago
David Sidrane
a8720057fd
nxp_fmurt1062-v1:RC is on LPUART6 ttyS5
5 years ago
David Sidrane
eb30041958
nxp_fmurt1062-v1:PROBES:carry includes and path needed
5 years ago
David Sidrane
ef5ed2e43c
nxp_fmurt1062-v1:OC remove Pull up - OC have series 47K
5 years ago
David Sidrane
ec0f004a7b
fmurt1062-v1:Correct SPI1_DRDY4_ICM20602
5 years ago
David Sidrane
1fd2f27493
fmurt1062-v1:Add SPI4 RESET and SYNC
5 years ago
David Sidrane
1346312012
fmurt1062-v1:Add GPIO info
5 years ago
David Sidrane
5202724f19
fmurt1062-v1:Add nARMED Support
5 years ago
David Sidrane
08ac209674
fmurt1062-v1:Set BAT ADC scaling
5 years ago
David Sidrane
453c39230f
fmurt1062-v1:Consistently use ONE/ZERO on inital OUTPUT settings
5 years ago
David Sidrane
1d2187528b
fmurt1062-v1:Fix LPUART8 RX, TX pin definitions
5 years ago
David Sidrane
a4e9498260
fmurt1062-v1:Fix LPUART3 CTS Pin definition
5 years ago
David Sidrane
2cbec89e2b
fmurt1062-v1:Fix and enable support for debut Probes
5 years ago
David Sidrane
2385e1091d
fmurt1062-v1:Correct ttyS usage
5 years ago
David Sidrane
e5bf0710b5
fmurt1062-v1:Support imxrt_lpi2c_reset uses GPIO with SION
5 years ago
David Sidrane
f44f8a95e1
fmurt1062-v1:Update board modules ==FMUv5
5 years ago
David Sidrane
625429d3b7
fmurt1062-v1:Support configurations to fine tune LPI2C Timeouts.
5 years ago
David Sidrane
59d17b053f
fmurt1062-v1:Support clock setting for SPI and I2C from board.h
5 years ago
David Sidrane
94dbf3176a
fmurt1062-v1:Update board modules ==FMUv5
5 years ago
David Sidrane
51f0bc9788
fmurt1062-v1:Remove EVK build options
5 years ago
David Sidrane
a8e0c29161
fmurt1062-v1:Invert USDHC CD
5 years ago
David Sidrane
be14fa084b
fmurt1062-v1 Build for BB Rev A
5 years ago
David Sidrane
b4b597251f
fmurt1062-v1:Rev to match Rev A HW
5 years ago