Commit Graph

1983 Commits

Author SHA1 Message Date
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
Peter Barker 875f9a9497 AP_HAL_ChibiOS: add HAL_UART_STATS_ENABLED to disable stats gathering 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
Andy Piper 2fab99d647 AP_HAL_ChibiOS: remove redundant harmonics from DSP 2021-12-22 18:13:38 +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
Jaaaky f1f31c1aef AP_HAL_ChibiOS: Fix multi #include's 2021-12-21 10:38:46 +11:00
bugobliterator 62945e1d85 AP_HAL_ChibiOS: use common directory reference wrt hwdef scripts 2021-12-20 12:47:25 +11:00
Peter Barker a281c3ef91 AP_HAL_ChibiOS: remove stray 'No Crash Detected' diagnostic 2021-12-19 10:48:44 +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
Stephen Dade fb5ac63a63 AP_HAL_ChibiOS: Fix get_options() to use uint16_t 2021-12-15 14:14:07 +11: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 c5fc2fa709 HAL_ChibiOS: enable DShot on L4 MCUs for AP_Periph 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 4efe75683a HAL_ChibiOS: mention of HAL_CRASH_DUMP_FLASHPAGE not required 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