Commit Graph

3421 Commits

Author SHA1 Message Date
Zedd Chen
1dae851ef3 AP_HAL_ChibiOS: add DroneerF405 2025-01-20 17:20:21 +11:00
Jacob Dahl
b722ea8f2f AP_HAL_ChibiOS: ARK_FPV board support 2025-01-20 10:17:37 +11:00
Andy Piper
1965a3e989 AP_HAL_ChibiOS: TBS LUCID PRO/Freestyle 2025-01-18 15:24:23 +11:00
Peter Barker
6b63d3abbb AP_HAL_ChibiOS: remove setting HAL_USE_UART to false
this is the default
2025-01-15 19:08:04 +11:00
Peter Barker
716916034a AP_HAL_ChibiOS: remove code for sending of BATTERY2 message 2025-01-15 18:16:53 +11:00
Peter Barker
f29e2cb19c AP_HAL_ChibiOS: replace HAL_NO_UARTDRIVER with AP_HAL_UARTDRIVER_ENABLED 2025-01-14 11:26:37 +11:00
Hayden Donald
609551212a AP_HAL_ChibiOS: Here4FC change WS2812 led PWM to 10/11
Changed the PWM from 9/10 to 10/11 for the WS2812 leds
2025-01-12 10:20:44 +11:00
mikefenghao
b051f4d557 AP_HAL_ChibiOS: add hwdef MFE_AirSpeed_CAN 2025-01-11 11:23:11 +11:00
Peter Barker
c57672a529 hwdef: remove AP_SERVO_TELEM_ENABLED on minimized boards 2025-01-08 18:37:58 +00:00
Peter Barker
1f8067d8a3 hwdef: default HAL_GCS_ENABLED to false on iomcu firmwares 2025-01-07 13:11:15 +11:00
Peter Barker
d834dafdca AP_HAL_ChibiOS: remove use of HAL_NO_UARTDRIVER
we can emit GCS_SEND_TEXT messages via mechanisms that don't involve the UART, so stop looking at that define when including reporting code
2025-01-07 13:11:15 +11:00
Peter Barker
c0618e7a0a hwdef: remove bad flashing-last-sector comment
the original file these were copied from has a lower limit, so deserves this comment.  These hwdefs are making the entire space available, so remove this comment.
2025-01-07 12:24:13 +11:00
Minderring
9e035518c7 AP_HAL_ChibiOS: add hwdef MicoAir743v2
Update README.md: add bluetooth introduction to features

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about SERIAL8

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about RC

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: add description about "LED" pin

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about Loading Firmware

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: fix description about update firmware

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove defaults.parm and defined default params in hwdef file

Update README.md: fix description about osd

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove parameter define about serial4

Update README.md: add a section about BlueTooth
2025-01-03 14:24:47 +11:00
muramura
4a9ddef8ee AP_HAL_ChibiOS: Change division to multiplication 2025-01-02 23:22:42 +11:00
Minderring
97b58506fd AP_HAL_ChibiOS: support for MicoAir743-AIO
Update README.md: uses internal esc

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about RC input

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

Update README.md: introduction about PWM groups

Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

remove defaults.parm and defined default params in hwdef file
2025-01-02 11:37:19 +00:00
rishabsingh3003
d6e0411e0d hwdef: Add GPS moving baseline 2025-01-02 09:04:01 +11:00
Thomas Watson
9d7024f89e AP_HAL_ChibiOS: Storage: fix up delay comment
EXPECT_DELAY_MS was used in direct contravention of the comment so it
must be okay. Even when it wasn't and the comment was accurate,
expecting a delay off the main thread never worked properly anyway.
2024-12-31 11:31:53 +11:00
Thomas Watson
d758bad64d Revert "HAL_ChibiOS: expect a long delay on flash page erase"
This reverts commit 8dabd6cefc.

