Andrew Tridgell
e90bd27435
HAL_ChibiOS: fixed I2C on F103
...
we need to use open-drain, and the sign of the constant matters
5 years ago
Andrew Tridgell
47f2f1764d
HAL_ChibiOS: generate HAL_MEMORY_TOTAL_KB for each board
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
5 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
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
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
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
9966fbea0f
HAL_ChibiOS: fixed bootloader build error
6 years ago
Andrew Tridgell
8e745f74fb
HAL_ChibiOS: support SPI6 on Pixhawk4Pro
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
d6bedc3bdf
HAL_ChibiOS: use ifndef on more peripheral types
6 years ago
Andrew Tridgell
acf77ba49a
HAL_ChibiOS: fixed dma resolver for H7
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
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
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
a6b35d6496
HAL_ChibiOS: restore old ODR behaviour for F4 boards
...
This fixes an issue with ESP8366 on Pixracer
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
6 years ago
Siddharth Purohit
2d1153081c
HAL_ChibiOS: do not build float support for bootloader builds
6 years ago
Siddharth Purohit
22f74b0827
HAL_ChibiOS: add option to set iomcu firmware environment var
6 years ago
Siddharth Purohit
42b4730d88
HAL_ChibiOS: add changes to hwdef to support STM32F1 based controller
6 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
Siddharth Purohit
4e8d072d6d
HAL_ChibiOS: move to using recent pal driver api for GPIO IRQ events
7 years ago