Commit Graph

545 Commits

Author SHA1 Message Date
Jonathan Challinger b02d58444f AP_HAL_ChibiOS: add define HAL_CHIBIOS_ARCH_CUBEBLACK to cubeblack hwdef 2019-04-24 11:47:08 +10:00
Andrew Tridgell f04efe7985 HAL_ChibiOS: allocate threads from any heap
this fixes a failure on MatekF405-Wing where it fails to allocate the
SPI thread for the IMU
2019-02-27 11:59:45 +11:00
Andrew Tridgell 5a0e0179d8 HAL_ChibiOS: fixed mini-pix uart order 2019-02-09 16:02:08 +11:00
Andrew Tridgell 2f7121a073 HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini
the silent pins floating disabled CAN
2019-02-09 16:02:08 +11:00
Andrew Tridgell b72378db9c HAL_ChibiOS: setup APJ board IDs in environment 2019-02-09 12:27:35 +09:00
Andrew Tridgell fa365b6f8d HAL_ChibiOS: disable USART6_TX on fmuv5
this prevents it acting as a pullup on SBUS input for Pixhawk4. Thanks
to David Sidrane for the suggestion.

This also enables the extra 3 PWMs for PH4-mini
2019-01-18 09:45:00 +11:00
Andrew Tridgell 55e362e470 AP_HAL_ChibiOS: Fix FMUv2 LED lighting up 2019-01-14 12:22:47 +11:00
Andrew Tridgell ee87621ed4 HAL_ChibiOS: fixes for DrotekP3Pro 2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez dd66c8919c HAL_ChibiOS: add MCU tables for STM32F469 2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez 3a06e866a7 HAL_ChibiOS: add DrotekP3Pro hardware definitions 2019-01-11 12:02:59 +11:00
Andrew Tridgell 9ed3e9eec5 HAL_ChibiOS: fixed build of sdcard 2019-01-11 09:48:16 +09:00
Andrew Tridgell 02987b7614 HAL_ChibiOS: try to mount microSD after boot 2019-01-11 09:48:16 +09:00
Andrew Tridgell 638b3b80d2 HAL_ChibiOS: log stdout to USB on mindpx-v2 2019-01-11 09:48:16 +09:00
Andrew Tridgell ff67c83bc1 HAL_ChibiOS: allow mount of microSD after boot
when disarmed, try to mount sd card every 3s
2019-01-11 09:48:16 +09:00
Andrew Tridgell da21947fe9 HAL_ChibiOS: fixed card inserted test for SDC 2019-01-11 09:48:16 +09:00
Andrew Tridgell 6fb84cfa6b HAL_ChibiOS: support microSD slowdown
allow use of BRD_SD_SLOWDOWN to slow down clock on microSD
2019-01-11 09:48:16 +09:00
Siddharth Purohit 043c303146 HAL_ChibiOS: add CubePurple/PH2Slim board config 2019-01-11 09:16:16 +09:00
Andrew Tridgell 0ee8a8d93c HAL_ChibiOS: switched fmuv5 firmware to ChibiOS IO fw
so users installing fmuv5 on a Pixhawk4 get the SBUS fixes
2018-12-31 08:10:19 +11:00
Andrew Tridgell f303e5b659 HAL_ChibiOS: fixed safety switch and LEDs on PH4-mini
fixes #10127
2018-12-31 08:06:43 +11:00
Andrew Tridgell 2c75272019 HAL_ChibiOS: setup PH4 for right voltage scaling 2018-12-18 11:02:18 +11:00
Andrew Tridgell 258f472028 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
2018-12-14 15:49:11 +11:00
Andrew Tridgell 3ffee081a4 HAL_ChibiOS: added palReadLineMode() function
used to change and restore line modes
2018-12-14 15:49:08 +11:00
Andrew Tridgell 5e162cb0e1 HAL_ChibiOS: use ChibiOS IO firmware for Pixhawk4 2018-11-28 09:12:19 +11:00
Andrew Tridgell 352a7667a7 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
2018-11-28 09:10:10 +11:00
Andrew Tridgell 0717dddc46 HAL_ChibiOS: bring copter stable up to date with hwdef.dat
this fixes GPIO numbering, fixes terrain on some boards and adds some
new boards
2018-11-05 19:36:40 +11:00
Andrew Tridgell b55df3a8ee HAL_ChibiOS: ensure RC in channels are bounded 2018-11-05 17:24:19 +09:00
Andrew Tridgell e4a4828203 HAL_ChibiOS: fixed LED mapping for fmuv4 2018-10-29 14:07:30 +11:00
Randy Mackay 6e8e3cdbb2 AP_HAL_ChibiOS: update kakutef7 hwdef
This makes the kakutef7 the same as master commit bb99165
2018-10-26 16:16:36 +10:00
Randy Mackay e8e82e99d3 AP_HAL_ChibiOS: fix safety switch option handling 2018-10-05 10:25:11 +09:00
Andrew Tridgell 4a1348a432 HAL_ChibiOS: fixed a race in DShot code
this fixes a problem found by Daniel Met with the copter 3.6 beta
release
2018-10-05 10:24:59 +09:00
Andrew Tridgell 2f637225f2 HAL_ChibiOS: fixed RSSI voltage from IOMCU 2018-10-01 11:54:43 +09:00
Andrew Tridgell 313baec2fd HAL_ChibiOS: fixed ADC bug
this caused bad analog readings when the number of channels being read
was more than the number of hw channels

