Commit Graph

62751 Commits

Author SHA1 Message Date
Andy Piper
b9fede8a27 AP_HAL_ChibiOS: fixup FoxeerF405v2 build 2024-04-06 10:13:46 +11:00
Oleksiy Protas
4e21dbcc0b waf: Detect board class by inheritance instead of naming 2024-04-06 09:45:01 +11:00
Oleksiy Protas
364e6f06f3 AP_HAL_Linux: delay signal handlers setup
Allow default signals before full initialization in Linux, this makes sure we don't get an unkillable process if it hangs on initialization

Exit flag marked volatile to counteract possible compiler optimization due to the handler code running in a different context
2024-04-05 11:36:29 +11:00
Tatsuya Yamaguchi
f1d37fc051 AP_Stats: update flight time on disarm 2024-04-05 11:31:20 +11:00
James O'Shannessy
9dbc61f85b AP_InertialSensor: Fix parameter name when saving persistent accel cals for Aux IMUs
Without this change, you get:
* IMU_ACCOFFS_*
* IMU_ACC2OFFS_*
* IMU_ACC3OFFS_*
* IMU3_ACCOFFS_*

After this change, you get:
* IMU_ACCOFFS_*
* IMU_ACC2OFFS_*
* IMU_ACC3OFFS_*
* IMU4_ACCOFFS_*
2024-04-05 11:02:04 +11:00
Philipp Borgers
1e2600c2e3 AP_Logger_MAVLink: Remove code that changes behavior when in SITL
The removed code changed behavior of the send_log_block function when
simulating with SITL. While I can understand the intention I do not
think that it is the right way to do it and has the potential to confuse
people debugging stuff with SITL and comparing to the real world.
2024-04-05 10:54:26 +11:00
Michael du Breuil
9489e6bf86 Tools: add sw-boom-f407 bootloader 2024-04-05 10:53:38 +11:00
Michael du Breuil
84cef5b786 AP_HAL_ChibiOS: add sw-boom-f407 and supporting scripts 2024-04-05 10:53:38 +11:00
Michael du Breuil
81d7240bd9 AP_Periph: fix can mirroring 2024-04-05 10:53:38 +11:00
AlexandrShipovsky
c5ebff5674 Tools: add CSKY405 board 2024-04-05 10:45:00 +11:00
AlexandrShipovsky
ace31e617e AP_HAL_ChibiOS: add CSKY405 board 2024-04-05 10:45:00 +11:00
Andy Piper
fdce070f81 AP_HAL_ChibiOS: allow H7RF to build 2024-04-05 10:23:50 +11:00
Iampete1
d93cc7f113 AP_HAL_SITL: report baudlimit_enable in bw_in_bytes_per_second function 2024-04-03 13:10:06 +01:00
Iampete1
0b95b515bd AP_HAL_SITL: implement uart_info to populate @SYS/uarts.txt 2024-04-03 13:10:06 +01:00
Iampete1
29559b6710 AP_HAL_Empty: update uart_info function for new signature 2024-04-03 13:10:06 +01:00
Iampete1
edc12c2857 AP_HAL_ChibiOS: use new UART stats tracking helper moving history up to util 2024-04-03 13:10:06 +01:00
Iampete1
c64124daf9 AP_HAL: Add StatsTracker helper 2024-04-03 13:10:06 +01:00
Andy Piper
b045939f1d AP_HAL_ChibiOS: FoxeerF405v2 2024-04-03 18:50:52 +11:00
Andy Piper
2d0b9b8e8c bootloaders: FoxeerF405v2 2024-04-03 18:50:52 +11:00
Peter Barker
47716e2338 hwdef: remove stray HAL_BUILD_AP_PERIPH defines
this is added by defaults_periph
2024-04-03 18:36:29 +11:00
Peter Barker
5fb4e1e285 hwdef: replace defined(HAL_DISABLE_LOOP_DELAY) with HAL_SCHEDULER_LOOP_DELAY_ENABLED 2024-04-03 18:36:29 +11:00
Peter Barker
764f6863ea hwdef: re-enable RCIN thread on some builds/boards
not because they need it, but to make a PR NFC
2024-04-03 18:36:29 +11:00
Peter Barker
994c268644 AP_HAL_ChibiOS: replace HAL_NO_RCIN_THREAD w/HAL_RCIN_THREAD_ENABLED 2024-04-03 18:36:29 +11:00
Henry Wurzburg
594c2466d8 HWDEF:revert copter only build on bds with integrated escs 2024-04-03 18:31:54 +11:00
Iampete1
dd4e212fbd AP_Scripting: examples: update servo scan 2024-04-03 16:31:23 +09:00
Randy Mackay
96e17f18cc Tools: waf help output shows --define under build 2024-04-03 18:30:59 +11:00
Dave
d6488eb030 AP_HAL_ESP32: Added missing letter to printf statement 2024-04-03 16:18:02 +09:00
Peter Barker
b7fe779713 AP_HAL: move GPIO ON/off defaults from AP_HAL_ChibiOS to AP_HAL
these can be reused across different vehicles
2024-04-03 11:00:24 +11:00
Peter Barker
a65e06e0a9 AP_HAL_ChibiOS: move GPIO ON/off defaults from AP_HAL_ChibiOS to AP_HAL
these can be reused across different vehicles
2024-04-03 11:00:24 +11:00
Peter Barker
e1f3864349 hwdef: convert_betaflight_unified.py: don't set HAL_GPIO_LED_OFF
this value is the default value anyway, so don't make many copies..
2024-04-03 11:00:24 +11:00
Peter Barker
10627d296d hwdef: remove HAL_GPIO lines which are simply the default values
... or the _OFF entry, which is simply !HAL_GPIO_MED_ON
2024-04-03 11:00:24 +11:00
Peter Barker
99dd85d51c AP_HAL_ChibiOS: enforce HAL_GPIO_LED_OFF is not(HAL_GPIO_LED_ON)
the current "flexibility" allows for ON/OFF to be the same value.