Setting up expected delays from a non-main thread never worked properly
due to the redundant main thread check, and isn't used today.
2024-12-31 11:31:53 +11:00
Andy Piper
e5656f0cc4 AP_HAL_ChibiOS: add CBUnmanned CBU-H7-LC-Stamp 2024-12-31 09:31:33 +11:00
santhoshini
4e92fc91ec AP_HAL_ChibiOS: add board support for CrazyF405 2024-12-31 09:25:10 +11:00
mateksys
f3fc148e2a AP_HAL_ChibiOS: add MatekG474-GPS hwdef 2024-12-31 09:22:59 +11:00
Peter Barker
6e62ff7ed2 hwdef: reduce number of RCOU channels skyviper has 2024-12-24 08:07:10 +09:00
Peter Barker
23872df5cd hwdef: remove ADSB entirely from SkyViper
drivers were still around
2024-12-24 08:07:10 +09:00
Peter Barker
cd95acbb6a hwdef: remove payload place from SkyViper-v2450 2024-12-24 08:07:10 +09:00
Peter Barker
56969e42f5 AP_HAL_ChibiOS: disable SBus output on SkyViper-v2450 2024-12-24 08:07:10 +09:00
Peter Barker
6e49333a40 AP_HAL_ChibiOS: do not build QuickTune on peripherals
kills heavy peripherals

../../libraries/AP_Quicktune/AP_Quicktune.cpp: In member function 'void AP_Quicktune::update(bool)':
../../libraries/AP_Quicktune/AP_Quicktune.cpp:177:32: error: 'vehicle' is not a member of 'AP'
  177 |     const auto &vehicle = *AP::vehicle();
      |                                ^~~~~~~
compilation terminated due to -Wfatal-errors.