thanks to @vierfuffzig for reporting!
2018-09-15 10:06:39 +09:00
Andrew Tridgell 2fb84b22c6 HAL_ChibiOS: updated F745 and OmnibusNanoV6 2018-08-06 19:27:19 +10:00
Andrew Tridgell c249e26a03 HAL_ChibiOS: added a DMA reserve heap
this ensures we keep some DMA-capable memory aside for when it is
needed
2018-08-06 15:58:51 +10:00
Andrew Tridgell d1c271cd13 HAL_ChibiOS: raise timer thread priority
needs to be above main for guaranteed DShot and oneshot output periods
2018-08-06 11:40:38 +10:00
Andrew Tridgell bc2b5661c8 HAL_ChibiOS: fixed build 2018-08-06 11:40:03 +10:00
Andrew Tridgell e4c9257e6f HAL_ChibiOS: fixed dshot bad frames
adding a pre-bit on the DMAR, and ensuring that all groups are setup
for DMA together fixes the remaining bad frames reports in BLHeli32
2018-08-06 11:17:15 +10:00
Andrew Tridgell 660985db8e HAL_ChibiOS: set min dshot separation to 100usec
this fixes a problem with BLHeli32 not recognising dshot
2018-08-06 11:17:11 +10:00
Andrew Tridgell 4db2c4a380 HAL_ChibiOS: fixed timeout of serial read bytes
this allows for fast timeout of serial read bytes in BLHeli pass-thru
2018-08-06 11:17:05 +10:00
Andrew Tridgell 1bc1f33cad HAL_ChibiOS: updates to hwdef.dat from plane3.9.0 2018-08-02 12:39:01 +09:00
Andrew Tridgell b1b6061ad4 HAL_ChibiOS: updated to new tonealarm system 2018-08-02 12:38:58 +09:00
Andrew Tridgell b2f4cccd52 HAL_ChibiOS: update to plane3.9.0beta6 2018-08-02 12:38:31 +09:00
Andrew Tridgell 97dae1a03d HAL_ChibiOS: update to match plane 3.9.0beta6 2018-08-02 12:38:27 +09:00
Andrew Tridgell b4bd0adfad HAL_ChibiOS: account for I2C base in compass masks 2018-07-31 14:26:56 +10:00
Andrew Tridgell 630dc96d0b HAL_ChibiOS: fixed internal i2c mask for Pixracer 2018-07-31 14:26:49 +10:00
Timothy Knab 0dad18f014 HAL_ChibiOS: Updated OMNIBUSF7V2
Compasses on the I2C bus are now detected properly and GPS on UART3 works.
2018-07-31 14:24:39 +10:00
Andrew Tridgell fa4d125727 HAL_ChibiOS: only set freq on valid IO channels 2018-07-31 14:24:27 +10:00
Andrew Tridgell a8302911b5 HAL_ChibiOS: added Pixhawk1 build target
this is more obvious to users than fmuv3
2018-07-31 14:24:17 +10:00
Alexander Malishev 95d3dae64a HAL_ChibiOS: fix DTCM size in stm32f745 mcu 2018-07-31 14:24:11 +10:00
Andrew Tridgell 34fd3a9bcf HAL_ChibiOS: changed uart order for KakuteF4
thanks to feedback from Arther
2018-07-12 11:50:30 +10:00