Daniel Agar
c3884b5bc1
fake_imu (formally fake_gyro) updates for testing gyro filtering
...
- fake_imu now publishes sine sweeps over 10 seconds
- accel is also published so that fake IMU can be selected when the only option
4 years ago
Daniel Agar
58b40fbbb9
boards: move testing to dedicated test variants
4 years ago
Daniel Agar
ad934b4911
icm20948 i2c passthrough driver for ak09916 magnetometer (Here+ GPS/compass)
...
- include icm20948 on most boards by default
- create more test variants for default boards near flash limit (cuav_nora_test, cuav_x7pro_test, holybro_durandal-v1_test)
4 years ago
Daniel Agar
6874e9fba0
boards: NuttX disable all NSH memory debug commands (mb, mh, mw) by default
...
- closes https://github.com/PX4/PX4-Autopilot/issues/17062
4 years ago
Daniel Agar
631d1647d3
boards: minimize unnecessary differences in default variants
4 years ago
Daniel Agar
2257c3767e
simple gyro auto calibration module
4 years ago
Daniel Agar
4d288512b5
add board architecture specific init defaults
4 years ago
Daniel Agar
19de1e57e3
gyro_fft promote to modules and include on all boards
4 years ago
Beat Küng
7e33d03470
drivers: remove tap_esc
...
- it's not used anymore
- it would need a refactoring to use mixer_module
4 years ago
Daniel Agar
414f9f81d9
move fake GPS to standalone module
4 years ago
Daniel Agar
ab0d0fd0be
uORB move to PX4 platform layer
4 years ago
Daniel Agar
fb2a199621
delete unmaintaned mkblctrl driver
4 years ago
Daniel Agar
a257120e8d
boards: use new param default mechanism
4 years ago
Daniel Agar
8f0918a16b
boards: remove unused linker __param section
4 years ago
Daniel Agar
a2442ffb48
board: enable UAVCAN sensors by default on F7/H7
4 years ago
Daniel Agar
1ec10bfcc6
boards: disable CONFIG_ARMV7M_LAZYFPU again ( #16573 )
...
- this was causing hard faults on the CUAV Nora and possibly other boards, disabling everywhere until we fully understand the root cause
4 years ago
Daniel Agar
cb74cb8692
boards: enable CONFIG_ARMV7M_LAZYFPU everywhere
4 years ago
Daniel Agar
763c3b8fda
boards: start enabling multi-EKF by default on F7/H7
4 years ago
Matthias Grob
7545249215
Add flight_mode_manager to all targets with mc_pos_control
4 years ago
David Sidrane
22bc176885
Added mft for queries
4 years ago
David Sidrane
7c07ce9649
mro_x21-777: Use px4_platform_configure
4 years ago
Daniel Agar
c60743b306
boards: NuttX increase file name max 32 -> 40
4 years ago
Daniel Agar
233949a377
NuttX upgrade to 10.0.0+ defconfig changes
4 years ago
Tanja Baumann
b5ebdb8e41
add system command to get and set system time
...
* add system_time command for all boards
5 years ago
David Sidrane
4f5c88fc89
mro_x21-777: Updates for NuttX 9.1.0+ External schedule_note
5 years ago
David Sidrane
c9a323ebcc
mro_x21-777 Updates for NuttX 9.1.0-
...
mro_x21-777: defconfig MMCSD enable multiblock
5 years ago
SalimTerryLi
c037dbef21
Rename and move src/drivers/adc to src/drivers/adc/board_adc
5 years ago
Daniel Agar
2c3441aa90
boards: reduce CONFIG_NFILE_DESCRIPTORS 15 -> 12
...
- reduced now that calibration uses uORB::Subscription
- can likely be reduced further (perhaps < 8) with additional testing
5 years ago
Daniel Agar
fbc8e1b09e
boards: mRo X2.1-777 fixes
...
- ardupilot bootloader compatibility (first 3 sectors)
- clock tree fixes
- start mavlink
- start mpu9250 magnetometer (only onboard mag)
- fixes https://github.com/PX4/Firmware/issues/15466
5 years ago
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
5 years ago
Daniel Agar
6f6efd60b7
boards: centralize optional external I2C sensor start
...
- configured with new parameter SENS_EXT_I2C_PRB
5 years ago
Daniel Agar
5e7d2e830d
boards: delete old board.h boilerplate
5 years ago
Daniel Agar
746a8f5cf9
commander: reboot/shutdown usability fixes
...
- always check with state machine before reboot/shutdown
- respect BOARD_HAS_POWER_CONTROL (shutdown from command, low battery, power button)
- px4_shutdown_request add optional delay and always execute from HPWORK
- px4_shutdown_request split out px4_reboot_request
5 years ago
Daniel Agar
28d2aca699
boards: include all procfs entries on boards that aren't flash constrained
5 years ago
Daniel Agar
8d0c92003a
boards: remove all CONFIG_NXFONTS_DISABLE*
5 years ago
Daniel Agar
06478d9997
delete obsolete SENSORIOCSPOLLRATE/SENSORIOCRESET and systemcmds/config
5 years ago
mcsauder
6548fde024
Whitespace cleanup to quiet new blank line at EOF git hook.
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
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
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
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
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
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
7626be0485
refactor mpu9250: 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