Commit Graph

871 Commits

Author SHA1 Message Date
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 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 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 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 c36f677c94 HAL_ChibiOS: initial hwdef for Pixhawk4Pro 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
Andrew Tridgell 4b01e2c3b3 HAL_ChibiOS: fixed clock tree for no LSE on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 3c9ba02ce9 HAL_ChibiOS: fixed H7 flash 2019-02-26 16:18:26 +11:00
Andrew Tridgell 8c55f7bc49 HAL_ChibiOS: enable debug on SD7 for bootloader for NucleoH743 2019-02-26 16:18:26 +11:00
Andrew Tridgell 599a1a3d67 HAL_ChibiOS: adapt analog driver for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 52b47e499b HAL_ChibiOS: fixed H7 clock tree for ADC driver 2019-02-26 16:18:26 +11:00
Andrew Tridgell de335f14d7 HAL_ChibiOS: fixed GPIO init for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 1fa0a2eeca HAL_ChibiOS: fixed peripheral enables on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell acf77ba49a HAL_ChibiOS: fixed dma resolver for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell d9c888ab45 HAL_ChibiOS: port SPI, I2C and UART drivers to H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell ae448a6932 HAL_ChibiOS: enable DMA checking on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 51b4d54f70 HAL_ChibiOS: disable show_stack_usage in bootloader 2019-02-26 16:18:26 +11:00
Andrew Tridgell 5201fdf653 HAL_ChibiOS: adjust for changed flash API 2019-02-26 16:18:26 +11:00
Andrew Tridgell 565706cf7e HAL_ChibiOS: fixed H7 flash handling 2019-02-26 16:18:26 +11:00
Andrew Tridgell c2746ca9f9 HAL_ChibiOS: simplify H7 hwdef.dat 2019-02-26 16:18:26 +11:00
Andrew Tridgell 84ac98622c HAL_ChibiOS: fixed charset issue in H7 database 2019-02-26 16:18:26 +11:00
Andrew Tridgell 227ecc53ac HAL_ChibiOS: support mcuconf for STM32H7 MCU 2019-02-26 16:18:26 +11:00
Andrew Tridgell 972ae519a6 HAL_ChibiOS: added minimal hwdef for STM32H743 Nucleo board 2019-02-26 16:18:26 +11:00
Andrew Tridgell aab911ac50 HAL_ChibiOS: added hwdef database for STM32H743 2019-02-26 16:18:26 +11:00
Andrew Tridgell 1b06b0f41c HAL_ChibiOS: fixed F765 build 2019-02-26 16:18:26 +11:00
Andrew Tridgell ceb0ec70f9 HAL_ChibiOS: disable pipes API
not used
2019-02-26 16:18:26 +11:00
Andrew Tridgell bbd25350eb HAL_ChibiOS: support ChibiOS kernel major 6
preparing for STM32H7 support
2019-02-26 16:18:26 +11:00
Andrew Tridgell 908b444a50 HAL_ChibiOS: update halconf for VER_7_0 API 2019-02-26 16:18:26 +11:00
Andrew Tridgell 247bb433ec HAL_ChibiOS: update chconf.h for VER_6_0 API 2019-02-26 16:18:26 +11:00
Andrew Tridgell 17d804f051 HAL_ChibiOS: fixed GPIO numbering for KakuteF4 2019-02-22 11:34:43 +11:00
Stephen Dade de37e2e179 HAL_ChibiOS: Corrected servo output order for KakuteF4 2019-02-22 11:34:43 +11:00
Andrew Tridgell 70a10c6375 HAL_ChibiOS: adjust TBS-F7 bootloader setup 2019-02-22 10:27:17 +11:00
Andrew Tridgell 5319fbb52b HAL_ChibiOS: enable heater pin on TBS-Colibri-F7 2019-02-22 10:27:17 +11:00
Andrew Tridgell dde97d2b0e HAL_ChibiOS: support FMU heater pins 2019-02-22 10:27:17 +11:00
Andrew Tridgell 27a1fec911 HAL_ChibiOS: TBS-F7 is active low on sd power 2019-02-22 10:27:17 +11:00
Andrew Tridgell 94bace91a4 HAL_ChibiOS: bring up sensors rail after boot on TBS F7
this prevents a reset loop on GPIO config
2019-02-22 10:27:17 +11:00
Andrew Tridgell 025bd7e0d8 HAL_ChibiOS: added support for TBS-Colibri-F7
This is a fmuv5 board varient
2019-02-22 10:27:17 +11:00
Peter Barker 8cfedd8b46 AP_HAL_ChibiOS: implement 'uint16_t millis16' 2019-02-19 11:17:04 +11:00
Andrew Tridgell 54ffeef20e HAL_ChibiOS: fixed pixhawk4 i2c bus numbers 2019-02-12 15:20:36 +11:00
Andrew Tridgell 5ab75b5ccb HAL_ChibiOS: updated Pixhawk4 pinout 2019-02-12 15:17:27 +11:00
Tom Pittenger 548a579f18 AP_HAL_ChibiOS: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Andrew Tridgell ee97f0dccd HAL_ChibiOS: setup power brick on mini-pix by default 2019-02-10 19:51:51 +11:00
Andrew Tridgell bb76143095 HAL_ChibiOS: fixed mini-pix uart order 2019-02-04 08:21:58 +11:00
Siddharth Purohit 2792f015b9 HAL_ChibiOS: disable SLCAN for minimize feature enabled 2019-01-29 13:40:35 +09:00
Andrew Tridgell ff52ceabba HAL_ChibiOS: fixed default volt and current pins for VRBrain 2019-01-24 18:41:38 +11:00
LukeMike e15d2c0f89 HAL_ChibiOS: added ChibiOS configuration of VR Brain 5.4 2019-01-24 18:41:38 +11:00
LukeMike 33f7f5b7b6 HAL_ChibiOS: added ChibiOS configuration for VR Core 1.0 2019-01-24 18:41:38 +11:00
LukeMike f615ab9a0a HAL_ChibiOS: added ChibiOS configuration for VR Brain 5.1 2019-01-24 18:41:38 +11:00
LukeMike db61e50fe8 HAL_ChibiOS: fixed USB_PRODUCT for VR Brain 5.2 2019-01-24 18:41:38 +11:00
Siddharth Purohit e12cb58b21 HAL_ChibiOS: run code formatter on CANSerialRouter 2019-01-23 15:57:05 +11:00
Siddharth Purohit e1a9094bf6 HAL_ChibiOS: CANSerialRouter allow for changing serial port for the same boot 2019-01-23 15:57:05 +11:00
Siddharth Purohit a6b01901f1 HAL_ChibiOS: flush serial bus during switching to and from SLCAN 2019-01-23 15:57:05 +11:00
Siddharth Purohit 664c952460 HAL_ChibiOS: disable code for CAN for non UAVCAN supported 2019-01-23 15:57:05 +11:00
Siddharth Purohit f6d165d8c1 HAL_ChibiOS: CANSerialRouter unlock the port in timer 2019-01-23 15:57:05 +11:00
Siddharth Purohit b5fbdc9888 HAL_ChibiOS: invoke serial data event signal for non dma ports as well 2019-01-23 15:57:05 +11:00
Siddharth Purohit 32a71cef92 ChibiOS: add support for timeout and closing SLCAN 2019-01-23 15:57:05 +11:00
Siddharth Purohit 5cefd251f9 ChibiOS: add CAN to Serial bus router 2019-01-23 15:57:05 +11:00
Siddharth Purohit 8f964b08b0 ChibiOS: move CAN driver code into HAL 2019-01-23 15:57:05 +11:00
Andrew Tridgell 18e97bd895 HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini
the silent pins floating disabled CAN
2019-01-23 13:24:13 +11:00
Andrew Tridgell f98bfb1a35 HAL_ChibiOS: enable flash logging on Omnibus and speedybeef4 2019-01-23 09:00:42 +11:00
Andrew Tridgell c9bab2f36e HAL_ChibiOS: enable dataflash logging on AirbotF4 2019-01-21 21:57:21 +11:00
Andrew Tridgell 7219ec3482 HAL_ChibiOS: enabled df logging on revo and sparky2 2019-01-21 21:57:21 +11:00
Andrew Tridgell 2882e5d5e1 HAL_ChibiOS: enable dataflash logging on KakuteF4 2019-01-21 21:57:21 +11:00
Andrew Tridgell 2765f6e8f0 HAL_ChibiOS: setup APJ board IDs in environment 2019-01-19 17:19:41 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Andrew Tridgell b8aa6e5834 HAL_ChibiOS: rename VRBrain hwdef folders
nicer names in fw download
2019-01-18 11:49:19 +11:00
LukeMike aa0a2aaba2 HAL_ChibiOS: final base configuration of the Brain VR Micro Brain 5.1.
- Bootloader (32k) - Tested
- 3 UART (GPS, Telemetry and AUX - debug enable on Telemetry) - Tested
- MS5611 driver - Tested
- MPU600 driver - Tested
- HMC5883 External - Tested
- SD Card - Tested
- Parameters on Flash (32k reserved) - Tested
- Buzzer (no timer available for tonealarm) - Tested
- External LEDs (Arm and GPS) - Tested
- OnBord LEDs - Tested
- 2 Relay (from 33 to 34) - Tested
- Voltage Battery Monitor - Tested
- 14 PWM available (GPIO mapped from 50 to 63) - Tested
2019-01-18 11:49:19 +11:00
LukeMike 9f3b57f7eb HAL_ChibiOS: final base configuration of the Brain VR board 5.2.
- Bootloader (16k) - Tested
- 3 UART (GPS, Telemetry and AUX - debug enable on Telemetry) - Tested
- MS5611 driver - Tested
- MPU600 driver - Tested
- HMC5883 Internal and External - Tested
- SD Card - Tested
- RAMTRON - Tested
- Buzzer (no timer available for tonealarm) - Tested
- External LEDs (Arm and GPS) - Tested
- OnBord LEDs - Tested
- 3 Relay (from 33 to 35) - Tested
- Voltage and Current Battery Monitor - Tested
- 14 PWM available (GPIO mapped from 50 to 63) - Tested
2019-01-18 11:49:19 +11:00
LukeMike 2146368e7c HAL_ChibiOS: added ChibiOS support for VR Micro Brain 5.1 2019-01-18 11:49:19 +11:00
LukeMike 13d1d281e1 HAL_ChibiOS: added ChibiOS support for VR Brain 5.2 2019-01-18 11:49:19 +11:00