Andrew Tridgell
850892c3d9
HAL_ChibiOS: fixes from LGTM errors
5 years ago
Andrew Tridgell
3c058851b2
HAL_ChibiOS: fixed undef for define lines
...
this fixes IMU heater enable for CubeBlack+
5 years ago
Andrew Tridgell
75696997cc
HAL_ChibiOS: added buzzer support to CUAV_GPS
6 years ago
Andrew Tridgell
b344946300
HAL_ChibiOS: prevent duplicate sensors in hwdef.dat
...
throw an error on configure if there is a duplicate
6 years ago
Andrew Tridgell
beca17c638
HAL_ChibiOS: use GET_I2C_DEVICE() for i2c probing
...
this allows for the driver probing to use a macro to prevent loading
of duplicate i2c devices (AP_Compass does this)
6 years ago
Andrew Tridgell
c8806acaf5
HAL_ChibiOS: use AP_PERIPH env var
6 years ago
Andrew Tridgell
2facfe0baa
HAL_ChibiOS: support empty UART_ORDER
...
for CAN bootloader without uart support
6 years ago
Andrew Tridgell
16bdaaa1af
HAL_ChibiOS: added support for STM31F10x for AP_Periph
6 years ago
Andrew Tridgell
98f578394f
HAL_ChibiOS: default OTG2 protocol to mavlink2 on most boards
...
For boards that haven't yet had a driver update in MissionPlanner to
cope with the 2nd OTG interface this change makes both interfaces work
as MAVLink
This also fixes an issue with connecting under a windows VM within
vmware
6 years ago
Andrew Tridgell
2f0a4ff1ab
HAL_ChibiOS: fixed build on boards with less than max uarts
6 years ago
Andrew Tridgell
02014776e8
HAL_ChibiOS: auto-set HAL_HAVE_DUAL_USB_CDC
6 years ago
Siddharth Purohit
2f0d1336e6
HAL_ChibiOS: add support for dual usd cdc
6 years ago
Peter Barker
a61028c55d
AP_HAL_ChibiOS: disable scripting if USE_FATFS=no
6 years ago
Alexey Kozin
e5988f7153
AP_HAL_ChibiOS: fix voltage sensor connected to fmu adc
6 years ago
Michael du Breuil
a34ac14ec5
AP_HAL_ChibiOS: Make BOARD_FLASH_SIZE available at configure time
6 years ago
Andrew Tridgell
03bb94599b
HAL_ChibiOS: support I2C sensor probes by bus mask
6 years ago
Andrew Tridgell
eae852962e
HAL_ChibiOS: fixed case of no IMU, BARO or COMPASS config settings
6 years ago
Andrew Tridgell
b47ab5c8a9
HAL_ChibiOS: support I2C sensor config in hwdef.dat
6 years ago
Andrew Tridgell
e198d552a8
HAL_ChibiOS: support IMU, COMPASS and BARO lines in hwdef.dat
...
this allows for main sensors to be set in hwdef.dat, making adding new
boards simpler
6 years ago
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