[ 688/1225] Compiling libraries/AP_TemperatureSensor/AP_TemperatureSensor_TSYS03.cpp
Waf: Leaving directory `/home/pbarker/rc/ardupilot/build/CubeOrange-periph-heavy'
2024-12-17 20:16:30 +11:00
Andy Piper
7a16bf1987 AP_HAL_ChibiOS: ICM42688 for OrqaF405Pro 2024-12-17 11:21:54 +11:00
James O'Shannessy
4bc6115f1a hwdef: Update scripts to parse CSV files properly
fails because of iterator not returning strings and 'dict' object has no attribute 'iterkeys'. Fixed so both scripts run.
2024-12-16 19:23:58 +11:00
James O'Shannessy
61ca071ba6 AP_HAL_ChibiOS: Add STM32F413xx module
Generated the STM32F413xx script from reference manuals and datasheets
Added changes for supporting STM32F413 to mcuconf
2024-12-16 19:23:58 +11:00
Peter Barker
eedb8ae617 hwdef: remove 'HAL_WATCHDOG_ENABLED_DEFAULT true' from periphs
this is the default for peripherals
2024-12-14 10:36:06 +11:00
Peter Barker
e6796c1e96 AP_HAL_ChibiOS: remove superfluous linefeed from panic strings
panic adds this within the HAL layer.
2024-12-14 10:06:13 +11:00
Andy Piper
90fc426fd5 AP_HAL_ChibiOS: ensure RunCam backend gets included in minimal 2024-12-13 11:07:09 +00:00
Peter Barker
72f56ee8fc AP_HAL_ChibiOS: print linefeed after panic message
this makes the output much nicer and avoids including the linefeed in the caller
2024-12-13 19:37:54 +11:00
Peter Barker
dc6c799dad AP_HAL_ChibiOS: factor panic code to remove duplication
the code inside and above the loop are the same, it's just the delay which changes
2024-12-13 19:37:54 +11:00
Andy Piper
af0fe69085 AP_HAL_ChibiOS: don't throw an internal error on mismatched cork/push 2024-12-09 23:46:37 +00:00
Vincent Poon
13481ce4d8 add bmi270 support to kakuteh7 2024-12-10 10:33:26 +11:00
YI-BOYANG
122eb21b45 AP_HAL_ChibiOS: add GEPRC_TAKER_H743 2024-12-10 10:30:54 +11:00
Andrew Tridgell
7759bc7662 hwdef: enable IMU in HolybroG4_GPS
IMU rate zero by default
2024-12-10 09:29:37 +11:00
Andrew Tridgell
02ea371eae hwdef: added baro in HolybroG4_GPS
new units have a ICP201XX baro

disable baro by default to avoid issues with airflow and GPS modules
installed on the outside of the aircraft
2024-12-10 09:29:37 +11:00
shen
9d21b3396e hwdef: Add AEROFOX H7 2024-12-07 18:10:09 +11:00
Andy Piper
277386e6e2 AP_HAL_ChibiOS: add cork()/push() check 2024-12-04 07:45:05 +11:00
Andy Piper
8fc4a6a6e9 AP_HAL_ChibiOS: add comments to force_push on rcout 2024-12-04 07:45:05 +11:00
Andy Piper
a3de217dee AP_HAL_ChibiOS: ensure dshot rate can be set dynamically
honour the requested dshot rate as near as possible
2024-12-04 07:45:05 +11:00
Andy Piper
3cc4b1991c AP_HAL_ChibiOS: compile MambaH743v4 at -O2 2024-12-04 07:45:05 +11:00
Andy Piper
048a3af785 AP_HAL_ChibiOS: allow forcing of trigger_groups() 2024-12-04 07:45:05 +11:00
Andrew Tridgell
8edaf88efa hwdef: removed QAUTOTUNE disable
now disabled by default
2024-11-27 14:07:38 +11:00
Hayden Donald
83520d611b AP_HAL_ChibiOS: CubeNode ETH add HAL_PERIPH_SHOW_SERIAL_MANAGER_PARAMS 2024-11-27 11:53:25 +11:00
Hayden Donald
2308968737 AP_HAL_ChibiOS: CubeNode-ETH add LEDs
Added the LEDs for CubeNode-ETH to the hwdef
2024-11-27 11:53:25 +11:00
Hayden Donald
a29b8a4f5a AP_HAL_ChibiOS: CubeNode-ETH fix incorrect pin for CTS
Fixed an incorrect pin for UART8_CTS (PC11 should be PC12)
2024-11-27 11:53:25 +11:00
CB Unmanned
0fd497f203 AP_HAL_ChibiOS: Update CBU-Stamp Baro Type
Update from the DPS310 to the BMP280
2024-11-26 09:42:01 +11:00
Vincent Poon
8fc23211ea hwdef: add SPA06 to Kakute hwdef
add SPA06 support to Kakute H7 Wing, F4 model

add define AP_BARO_SPL06_ENABLED to kakute F4
2024-11-22 15:11:40 +11:00
Alexey Kozin
f101ce13cf hwdef: f4BY Flight Controller MCU upgrade 2024-11-22 12:05:59 +11:00
Kinchin Fong
3e592a90cc AP_HAL_ChibiOS: Add hwdef files for AET-H743-Basic 2024-11-20 23:55:35 +11:00
bugobliterator
d348ffbff9 AP_HAL_ChibiOS: add support for driving profileds via safety pins 2024-11-20 19:12:44 +11:00
Andrew Tridgell
f8f883baca AP_HAL_ChibiOS: removed heap APIs 2024-11-20 07:32:03 +11:00
Andrew Tridgell
c999340786 AP_HAL_ChibiOS: implement new scripting heap APIs 2024-11-20 07:32:03 +11:00
mikefenghao
22cec990e5 hwdef: added MFE_POS3_GPS 2024-11-19 12:25:08 +11:00
bugobliterator
2feee53a37 AP_HAL_ChibiOS: disable GCS in CubeNode-ETH
for some reason enabling is breaking the PPPGW
2024-11-18 11:06:09 +11:00
Peter Barker
ee09497b64 AP_HAL_ChibiOS: correct logging of MAV_POWER_STATUS_CHANGED
need to exclude the changed flag from the comparison!
2024-11-18 08:34:37 +11:00
bugobliterator
0953c9dda3 AP_HAL_ChibiOS: CubeRedPrimary: update config for icm45686 2024-11-17 20:39:34 +11:00
Andy Piper
f07df393be AP_HAL_ChibiOS: support BMP280 on FoxeerF405v2 2024-11-14 20:10:22 +11:00
Andrew Tridgell
b1acd6295b HAL_ChibiOS: cleanup cube IMUs and compasses
don't probe for old sensor set
2024-11-14 09:01:41 +11:00
Peter Barker
d7b207fd77 AP_HAL_ChibiOS: tidy defaulting of OpticalFlow sensor type 2024-11-12 12:45:29 +11:00
Andy Piper
1f54cf39d5 AP_HAL_ChibiOS: FoxeerH743v2 2024-11-12 11:12:23 +11:00
tompsontan
4ce133dd27 hwdef:fixed board AP-H743v2 CAN pin definition. 2024-11-08 11:23:35 +11:00
SakuraRC_Yang
c709959f4a hwdef: SkySakura H743 fc Support
SkySakura H743 fc Support
2024-11-08 10:50:44 +11:00
Peter Barker
cc6b3cec5d hwdef: use V-UAV in place of VIEWPRO for link text 2024-11-08 10:46:32 +11:00
Andy Piper
01fc0744dc AP_HAL_ChibiOS: TBS LUCID H7 2024-11-07 14:33:38 +00:00
Peter Barker
4e0930a09d AP_HAL_ChibiOS: exclude chprintf from fastramfunc
on H730 we are overflowing the ITCM area for SPRacingH7RF and other boards are not far behind.

Step away from the edge by removing this function which should never be in a fast path
2024-11-05 08:38:23 +09:00
Henry Wurzburg
1daa52478b AP_HAL_ChibiOS:Mugin MUPilot 2024-11-05 08:16:34 +09:00
ZeroOne-Aero
b2b45477af hwdef: update ZeroOne X6 documentation 2024-10-27 11:42:49 +11:00
bugobliterator
9dca511e7e AP_HAL_ChibiOS: do not run through SPI_RX and TX as well
we use MISO and MOSI name for SPI
2024-10-25 18:16:00 +11:00
jamming
e91cab3349 hwdef: Add icm42688 support for KakuteH7Mini 2024-10-25 18:08:22 +11:00
bugobliterator
b69087ae61 AP_HAL_ChibiOS:CubeNode: undefine IMU for CubeNode_ETH 2024-10-23 06:46:22 +09:00
bugobliterator
9381404a9f AP_InertialSensor: fix continuing after ins init fail in AP_Periph 2024-10-23 06:46:22 +09:00
bugobliterator
76d6a88b7b AP_HAL_ChibiOS: properly enable periph IMU on CubeOrange-periph and heavy 2024-10-23 06:46:22 +09:00
bugobliterator
830de73e58 AP_HAL_ChibiOS: add support for raw imu publishing in AP_Periph 2024-10-23 06:46:22 +09:00
bugobliterator
87ae3bccec AP_HAL_ChibiOS: change name CubePilot-CANMod and -PPPGW to CubeNode 2024-10-23 06:46:22 +09:00
ZeroOne-Aero
81768b26ff hwdef: added ZeroOneX6 picture
upload ZeroOneX6 picture
2024-10-15 15:04:49 +11:00
bugobliterator
2524583dda AP_HAL_ChibiOS: increase the number of memory regions for crashdump
also checks num region overruns for bss and heap
2024-10-14 07:21:22 +11:00
Alexis Guijarro
43b8900bec hwdef: Removed duplication for AP_STATS_ENABLED 2024-10-11 09:51:27 +11:00
Peter Barker
dec10a1a58 hwdef: GEPRCF745BTHD: remove parachute and bl-flashing support (flash overflow) 2024-10-09 08:24:12 +11:00
Andrew Tridgell
52169f25da HAL_ChibiOS: replace volatile bools with mutexes
this replaces the two booleans used to mediate TX and RX buffer
protection with mutexes.

The booleans were a hangover from the very early HAL_ChibiOS code, and
can lead to a deadlock. The sequence is as follows:

 - a very high CAN bus bandwidth usage, triggered by MissionPlanner
   requesting CAN_FORWARD on a CAN serial port. That causes a
   "infinite" number of CAN_FRAME messages which saturates the bus,
   and leads to the DroneCAN thread looping with no pause

 - a serial port configured as GPS type AUTO, auto-probing for a GPS
   that isn't there. This calls begin() periodically

 - the UART TX thread assocated with that UART not making progress as
   the TX thread priority is below the DroneCAN thread priority

 - this causes the begin() in main thread waiting for _in_tx_timer to
   loop forever, which triggers a watchdog
2024-10-01 09:54:26 +10:00
tompsontan
84fbaa3abc AP_HAL_ChibiOS: add board X-MAV-AP-H743v2
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2024-10-01 09:39:55 +10:00
Peter Barker
b234729398 AP_HAL_ChibiOS: CubeRedPrimary: probe external compasses 2024-10-01 09:22:42 +10:00
Nick Exton
919a711f17 AP_HAL_ChibiOS: Disable VIDEO_STREAM_INFORMATION in minimize_common.inc 2024-10-01 08:18:54 +09:00
Nick Exton
fed948c98d AP_HAL_ChibiOS: Disable CAMERA_INFO_FROM_SCRIPT in minimize_common.inc 2024-10-01 08:18:54 +09:00
Tdogb
f282c8db65 hwdef: add DPS280 to baros present on FlyWooF745 2024-09-30 19:58:04 +10:00
Andrew Tridgell
070363e453 HAL_ChibiOS: limit RX timeout to 100ms
this prevents a very long timeout in begin(), replacement with a mutex
will happen in a separate PR
2024-09-27 11:06:20 +10:00
Robert Taylor
d82e82635f hwdef: switch CAN port definiton on Nucleo-496 hwdef
The CAN port as it was is a valid CAN port for the nucleo, but on the development board the CAN silkscreen is actually on PD0 and PD1. This change makes it easier to get the example running on the Nucleo
2024-09-26 08:31:50 +10:00
Peter Barker
14332fad52 hwdef: -Os on MFT-SEMA-100 to avoid flash overflow 2024-09-25 23:44:05 +10:00
Peter Barker
c9de940fc8 hwdef: JHEMCU-GSF405A becomes minimize-fpv-osd 2024-09-25 17:12:44 +10:00
Peter Barker
8b9154d115 AP_HAL_ChibiOS: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Thomas Watson
5f4a6dc2fb AP_HAL_ChibiOS: remove dependency on tmpnam
tmpnam is never linked and not necessary, and naming it/redefining it
introduces problems on platforms that do have a definition.
2024-09-24 22:49:18 +10:00
caijie
42c82f6c5d AP_HAL_ChibiOS: add VUAV-V7pro 2024-09-24 10:07:39 +10:00
bugobliterator
3d47f01dd4 AP_HAL_ChibiOS: enable TESTs on CubePilot-PPPGW 2024-09-19 11:44:22 +10:00
Henry Wurzburg
8c3621d021 hwdef: add bdshot to SpeedyBeeF405Wing
Co-authored-by: setup <alxdr64m@gmail.com>
2024-09-18 17:51:26 +10:00
Ruffalo Lavoisier
e3f76591fc AP_HAL_ChibiOS: check nullptr 'name' variable
- Check nullptr before using the  'name' variable assigned from malloc()
2024-09-17 22:10:26 +10:00
Peter Barker
cd9e7e095a hwdef: f103-GPS: explicltly nominiate compass backends supported
this target is overflowing as someone is trying to add a new compass..
2024-09-17 10:31:27 +10:00
Andrew Tridgell
9cb3354ba0 hwdef: default CAN MCAST enabled for PPPGW builds 2024-09-17 10:02:29 +10:00