Commit Graph

1177 Commits

Author SHA1 Message Date
Andrew Tridgell ede5cabbf5 HAL_ChibiOS: save 3k of flash on MatekF405-Wing
disable SMBUS and fuel battery monitors
2020-05-06 15:46:13 +09:00
bugobliterator 9073f0ffb4 HAL_ChibiOS: deprecate realloc for ChibiOS build, so as to return error when used 2020-05-06 15:00:51 +09:00
bugobliterator a9ea7ca3dc AP_HAL_ChibiOS: implement standard realloc method 2020-05-06 14:59:45 +09:00
Andrew Tridgell fe8398fe0d HAL_ChibiOS: use default USB IDs for fmuv3 2020-05-06 14:20:50 +09:00
Matt Lawrence e23e798eb9 AP_HAL_ChibiOS: Fix waf --default-parameters
If a defaults.parm file was present in the hwdef, waf ignored the --default-parameters=xyz.parm command line argument.  This will allow it to use that command line argument specified file.
2020-05-06 14:07:00 +09:00
Peter Hall 7dacfcc198 AP_HAL_ChibiOS: add support for ProfiLEDs 2020-04-21 08:03:01 +09:00
Andrew Tridgell 59bf162572 HAL_ChibiOS: reserve plenty of DMA memory for luminousbee4 2020-04-21 08:03:01 +09:00
Andrew Tridgell b219ee453c HAL_ChibiOS: allow more than 32 WS2812 LEDs on a pin 2020-04-21 08:03:01 +09:00
Andrew Tridgell e26860bd09 HAL_ChibiOS: added luminousbee4 flight controller 2020-04-21 08:03:01 +09:00
Peter Barker b9804be01c AP_HAL_ChibiOS: make a static-const hal a reference to the external symbol 2020-03-03 20:35:57 +09:00
Andrew Tridgell 43c8efd820 HAL_ChibiOS: switched to new USB VID for dual-CDC boards 2020-02-20 13:03:57 +11:00
Andrew Tridgell 2ed21b3be1 HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal 2020-02-20 13:03:09 +11:00
Andrew Tridgell 6d8482bc2e HAL_ChibiOS: produce more accurate clocks for DShot and PWM 2020-02-20 13:02:09 +11:00
Andrew Tridgell ca1053a28c HAL_ChibiOS: raised timer clocks to 200MHz
this gives more flexibility in setting up timers for DShot
2020-02-20 13:01:00 +11:00
Andrew Tridgell 7eb106ea07 HAL_ChibiOS: fixed output string for non-DMA capable chan
this fixes a problem where the user requests DShot (which rquired DMA)
on an output channel which cannot allocate a DMA channel. We end up
sending normal PWM, so the string representation of the output modes
should reflect that
2020-02-20 09:39:27 +09:00
Randy Mackay 95ec629923 AP_HAL: add RCOutput::get_output_mode_banner 2020-02-20 09:36:48 +09:00
Andrew Tridgell 77865e9f78 HAL_ChibiOS: fixed spektrum RC input on Pixracer
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
2020-02-05 11:13:30 +09:00
Henry Wurzburg f7cbdb4520 HWDEF: Speedybeef4 change I2C internal mask to 0 to allow probing ext baros 2020-02-05 11:13:30 +09:00
Andrew Tridgell 6489623499 HAL_ChibiOS: fixed skyviper-v2450 build 2020-02-02 08:14:20 +11:00
Andrew Tridgell aff77c86d6 HAL_ChibiOS: fixed bitmask error on storage erase 2020-01-31 19:55:01 +09:00
Andrew Tridgell b5435d6a24 HAL_ChibiOS: use recursive mutex for RCInput 2020-01-31 19:35:53 +09:00
Andrew Tridgell 50a6d63101 HAL_ChibiOS: implement pulse_input_enable()
and cleanup use of mutexes in RC input
2020-01-31 19:35:53 +09:00
Andrew Tridgell 89d0562e9d HAL_ChibiOS: added disable() API for pulse input 2020-01-31 19:35:53 +09:00
Andrew Tridgell 925ce44a6c HAL_ChibiOS: use 4k bouncebuffer for sdcard
match AP_Logger IO size
2020-01-18 16:04:46 +11:00
Andrew Tridgell 15d45397c6 HAL_ChibiOS: adjust dma reserve allocation
use larger target and allow for smaller allocation
2020-01-18 16:04:46 +11:00
Andrew Tridgell 26ced02cd1 HAL_ChibiOS: don't extend alloc of iomcu uart 2020-01-18 16:04:46 +11:00
Andrew Tridgell 6477180e87 HAL_ChibiOS: added checking on bouncebuffer allocation
fail operations if DMA bouncebuffer alloc fails
2020-01-18 16:04:46 +11:00
Andrew Tridgell 30e51c9f64 HAL_ChibiOS: scale uart rx buffer size with baudrate
this ensures we have enough buffer space for a RTK GPS, as well as for
high speed comms with a companion computer
2020-01-08 08:34:35 +11:00
Andrew Tridgell c1f18bc90d HAL_ChibiOS: fixed clock src for I2C4 on H7 2020-01-08 06:05:10 +11:00
Andrew Tridgell a1b1ef4947 HAL_ChibiOS: fixed H7 I2C timing
we were running the clock at too low speed. This affected the SSD1306 display

