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
Kirill Shilov
f97182f48a
hwdef: AIRLink board support
2021-11-10 08:47:21 +11:00
Andrew Tridgell
f7bc7b0d9b
HAL_ChibiOS: support more enable pins for late enable
2021-11-10 08:47:21 +11:00
Randy Mackay
9c1ca781f6
AP_HAL_ChibiOS: update for renamed BRD_HEAT_ parameters
2021-11-09 08:02:57 +09:00
Andrew Tridgell
97aee6f45e
HAL_ChibiOS: fixed regex error for GPIOs
2021-11-07 07:00:35 +11:00
Andrew Tridgell
8a4001817b
HAL_ChibiOS: added support for Pixhawk5X
2021-11-05 14:30:43 +11:00
Andrew Tridgell
5f15432e07
HAL_ChibiOS: allow for NODMA patterns
...
this makes it easy to disable DMA on I2C
2021-11-05 14:30:43 +11:00
Andrew Tridgell
c77dfae9a4
HAL_ChibiOS: adjust modalai for INA2xx batt mon change
2021-11-05 14:30:43 +11:00
Andrew Tridgell
98849a3998
HAL_ChibiOS: fixed build for EMPTY uarts
...
this fixes NucleoH743 build
2021-11-01 15:48:25 +11:00
QioTek
952a827287
HAL_ChibiOS: fixed orientation of ADI1674X and optimize SPI3 DMA
...
HAL_ChibiOS: fixed orientation of ADI1674X and optimize SPI3 DMA
2021-10-31 08:42:05 +11:00
bugobliterator
57e1fb1a81
HAL_ChibiOS: disable building CrashCatcher for non 2M boards
2021-10-30 19:24:57 +11:00
bugobliterator
91fdf6e875
HAL_ChibiOS: fix issue with writing the last byte
2021-10-30 19:24:57 +11:00
bugobliterator
8651d99de6
HAL_ChibiOS: move to using parameter STORAGE_FLASH_PAGE instead of define
2021-10-30 19:24:57 +11:00
bugobliterator
70f606c480
AP_HAL_ChibiOS: restrict crash dump mechanisms only on boards with 2M flash
2021-10-30 19:24:57 +11:00
bugobliterator
909f59f0e0
HAL_ChibiOS: fix build with boards without HAL_CRASH_SERIAL_PORT
2021-10-30 19:24:57 +11:00
bugobliterator
a6b2018cbf
HAL_ChibiOS: fix build and serial crash dump for F4 based boards
2021-10-30 19:24:57 +11:00
bugobliterator
7d199f3e51
HAL_ChibiOS: record info into watchdog as well
2021-10-30 19:24:57 +11:00
bugobliterator
13c83f7010
HAL_ChibiOS: remove build of Crash dump to flash methods when !defined(HAL_CRASH_DUMP_FLASHPAGE)
2021-10-30 19:24:57 +11:00
bugobliterator
66b8b9cf74
HAL_ChibiOS: add support for dumping crash logs to flash page
2021-10-30 19:24:57 +11:00
bugobliterator
b2ffc12092
HAL_ChibiOS: define flash page for dumping crash log
2021-10-30 19:24:57 +11:00
bugobliterator
bd08d2d257
HAL_ChibiOS: move crashcatcher methods out from system.cpp into hwdef common
2021-10-30 19:24:57 +11:00
bugobliterator
69f53a6188
HAL_ChibiOS: add defines for CrashCatcher methods to use
2021-10-30 19:24:57 +11:00
bugobliterator
c32bd845f2
HAL_ChibiOS: build crashcatcher lib alongside chibios
2021-10-30 19:24:57 +11:00
Andrew Tridgell
a0b662f161
hwdef: fixed reported flash on boards with storage at end of flash
...
this was in hwdef-bl.dat but had been left out of hwdef.dat which led
to flash_free being wrong in apj file
2021-10-29 18:28:36 +11:00
Andrew Tridgell
b94d6b064f
HAL_ChibiOS: convert some hwdef.dat to unix line endings
2021-10-26 15:56:53 +11:00
Andrew Tridgell
80836ca1d9
HAL_ChibiOS: simplify AP_Periph hwdef.dat
2021-10-26 15:56:53 +11:00
Andrew Tridgell
68146d541c
HAL_ChibiOS: removed boilerplate lines from bootloaders
2021-10-26 15:56:53 +11:00
Andrew Tridgell
0378e1a879
HAL_ChibiOS: removed need for a lot of boilerplate hwdef lines
...
bootloader and AP_Periph lines can default to right values
2021-10-26 15:56:53 +11:00
Hwurzburg
e7a157283f
AP_HAL_ChibiOS: add param for second IMU primary in Swan-K1 hwdef
2021-10-26 10:38:28 +11:00
Iampete1
d7cc2cb296
AP_HAL_ChibiOS: hwdef.py: allow same GPIO pin in multiple alt configs
2021-10-26 10:05:20 +11:00
kniuk
aabb6f7c59
AP_HAL_ChibiOS: add alt config GPIO to Matek F765-Wing
...
Based on new functionality introduced in #18753
2021-10-26 10:05:20 +11:00
Andrew Tridgell
822e657a70
HAL_ChibiOS: increase PROCESS_STACK on several boards
...
use min of 0xA00 for AP_Periph. A larger stack is needed for parameter
fetching
2021-10-20 19:06:35 +11:00
Iampete1
8459439798
AP_HAL_ChibiOS: CubeYellow: set default IMU arming temp margin
2021-10-19 11:16:45 +11:00
Iampete1
8e381b6017
AP_HAL_ChibiOS: CubeSolo: set default IMU arming temp margin
2021-10-19 11:16:45 +11:00