Commit Graph

558 Commits

Author SHA1 Message Date
Andrew Tridgell 633ba4ef20 HAL_ChibiOS: updated to latest hw definitions from master 2018-11-06 08:44:07 +11:00
Andrew Tridgell 2a743df9f1 HAL_ChibiOS: ensure RC in channels are bounded 2018-11-02 22:51:08 +11:00
Andrew Tridgell ea52df3da4 HAL_ChibiOS: fixed LED mapping for fmuv4 2018-10-10 12:55:29 +11:00
Randy Mackay e8f0fe770f AP_HAL_ChibiOS: fix safety switch option handling 2018-10-04 16:14:08 +10:00
Andrew Tridgell bbce83b8b2 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-02 18:49:34 +10:00
Andrew Tridgell e2467a19a5 HAL_ChibiOS: fixed RSSI voltage from IOMCU 2018-09-15 15:45:46 +10:00
Andrew Tridgell cdfef0bbeb HAL_ChibiOS: implement set_failsafe_pwm() 2018-09-13 08:16:10 +10:00
Andrew Tridgell 54c5b6e404 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-11 20:29:48 +10:00
s0up b53dfbc3d2 HAL_ChibiOS: Add speedybee hardware definition 2018-09-07 08:34:40 +10:00
Andrew Tridgell 7897fbc3c1 HAL_ChibiOS: use a larger TX buffer on USB
this is needed for fast log download on vehicles with 50Hz main loop
2018-08-28 08:49:37 +10:00
Andrew Tridgell 3ae4cfbf22 HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix 2018-08-24 19:44:08 +10:00
Andrew Tridgell 765e00faf1 HAL_ChibiOS: reduce memory used by serial buffers
this does not appear to affect log download speed. It saves about 27k
of memory
2018-08-16 17:01:01 +10:00
Alexander Malishev 0da7a7cbda HAL_ChibiOS: restore default dataflash buffer size
This fix log corruption in copter
2018-08-15 10:16:16 +10:00
Andrew Tridgell 4f6a20ce9d HAL_ChibiOS: updated F745 and OmnibusNanoV6 2018-08-06 19:28:13 +10:00
Andrew Tridgell 6e6a47c0fd HAL_ChibiOS: added a DMA reserve heap
this ensures we keep some DMA-capable memory aside for when it is
needed
2018-08-06 16:01:36 +10:00
Andrew Tridgell 4554aee057 HAL_ChibiOS: raise timer thread priority
needs to be above main for guaranteed DShot and oneshot output periods
2018-08-06 11:41:11 +10:00
Andrew Tridgell 98104302a8 HAL_ChibiOS: fixed timing for older ChibiOS version 2018-08-06 11:38:58 +10:00
Andrew Tridgell 40e8453967 HAL_ChibiOS: updated to new tonealarm system 2018-08-06 11:33:43 +10:00
Andrew Tridgell fa856f2191 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:31:40 +10:00
Andrew Tridgell d832d4d311 HAL_ChibiOS: set min dshot separation to 100usec
this fixes a problem with BLHeli32 not recognising dshot
2018-08-06 11:31:39 +10:00
Andrew Tridgell fdc8dca00f 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:31:36 +10:00
Andrew Tridgell a5c0e5c4c1 HAL_ChibiOS: probe all external compasses on mini-pix 2018-07-30 18:11:42 +10:00
Andrew Tridgell 033061121a HAL_ChibiOS: added RC input for OMNIBUSF7V2 2018-07-30 10:49:24 +10:00
Timothy Knab e02950b06b HAL_ChibiOS: Updated OMNIBUSF7V2
Compasses on the I2C bus are now detected properly and GPS on UART3 works.
2018-07-30 10:49:22 +10:00
Andrew Tridgell 40a0decbc2 HAL_ChibiOS: override COMPASS_AUTO_ROT on several boards 2018-07-28 15:36:37 +10:00
Andrew Tridgell e75dfd793b HAL_ChibiOS: only set freq on valid IO channels 2018-07-28 15:26:33 +10:00
Andrew Tridgell 9667e1766f HAL_ChibiOS: added Pixhawk1 build target
this is more obvious to users than fmuv3
2018-07-27 10:04:09 +10:00
Alexander Malishev 06434a48c3 HAL_ChibiOS: fix DTCM size in stm32f745 mcu 2018-07-26 17:53:09 +10:00
Andrew Tridgell 154302cb6d HAL_ChibiOS: rename f4by-ch to F4BY 2018-07-19 12:39:58 +10:00
Alexander Malishev f2ac91ca24 AP_Bootloader: add f4by bootloader 2018-07-19 12:39:57 +10:00
Andrew Tridgell caa553e727 HAL_ChibiOS: fixed internal i2c mask for Pixracer 2018-07-18 12:04:01 +10:00
Andrew Tridgell 59aab9987e HAL_ChibiOS: account for I2C base in compass masks 2018-07-18 12:04:01 +10:00
Alexander Malishev 4342dae065 HAL_ChibiOS: define BOARD_RSSI_ANA_PIN to simpify tuning 2018-07-16 08:29:49 +10:00
Alexander Malishev e04f438ce3 HAL_ChibiOS: fix analog pins on MatekF405 2018-07-16 08:29:49 +10:00
Alexander Malishev 89f7d652e0 HAL_ChibiOS: removed wrong led pin 2018-07-16 08:29:49 +10:00
Andrew Tridgell 9ab55f6838 HAL_ChibiOS: probe for external compasses on several boards
boards that have no internal compass will now probe for all external
compass types
2018-07-14 17:51:50 +10:00
Andrew Tridgell 476bddd9a3 HAL_ChibiOS: use HAL_I2C_INTERNAL_MASK 2018-07-14 17:51:50 +10:00
Andrew Tridgell 7eabee04a3 HAL_ChibiOS: enable OSD on KakuteF7 2018-07-13 14:53:53 +10:00
Andrew Tridgell b96f24c80e HAL_ChibiOS: added KakuteF7
thanks to Huibean for the fixes!
2018-07-13 14:53:53 +10:00
Andrew Tridgell f2d602690e HAL_ChibiOS: fixed build error with some compilers 2018-07-13 08:50:46 +10:00
Andrew Tridgell 83f38d536e HAL_ChibiOS: fixed flow control auto-detect without DMA
this fixes automatic flow control detection when we are not using DMA
for TX
2018-07-13 07:34:30 +10:00
Andrew Tridgell 0201893f7c HAL_ChibiOS: fixed peripheral power-up on fmuv5
we need to do the powerup before we initialise the UARTs
2018-07-13 07:34:30 +10:00
Andrew Tridgell 409e857f6b HAL_ChibiOS: use pullup on CTS line
this makes life less difficult for SiK radios which go into bootloader
mode on low CTS
2018-07-13 07:34:30 +10:00
Andrew Tridgell 11e09a846c HAL_ChibiOS: setup RTS pins as pullup
this prevents RTS pins from keeping SiK radios in bootloader mode on
peripheral powerup
2018-07-13 07:34:30 +10:00
Andrew Tridgell 63a0a4979c HAL_ChibiOS: delay peripheral power on for fmuv5
this should prevent SiK radios staying in the bootloader
2018-07-13 07:34:30 +10:00
Michael du Breuil 6fba374069 AP_HAL_ChibiOS: Remove GPIO::analogPinToDigitalPin() 2018-07-11 23:09:52 -07:00
Andrew Tridgell f083b80700 HAL_ChibiOS: added preallocation of DMA bouncebuffers
we need 512 bytes for microSD
2018-07-12 14:34:04 +10:00
Andrew Tridgell e193a161f2 HAL_ChibiOS: enable SDIOv1 bouncebuffers 2018-07-12 14:34:04 +10:00
Andrew Tridgell f84424cca4 HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards 2018-07-12 12:33:32 +10:00
Andrew Tridgell 721f5d86b1 HAL_ChibiOS: fixed mRoX21 IMU setup 2018-07-12 12:33:32 +10:00