# Conflicts:
#	libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2019-12-30 14:29:37 +11:00
Andrew Tridgell e4eda95fea HAL_ChibiOS: change CUAVv5Nano volt scale to 18.000 2019-12-23 18:02:59 +09:00
Andrew Tridgell 67cc9b1677 HAL_ChibiOS: removed per-board AP_FEATURE_RTSCTS and AP_FEATURE_SBUS_OUT
not needed any more
2019-12-23 18:02:59 +09:00
Andrew Tridgell fa69ac6458 HAL_ChibiOS: automatically set AP_FEATURE_SBUS_OUT 2019-12-23 18:02:59 +09:00
Andrew Tridgell ee9aadf091 HAL_ChibiOS: automatically set AP_FEATURE_RTSCTS 2019-12-23 18:02:59 +09:00
Andrew Tridgell 20ea63e480 HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
these do not work, possibly a datasheet bug
2019-12-23 19:58:34 +11:00
Andrew Tridgell 093d411ec7 HAL_ChibiOS: switch MatekF765 to timer 12
fixes PWM 5 and 6
2019-12-23 19:58:32 +11:00
Andrew Tridgell 9c6cd15980 HAL_ChibiOS: ensure bootloader flash is multiple of 32 bytes 2019-12-23 17:31:15 +11:00
Andrew Tridgell cac1cc0d9b HAL_ChibiOS: account for empty uarts in uart count
this fixes uart count on MatekF405-Wing
2019-12-21 16:53:56 +11:00
Matt Lawrence 886153abf5 Frame_Params: Fix Solo params for copter 4 2019-12-18 14:08:32 +11:00
Andrew Tridgell 2e0351e74a HAL_ChibiOS: lower gains on CubyOrange and Yellow heater
this should reduce the chance of baro oscillation due to rapid change
in heater temperature
2019-12-16 18:26:22 +11:00
Andrew Tridgell cfc531be8d HAL_ChibiOS: fixed build of SPI clock test 2019-12-16 14:18:55 +09:00
Andrew Tridgell 35dd28ec88 HAL_ChibiOS: fixed handling of 16bit timer wrap
this fixes #12948
2019-12-16 14:17:11 +09:00
Andrew Tridgell e35f253803 HAL_ChibiOS: added assert for systime_t size 2019-12-16 14:17:04 +09:00
Andy Piper cce993e35b AP_HAL_ChibiOS: specify Durdanal IMUs so that ordering is correct 2019-12-16 14:15:25 +09:00
Andrew Tridgell 401dfc3e0e HAL_ChibiOS: update mRoX21-777 I2C mask
all external
2019-12-16 14:03:38 +09:00
Phillip Kocmoud ecdf6f1301 HAL_ChibiOS: update mRoControlZeroF7 I2C mask 2019-12-16 14:00:59 +09:00
Andrew Tridgell fc61cf3d3c HAL_ChibiOS: support LEDs with a wider range of frequencies
this fixed LEDs on FMUv5 boards on first 4 aux channels. We need to
round up not round down in the resulting bitrate
2019-12-16 13:52:17 +09:00
Andrew Tridgell 49eb2de591 HAL_ChibiOS: setup define for number of serial ports 2019-12-16 13:51:39 +09:00
Andrew Tridgell 096a624301 HAL_ChibiOS: retain OPENDRAIN if set on a pin
this allows OPENDRAIN when set on a pin to be retained when set with a
pinMode(). This fixes a partially lit B/E LED on the Pixhawk4
2019-12-16 13:49:42 +09:00
Andrew Tridgell aca7d67172 HAL_ChibiOS: enable MatekF765 LED pin
- use tonealarm for buzzer
 - add more baro options
2019-12-16 13:38:21 +09:00