Peter Barker
ce0ae51bbf
AP_HAL_ChibiOS: remove HAL_CHIBIOS_ARCH_FMUV4
...
the boards that used this arch define their own sensors.
The ARCH define isn't used anywhere, nor is the PX4_BOARD_TYPE value
2025-06-18 17:39:37 +10:00
Christian Clauss
9356796991
hwdef: Fix typos in markdown files
2025-06-18 08:26:56 +01:00
Peter Barker
86b9cfc28e
AP_HAL_ChibiOS: chibios_hwdef.py: stop overriding process_file
...
same as that in the base class
2025-06-18 17:18:59 +10:00
Peter Barker
e442e3448e
AP_HAL_ChibiOS: remove PCNC1 board type
...
only used for one board, so inline everything required
2025-06-17 10:59:00 +10:00
Peter Barker
fec7fb6e51
hwdef: remove stale comment about MCU voltage
2025-06-17 10:59:00 +10:00
Henry Wurzburg
c40cf46c8b
AP_HAL_ChibiOS: add ORBITH743
2025-06-17 10:31:13 +10:00
Christian Clauss
e763283817
hwdef: Fix check-executables-have-shebangs
...
% `pre-commit run --all-files check-executables-have-shebangs ` # currently fails on localhost (a developer's machine).
* https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-executables-have-shebangs
With the suggested change in this pull request, that test passes.
The linter directive `# flake8: noqa` was added to ensure that
`pre-commit run flake8` also passed on some Python files.'
2025-06-15 22:28:53 +10:00
Henry Wurzburg
cd7c5827a1
hwdef: add notify led function to ATOMRCF405NAVI-Deluxe
2025-06-12 17:38:08 +01:00
Peter Barker
be7f2b3ce0
AP_HAL_ChibiOS: remove HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412
...
... just use more-specific defines instead
2025-06-12 09:37:41 +01:00
Peter Barker
a6b3c2dd12
AP_HAL_ChibiOS: move VRBrain-v54 sensors to hwdef
2025-06-11 17:22:55 +10:00
Paul Soucy
4d08f8d56b
ChibiOS: UARTDriver: init dma buffer
2025-06-11 17:15:16 +10:00
Peter Barker
62accd0b9f
hwdef: SPRacingH7: correct parameter name for SERIAL5_PROTOCOL
...
this could never have worked
2025-06-09 15:06:42 +10:00
玄绮
a44f0f35bb
AP_HAL_ChibiOS: add DAKEFPVF405
2025-06-08 11:46:38 +01:00
Bob Long
1fccc395ea
board_types: reassign CarbonixL496's board ID
...
The HolybroG4_GPS accidentally got assigned the same ID when it was
introduced. The CarbonixL496 was obscure enough to delete entirely and
reassign the ID to the HolybroG4_GPS.
2025-06-07 13:56:02 -05:00
Bob Long
56ad7e3e25
hwdef: delete CarbonixL496
2025-06-07 13:56:02 -05:00
Mirko Denecke
363231d829
AP_HAL_ChibiOS: add UAV-DEV GmbH AUAV Airspeedsensor
colcon build/test / build-test (push) Has been cancelled
Cygwin Build / build (push) Has been cancelled
ESP32 Build / build (esp32buzz, 10) (push) Has been cancelled
ESP32 Build / build (esp32s3empty, 10) (push) Has been cancelled
Macos Build / build (CubeOrange) (push) Has been cancelled
Macos Build / build (sitl) (push) Has been cancelled
QURT Build / build (push) Has been cancelled
test ccache / build (10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-EKF2, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (MatekF405-Wing, 10, chibios) (push) Has been cancelled
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Has been cancelled
test chibios / build (SOHW, 10, chibios) (push) Has been cancelled
test chibios / build (build-options-defaults-test, 10, chibios) (push) Has been cancelled
test chibios / build (configure-all, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv2-plane, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (iofirmware, 10, chibios) (push) Has been cancelled
test chibios / build (new-check, 10, chibios) (push) Has been cancelled
test chibios / build (periph-build, 10, chibios) (push) Has been cancelled
test chibios / build (revo-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (revo-mini, 10, chibios) (push) Has been cancelled
test chibios / build (signing, 10, chibios) (push) Has been cancelled
test chibios / build (stm32f7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7-debug, 10, chibios) (push) Has been cancelled
test dds / build (sitl) (push) Has been cancelled
test dds / build (stm32h7) (push) Has been cancelled
test Linux SBC / build (bbbmini, armhf) (push) Has been cancelled
test Linux SBC / build (bebop, armhf) (push) Has been cancelled
test Linux SBC / build (bhat, armhf) (push) Has been cancelled
test Linux SBC / build (canzero, armhf) (push) Has been cancelled
test Linux SBC / build (erlebrain2, armhf) (push) Has been cancelled
test Linux SBC / build (linux, base) (push) Has been cancelled
test Linux SBC / build (navigator, armhf-musl) (push) Has been cancelled
test Linux SBC / build (navigator64, aarch64) (push) Has been cancelled
test Linux SBC / build (navio, armhf) (push) Has been cancelled
test Linux SBC / build (navio2, armhf) (push) Has been cancelled
test Linux SBC / build (pxf, armhf) (push) Has been cancelled
test Linux SBC / build (pxfmini, armhf) (push) Has been cancelled
test replay / build (replay, base) (push) Has been cancelled
test replay / build (replay, clang) (push) Has been cancelled
test scripting / test-scripting (push) Has been cancelled
test scripts / build (astyle-cleanliness) (push) Has been cancelled
test scripts / build (check_autotest_options) (push) Has been cancelled
test scripts / build (logger_metadata) (push) Has been cancelled
test scripts / build (param_parse) (push) Has been cancelled
test scripts / build (python-cleanliness) (push) Has been cancelled
test scripts / build (validate_board_list) (push) Has been cancelled
test blimp / build (base) (push) Has been cancelled
test blimp / build (clang) (push) Has been cancelled
test copter / build (base) (push) Has been cancelled
test copter / build (clang) (push) Has been cancelled
test copter / build-gcc-heli (push) Has been cancelled
test ap_periph / build-gcc-ap_periph (push) Has been cancelled
test plane / build (base) (push) Has been cancelled
test plane / build (clang) (push) Has been cancelled
test rover / build (base) (push) Has been cancelled
test rover / build (clang) (push) Has been cancelled
test sub / build (base) (push) Has been cancelled
test sub / build (clang) (push) Has been cancelled
test tracker / build (base) (push) Has been cancelled
test tracker / build (clang) (push) Has been cancelled
test unit tests and sitl building / build (examples, base) (push) Has been cancelled
test unit tests and sitl building / build (examples, clang) (push) Has been cancelled
test unit tests and sitl building / build (sitl, base) (push) Has been cancelled
test unit tests and sitl building / build (sitl, clang) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, base) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, clang) (push) Has been cancelled
test blimp / autotest (sitltest-blimp) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1b) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1c) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1d) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1e) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2b) (push) Has been cancelled
test copter / autotest-heli (sitltest-heli) (push) Has been cancelled
test ap_periph / autotest-can (sitltest-can) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1a) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1b) (push) Has been cancelled
test plane / autotest (sitltest-quadplane) (push) Has been cancelled
test rover / autotest (sitltest-balancebot) (push) Has been cancelled
test rover / autotest (sitltest-rover) (push) Has been cancelled
test rover / autotest (sitltest-sailboat) (push) Has been cancelled
test sub / autotest (sitltest-sub) (push) Has been cancelled
test tracker / autotest (sitltest-tracker) (push) Has been cancelled
test environment setup / build (bookworm, debian) (push) Has been cancelled
test environment setup / build (bullseye, debian) (push) Has been cancelled
test environment setup / build (focal, ubuntu) (push) Has been cancelled
test environment setup / build (jammy, ubuntu) (push) Has been cancelled
test environment setup / build (latest, archlinux) (push) Has been cancelled
test environment setup / build (noble, ubuntu) (push) Has been cancelled
test environment setup / build-alpine (push) Has been cancelled
2025-06-05 09:59:07 +01:00
jobs
18de735b60
AP_HAL_ChibiOS: UPDATE NarinFC-H7(README.md)
2025-06-03 16:07:06 +10:00
Huibean
14e12ee3e0
AP_HAL_ChibiOS:add vimdrones ap_periph Battery Tag target
2025-06-02 20:06:34 +10:00
Andrew Tridgell
0271c72641
hwdef: enable both QMC5883L and QMC5883P on GEPRCF745BTHD
2025-05-29 11:06:43 +10:00
Henry Wurzburg
fb4e5cefeb
hwdef:adjust current scaler on NAVI-Deluxe
2025-05-24 19:26:11 +10:00
Henry Wurzburg
018e80d84c
hwdef:revert osd type change
2025-05-23 11:40:53 +10:00
Mirko Denecke
a81e8c89b1
AP_HAL_ChibiOS: add uav-dev-fc-um982 hwdef
2025-05-22 16:19:37 -04:00
Andy Piper
1089b822cb
AP_HAL_ChibiOS: ensure correct line mode is save between serial write and read
2025-05-22 15:48:59 -04:00
Andy Piper
fe230b164f
AP_HAL_ChibiOS: allow specific timeouts on serial_read_bytes() to avoid missing bits
2025-05-22 15:48:59 -04:00
Andy Piper
2ee067187e
AP_HAL_ChibiOS: only increase thread priority for read/write rcout serial pairs
...
reset PWM output before every rcout serial write
2025-05-22 15:48:59 -04:00
Andy Piper
8a5619e03f
AP_HAL_ChibiOS: reset DMA after every serial read to ensure correct operation of the next write
...
correct interrupt handling on serial writes.
2025-05-22 15:48:59 -04:00
Andy Piper
a5c6f6d025
AP_HAL_ChibiOS: add serial_reset() to rcout
2025-05-22 15:48:59 -04:00
Andy Piper
d63c974f5b
AP_HAL_ChibiOS: lock around end of serial_read_bytes()
2025-05-22 15:48:59 -04:00
Andy Piper
ced3958bf8
AP_HAL_ChibiOS: correctly decode esc serial bytes with trailing 1's
2025-05-22 15:48:59 -04:00
Andy Piper
74eb47b0cd
AP_HAL_ChibiOS: avoid transient failures in restoring line mode in soft serial.
...
More robustly restore PWM output after soft serial.
Rely more heavily on setup/teardown in serial_setup_output()/serial_end()
2025-05-22 15:48:59 -04:00
Andy Piper
6b20939b16
AP_HAL_ChibiOS: avoid read races in serial_read_bytes()
2025-05-22 15:48:59 -04:00
Henry Wurzburg
80720525c8
AP_HAL_ChibiOS: add ATOMRCF405NAVI-Deluxe
2025-05-20 13:31:54 +10:00
Andrew Tridgell
70a3dc188b
hwdef: ensure we don't enable CAN drivers when no CAN
...
this makes using the custom build server easier
2025-05-20 11:05:11 +10:00
Vincello
69b50967e4
AP_HAL_ChibiOS: add CORVON743V1
2025-05-20 09:50:05 +10:00
Thomas Watson
1fe72a07e1
AP_HAL_ChibiOS: improve H7 low memory zero check
...
The hardware can read and write address zero just fine, but doing it
through a C null pointer will invoke undefined behavior and may cause
the compiler to emit faulting instructions.
Switch to using an assembly instruction to do the actual access, thereby
avoiding UB by not having an actual null pointer anywhere. Simplifies
the code and reduces flash usage while improving safety 0.1%!
2025-05-18 12:18:40 +10:00
Thomas Watson
6348373514
AP_HAL_ChibiOS: correctly verify flash on H7
...
Previously, the routine only read the data back from the data cache,
which was guaranteed correct as the cache would be allocated by the test
before programming then filled with the correct data during programming.
Invalidate the data cache area containing the just-programmed data to
ensure that it is actually read back from the flash memory and the
verification does something.
This is not trivial to check, but it can be done. To an unprogrammed
(all 1s) 256-bit flash word, program the byte sequence
`CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC1CCCCCCCC`
followed by (and without erasing) the sequence
`CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC0CCCCCCCC`. This
will cause the flash memory (on the tested H743 revision at least) to
read `CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDCCCCCCCCCCCCCCCCCCCCCCCC0CCCCCCCC`
(and signal a one bit ECC error) and the verification check to fail.
Before this patch, the above sequence would always claim programming
success despire the read data not matching the programmed data.
Also clean up the pre-flash check for already flashed data. It should
not need a cache clear before the check as the flash normally operates
coherently with the data cache.
2025-05-16 21:43:15 -05:00
Andrew Tridgell
2143045e84
hwdef: added MatekL431-BatteryTag
2025-05-17 09:25:46 +10:00
Andrew Tridgell
c0a45694a0
hwdef: default BATTERY_TAG and GLOBALTIME off
2025-05-17 09:25:46 +10:00
Andy Piper
5c62547bca
AP_HAL_ChibiOS: give bootloader access to parameter storage page
2025-05-13 12:03:49 +10:00
Huibean
4c37a27a52
AP_HAL_ChibiOS:add vimdrones ap_periph pico and servo hub 4chp
2025-05-13 10:27:11 +10:00
Iampete1
2e566bd426
ChibiOS: Util: remove unused IOMCU UART stats tracker
2025-05-13 10:13:06 +10:00
Peter Barker
4717c5c02a
AP_HAL_ChibiOS: rename HAL_EXTERNAL_AHRS_ENABLED to AP_EXTERNAL_AHRS_ENABLED
...
in preparation for making this an optional feature; a lot of people will want to go and put this in their hwdef files as soon as we do this!
2025-05-13 09:06:44 +09:00
Shiv Tyagi
cef8bcef6f
AP_HAL_ChibiOS: wrap define AP_XX_ENABLED AP_PERIPH_YY_ENABLED inside ifndef-endif
...
We should be only defining these if they are already not defined.
2025-05-09 14:29:39 +10:00
Peter Barker
1f7a20c784
hwdef: remove unused lines from JDB110 hwdef
2025-05-08 16:38:07 +10:00
Peter Barker
b1b0be7604
AP_HAL_ChibiOS: make skyviper-f412-rev1 baro definition a BARO line in hwdef
2025-05-07 17:13:13 +10:00
Peter Barker
0303014933
AP_HAL_ChibiOS: make skyviper-journey baro definition a BARO line in hwdef
2025-05-07 17:13:13 +10:00
Peter Barker
da3f70d2b9
AP_HAL_ChibiOS: remove bad Baro-related defines
2025-05-07 17:13:13 +10:00
HishamGhosheh
4a855b9ace
hwdef: added JHEMCUF405PRO
2025-05-07 17:10:12 +10:00
Peter Barker
6fc8674799
hwdef: remove unused USB_HW_ENABLE_HS define
2025-05-06 10:11:09 +10:00
bugobliterator
87dd01cd7e
AP_HAL_ChibiOS: move AP_OSD and Calibration methods to external flash
2025-05-02 16:03:54 +10:00