Peter Barker
441d83f05e
hwdef: split SimOnHW.inc from CubeOrange-SimOnHW config
...
makes this easier to reuse on other boards
2022-08-16 09:39:03 +10:00
TunaLobster
01035b81b3
AP_HAL_ChibiOS: Add macros for Fuel options
...
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
2022-08-16 09:36:31 +10:00
Peter Barker
ecde9f8c3f
AP_HAL_ChibiOS: make HAL_FLASH_PROTECTION a boolean, stop checking for definition
2022-08-16 08:10:16 +10:00
Andrew Tridgell
a9d97d90c4
hwdef: removed APP_DESCRIPTOR settings
...
not needed
2022-08-15 09:18:34 +10:00
Andrew Tridgell
8b9570975b
hwdef: added AP_OPENDRONEID_ENABLED to hwdef-bl.dat
2022-08-15 09:18:34 +10:00
Andrew Tridgell
a8ab7c3865
HAL_ChibiOS: auto-define AP_CHECK_FIRMWARE_ENABLED for AP_Periph
2022-08-15 09:18:34 +10:00
Andy Piper
2b7bb84838
AP_HAL_ChibiOS: increase ICM42xxx SPI clock to 16Mhz on MatekH743
2022-08-12 20:53:36 +10:00
bugobliterator
fce49232b2
hwdef: disable power reset on peripheral line
2022-08-10 17:06:29 +10:00
Andrew Tridgell
0e037c99f3
hwdef: support moving baseline yaw with Holybro G4 CAN GPS
2022-08-09 21:05:08 +10:00
Andrew Tridgell
6c3de20569
hwdef: support moving baseline GPS yaw on MatekL431-Periph
2022-08-09 21:04:37 +10:00
Andrew Tridgell
23744819dc
hwdef: added two OpenDroneID enabled builds
2022-08-09 14:37:08 +10:00
Andy Piper
3f103f2fe3
AP_HAL_ChibiOS: hwdef for KakuteH7v2
2022-08-03 17:06:38 +10:00
Andy Piper
affbd5e278
AP_HAL_ChibiOS: hwdef for KakuteH7Miniv2 (1.3)
2022-08-03 17:06:38 +10:00
Andy Piper
1ff3ee7a12
AP_HAL_ChibiOS: allow undef of SPI devices
2022-08-03 17:06:38 +10:00
Andy Piper
7fc5a7135a
AP_HAL_ChibiOS: make sure bootloader reserves space for storage
...
Fixes bug introduced by #19769
2022-08-03 16:55:51 +10:00
chobits
6ed07bd67e
hwdef: KakuteH7 bluetooth switch
2022-08-03 13:59:08 +10:00
mfe-xiao
169b7df614
HAL_ChibiOS: hwdef: add README.md for PixSurveyA1
2022-08-03 09:05:04 +10:00
Andrew Tridgell
2ee111cf7b
hwdef: added ADC pin comments for 6X
2022-08-03 09:01:31 +10:00
Andrew Tridgell
f5026f2462
hwdef: setup default power pins for Holybro Pixhawk6C
2022-08-03 09:01:31 +10:00
Andrew Tridgell
273fe51a71
hwdef: switched to pixracer LED scheme for Pixhawk6X
2022-08-02 17:26:46 +10:00
Andrew Tridgell
f47585b235
hwdef: disable I2C DMA on Pixhawk6C and enable compass compensation
2022-08-02 17:26:46 +10:00
Andrew Tridgell
696cd1a19b
hwdef: added compass compensation for 3 boards
...
use the new compass heater compensation for 4 compasses across 3
boards
2022-08-02 17:26:46 +10:00
Andrew Tridgell
3ee42f3d20
hwdef: added missing ADC channel on Pixhawk6X
2022-08-02 17:26:46 +10:00
Andrew Tridgell
949ef22ed6
hwdef: disable I2C DMA on Pixhawk6X
...
this prevents an issue with the BMI088 and external compass on GPS1
2022-08-02 17:26:46 +10:00
Andrew Tridgell
01e6809942
hwdef: fixed rotation of bmi088 on Holybro6X
2022-08-02 17:26:46 +10:00
Andrew Tridgell
df9ac156c4
hwdef: fixed orientation of Pixhawk6X ICM42670
2022-08-02 17:26:46 +10:00
Andrew Tridgell
6845f2e24d
hwdef: use right name for ICM42670 SPI device
2022-08-02 17:26:46 +10:00
Andy Piper
3b034e3af6
AP_HAL_ChibiOS: enabled OSD parameter menus on KakuteH7.
2022-07-22 21:23:34 +10:00
Tom Pittenger
0ef78dd77a
AP_HAL_CHibiOS: add new hwdef target for SkystarsH7HD
2022-07-21 21:53:15 -07:00
Peter Barker
13b03f79db
AP_HAL_ChibiOS: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED
...
This allows hwdef files to manipulate this value
2022-07-19 18:02:26 +10:00
Andrew Tridgell
796653630c
hwdef: support CUAV-6X and Holybro-6X with same firmware
2022-07-19 15:02:31 +10:00
Andrew Tridgell
0e745d0ad3
hwdef: added BOARD_MATCH() support for IMUs
...
allow hwdef.dat to specify list of IMUs which match a specific board
type
2022-07-19 15:02:31 +10:00
Nikolay March
fa71a8ccf2
AP_HAL_ChibiOS: add BDShot for Holybro PH4-mini
...
Tested, working like its big Holybro Pixhawk4! (copied bdshot files)
And there no telem2 port(usart3), undef to relolve DMA.
I thought the copter stopped twitching like before, more stable!
2022-07-19 11:15:56 +10:00
Henry Wurzburg
2f90806f0a
AP_HAL_ChibiOS: fix bootloaders to turn on switched supply during bootloader
2022-07-19 10:34:47 +10:00
Iampete1
60408fd16e
hwdef: skyviper: update AP_AIS_ENABLED to AP_AIS_ENABLED
2022-07-12 09:39:54 +10:00
xiao
084bae21ef
HAL_ChibiOS: hwdef: MFE-PixSurveyA1 rename PixSurveyA1
2022-07-05 17:44:03 +10:00
xiao
39abb13692
HAL_ChibiOS: hwdef: add new hardware MFE-PixSurveyA1
2022-07-05 17:44:03 +10:00
Andrew Tridgell
af5eb44629
hwdef: added telem3 on Pixhawk6X
2022-07-05 10:34:36 +10:00
Peter Barker
a647cd9b8f
hwdef: remove redundant 'define HAL_MINIMIZE_FEATURES 0'
2022-07-05 10:20:38 +10:00
李孟晓
8a83e02e59
HAL_ChibiOS: hwdef: add support for ICP101XX to CUAV_GPS
2022-06-28 11:59:04 +10:00
Peter Barker
2228f1407d
hwdef: remove unused NO_DATAFLASH hwdef directive
2022-06-28 11:03:53 +10:00
Andy Piper
feaad96963
AP_HAL_ChibiOS: hwdef for Foxeer Reaper F745v2.
...
README for Reaper F745v2
2022-06-28 11:03:26 +10:00
Andrew Tridgell
5f8ea596a5
hwdef: changed Pixhawk6C board type to 56
...
production bootloader uses 56
2022-06-23 13:43:38 +10:00
Andrew Tridgell
881d9764d4
hwdef: added Pixhawk6C support
2022-06-23 12:37:24 +10:00
Andrew Tridgell
b1e3b9414b
hwdef: fixed Pixhawk6X ALT_RAM_MAP check
2022-06-23 12:37:24 +10:00
Isaac A
94064175af
AP_HAL_ChibiOS: Allow KakuteF7 initialization without baro
2022-06-21 10:03:08 +10:00
Peter Barker
ce1bb906b7
AP_HAL_ChibiOS: allow rangefinder backends to be individually compiled in
2022-06-21 09:15:20 +10:00
Andrew Tridgell
8f3405d308
hwdef: added Pixhawk6X support
...
a new H753 based board similar to the Pixhawk5X
2022-06-15 17:28:40 +10:00
Andrew Tridgell
9efcad3adf
HAL_ChibiOS: added support for ALT_RAM_MAP on H7
...
for compatibility with the px4 H7 bootloader
2022-06-15 17:28:40 +10:00
Andrew Tridgell
308717d5eb
HAL_ChibiOS: enable ITCM and DTCM on H7 at startup
...
these may have been disabled by the px4 H7 bootloader
2022-06-15 17:28:40 +10:00
Andy Piper
ed6f7fb9e9
AP_HAL_ChibiOS: add support for MambaF405 2022 MK4
...
mark DMA on MambaF405US-I2C UARTs
correct RSSI pin on MambaF405US-I2C
2022-06-15 17:05:41 +10:00
Tom Pittenger
c28db6d91c
AP_HAL_ChibiOS: Durandal hwdef to enable Sagetech MXS driver by default for CI to test against
2022-06-14 07:10:17 -07:00
Tom Pittenger
07be987073
AP_HAL_ChibiOS: enable SagetechMXS driver by default only for CUAV-X7 and CubeOrange
2022-06-14 07:10:17 -07:00
mateksys
71b9e80c04
hwdef: added more PWM options in MatekL431-Dshot
2022-06-14 18:59:52 +10:00
James Harton
b963be7ee8
AP_HAL_ChibiOS: Add on-board baro support to iFlight BeastH7 V2 target.
...
iFlight's own website says that there is no barometer on this device,
however on my one there is a DPS310 connected on I2C. This PR adds
support for the on-board baro but leaves it as optional.
2022-06-14 09:46:46 +10:00
Andrew Tridgell
085413865a
hwdef: added MatekL431-EFI
2022-06-09 21:10:37 +10:00
Andy Piper
fafa4158dd
AP_HAL_ChibiOS: hwdef for MambaH743v4
...
support BMI270 on MambaH743v4 and increase flash SPI clock
add bi-directional dshot to MambaH743
add README and pinout for MambaH743
2022-06-08 21:44:21 +10:00
Pierre Kancir
b909a110cd
AP_HAL_ChibiOS: fix executable permission and trailing whitespace
2022-06-08 08:16:42 +09:00
Pradeep
183352cdfe
AP_Periph: choose node stats - build files
...
Added - AP_Stat library and AP_STATS_ENABLED build options
2022-06-07 09:57:32 +10:00
Pradeep
03f7df39dd
hwdefs: choose node stats - CarbonixF405 and CarbonixL496
...
Added definition to enable node statistics
AP_Periph: choose node stats - CarbonixF405 and CarbonixL496
Added definition to enable node statistics
2022-06-07 09:57:32 +10:00
bugobliterator
68f0863fb6
AP_HAL_ChibiOS: remove peripheral power down in bootloader
2022-06-03 16:41:22 +10:00
bugobliterator
2726de9b7a
AP_HAL_ChibiOS: split the CubeOrange hwdef into inc and dat so the inc can be properly reused
2022-06-03 16:41:22 +10:00
bugobliterator
026ca4adae
AP_HAL_ChibiOS: update to using H757 chipset in cubeorange+
2022-06-03 16:41:22 +10:00
Peter Barker
e2f5443a1e
hwdef: skyviper-v2450: compile in only ICM20789
2022-05-22 12:11:45 +10:00
Lokesh Ramina
adfb2f9cad
AP_HAL_Chibios: add_12Mhz_Clock_stm32F405
...
There was no option for 12Mhz for STM32F405
2022-05-12 17:40:21 +10:00
Peter Barker
7da0b3aaf2
AP_HAL_ChibiOS: allow airspeed backends to be compiled out
2022-05-10 09:02:51 +10:00
Andrew Tridgell
bf9b803265
hwdef: added FlyingMoonF427 support
2022-05-08 18:41:39 +10:00
Andrew Tridgell
b9b5f055ef
hwdef: added FlyingMoonF407 board support
2022-05-08 18:41:39 +10:00
MallikarjunSE
bf9c0fffa7
hwdef: sierra-l431 hwdef update
2022-05-04 07:17:41 +10:00
Kirill Shilov
c414a021ae
AirLink-HWDEF: external peripherals enabled with logical high
2022-05-02 10:56:09 +10:00
Mirko Denecke
11a74cf28c
AP_HAL_ChibiOS: fix auxiliary typo
2022-05-02 10:55:08 +10:00
bugobliterator
46f9ae54af
AP_HAL_ChibiOS: fix CubeOrangePlus IMU rotation
2022-04-29 08:26:34 +10:00
Andrew Tridgell
8c3d2205cb
hwdef: added DShot peripheral for MatekL431
2022-04-28 13:56:16 +10:00
Andrew Tridgell
06b9b804a1
hwdef: uncompress bootloader for HolybroG4_GPS
...
not enough ram to uncompress at runtime
2022-04-27 17:12:08 +10:00
yuri-rage
eaa62fb490
AP_HAL: remove BRD_PWM_COUNT reference
2022-04-20 07:57:57 +09:00
Andrew Tridgell
e73f868fc0
HAL_ChibiOS: disable fatal exceptions for DMA errors
...
this zeros-watchdog was caused by a SPI DMA error on STM32F405:
https://discuss.ardupilot.org/t/crash-with-4-2-0-beta-and-4-3-0-daily-bdshot/83297
we had incorrectly left these internal errors enabled when asserts
were not enabled. That led to a osalSysHalt()
without these we get an spi_fail internal error, caught by the
SPIDevice code
2022-04-19 21:52:53 +10:00
Walter Dunckel
b0c3fae662
AP_HAL_ChibiOS: add support for NucleoH755 board
...
This addition allows for cheap testing of a STM32H755 (dual core). This borrows the setup file STM32H757xx.py, as there are almost no changes between the chips. CRSF in and out, gps, ICM20948, BMP388, settings saving to on board flash all working.
PWM(3) pin change
Changed PWM(3) pin to one exposed on connector
2022-04-18 14:53:14 +10:00
QioTek
9909499a81
AP_HAL_ChibiOS: ICM4 series sensors as an alternative with IMU3.
...
AP_HAL_ChibiOS: ICM4 series sensors as an alternative with IMU3.
2022-04-18 11:01:14 +10:00
Andrew Tridgell
9f58c73780
hwdef: Added MatekL431-Rangefinder
2022-04-17 17:40:04 +10:00
Peter Barker
bca4fc9608
hwdef: disable serially-attached actuators on SkyViper
2022-04-17 09:10:10 +10:00
Andrew Tridgell
f5c3b56426
AP_HAL_ChibiOS: update for changed INS_NOTCH parameter name
2022-04-16 08:14:06 +10:00
mateksys
16a8400f85
AP_HAL_ChibiOS:add icm42688p as substitution
2022-04-13 20:59:07 +10:00
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
Andy Piper
d589c0fc5e
AP_HAL_ChibiOS: normalize BeastH7v2 in line with BeastF7v2 definition
2022-03-02 15:46:17 +11:00
Evgeniy
32afbbdec4
AP_HAL_ChibiOS: BeastH7v2 board added
2022-03-02 15:46:17 +11:00
Andy Piper
ed952a0ea0
AP_HAL_ChibiOS: allow flash to be write-protected/unprotected on reboot
...
control protection support via HAL_FLASH_PROTECTION
provide support for flash protection on SPRacingH7
SPRacingH7 bootloader needs to use w25q-dtr
2022-02-24 10:19:07 +11:00
Henry Wurzburg
ac88f354fc
hwdef: update Swan-K1 with new harmonic notch mask to avoid errors
2022-02-23 18:45:51 +11:00
Andy Piper
b6022ca5d4
AP_HAL_ChibiOS: add support for alternate alarm PWM group
...
account for inverted alarms and build on boards without PWM
enable alarm based on pwm
shutdown alarm channel if using a different one
2022-02-23 18:35:43 +11:00
Andy Piper
f840315aa4
AP_HAL_ChibiOS: clock H750 at 480Mhz when using 8Mhz, 16Mhz and 24Mhz crystals
2022-02-23 18:19:56 +11:00
Andrew Tridgell
96518c9eda
HAL_ChibiOS: added CPU defines to hwdef
...
needed for checks like defined(STM32F1)
2022-02-22 12:13:19 +11:00
Andrew Tridgell
6039b8012a
HAL_ChibiOS: define HAL_USE_SDMMC
2022-02-22 12:13:19 +11:00
Andrew Tridgell
638e20a0b9
HAL_ChibiOS: bring in hal.h where it is needed
2022-02-22 12:13:19 +11:00
Andrew Tridgell
25cc8203d8
HAL_ChibiOS: added CHIBIOS_BOARD_NAME define
2022-02-22 12:13:19 +11:00
Andrew Tridgell
7e18d85f7e
hwdef: added compat board ID for FreeFly RTK GPS
2022-02-17 14:37:41 +11:00
Andrew Tridgell
f2308e96a9
HAL_ChibiOS: added stm32_was_software_reset()
2022-02-17 14:37:41 +11:00
Andrew Tridgell
a641eb3a30
HAL_ChibiOS: support ALT_BOARD_ID
...
allow for compat with px4 board ID for the same board
2022-02-17 14:37:41 +11:00
Andy Piper
83ac78e969
AP_HAL_ChibiOS: add support for @SYS/timers.txt
...
move out prescaler calculation and use closest prescaler everywhere
include timer id in PWM groups
2022-02-16 15:28:04 +11:00
Nathan Costa
9f7aa715b1
AP_HAL_ChibiOS: add support for CAN/I2C switch
2022-02-16 13:25:58 +11:00
Andy Piper
7b15245efe
AP_HAL_ChibiOS: update SPRacingH7 Extreme hwdef and add README
...
add SPRacingH7 board layout
2022-02-15 11:32:52 +11:00
Andy Piper
48c21299f8
AP_HAL_ChibiOS: hwdef for SPRacingH7
...
hwdef for DevEBoxH7v2
pin definitions for STM32H750
add QSPI to DevEBox bootloader
add external flash to DevEBox
rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB
Add support for EXT_FLASH_RESERVE_START_KB and EXT_FLASH_RESERVE_END_KB
Disable HAL_ENABLE_SAVE_PERSISTENT_PARAMS when there is no bootloader flash available
relax storage health status with SD card backend
don't check SD card health unless USE_POSIX
binary sections rearranged on external ram
manage RAMFUNC through ldscript and optimize function placement in external flash
inline timer functions
optimize placement of ChibiOS and functions in ITCM and AXI RAM
fix chibios features on bootloader build with external flash
change H750 memory layout
increase line storage for SD card based parameters
comment external flash linker script
move vtables into DTCM
update ram map for H757
enable crashdump support with external flash
correct bootloader pins and generator on SPRacingH7/DevEBoxH7v2
setup external flash reserve regions
allow different RAM_MAP for external flash on H750 and H757
2022-02-09 12:47:55 +00:00
MallikarjunSE
a4b5bf1f4f
hwdef: Update hwdef to have only mag and airspeed
2022-02-09 18:27:56 +11:00
Andrew Tridgell
ef7e611aff
HAL_ChibiOS: added cubemx file for F745-8MHz
2022-02-09 09:35:26 +11:00
Walter Dunckel
f2347e7845
AP_HAL_ChibiOS: add missing EOL in output
...
without it a double define line was giving compiler an error
2022-02-09 09:14:25 +11:00
Peter Barker
6e684b3496
hwdef: disable blheli on skyviper
2022-02-08 20:39:44 +11:00
Peter Barker
09c040891e
hwdef: cap number of Compass, Baro and INS instances
...
saves flash as we don't have to have the parameter structures
2022-02-08 20:39:44 +11:00
Peter Barker
7f584ad2c8
hwdef: SkyViper gets COMPASS_MAX_SENSORS 1
2022-02-08 20:39:44 +11:00
Andy Piper
0e18bd450d
AP_HAL_ChibiOS: fix bi-directional dshot on omnibusf4pro
2022-02-08 12:12:28 +11:00
Peter Barker
b88bfa962b
AP_HAL_ChibiOS: add and use AP_MOTORS_FRAME_DEFAULT_ENABLED
2022-02-08 11:06:24 +11:00
Joshua Henderson
3df82b26de
hwdef: MatekF045-CAN remove unused define, set BATT_Default 0
2022-02-08 10:41:02 +11:00
Joshua Henderson
ecacd513c2
hwdef: f405-MatekGPS add debug pin info, set default arspd, batt 0
...
and remove ADSB from build
2022-02-08 10:41:02 +11:00
Joshua Henderson
8505017d26
hwdef: Add f405-MatekAirspeed
2022-02-08 10:41:02 +11:00
Sam Chamberlin
d73a45aa64
hwdef: add ARK_GPS
2022-02-03 18:36:02 +11:00
Joshua Henderson
204c26c53b
hwdef: f103-RangeFinder, use AP_PERIPH_RANGEFINDER_PORT_DEFAULT
2022-02-02 18:45:59 +11:00
Joshua Henderson
ed208687b4
hwdef: Pixracer-periph, use AP_PERIPH_RANGEFINDER_PORT_DEFAULT
2022-02-02 18:45:59 +11:00
Andrew Tridgell
c2c94631e8
HAL_ChibiOS: added STM32CubeMX files for new F412 configs
2022-02-02 07:42:23 +11:00
Andrew Tridgell
e07057d24f
HAL_ChibiOS: support SDIO 48MHz clock on F412
2022-02-02 07:42:23 +11:00
TulleU
7907fd5729
AP_HAL_ChibiOS: revo-mini-i2c probe for external compasses
...
allow for probing of external compasses on i2c
2022-02-01 17:36:14 +11:00
Hwurzburg
0ea7044796
AP_HAL_ChibiOS: update option names in BATTMonitor in prep for expansion
2022-02-01 12:35:03 +11:00
Peter Barker
0eacc0348e
AP_HAL_ChibiOS: remove HAL_COMPASS_DEFAULT define
...
this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.
This would have stopped being useful when we did the
compass-prority-table stuff - or before.
2022-02-01 12:10:38 +11:00
Peter Barker
a4d2194f80
hwdef: SkyViper-v2450: enable only UBLOX and MAV GPS backends
2022-02-01 11:22:02 +11:00
mathieulohier
bcc60d0945
hwdef: modalai_fc_v1 update documentation
2022-02-01 11:02:23 +11:00
Andrew Tridgell
563528dfc0
HAL_ChibiOS: update CubeMX files
2022-01-29 18:57:33 +11:00
Andrew Tridgell
00e32b52bf
hwdef: removed unnecessary PLL overrides
...
now we've properly filled in the F4 clocks we can use normal PLL
settings
2022-01-29 18:57:33 +11:00
Andrew Tridgell
040ff007ea
HAL_ChibiOS: fixed some F4 clocks, and support no crystal on F4
...
this fixes up some of the F4 varients that were running at the wrong
clock, and also gives support for running F4s with no crystal
2022-01-29 18:57:33 +11:00
Andrew Tridgell
a8b98bfcc4
HAL_ChibiOS: required EXPECTED_CLOCK in all MCU files
...
this ensures we validate the clock setup at compile time
2022-01-29 18:57:33 +11:00
Andrew Tridgell
1224ff48b3
hwdef: fixed VCC monitoring on AIRLink
2022-01-29 15:09:46 +11:00
Peter Barker
da79a5ea78
hwdef: skyviper-v2450: exclude many build features
2022-01-27 20:58:24 +11:00
Kirill Shilov
477fb4c408
hwdef: AIRLink added default parameters files
2022-01-27 17:42:11 +11:00
Andrew Tridgell
585ee5b2e4
hwdef: fixed rainbow effect on startup in CUAV_GPS
2022-01-27 08:26:47 +11:00
Peter Barker
51a9efe817
AP_HAL_ChibiOS: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Hwurzburg
c5a444e4a3
hwdef: correct Pixhawk5 3.3V analog in scale factor
2022-01-25 09:37:34 +11:00
ot0tot
13050b325b
Tools: add JHEMCU GSF405A bootloader and ID
2022-01-19 18:31:05 +11:00
ot0tot
1a08a1e1a1
hwdef: add support for JHEMCU GSF405A
2022-01-19 18:31:05 +11:00
Peter Barker
185ccaee92
AP_HAL_ChibiOS: disable UART stats based on GCS being enabled
...
We may need to revisit this if we are able to transfer these files over
some other mechanism into the future
2022-01-18 11:09:03 +11:00
Hwurzburg
176de8aa86
AP_HAL_ChibOS: update hwdef,defaults.readme for KakuteH7
2022-01-18 11:05:38 +11:00
Andrew Tridgell
d22e3a1f52
hwdef: fixed flash double reserve
...
fixes #19765 , an alternative to #19768
the advantage of this approach is it is less error prone, as the
actual position and size of the storage sectors is calculated
2022-01-13 06:44:46 +11:00
Peter Barker
4c72d0f562
AP_HAL_ChibiOS: disable UART statistics on Hitec-Airspeed
2022-01-12 18:30:49 +11:00
Andy Piper
368a0c74a1
AP_HAL_ChibiOS: fix UART operation on original OmnibusNanoV6
2022-01-12 18:17:08 +11:00
Peter Barker
2af5c51ac7
AP_HAL_ChibiOS: save flash on the BeastF7v2
...
Note that many of these entries are already excluded by BeastF7 which
this hwdef inherits from
2022-01-11 13:25:13 +11:00
Andrew Tridgell
1ecb129afa
hwdef: fixed 3 incorrect storage sizes
...
can't do 16384 in 16k sector flash storage
2022-01-11 11:33:30 +11:00
Andrew Tridgell
d4eb2919ef
hwdef: fixed HAL_STORAGE_SIZE for MatekF405-TE
2022-01-11 11:33:30 +11:00
Andrew Tridgell
59b2a30c11
HAL_ChibiOS: added check for valid HAL_STORAGE_SIZE
2022-01-11 11:33:30 +11:00
Andrew Tridgell
de273fb76d
hwdef: fixed f405-MatekGPS storage location and CAN
...
this allows for CAN firmware update using f405-MatekGPS bootloader by
fixing a typo, then moves storage to allow the bootloader with can to
fit on the board
this will allow CAN update of peripheral firmware for Matek GPS and
airspeed sensors
2022-01-11 11:33:30 +11:00
Andrew Tridgell
1236474cfb
HAL_ChibiOS: give an error if STORAGE_FLASH_PAGE overflash flash
...
when storage is between the bootloader and main program flash then the
flash size available to the bootloader needs to stop at the sector for
the storage flash.
Similarly, if storage is at the end of flash, then total flash size
needs to be limit
this ensures we don't try to build a firmware that encroaches on
program space
2022-01-11 11:33:30 +11:00
Andy Piper
a533fadf1b
AP_HAL_ChibiOS: support KakuteH7Mini
2022-01-11 10:58:55 +11:00
Peter Barker
03e9307bdd
AP_HAL_ChibiOS: add MANUFACTURER and BRAND_NAME to PixRacer Pro
2022-01-07 22:46:52 +11:00
Peter Barker
81d205465c
hwdef: remove OpticalFlow from builds in several low-flash boards
2022-01-06 13:35:51 +11:00
李孟晓
94b14ae60b
hwdef: CUAV-Nora: Add servo voltage detection pin
2022-01-06 12:39:45 +11:00
phil tokumaru
bfded82da5
AP_HAL_ChibiOS: STM32F777xx.py: correct pincount for J and K
2022-01-06 09:15:14 +11:00
Andy Piper
c357c1e521
AP_HAL_ChibiOS: hwdef for BeastF7 v2
...
Fix undef of alt pins
2022-01-05 18:50:41 +11:00
MallikarjunSE
adff48c3ea
hwdef: remove Notify LEDs from Sierra-F405
...
NTF_LED_BRIGHT 2, NTF_LED_LEN 8 used to cause board to get stuck in bootloader on reboot.
2022-01-05 09:22:45 +11:00
Peter Barker
f44335371f
hwdef: set AP_OPTICALFLOW_ENABLED 0 for SkyViper-v2450
2022-01-04 11:01:40 +11:00
Andy Piper
f9e14ffa30
AP_HAL_ChibiOS: add support BeastF7v2
2021-12-31 09:25:29 +11:00
MallikarjunSE
3ff9b76b08
AP_HAL_ChibiOS: Sierra-F405 support
2021-12-29 10:13:54 +11:00
MallikarjunSE
eb8cfea507
AP_HAL_ChibiOS: Sierra-F412 support
2021-12-29 10:12:40 +11:00
Andrew Tridgell
61ecf0c443
HAL_ChibiOS: cleanup SDMMC enable defines
...
ensure both are set
2021-12-28 16:04:57 +11:00
Andrew Tridgell
146f394d64
HAL_ChibiOS: include fatfs format code
2021-12-28 16:04:57 +11:00
Andrew Tridgell
281f041abb
hwdef: fixed debug pins on two boards bootloaders
2021-12-28 10:31:25 +11:00
Andrew Tridgell
6a2303f72d
hwdef: enable telem3 (SERIAL5) TX on Pix32v5
...
this is now safe as we disable the TX/RX pins on ports with
SERIALn_PROTOCOL = -1
as this board defaults to protocol -1 for SERIAL5, we can enable this
if the user wishes to use telem3
2021-12-28 10:13:58 +11:00
Nikolay March
cceae1acf3
hwdef: Redefine DMA priority PH4-mini
...
BUG.
Without redefining priority there is no DMA on any RX of serial ports.
Now it is.
Without DMA, you cannot normally use the serial port for the CRSF protocol.
2021-12-27 11:25:51 +11:00
mateksys
be601acd89
AP_HAL_ChibiOS: add MatekF405-TE hwdef
2021-12-22 18:47:37 +11:00
Brad Stinson
cd39110b68
hwdef: add support for PixC4-Jetson
...
add support for building IOMCU with F103 and 8MHz clock
2021-12-21 13:05:34 +11:00
bugobliterator
62945e1d85
AP_HAL_ChibiOS: use common directory reference wrt hwdef scripts
2021-12-20 12:47:25 +11:00
Peter Barker
bdeec0868e
AP_HAL_ChibiOS: turn wind-compensation off in hwdef defaults
2021-12-19 10:45:16 +11:00
bugobliterator
f0073e472b
HAL_ChibiOS: set SWD pins pulled up and low by default
2021-12-17 22:51:18 -08:00
Shiv Tyagi
b2073e4e1c
AP_HAL_ChibiOS: remove stray define HAL_PERIPH_ENABLE_BATTERY_MPPT_PACKETDIGITAL
...
We have removed the class AP_BattMonitor_MPPT_PacketDigital, hence this should be removed too
2021-12-17 20:24:25 +09:00
Peter Barker
7cbe48d1f6
hwdef: fix CubeOrange-periph-heavy build
2021-12-14 14:11:35 +11:00
Andrew Tridgell
ee7464140a
HAL_ChibiOS: avoid re-writing hwdef.h if unchanged
...
this makes dependency handling faster
2021-12-14 09:37:17 +11:00
Andrew Tridgell
0e5beb423e
HAL_ChibiOS: sort shared dma mask
...
this prevents an unnecessary change in hwdef.h on reconfigure
2021-12-14 09:37:17 +11:00
Andrew Tridgell
c9b35ccfc8
hwdef: enable ESC telem on CarbonixL496
2021-12-10 08:11:24 -08:00
Andrew Tridgell
67649fe17d
hwdef: added CarbonixL496 AP_Periph node
2021-12-07 10:23:54 +11:00
Andrew Tridgell
fbadc24fca
HAL_ChibiOS: support 12MHz crystal on L4xx MCUs
2021-12-07 10:23:54 +11:00
Andrew Tridgell
2c2369bf03
AP_HAL_ChibiOS: revert compass parameter changes
2021-12-04 16:51:53 +11:00
Randy Mackay
ec6ea03b80
AP_HAL_ChibiOS: update CubeBlack-pinout image
...
CAN1 and CAN2 port labels have been swapped
2021-12-03 13:49:20 +09:00
Andrew Tridgell
05ec2be62b
hwdef: updated KakuteH7 battery scale defaults
...
thanks to Vincent at Holybro
2021-12-02 18:17:49 +11:00
bugobliterator
f9bb9b4fc0
AP_HAL_ChibiOS: log heap and bss memory regions if enough space
2021-12-01 18:17:50 +11:00
bugobliterator
878940292d
HAL_ChibiOS: no need to mention END reserve for Crash Dump anymore
2021-12-01 18:17:50 +11:00
bugobliterator
ee35350129
HAL_ChibiOS: setup for recording crashdump at the remaining flash space
2021-12-01 18:17:50 +11:00
bugobliterator
52c7886270
HAL_ChibiOS: fix issue with failing to write final buffer
2021-12-01 18:17:50 +11:00
bugobliterator
eae3fb016f
HAL_ChibiOS: dump per thread stack for crash
2021-12-01 18:17:50 +11:00
Andrew Tridgell
312a6461b6
HAL_ChibiOS: enable UART7 on Swan-K1
...
useful extra UART for debug
2021-12-01 18:08:54 +11:00
Josh Henderson
34b3b7999e
CubeYellow: define HAL_CHIBIOS_ARCH_CUBE
2021-11-30 10:20:54 +11:00
Josh Henderson
188c3a781e
CubeSolo: define HAL_CHIBIOS_ARCH_CUBE
2021-11-30 10:20:54 +11:00
Josh Henderson
e78edac2a0
CubePurple: define HAL_CHIBIOS_ARCH_CUBE
2021-11-30 10:20:54 +11:00
Josh Henderson
b37c214f28
CubeOrange: define HAL_CHIBIOS_ARCH_CUBE
2021-11-30 10:20:54 +11:00
Josh Henderson
db3be4d07c
CubeBlack: define HAL_CHIBIOS_ARCH_CUBE
2021-11-30 10:20:54 +11:00
Josh Henderson
c7b986f30a
CubeYellow: set default EKF_IMU_MASK
2021-11-30 10:20:54 +11:00
Josh Henderson
b8411c22c5
CubeOrange: set default EKF_IMU_MASK
2021-11-30 10:20:54 +11:00
Iampete1
0c519db602
hwdef: use new compass param names in defualts.parm
2021-11-30 08:14:43 +09:00
Peter Barker
7abf07f233
hwdef: remove unused HAL_NO_GCS defines
...
This became HAL_GCS_ENABLED, off by default on Periph
2021-11-26 12:25:40 +11:00
Peter Barker
139c460fa5
hwdef: remove unused define NO_DATAFLASH
2021-11-24 18:18:06 +11:00
Peter Barker
ee68072c62
AP_HAL_ChibiOS: chibios_hwdef: use ifndef pattern for AP_FETTEC_ONEWIRE_ENABLED
2021-11-24 12:01:22 +11:00
Peter Barker
5d005df92f
AP_HAL_ChibiOS: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED
2021-11-24 12:01:22 +11:00
Peter Barker
9a2d9898ba
AP_HAL_ChibiOS: eliminate HAL_LOGGING_DATAFLASH
...
This define didn't add anything over HAL_LOGGING_DATAFLASH_ENABLED - and
predates it.
2021-11-23 11:24:46 +11:00
Andrew Tridgell
0b567e95dc
hwdef: added OTG2 for MatekF765-SE
2021-11-22 22:48:59 +11:00
Andrew Tridgell
fc6a82de1b
AP_HAL_ChibiOS: support up to 9 UARTs
2021-11-22 22:48:59 +11:00
李孟晓
dfe2ade495
CUAV-X7: Add servo voltage detection pin
2021-11-22 16:39:15 +11:00
Andrew Tridgell
fbeaa3be6b
hwdef: change MatekH743 to -Os
...
leave space for more features
2021-11-17 19:39:26 +11:00
TunaLobster
11f98f7421
AP_HAL_ChibiOS: fix ADC scaling on IOMCU
2021-11-16 14:12:43 +11:00
Andrew Tridgell
c3442d0143
hwdef: added alternative Durandal 20602 IMU
2021-11-11 08:28:51 +11:00
Jaime
5d117c6ae7
hwdef: CubeOrange Enable Serial2 and Serial3 in bootloader hwdef
2021-11-10 18:10:20 +11:00