Commit Graph

36511 Commits

Author SHA1 Message Date
Andrew Tridgell 94abc5a54d HAL_ChibiOS: fixed DShot on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 26e76e51ed HAL_ChibiOS: fixed H7 build with older compilers 2019-02-26 16:18:26 +11:00
Andrew Tridgell 70930cca29 HAL_ChibiOS: fixed bootloader build with gcc 4.9 2019-02-26 16:18:26 +11:00
Andrew Tridgell 723e8a23fc HAL_ChibiOS: enable HSE_BYPASS for NucleoH743 2019-02-26 16:18:26 +11:00
Andrew Tridgell f8aeeb0333 HAL_ChibiOS: adjust clock tree to be more consistent
use 96MHz for all peripheral buses
2019-02-26 16:18:26 +11:00
Andrew Tridgell 5dd82f1d63 HAL_ChibiOS: adjust 16MHz HSE settings for H743 (CubeH7) 2019-02-26 16:18:26 +11:00
Andrew Tridgell a1232975c2 ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
Andrew Tridgell b0f4494c4a HAL_ChibiOS: fixed DMA on SPI for Pixhawk4Pro 2019-02-26 16:18:26 +11:00
Andrew Tridgell 518476dba9 Tools: update Pixhawk4Pro bootloader 2019-02-26 16:18:26 +11:00
Andrew Tridgell ec2c742523 Tools: added Holybro to supported USB IDs for upload 2019-02-26 16:18:26 +11:00
Andrew Tridgell 312597ac20 HAL_ChibiOS: fixed default batt2 pins for fmuv5 2019-02-26 16:18:26 +11:00
Andrew Tridgell 584e36e360 HAL_ChibiOS: switch Holybro to their own VID 2019-02-26 16:18:26 +11:00
Andrew Tridgell 9966fbea0f HAL_ChibiOS: fixed bootloader build error 2019-02-26 16:18:26 +11:00
Andrew Tridgell 2c316b0354 ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
Andrew Tridgell 8e745f74fb HAL_ChibiOS: support SPI6 on Pixhawk4Pro 2019-02-26 16:18:26 +11:00
Andrew Tridgell 75cd20aea4 HAL_ChibiOS: handle DMAMUX2 on H7
with BDMA
2019-02-26 16:18:26 +11:00
Andrew Tridgell e43ad56920 HAL_ChibiOS: fixed Pixhawk4Pro battery defaults 2019-02-26 16:18:26 +11:00
Andrew Tridgell 6c7e3c1ecd ChibiOS: submodule update
added TIM15 for H7
2019-02-26 16:18:26 +11:00
Andrew Tridgell 87e7ea368f HAL_ChibiOS: fixed battery monitoring and buzzer for Pixhawk4Pro 2019-02-26 16:18:26 +11:00
Andrew Tridgell 542372014e HAL_ChibiOS: enable SPI5 on Pixhawk4Pro 2019-02-26 16:18:26 +11:00
Andrew Tridgell 778d892fc2 HAL_ChibiOS: fixed dma resolved for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell c5fc3d6b0f ChibiOS: fixed SPIv3 polled mode 2019-02-26 16:18:26 +11:00
Andrew Tridgell bf783e73ab HAL_ChibiOS: use polled SPI for Pixhawk4Pro for now
and disable sensors rail till later in startup
2019-02-26 16:18:26 +11:00
Andrew Tridgell 807d9e4b92 HAL_ChibiOS: added optional polled SPI mode 2019-02-26 16:18:26 +11:00
Andrew Tridgell 9a2c19285d ChibiOS: switch to stable-19.1 branch 2019-02-26 16:18:26 +11:00
Andrew Tridgell 202e6d38c4 AP_Logger: fixed race condition with multi-thread AP_Logger 2019-02-26 16:18:26 +11:00
Andrew Tridgell bd47aba5ca HAL_ChibiOS: reduced delay time in main loop to 50us
this allows for faster loop rates, and seems to be enough in testing
2019-02-26 16:18:26 +11:00
Andrew Tridgell 958b1032c5 ChibiOS: submodule update
removed I2Cv2 mixed DMA support. It hangs on F765
2019-02-26 16:18:26 +11:00
Andrew Tridgell e92c66418d HAL_ChibiOS: fixed bouncebuffer code on STM32F7 2019-02-26 16:18:26 +11:00
Andrew Tridgell ef3306d408 Copter: fixed crash on mavlink send before pos_control is allocated 2019-02-26 16:18:26 +11:00
Andrew Tridgell a3e69e715d HAL_ChibiOS: avoid doing one-way SPI transfers
these transfers use dummy bytes in the hal driver, which may not be in
DMA safe memory, so best to avoid them
2019-02-26 16:18:26 +11:00
Andrew Tridgell dad1774330 HAL_ChibiOS: fixed channel selection for F4/F7 uart driver 2019-02-26 16:18:26 +11:00
Andrew Tridgell a9b3f32fc8 ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
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
2019-02-26 16:18:26 +11:00
Andrew Tridgell 664e92ed7e AP_IOMCU: fixed build warnings 2019-02-26 16:18:26 +11:00
Andrew Tridgell 2b285089e9 AP_InertialSensor: widen allowable temp gap on invensense IMUs
some sensors have more temperature noise
2019-02-26 16:18:26 +11:00
Andrew Tridgell 5f88340919 HAL_ChibiOS: fixed flash build warning 2019-02-26 16:18:26 +11:00
Andrew Tridgell 9379e2c1ad ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
Andrew Tridgell c474872bae Tools: updated H7 bootloaders 2019-02-26 16:18:26 +11:00
Andrew Tridgell 8a40ee8132 HAL_ChibiOS: fixed idle wait on H7 flash program 2019-02-26 16:18:26 +11:00
Andrew Tridgell e5efbffe5b waf: pad bootloader to multiple of 32 bytes
this ensures that we can write a whole flash line when updating
bootloader from ROMFS
2019-02-26 16:18:26 +11:00
Andrew Tridgell 1d6c877c3c HAL_ChibiOS: set board type on PH4Pro 2019-02-26 16:18:26 +11:00
Andrew Tridgell 6177129e41 HAL_ChibiOS: fixed typo in dma_resolver.py 2019-02-26 16:18:26 +11:00
Andrew Tridgell 4e067ee3cd HAL_ChibiOS: fixed DMA on TIM12 for Pixhawk4Pro 2019-02-26 16:18:26 +11:00
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