Andrew Tridgell
e868a4fe8b
HAL_ChibiOS: set FLASH_RESERVE_START_KB in the environment
...
used to correctly setup an intel hex file
7 years ago
Andrew Tridgell
1c807e0078
HAL_ChibiOS: added option to limit size of bootloader
...
this will ensure our F4 bootloaders stay under 16k
7 years ago
Andrew Tridgell
14f66461a7
HAL_ChibiOS: shrink build size for bootloader
...
thanks to @sh83 for the idea
7 years ago
Andrew Tridgell
3fc6824bfb
HAL_ChibiOS: setup more bootloader config files
7 years ago
Andrew Tridgell
e3a23921a2
HAL_ChibiOS: fixed FLASH_LOAD_ADDRESS
...
needs 0x08000000 base
7 years ago
Andrew Tridgell
1c054f0e4a
HAL_ChibiOS: fixed clock line on fmuv5 I2C4
...
there was a typo in the datasheet
7 years ago
Lucas De Marchi
46213eb97e
chibios_hwdef: fix wrong uart index
...
calling uart_list.index() will find the first element with that name,
which is not really what we want when we have multiple EMPTY uarts.
7 years ago
Andrew Tridgell
ad3eca4e6b
HAL_ChibiOS: fixed I2C4 DMA streams
...
There is an error in the datasheet. See
https://community.st.com/thread/50484-documentation-error-on-dma-channels-for-i2c4-on-stm32f7
7 years ago
Andrew Tridgell
e068106669
HAL_ChibiOS: support I2C devices on STM32F7 without DMA
...
this allows us to support I2C4 on fmuv5
7 years ago
Alexander Malishev
289b93c3d0
HAL_ChibiOS: added parse_timer to chibios_hwdef.dat
7 years ago
Andrew Tridgell
2df0a71a4b
HAL_ChibiOS: fixed flash load address in hwdef.h
7 years ago
Andrew Tridgell
c05086430d
HAL_ChibiOS: fixed hwdef.h generation for PWM on tim12
7 years ago
Andrew Tridgell
63087b6425
HAL_ChibiOS: enable fmu out 7 and 8 for fmuv5
...
these are exposed on the Pixhawk4
7 years ago
Alexander Malishev
eac5d13f1c
HAL_ChibiOS: use 2 channels in SoftSigReaderInt.cpp
7 years ago
Alexander Malishev
73d33356ad
HAL_ChibiOS: detect overcapture in SoftSigReaderInt.cpp
7 years ago
Andrew Tridgell
1ed6a9d34b
HAL_ChibiOS: added MCU tables for STM32F777
7 years ago
Andrew Tridgell
c273b23940
HAL_ChibiOS: moved MCU config to python database
...
this moves the key MCU config variables related to memory to the
python MCU database, allowing the hwdef.dat to be considerably simpler
7 years ago
Andrew Tridgell
eec4a12cc2
HAL_ChibiOS: switched to using DTCM memory for DMA
...
this uses SRAM1 and SRAM2 for main memory, which enables the use of the
data cache for faster operation, and using DTCM for all DMA operations.
7 years ago
Andrew Tridgell
762e4f9915
HAL_ChibiOS: fixed dma priorities for fmuv5
7 years ago
Andrew Tridgell
4ad757b4d1
HAL_ChibiOS: fixed pincount for F7
7 years ago
Andrew Tridgell
8d2f57898b
HAL_ChibiOS: adjust pin counts for STM32F7
7 years ago
Alexander Malishev
6b15b2f44f
HAL_ChibiOS: Enable sdcard on spi bus
7 years ago
Michael du Breuil
3a62bca7d0
AP_HAL_ChibiOS: Make redefined pins an error, fix FMUv3
7 years ago
Alexander Malishev
03d88b01be
HAL_ChibiOS: added support for interrupt based rcin parsing
7 years ago
Andrew Tridgell
77c922e6b8
HAL_ChibiOS: make embed.py work with python3
7 years ago
Andrew Tridgell
3749480dd8
HAL_ChibiOS: create ap_romfs_embedded.h
...
use ROMFS keywork for romfs files
7 years ago
Alexey Kozin
f87cc4e172
f4by chibios new style dma table build fix
7 years ago
Alexander Malishev
79b5719419
ChibiOS: add support for complementry output timer channels
7 years ago
Alexander Malishev
1b7eecdf2f
ChibiOS: fixed tables for F405 mcu
7 years ago
mirkix
8074361bb8
AP_HAL_ChibiOS: add hardware def for STM32F767xx
7 years ago
Andrew Tridgell
c6d7691667
HAL_ChibiOS: fixed F745 database for new DMA system
7 years ago
Andrew Tridgell
7286ffab77
HAL_ChibiOS: define FLASH_LOAD_ADDRESS in hwdef.h
...
used for bootloader support
7 years ago
Andrew Tridgell
a9edbb6b2d
HAL_ChibiOS: allow for a defaults.parm file in hwdef directory
...
this keeps defaults with the board, where that is appropriate
7 years ago
Andrew Tridgell
6e5cbc7c3d
HAL_ChibiOS: initial support for F745 boards
7 years ago
Andrew Tridgell
551dca63e1
HAL_ChibiOS: added build information for each MCU
...
this abstracts the build information for each MCU, so that hwdef.dat
can control the build process of ChibiOS
7 years ago
Andrew Tridgell
cdbbceb6b6
HAL_ChibiOS: cope with SDMMC peripheral for microSD
7 years ago
Andrew Tridgell
382772d999
HAL_ChibiOS: initial support for ESC serial output
7 years ago
Andrew Tridgell
95a261e061
HAL_ChibiOS: don't generate DMA channels for ALARM pin
7 years ago
Andrew Tridgell
bc32276966
HAL_ChibiOS: support DShot output
...
use DMAR burst DMA to minimise number of DMA channels needed
thanks to betaflight for the great reference implementation!
7 years ago
Andrew Tridgell
294aac6955
HAL_ChibiOS: fixed CTS pulldown
...
we need to pulldown to prevent delays in uart sends
7 years ago
Andrew Tridgell
9a5df6d1f7
HAL_ChibiOS: auto-generate DMA channels for RCIN
...
and add DMA channels for TIMx_UP ready for DMAR based DShot support
7 years ago
Andrew Tridgell
6aff7ecbf5
HAL_ChibiOS: added channel numbers for STM32F4xx MCUs
7 years ago
Andrew Tridgell
da2e79130b
HAL_ChibiOS: generate channel numbers in DMA tables
7 years ago
kozinalexey
5df2b1a3ac
chibios hal config for F4BY
7 years ago
Peter Barker
2efd9341cd
AP_HAL_ChibiOS: copy the common linker script to outdir, use it from there
...
The directory we write the linker script to might not have the correct relative path to reference this common.ld script. So make it reference common.ld in the current directory and copy common.ld to the output directory
7 years ago
Andrew Tridgell
fd6185be0f
HAL_ChibiOS: fixed python3 pickle error
7 years ago
Andrew Tridgell
33dd14b8d9
HAL_ChibiOS: use PULLUP on UART TX/RX lines
...
this can prevent spurious bytes on disconnected pins
7 years ago
Andrew Tridgell
08634903c8
HAL_ChibiOS: use relative path for common.ld
...
this avoids a path length issue under cygwin
7 years ago
Andrew Tridgell
306d35655e
HAL_ChibiOS: allow for bare board builds
...
this allows for a build with no UARTs, no SPI, no I2C, no PWM. Great
for initial board bringup with just USB
7 years ago
Andrew Tridgell
74ed19f460
HAL_ChibiOS: moved more board setup into hwdef.dat
7 years ago