Kirill Shilov
e13884410b
heater: added support of inverted IMU heat controller output
2021-07-20 10:37:53 -04:00
Daniel Agar
774ad80ba0
systemcmds/tests: split out microbenchmarks and remove obsolete tests
...
- reorganize Jenkins HIL tests
2021-07-18 18:02:33 -04:00
Daniel Agar
12ad7b17ce
Makefile: add all_variants_@ helper target and consolidate github actions builds
2021-07-15 21:09:50 -04:00
Daniel Agar
c5b1fe86ca
delete deprecated BAT_* parameters
2021-07-08 22:19:12 -04:00
honglang
074ed24d02
nora:fixed syntax error
2021-06-17 09:37:04 -04:00
David Sidrane
05bdef867d
Track NuttX syslog change
2021-06-16 17:07:47 +02:00
David Sidrane
5b9201e5b4
cuav:Nora X7 Pro:Camera trigger is on 13/14
2021-06-11 15:13:23 +02:00
echoG
6bc09138c1
Adding BatMon smart battery as a module and refactoring SMBUS based SBS 1.1 spec to a library
2021-06-09 12:17:45 -04:00
CUAV_gitfishup
c61c1a15ee
cuav/x7pro: fix syntax error in rc.board_sensors
2021-06-08 09:18:20 +02:00
honglang
5672af4299
CUAV X7pro and Nora: use icm42688p instead of bmi088
2021-06-02 09:11:37 -04:00
David Sidrane
32e92ba817
Revert:Pull downs - bad levels cause motor spins
2021-06-01 15:18:47 -04:00
Daniel Agar
90e106ede3
boards: cuav_x7pro_test disable LPE to save flash
2021-05-31 10:26:45 -04:00
Jukka Laitinen
071eaef884
Adjust paths to bootloader include files for boards
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-05-26 12:57:37 -07:00
CUAVcaijie
ffe9f8a942
boards: CUAV Nora/X7Pro ICM20649 on SPI6 bus will be replaced by ICM20689
2021-05-18 18:49:25 -04:00
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
2021-05-17 20:26:25 -04:00
David Sidrane
a654c37306
cuav_x7pro: Disable OTG_ID_GPIO
2021-05-05 20:48:06 +02:00
David Sidrane
07e38563ba
cuav_nora: Disable OTG_ID_GPIO
2021-05-05 20:48:06 +02:00
David Sidrane
4d4d8ed887
cuav_x7pro: Initalize PWM as input with Pull Downs
2021-05-05 20:48:06 +02:00
David Sidrane
eae01a06e7
cuav_nora: Initalize PWM as input with Pull Downs
2021-05-05 20:48:06 +02:00
Daniel Agar
58b40fbbb9
boards: move testing to dedicated test variants
2021-04-14 09:21:31 +02:00
Daniel Agar
565c644b2e
boards: CUAV keep Nora and X7pro in sync
2021-04-05 12:54:41 -04:00
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)
2021-04-04 21:18:16 -04:00
David Sidrane
55ed76522e
cuav x7pro:Add remaining SRAM4 & DTCM to heap
2021-04-03 14:13:23 -04:00
David Sidrane
df201342bb
cuav nora:Add remaining SRAM4 & DTCM to heap
2021-04-03 14:13:23 -04:00
Daniel Agar
278633c980
boards: cuav x7pro include correct adis IMU
2021-04-01 17:13:54 -04:00
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
2021-03-30 09:23:43 -04:00
Daniel Agar
631d1647d3
boards: minimize unnecessary differences in default variants
2021-03-28 14:46:47 -04:00
Daniel Agar
b1c913244f
boards: CUAV X7pro restore lights
2021-03-26 18:25:39 -04:00
Daniel Agar
e77bffe582
boards: STM32H7 remove CONFIG_MM_REGIONS=3
2021-03-26 17:40:44 -04:00
David Sidrane
06cd3eded5
Revert "boards: CUAV Nora don't start icm20649 on SPI6 by default"
...
This reverts commit bcae99e34a
.
2021-03-23 05:52:27 -07:00
David Sidrane
644794d134
Revert "boards: CUAV x7pro disable SPI6 IMU until NuttX BDMA is fixed"
...
This reverts commit 0b4006ae86
.
2021-03-23 05:52:27 -07:00
David Sidrane
e813385f12
cuav x7pro:Properly configure BDMA
2021-03-23 05:52:27 -07:00
David Sidrane
ba3a099775
cuav nora:Properly configure BDMA
2021-03-23 05:52:27 -07:00
David Sidrane
3581099c09
Revert "boards: disable BDMA on STM32H7 for now"
...
This reverts commit f0d1f1d679
.
2021-03-23 05:52:27 -07:00
David Sidrane
a67edf229a
cuav x7pro:Enable ADC3 in support of temperature sensing
2021-03-19 15:48:47 +01:00
David Sidrane
4f3d74b9d3
cuav nora:Enable ADC3 in support of temperature sensing
2021-03-19 15:48:47 +01:00
Daniel Agar
a86e854a3b
boards: CUAV CAN GPS enable safety button
...
- the circuit breaker was changed to set by default (disabling the safety button)
2021-03-18 19:33:19 -04:00
Daniel Agar
1429423876
gyro_fft: support sensor_gyro (non-fifo)
2021-03-18 10:04:04 +01:00
Lorenz Meier
33c5f4210a
X7 disable FFT
...
This depends on the IMU driver supporting queue
2021-03-17 22:03:18 +01:00
Lorenz Meier
8cc3247d21
PWM command: Switch default to status, leave info
2021-03-17 22:03:18 +01:00
Lorenz Meier
c4e86f69c6
X7: Correct RGB led configuration
...
This removes unused modules and keeps the currently used ones in place.
2021-03-17 22:03:18 +01:00
Lorenz Meier
9fe2f84db5
CUAV X7 Pro: Remove unneeded drivers.
2021-03-17 22:03:18 +01:00
Lorenz Meier
891b231215
Ensure that AUX mixer is loaded when 2nd bank is present
2021-03-17 22:03:18 +01:00
Daniel Agar
dd479f9cca
drivers/imu/analog_devices/adis16470: Analog Devices ADIS16470 IMU driver for CUAV x7pro
2021-03-16 18:00:06 -04:00
Daniel Agar
4b99bd2077
boards: remove optional external ADIS IMUs to save flash
2021-03-15 13:37:24 -04:00
Daniel Agar
0b4006ae86
boards: CUAV x7pro disable SPI6 IMU until NuttX BDMA is fixed
2021-03-15 10:54:43 -04:00
Lorenz Meier
a5151f92ea
Merge pull request #17065 from PX4/pr/fix-mavlink-shell
...
MAVLink shell: Ensure that nothing is written to the file handles during shell creation.
2021-03-15 09:47:58 +01:00
Daniel Agar
2257c3767e
simple gyro auto calibration module
2021-03-15 09:46:47 +01:00
Daniel Agar
f8eaa6e46b
ROMFS handle bl_update generically
...
- include all available legacy bootloaders
2021-03-11 00:38:18 +01:00
Daniel Agar
4d288512b5
add board architecture specific init defaults
2021-03-09 19:59:41 +01:00
Daniel Agar
440e72e697
boards: cuav nora/x7pro don't have low speed external (LSE) oscillator
2021-03-09 10:49:57 -05:00
Daniel Agar
a0b9b44ff6
boards: stm32h7 set CONFIG_SDMMC1 consistently
2021-03-09 09:37:05 -05:00
Daniel Agar
19de1e57e3
gyro_fft promote to modules and include on all boards
2021-03-05 10:56:54 -05:00
Beat Küng
7e33d03470
drivers: remove tap_esc
...
- it's not used anymore
- it would need a refactoring to use mixer_module
2021-02-25 09:28:37 -05:00
David Sidrane
fd0494555c
canbootloader:stm32_boarddeinitialize->board_deinitialize
2021-02-24 19:20:15 +01:00
David Sidrane
d8b9def3f8
cuav_an-gps-v1:Ensure yeild is used for FLASH programing
2021-02-23 17:45:25 -05:00
Daniel Agar
bcae99e34a
boards: CUAV Nora don't start icm20649 on SPI6 by default
...
- waiting on NuttX SPI6 BDMA to be fixed
2021-02-22 12:11:16 -05:00
Daniel Agar
414f9f81d9
move fake GPS to standalone module
2021-02-20 14:13:36 -05:00
Daniel Agar
5dc5ebc0a1
boards: cleanup uavcan test targets (v1 and v0 embedded peripherals)
2021-02-18 11:54:41 -05:00
Daniel Agar
46eb790188
boards: new uavcan board variants remove delete mkblctrl driver
2021-02-17 22:47:35 -05:00
David Sidrane
e0e796a2b9
ROMFS:Bake in UAVCAN FW with builds that end in _uavcan
...
The configuration are mostly for testing now.
2021-02-17 22:47:35 -05:00
David Sidrane
57195843bf
cuav_can-gps-v1:Use for ALT Bootloader an Option
2021-02-17 22:47:35 -05:00
David Sidrane
3f6388f9a1
uav_can-gps-v1:Use common uavcan board identity
2021-02-17 22:47:35 -05:00
David Sidrane
28030e96e2
cuav_can-gps-v1:UavcanNode app ensure IWDG off in debuger
2021-02-17 22:47:35 -05:00
David Sidrane
5c80b2d3dd
cuav_can-gps-v1:canbootloader - enable SWD and Pause IWDT whils stepping
2021-02-17 22:47:35 -05:00
David Sidrane
c7182d5453
cuav_can-gps-v1:CMakeList remove .h files
2021-02-17 22:47:35 -05:00
David Sidrane
878baabce8
cuav GPS use appdes
2021-02-17 22:47:35 -05:00
Daniel Agar
ab0d0fd0be
uORB move to PX4 platform layer
2021-02-17 11:25:56 -05:00
Daniel Agar
44df0fb7a2
Analog Devices ADIS16448 rewrite
...
- new IMU driver structure with state machine (no sleeps in bus thread)
- verify all configured registers and trigger reset on failure
- detect if DIO1 or DIO2 are actually connected for data ready interrupt usage
- don't use CRC-16 on burst transfers except for verified lots
2021-02-16 10:29:07 +01:00
Daniel Agar
fb2a199621
delete unmaintaned mkblctrl driver
2021-02-14 10:38:15 +01:00
Daniel Agar
a257120e8d
boards: use new param default mechanism
2021-02-12 08:27:47 -05:00
Daniel Agar
8a0bf15b9e
boards: CUAV X7Pro fix BMI088 orientation
2021-02-11 23:05:48 -05:00
Daniel Agar
8f0918a16b
boards: remove unused linker __param section
2021-02-08 23:22:48 -05:00
Daniel Agar
a2442ffb48
board: enable UAVCAN sensors by default on F7/H7
2021-02-02 09:01:12 +01:00
Daniel Agar
78dff6adcb
boards: add CONSTRAINED_MEMORY build option
...
- currently the main change is that it reduces the max number of ORB multi instances to 4, but usage will be expanded as needed
- limits number of EKF2 multi instances to 2.
- enabled on all cortex m4 boards
2021-02-01 08:56:22 +01:00
Daniel Agar
318c7e83b3
support up to PWM 14
...
- generate PWM_MAIN 1-14
- generate PWM_AUX 1-8
- generate PWM_EXTRA 1-8
- px4io and pwm_out directly read configuration parameters
- only available and active physical outputs are actually shown for configuration
- overall saves flash despite adding many new parameters
2021-01-30 15:55:53 +01:00
CUAVcaijie
e30b8495b8
Enable x7pro and nora spi4 DMA
2021-01-29 21:30:12 -05:00
Daniel Agar
f0d1f1d679
boards: disable BDMA on STM32H7 for now
2021-01-28 21:16:23 +01:00
Lorenz Meier
2308cb8a40
CUAV CAN GPS support UAVCAN standard/indication/Button.uavcan
...
Co-authored-by: Daniel Agar <daniel@agar.ca>
2021-01-27 10:46:49 -05:00
David Sidrane
ab650373d6
cuav gps:Add Beep indication
2021-01-26 17:04:40 -05:00
Daniel Agar
b422da45ec
boot_app_shared automatically generate UAVCAN bootable image
2021-01-26 10:21:29 -08:00
Daniel Agar
347c185967
UAVCAN bootloader merge duplicate boot_app_shared
2021-01-26 10:21:29 -08:00
Daniel Agar
350ebf5a1f
boards: CUAV CAN GPS flash based parameters
2021-01-26 08:06:54 -08:00
David Sidrane
7800f94dcb
cuav_can-gps-v1 Use SK6812 Serial PWM LED Driver
2021-01-23 09:30:59 -05:00
David Sidrane
fdba8f1f23
cuav_can-gps-v1:Use corrected pinout
2021-01-23 09:30:59 -05:00
Daniel Agar
e4d223f098
boards: CUAV Nora fix BMI088 orientation
2021-01-17 23:19:18 -05:00
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
2021-01-17 22:40:21 -05:00
Daniel Agar
e96571b45d
uavcannode: GPS working on cuav_can-gps-v1
...
- use sensor_gps directly from sensor rather than vehicle_gps_position (aggregated value)
2021-01-13 22:06:46 -05:00
Daniel Agar
58909b208d
boards: cuav can-gps-v1 add safety button and LED
2021-01-13 22:06:46 -05:00
David Sidrane
1ac70cc72f
can-gps-v1:Correct Memory size used by app and bootloader size
2021-01-13 22:06:46 -05:00
David Sidrane
618bd5978a
can-gps-v1:canbootloader SAFETY is GETNODEINFO_JUMPER
2021-01-13 22:06:46 -05:00
David Sidrane
177109a1af
can-gps-v1:LED Trimming
2021-01-13 22:06:46 -05:00
David Sidrane
238c28d458
SK6812 Led driver
2021-01-13 22:06:46 -05:00
David Sidrane
85bd04f0c7
can-gps-v1:canbootloader Fixed
2021-01-13 22:06:46 -05:00
David Sidrane
3e08fd6682
can-gps-v1: Removed GPIO_CAN_CTRL
2021-01-13 22:06:46 -05:00
David Sidrane
c2c92cb2c8
can-gps-v1: Added LED pin
2021-01-13 22:06:46 -05:00
David Sidrane
cdae8bf168
can-gps-v1:Fixed Clock
2021-01-13 22:06:46 -05:00
Daniel Agar
cb74cb8692
boards: enable CONFIG_ARMV7M_LAZYFPU everywhere
2021-01-12 09:04:38 +01:00
Daniel Agar
763c3b8fda
boards: start enabling multi-EKF by default on F7/H7
2021-01-10 17:56:34 +01:00
Matthias Grob
7545249215
Add flight_mode_manager to all targets with mc_pos_control
2020-12-30 10:25:08 -05:00
David Sidrane
22bc176885
Added mft for queries
2020-12-02 20:40:23 -05:00
David Sidrane
16f388d625
cuav_x7pro: Use px4_platform_configure
2020-12-02 20:40:23 -05:00
David Sidrane
26e164c3ba
cuav_nora: Use px4_platform_configure
2020-12-02 20:40:23 -05:00
David Sidrane
79f177fe94
cuav_can-gps-v1: Use px4_platform_configure
2020-12-02 20:40:23 -05:00
CUAV_gitfishup
e399dbc440
boards: CUAV Nora support cuav_neo_v2_pro and disable CONFIG_STM32H7_BDMA
2020-11-13 09:45:57 -05:00
Daniel Agar
c60743b306
boards: NuttX increase file name max 32 -> 40
2020-11-08 12:51:59 -05:00
CUAVcaijie
77dfd111e2
boards: cuav/x7pro disable BDMA ( #16056 )
...
- currently causing a crash, disable for now
2020-11-02 13:14:44 -05:00
David Sidrane
1fa1f8c2c5
durandal-v1:Bootloader init NULL console
2020-10-28 14:25:25 -04:00
David Sidrane
962b90fd75
cuav:Bootloader init NULL console
2020-10-28 14:25:25 -04:00
Daniel Agar
233949a377
NuttX upgrade to 10.0.0+ defconfig changes
2020-10-28 14:25:25 -04:00
Tanja Baumann
b5ebdb8e41
add system command to get and set system time
...
* add system_time command for all boards
2020-09-26 13:09:01 -04:00
Daniel Agar
f04f0c89ca
boards: CUAV Nora/X7pro fix BOARD_DSHOT_MOTOR_ASSIGNMENT
...
- BOARD_DSHOT_MOTOR_ASSIGNMENT isn't needed if there's no remapping
2020-09-24 10:53:54 -04:00
Daniel Agar
0a607bdc67
boards: CUAV CAN_GPS v1.2 cannode (stm32f412) with UAVCAN bootloader
2020-09-23 14:30:54 -04:00
David Sidrane
5c95d8876a
cuav_x7pro: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
9bd88c34a9
cuav_nora: Updates for NuttX 9.1.0+ External schedule_note
2020-09-16 21:32:04 -04:00
David Sidrane
848b0ea88c
cuav_x7pro:Add support for DMA on SPI6
2020-09-16 21:32:04 -04:00
David Sidrane
2745ffe946
cuav_nora:Add support for DMA on SPI6
2020-09-16 21:32:04 -04:00
David Sidrane
e16efd9643
cuav_x7pro Updates for NuttX 9.1.0-
...
cuav_x7pro: defconfig MMCSD enable multiblock
2020-09-16 21:32:04 -04:00
David Sidrane
93e3b52515
cuav_nora Updates for NuttX 9.1.0-
2020-09-16 21:32:04 -04:00
SalimTerryLi
c037dbef21
Rename and move src/drivers/adc to src/drivers/adc/board_adc
2020-09-07 23:09:20 -04:00
Daniel Agar
7569722821
iSentek IST8310 magnetometer rewrite
...
- simple state machine to reset, configure, etc
- checked register mechanism (sensor will reset itself on configuration error)
- configured in 16 bit mode (1320 LSB/Gauss instead of 330 LSB/Gauss)
- adjusted orientation handling in driver to match datasheet as closely as possible
- in many external compass units the rotation was wrong and very difficult to actual determine how to set correctly
2020-09-02 13:14:45 -04:00
gitfishup
f3579e473b
boards: CUAV Nora enable UAVCAN
2020-09-01 21:16:17 -04:00
CUAVcaijie
536877cf0a
boards: add UAVCAN timer override mechanism and CUAV X7 add CAN ( #15348 )
...
* X7Pro adds CAN driver
* UAVCAN timer selection moved to default.cmake
* Modify some details about @CUAVcaijie UAVCAN timer selection moved to default.cmake
* Put some timer parameters to micro_hal.h from board_config.h. Fix all h7 boards
Co-authored-by: honglang <honglang@cuav.net>
2020-08-28 12:16:48 -04:00
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
2020-08-21 10:12:13 -04:00
Daniel Agar
6937dbc5fd
boards: add CUAV Nora support
2020-08-12 13:02:16 -04:00
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
2020-07-17 17:00:21 -04:00
CUAVcaijie
1c02c37955
boards/cuav/x7pro: RC03 RM3100 moved from SPI1 to SPI2
2020-06-11 21:38:55 -04:00
CUAVcaijie
dee56e78aa
boards/cuav/x7pro: fix X7 LED SAFETY configuration
...
* keep the naming identical to the pinout
2020-06-11 21:32:53 -04:00
Daniel Agar
13e34b32e6
new Bosch BMI088 IMU driver using FIFOs and DRDY
2020-06-11 12:25:13 -04:00
CUAVcaijie
b6ec00c079
boards/cuav/x7pro: Fix HIPOWER enabled state
2020-06-11 12:05:37 -04:00
CUAVcaijie
9270b26c63
IO's RGB status light is modified to PWM breathing light
2020-06-11 12:02:49 -04:00
CUAVcaijie
67554acf9e
x7 add led_pwm driver
2020-06-11 12:02:49 -04:00
CUAVcaijie
37fb4dbb64
Enable safety button
2020-06-10 09:14:25 -04:00
Daniel Agar
6f6efd60b7
boards: centralize optional external I2C sensor start
...
- configured with new parameter SENS_EXT_I2C_PRB
2020-06-10 09:04:13 -04:00
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
2020-05-06 13:53:54 -04:00
Daniel Agar
d89b7804f7
boards: initial CUAV X7Pro support (not complete)
...
- this is booting and functional, but still missing a few things
- still needs full PWM output, verification of all sensor rotations and IO, etc
2020-05-01 20:59:28 -04:00