Many hwdef files where only setting one of these, leaving the other at teh default, too....
2024-04-03 11:00:24 +11:00
Peter Barker
f70a1927f5 AP_HAL: chibios.h: remove defaulting of HAL_GPIO_LED_ON and _OFF
this same defaulting is being done in AP_HAL_ChibiOS/GPIO.h
2024-04-03 11:00:24 +11:00
mateksys
b904ab27f8 AP_HAL_ChibiOS: add MatekH7A3 defaults.parm 2024-04-02 15:29:55 +11:00
mateksys
4c3800c462 AP_HAL_ChibiOS: modify MatekH7A3 hwdef 2024-04-02 15:29:55 +11:00
mateksys
95b043f9fa Tools: modify MatekH7A3 bootloader 2024-04-02 15:29:55 +11:00
Randy Mackay
e886fedfb1 Copter: 4.5.0 release notes 2024-04-02 13:12:15 +09:00
Randy Mackay
7e44c5e9d4 Rover: 4.5.0 release notes 2024-04-02 13:12:07 +09:00
Randy Mackay
39e92612e6 AntennaTracker: 4.5.0 release notes 2024-04-02 13:11:58 +09:00
Andrew Tridgell
f9cb380c31 Plane: release notes for 4.5.0 2024-04-02 12:21:37 +11:00
Peter Barker
33e5b20709 hwdef: re-add ESC control to AP_Periph units which lost it
I'm quite sure that several of these don't actually want it, but want NFC
2024-04-02 11:28:27 +11:00
Peter Barker
416f7d393a hwdef: remove DISABLE_SERIAL_ESC_COMM AP_Periph boilerplate
... use the defaults file instead
2024-04-02 11:28:27 +11:00
Maxim Buzdalov
9978b8f97f AP_Arming: do not wait 10 seconds with single gyro/accel 2024-04-02 11:23:01 +11:00
Peter Barker
f28cfc9a3b hwdef: remove handling of FULL_CHIBIOS_BOOTLOADER directive
the string FULL_CHIBIOS_BOOTLOADER doesn't exist anywhere else in the source code
2024-04-02 11:20:48 +11:00
Iampete1
b08034373f AP_Logger: Write_VER keep g++ 7.5 happy by removeing non-trivial designated initializers 2024-04-02 11:13:55 +11:00
Iampete1
afe257a8db AP_Mission: take location in get_landing_sequence_start, jump_to_landing_sequence, jump_to_abort_landing_sequence, and is_best_land_sequence, add helpers for scripting 2024-04-02 11:11:59 +11:00
Iampete1
b16f70a83d AP_Landing: restart_landing_sequence get current location and pass it to get_landing_sequence_start 2024-04-02 11:11:59 +11:00
Iampete1
afec757c33 Plane: pass current location to mission landing methods 2024-04-02 11:11:59 +11:00
Iampete1
77ef4eb4e6 Plane: AP_Arming: use mission.contains_item() eather than .mission.get_landing_sequence_start() > 0 2024-04-02 11:11:59 +11:00
Iampete1
eadcf9b09e Copter: add get_stopping_point helper and pass stopping point to jump_to_landing_sequence 2024-04-02 11:11:59 +11:00