Commit Graph

36467 Commits

Author SHA1 Message Date
Andrew Tridgell dd835f5fce HAL_ChibiOS: optimize for speed on more boards 2019-02-26 16:18:26 +11:00
Andrew Tridgell 34a7812416 HAL_ChibiOS: use -O3 on boards with 2M flash 2019-02-26 16:18:26 +11:00
Andrew Tridgell b07ba37359 HAL_ChibiOS: pass optimization to ChibiOS build 2019-02-26 16:18:26 +11:00
Andrew Tridgell 3c9646dfef waf: allow hwdef.dat to override build optimization 2019-02-26 16:18:26 +11:00
Andrew Tridgell 77d4e1f796 HAL_ChibiOS: removed ID_ANY streams for H7
use generated map instead
2019-02-26 16:18:26 +11:00
Andrew Tridgell ee1d2e8edb HAL_ChibiOS: adjust H743 DMA settings 2019-02-26 16:18:26 +11:00
Andrew Tridgell cb77b06460 HAL_ChibiOS: generate a dma map for H7
this allows for DMA sharing, allowing for more peripherals with DMA
2019-02-26 16:18:26 +11:00
Andrew Tridgell 423ad60c47 HAL_ChibiOS: enable all DMAs on Pixhawk4Pro 2019-02-26 16:18:26 +11:00
Andrew Tridgell 718cf4377d HAL_ChibiOS: reduce DMA count until we can share 2019-02-26 16:18:26 +11:00
Andrew Tridgell 0c01375799 HAL_ChibiOS: enable IOMCU for CubeH7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 9647a68c9e HAL_ChibiOS: fixed UART RX DMA for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 787903da50 ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
Andrew Tridgell 6422068e6b HAL_ChibiOS: fixed analog input on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell efc8da9f9a HAL_ChibiOS: enable TX DMA on uarts on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 231117e9b1 HAL_ChibiOS: invalidate before read on rx, not on DMA setup
more efficient, as we only invalidate what was used
2019-02-26 16:18:26 +11:00
Andrew Tridgell 071d5e01af HAL_ChibiOS: added DMAMUX channel assignment calls 2019-02-26 16:18:26 +11:00
Andrew Tridgell f4e31ce65b HAL_ChibiOS: added more cache flush ops 2019-02-26 16:18:26 +11:00
Andrew Tridgell 46787fe7d8 HAL_ChibiOS: adjust clocks for H743 2019-02-26 16:18:26 +11:00
Andrew Tridgell 8e52ed4e9b HAL_ChibiOS: update Pixhawk4Pro hwdef 2019-02-26 16:18:26 +11:00
Andrew Tridgell b662adf8cc HAL_ChibiOS: setup sensors on NucleoH743 2019-02-26 16:18:26 +11:00
Andrew Tridgell c0e47754fa HAL_ChibiOS: enable more peripherals on CubeH7 2019-02-26 16:18:26 +11:00
Andrew Tridgell bd27d7fc26 HAL_ChibiOS: fixed build on F4 2019-02-26 16:18:26 +11:00
Andrew Tridgell d6bedc3bdf HAL_ChibiOS: use ifndef on more peripheral types 2019-02-26 16:18:26 +11:00
Andrew Tridgell 6fb40a9713 HAL_ChibiOS: set FPU=hard if not set elsewhere 2019-02-26 16:18:26 +11:00
Andrew Tridgell f753669a58 HAL_ChibiOS: improved check for DTCM ram 2019-02-26 16:18:26 +11:00
Andrew Tridgell e71514c136 waf: allow for no param default support
this allows apj files to be built for example fw
2019-02-26 16:18:26 +11:00
Andrew Tridgell ee83f228e1 Tools: added H743 and pixracer CPUInfo output 2019-02-26 16:18:26 +11:00
Andrew Tridgell c67ec11cc5 Tools: improved CPUInfo test 2019-02-26 16:18:26 +11:00
Andrew Tridgell 0cd8840866 ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
Andrew Tridgell 57c573552c HAL_ChibiOS: check for logger instance before use 2019-02-26 16:18:26 +11:00
Andrew Tridgell 7c61d66d75 HAL_ChibiOS: fixed SPI clocks on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell ca221e7e7a HAL_ChibiOS: cleanup shared DMA code 2019-02-26 16:18:26 +11:00
Andrew Tridgell dd8115c9b4 HAL_ChibiOS: check for already allocated TX dma in UART driver 2019-02-26 16:18:26 +11:00
Andrew Tridgell a4687930b0 HAL_ChibiOS: enable FRAM for storage 2019-02-26 16:18:26 +11:00
Andrew Tridgell 37bcd6e7d8 HAL_ChibiOS: default to timer 5 for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell dcc038dc83 AP_HAL: prevent a zero length leading buffer in peekiovec 2019-02-26 16:18:26 +11:00
Andrew Tridgell d96142a37e HAL_ChibiOS: allow double allocate call in RCOutput 2019-02-26 16:18:26 +11:00
Andrew Tridgell c02a271c8a HAL_ChibiOS: fixed shared DMA for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 4c7fa7c6fb HAL_ChibiOS: make SPI clock test non-blocking 2019-02-26 16:18:26 +11:00
Andrew Tridgell e6b41fbe0b HAL_ChibiOS: added initial CubeH7 hwdef 2019-02-26 16:18:26 +11:00
Andrew Tridgell e581be8df7 HAL_ChibiOS: optionally disable DCache on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 46cb506a22 HAL_ChibiOS: added cache management for H7 in bouncebuffer code 2019-02-26 16:18:26 +11:00
Andrew Tridgell 50b7b7beb5 HAL_ChibiOS: disable DTCM on H7 for now
DTCM doesn't allow for DMA yet
2019-02-26 16:18:26 +11:00
Andrew Tridgell ff21508ce8 HAL_ChibiOS: ensure 32 byte alignment for DMA on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 33699d4f4a HAL_ChibiOS: fixed shared_dma for H7
stream ID any doesn't need to be locked
2019-02-26 16:18:26 +11:00
Andrew Tridgell af78ac1abf AP_Bootloader: disable debug printf 2019-02-26 16:18:26 +11:00
Andrew Tridgell c36f677c94 HAL_ChibiOS: initial hwdef for Pixhawk4Pro 2019-02-26 16:18:26 +11:00
Andrew Tridgell 3c24bec5f5 Tools: added initial bootloaders for H743 boards 2019-02-26 16:18:26 +11:00
Andrew Tridgell 5faec2f869 HAL_ChibiOS: removed HSE bypass for NucleoH743
not needed any more
2019-02-26 16:18:26 +11:00
Andrew Tridgell 0691e23219 HAL_ChibiOS: setup some sensors on NucleoH743 2019-02-26 16:18:26 +11:00