Commit Graph

1505 Commits

Author SHA1 Message Date
Peter Barker e788941f70 hwdef: turn off various GPS backends on on AP_Periph 2022-04-13 18:23:51 +10:00
Peter Barker 04cc45de65 hwdef: remove non-ascii character from hwdef
Killing the custom build server
2022-04-13 12:14:17 +10:00
Peter Barker 73b86ccc04 AP_HAL_ChibiOS: allow RobotisServo protocol to be compiled out 2022-04-12 10:35:01 +10:00
Peter Barker 2e20e26403 AP_HAL_ChibiOS: allow Volz protocol to be compiled out 2022-04-12 10:35:01 +10:00
Henry Wurzburg c770a2bd58 hwdef: minimal GPS support for Flywoo baords 2022-04-12 10:04:57 +10:00
Andy Piper 1a843f659f AP_HAL_ChibiOS: bdshot version of MatekF765-Wing 2022-04-12 10:03:11 +10:00
Andy Piper e89eb34d55 AP_HAL_ChibiOS: add I2C and compass backend to drivers in memory on H750
move more of EKF into memory on H750
move rc handling into memory on H750
disable double math on SPRacing H7
2022-04-12 09:19:45 +10:00
Michel Pastor f4a3a65797 hwdef: add revo-mini-sd 2022-04-12 09:17:03 +10:00
Lokesh Ramina 729466358d hwdef: added CarbonixF405 AP_Periph node
added hwdef files for CarbonixF405 board
2022-04-11 12:58:48 +10:00
Peter Barker 717edae9ef hwdef: fix redefinition of Solo values in CubeSolo/CubeGreen-Solo
adding fmuv3 into the list of firmwares we might run on Solo was a late
addition to the recent PRs.  It was forgotten that the inheritance would
cause a redefition failure
2022-04-06 16:38:23 +10:00
Andrew Tridgell 37d8feb928 hwdef: disable GPS drivers on low flash boards
only leave uBlox enabled on boards that are running out of flash
2022-04-06 14:14:07 +10:00
Andrew Tridgell c9bbfd94c0 hwdef: set AUTOBUILD_TARGETS None on eval boards 2022-04-06 14:13:44 +10:00
李孟晓 2d37bc9c78 AP_HAL_ChibiOS: CUAV-Nora: add usart3 support 2022-04-06 11:04:08 +10:00
Peter Barker d2c3c578c2 hwdef: add hwdef for CubeOrange-SimOnHardware 2022-04-05 18:10:14 +10:00
Andrew Tridgell 392e80001f HAL_ChibiOS: fixed H7 flash storage
this fixes the flash re-init problem when flash storage fills on
H7. It was caused by rejecting writes where one or more of the 32 byte
chunks was not all 0xff but was equal to the current data. That
happens when writing to the sector header in AP_FlashStorage

it also moves the interrupt disable inside the loop to allow for
other interrupts to run between blocks
2022-04-05 17:46:52 +10:00
Andrew Tridgell a0c867bce7 HAL_ChibiOS: disable interrupts during flash operations
we have now shown that interrupts being enabled during flash
operations can cause the infamous "68ms" bug, or watchdog when using a
32 bit timer on boards using flash for storage

The issue is quite repeatable with a load of a very large waypoint
file (over 500 waypoints) using "wp ftpload" in MAVProxy. This puts a
huge load on flash storage.

