Phillip Kocmoud
16f1ec8ce2
HAL_ChibiOS: added missing AF functions for F777
6 years ago
Andrew Tridgell
2b0a30a2c5
HAL_ChibiOS: ensure we don't overflow bootloader area
...
this modifies the ld script to use the maximum size available for the
bootloader, so we can't accidentially grow the bootloader beyond its
max size
6 years ago
Michael du Breuil
b0f4611ddc
AP_HAL_ChibiOS: Fix python3 with F7 builds
6 years ago
Andrew Tridgell
32ebd2080f
HAL_ChibiOS: mark SDIO and SDMMC IO as pullup
...
this is needed for boards such as PixhackV3 which don't have hardware
pullups. Thanks to Hongle for reporting this.
6 years ago
Andrew Tridgell
cd27e3022f
HAL_ChibiOS: check for prefix match on peripherals
6 years ago
Andrew Tridgell
26d1371d25
HAL_ChibiOS: separate out DMA allocation for sdcard IO
...
this fixes an issue with DMA to SPI6 on STM32H7. On the H7 SRAM4 can
be used for DMA and BDMA to all devices except for SDMMC which uses
IDMA.
by separating out DMA of sdcard data from other data we can arrange
for DMA to all devices to work
6 years ago
Andrew Tridgell
a59e1d0e0f
HAL_ChibiOS: fixed H7 dma sharing between BDMA and DMA
...
the BDMA and DMA controllers have separate namespaces for streams, so
we can allocate a lot more streams than we were
6 years ago
Andrew Tridgell
c7ca6d77c7
HAL_ChibiOS: H7 doesn't need a DMA mapping for SDMMC
...
it uses a dedicated internal DMA controller in the SDMMC peripheral
6 years ago
Andrew Tridgell
603d9f6907
HAL_ChibiOS: fixed typo in ITCM base address
6 years ago
Andrew Tridgell
9966fbea0f
HAL_ChibiOS: fixed bootloader build error
6 years ago
Andrew Tridgell
8e745f74fb
HAL_ChibiOS: support SPI6 on Pixhawk4Pro
6 years ago
Andrew Tridgell
75cd20aea4
HAL_ChibiOS: handle DMAMUX2 on H7
...
with BDMA
6 years ago
Andrew Tridgell
778d892fc2
HAL_ChibiOS: fixed dma resolved for H7
6 years ago
Andrew Tridgell
e92c66418d
HAL_ChibiOS: fixed bouncebuffer code on STM32F7
6 years ago
Andrew Tridgell
cda1959629
HAL_ChibiOS: added support for more flexible memory regions
...
this allows for an arbitrary number of memory regions, with each one
flagged as DMA safe, fast or normal
6 years ago
Andrew Tridgell
6177129e41
HAL_ChibiOS: fixed typo in dma_resolver.py
6 years ago
Andrew Tridgell
cb77b06460
HAL_ChibiOS: generate a dma map for H7
...
this allows for DMA sharing, allowing for more peripherals with DMA
6 years ago
Andrew Tridgell
9647a68c9e
HAL_ChibiOS: fixed UART RX DMA for H7
6 years ago
Andrew Tridgell
efc8da9f9a
HAL_ChibiOS: enable TX DMA on uarts on H7
6 years ago
Andrew Tridgell
d6bedc3bdf
HAL_ChibiOS: use ifndef on more peripheral types
6 years ago
Andrew Tridgell
50b7b7beb5
HAL_ChibiOS: disable DTCM on H7 for now
...
DTCM doesn't allow for DMA yet
6 years ago
Andrew Tridgell
de335f14d7
HAL_ChibiOS: fixed GPIO init for H7
6 years ago
Andrew Tridgell
acf77ba49a
HAL_ChibiOS: fixed dma resolver for H7
6 years ago
Andrew Tridgell
84ac98622c
HAL_ChibiOS: fixed charset issue in H7 database
6 years ago
Andrew Tridgell
aab911ac50
HAL_ChibiOS: added hwdef database for STM32H743
6 years ago
Andrew Tridgell
1b06b0f41c
HAL_ChibiOS: fixed F765 build
6 years ago
Andrew Tridgell
2765f6e8f0
HAL_ChibiOS: setup APJ board IDs in environment
6 years ago
Jani Hirvinen
d9b9638b4a
HAL_ChibiOS: fixed F405 PE15 afnum
...
should be 15 and not 1
6 years ago
Andrew Tridgell
7459709acb
HAL_ChibiOS: allow ROMFS to override a file
...
this allows a hwdef.dat with an include to change an embedded file
specified in the include
6 years ago
Andrew Tridgell
a6ab885866
HAL_ChibiOS: fixed typo in F767 pin def file
6 years ago
Andrew Tridgell
adf7fefc2e
HAL_ChibiOS: detect stuck I2C bus and clear with SCL
...
This detects the I2C bus becoming stuck with SDA low after a timeout
and clears the bus by toggling SCL. Many thanks to @jhw84 for the
suggestion
6 years ago
Andrew Tridgell
bd117f1548
HAL_ChibiOS: define pins for inverting uarts
6 years ago
Michael du Breuil
be8d4e6c9d
AP_HAL_ChibiOS: Assume that IOMCU implies servo voltage monitoring
6 years ago
Michael du Breuil
a5115930dd
AP_HAL_ChibiOS: Fix board voltage checks being disabled
6 years ago
Andrew Tridgell
a0c57979ab
HAL_ChibiOS: use opendrain outputs for LEDs on iomcu
6 years ago
Andrew Tridgell
fcc259ae31
HAL_ChibiOS: separate out F1 CR1 calculations
...
and modify pin speeds for iomcu uarts
6 years ago
Andrew Tridgell
78a32df2e7
HAL_ChibiOS: make all boards base GPIOs for servos at 50
...
this makes the docs for GPIO pins consistent across boards
6 years ago
Andrew Tridgell
b3946fc458
HAL_ChibiOS: added uart for sbus out in IOMCU
6 years ago
Andrew Tridgell
af4340d1d1
HAL_ChibiOS: enable analog input on IOMCU
6 years ago
Andrew Tridgell
a6b35d6496
HAL_ChibiOS: restore old ODR behaviour for F4 boards
...
This fixes an issue with ESP8366 on Pixracer
6 years ago
Kevin Lopez Alvarez
6f99c706d6
HAL_ChibiOS: add MCU tables for STM32F469
6 years ago
Andrew Tridgell
c622a4c4d6
HAL_ChibiOS: fixed output pins on F100 iomcu
6 years ago
Siddharth Purohit
05539cd93b
HAL_ChibiOS:remove print statement left over from previous changes
7 years ago
Siddharth Purohit
2d1153081c
HAL_ChibiOS: do not build float support for bootloader builds
7 years ago
Siddharth Purohit
22f74b0827
HAL_ChibiOS: add option to set iomcu firmware environment var
7 years ago
Siddharth Purohit
42b4730d88
HAL_ChibiOS: add changes to hwdef to support STM32F1 based controller
7 years ago
Siddharth Purohit
e824a9c360
HAL_ChibiOS: add hwdef files to support IOMCU
7 years ago
Andrew Tridgell
d3af854949
HAL_ChibiOS: fixed bootloader build
7 years ago
Andrew Tridgell
4e6ac85057
HAL_ChibiOS: use 32 bit time intervals
...
this makes for smaller and faster code. We really don't need 64 bit
intervals as long sleeps are done with a loop.
7 years ago
Andrew Tridgell
7aba99e229
HAL_ChibiOS: fixes for ChibiOS version update
7 years ago