Our current working theory is that while doing flash writes for
storage on dual-bank we block access to only one bank, so if another
thread uses a timeout function with a short timeout while the flash
write is happening and chVTDoTickI calls code which crosses the flash
bank boundary then it can cause chVTDoTickI to violate the assumption
that no more than CH_CFG_ST_DELTA ticks pass while it is calculating
the value to set in the system timer. In that case we get a delay of a
full timer wrap, which is 68ms on boards with 16 bit timer and 70
minutes on boards with 32 bit timer
2022-04-05 17:46:52 +10:00
Andrew Tridgell f6f6521b28 Revert "hwdef: changed MatekH743 to a 32 bit timer"
This reverts commit 7dc5911572.
2022-04-05 17:46:52 +10:00
Lokesh Ramina 11b3eccf66 AP_Periph: Hwdef CarbonixL496 update
Modification of CarbonixL496 to add more features.
Features:
To use internal clock of MCU, Oscillator value is set to 0.
LED pin changed from PA13 to PA15
Enabled  JTAG
Add interface to GPS and ADSB.
2022-04-05 09:57:02 +10:00
Mirko Denecke c1e0e9c305 AP_HAL_ChibiOS: fix ms5611 probe for NucleoH743 2022-03-31 16:31:13 +11:00
Henry Wurzburg 479b02e5b0 HWDEF: add SLCAN OTG port, correct defaults.param errors 2022-03-29 10:43:51 +11:00
Andy Piper eb996f28cc AP_HAL_ChibiOS: spro H7 extreme updates.
cannot currently use both IMUs on spro H7 extreme due to CPU load
2022-03-29 10:39:35 +11:00
Peter Barker 29c2c40c41 hwdef: enable both OreoLED and Solo gimbal on fmuv3
for users running fmuv3 on their Solo
2022-03-29 08:24:59 +09:00
Peter Barker a30f33a674 hwdef: enable both OreoLED and Solo gimbal on CubeOrange
for users who have replaced their CubeSolo with a CubeOrange
2022-03-29 08:24:59 +09:00
Peter Barker f186f612f9 AP_HAL_ChibiOS: enable Solo Gimbal only on CubeGreen 2022-03-29 08:24:59 +09:00
Andrew Tridgell 7dc5911572 hwdef: changed MatekH743 to a 32 bit timer
the 68ms issue is still present on this board. Switching to a 32 bit
timer will fix it, but loses us the tonealarm support
2022-03-29 07:45:23 +11:00
MallikarjunSE bf0ce19942 hwdef: RM3100 no false rotation 2022-03-24 07:47:11 +11:00
MallikarjunSE 549883772c hwdef: RM3100 reversal mask 2022-03-24 07:47:11 +11:00
bugobliterator 2dceb9a3ed AP_HAL_ChibiOS: ensure that common ram is selected for bootloader/app comms in STM32H7 2022-03-23 19:09:21 +11:00
bugobliterator 7abcf9ec46 AP_HAL_ChibiOS: add CubeOrangePlus 2022-03-20 07:23:10 -07:00
Andrew Tridgell 54e4c6e1be hwdef: leave MatekL431 ROMFS uncompressed
this allows for bl update when low on memory
2022-03-19 12:06:04 +11:00
mateksys 35ed87a5db AP_HAL_ChibiOS: add MatekL431 AP_Periph hwdef 2022-03-19 12:06:04 +11:00
Andy Piper ceef68e07b AP_HAL_ChibiOS: allow H7 480Mhz clock speed to be configured in hwdef via MCU_CLOCKRATE_MHZ 2022-03-16 20:37:30 +11:00
Andy Piper 222717cc88 AP_HAL_ChibiOS: add KakuteH7-bdshot target 2022-03-15 10:18:58 +11:00
Peter Barker 470cb2caa2 AP_HAL_ChibiOS: turn autocal off for periphs 2022-03-15 08:52:37 +11:00
李孟晓 81b129d3b3 AP_HAL_ChibiOS: CUAVv5: use icm42688p instead of icm20602 2022-03-15 05:59:14 +11:00
AndKe caaa5002ab AP_HAL_ChibiOS: add OREOLED to CubeGreen 2022-03-14 09:19:37 +11:00
iainguilliard ea0b6dfcb2 HAL_ChibiOS: add MatekF405-STD S7 PWM output
MatekF405-STD board has a pad for S7 PWM output from pin PB8 missing in hwdef
2022-03-13 14:00:26 +11:00
Peter Barker e486671bb2 AP_HAL_ChibiOS: correct #ifndef nesting in periph defaults 2022-03-13 13:23:51 +11:00
bugobliterator faf0c0d7c3 AP_HAL_ChibiOS: set canfd bitrates using CANFD_SUPPORTED opt 2022-03-11 18:13:54 +11:00
bugobliterator 90a660b445 AP_HAL_ChibiOS: update clock tree to have FDCAN Base clock at 80MHz 2022-03-11 18:13:54 +11:00
Siddharth Purohit 72090d10da AP_HAL_ChibiOS: add hwdef config to enable CANFD support 2022-03-11 18:13:54 +11:00
MallikarjunSE 228796d55b AP_HAL_ChibiOS: Add Sierra-F9P support 2022-03-10 08:29:51 +11:00
murata eb78a0a4a6 hwdef: Set the maximum number of barometric pressure sensors to 1 2022-03-08 14:21:31 -08:00
murata 60eb6ff1b7 hwdef: Maximum number of battery monitors is 1 2022-03-08 14:21:31 -08:00
Andrew Tridgell 74f1a8007d hwdef: enable GPS_MOVING_BASELINE on FreeflyRTK and f303-GPS
this allows for F9P based dual-GPS yaw on DroneCAN peripherals with
auto-config
2022-03-09 07:52:42 +11:00
Andrew Tridgell 86c25b98d5 hwdef: added HolybroG4_GPS 2022-03-09 07:51:35 +11:00
MallikarjunSE 5cd1c7783d hwdef: hwdef update with watchdog 2022-03-07 16:15:41 +11:00
MallikarjunSE 360ddb2aed hwdef:update storage pages and enable watchdog 2022-03-07 16:15:41 +11:00
Andrew Tridgell 7999335727 hwdef: fixed buzzer on CUAV_GPS peripheral 2022-03-03 16:26:27 +11:00
Peter Barker 11f7cce978 AP_HAL_ChibiOS: allow specification of AUTOBUILD_TARGETS in hwdef files 2022-03-03 09:03:17 +11:00