Commit Graph

814 Commits

Author SHA1 Message Date
Andrew Tridgell c9d5b8056e HAL_ChibiOS: resync for 4.0 update 2020-05-11 18:15:42 +10:00
Andrew Tridgell f1ae653159 HAL_ChibiOS: switch non-composite USB ID
use newly allocated 0x1209/0x5740
2020-05-11 18:15:42 +10:00
Andrew Tridgell 6968d67a05 HAL_ChibiOS: set CS pins high while in bootloader
this appears to be the root cause of the parameter resets on
CubeOrange. We need to ensure the CS pin is not floating or random
noise on the SPI bus for FRAM can cause the FRAM to become corrupt
2020-05-11 18:15:40 +10:00
Andrew Tridgell d2bd985cd5 HAL_ChibiOS: save 3k of flash on MatekF405-Wing
disable SMBUS and fuel battery monitors
2020-05-11 18:15:40 +10:00
bugobliterator cec3da0df1 HAL_ChibiOS: deprecate realloc for ChibiOS build, so as to return error when used 2020-05-11 18:15:40 +10:00
Andrew Tridgell 7e3d7e4484 HAL_ChibiOS: use default USB IDs for fmuv3 2020-05-11 18:15:39 +10:00
Matt Lawrence 5837217c32 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-11 18:15:39 +10:00
Andrew Tridgell ba4c094d07 HAL_ChibiOS: reserve plenty of DMA memory for luminousbee4 2020-05-11 18:15:39 +10:00
Andrew Tridgell 86bee3cc4e HAL_ChibiOS: added luminousbee4 flight controller 2020-05-11 18:15:39 +10:00
Andrew Tridgell 81cd2b9d97 HAL_ChibiOS: switched to new USB VID for dual-CDC boards 2020-02-23 07:43:01 +11:00
Andrew Tridgell 54a41cf8ab HAL_ChibiOS: raised timer clocks to 200MHz
this gives more flexibility in setting up timers for DShot
2020-02-23 07:42:02 +11:00
Andrew Tridgell 8a63c8b255 HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal 2020-02-05 12:49:10 +11:00
Andrew Tridgell f3066c978d HAL_ChibiOS: fixed spektrum RC input on Pixracer
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
2020-02-05 10:51:31 +11:00
Andrew Tridgell 6d9a875d5d HAL_ChibiOS: removed per-board AP_FEATURE_RTSCTS and AP_FEATURE_SBUS_OUT
not needed any more
2020-02-05 10:51:30 +11:00
Andrew Tridgell 4fb288eb81 HAL_ChibiOS: automatically set AP_FEATURE_SBUS_OUT 2020-02-05 10:51:30 +11:00
Andrew Tridgell 339d56f7f6 HAL_ChibiOS: account for empty uarts in uart count
this fixes uart count on MatekF405-Wing
2020-02-05 10:51:30 +11:00
Matt Lawrence f9fa091cc6 Frame_Params: Fix Solo params for copter 4 2020-02-05 10:51:30 +11:00
Andrew Tridgell 69b199cefa HAL_ChibiOS: lower gains on CubyOrange and Yellow heater
this should reduce the chance of baro oscillation due to rapid change
in heater temperature
2020-02-05 10:51:30 +11:00
Andrew Tridgell caa06b62df HAL_ChibiOS: setup define for number of serial ports 2020-02-05 10:51:29 +11:00
Andrew Tridgell 06ab862a33 HAL_ChibiOS: removed CAN_APP_VERSION_MAJOR from hwdef.dat 2020-02-05 10:51:28 +11:00
Andrew Tridgell 322cd745fc HAL_ChibiOS: set correct APJ_BOARD_ID for ZubaxGNSS 2020-02-05 10:51:28 +11:00
Andrew Tridgell e276031faa HAL_ChibiOS: support uncompressed bootloader on f103-periph
this allows update with very low memory
2020-02-05 10:43:37 +11:00
Andrew Tridgell 29856d4ff3 HAL_ChibiOS: tweak stack on f103-periph 2020-02-05 10:43:37 +11:00
Andrew Tridgell bfad1749d8 HAL_ChibiOS: enable ROMFS for ZubaxGNSS and f103-periph
this allows for bootloader update
2020-02-05 10:43:37 +11:00
Andrew Tridgell ad4c31ebd1 HAL_ChibiOS: enable ROMFS for CUAV_GPS 2020-02-05 10:43:37 +11:00
Andrew Tridgell a244836f55 HAL_ChibiOS: save some memory in f103-periph build 2020-02-05 10:43:37 +11:00
Andrew Tridgell 1b0991e29f HAL_ChibiOS: support a app->bootloader comms region in SRAM
this allows for UAVCAN update without a 2nd BeginFirmwareUpdate call
2020-02-05 10:43:36 +11:00
Andrew Tridgell 31b47f1484 HAL_ChibiOS: enable MissionPlanner compatible app descriptor 2020-02-05 10:43:36 +11:00
Andrew Tridgell e848d5d0cc HAL_ChibiOS: fixed stack on ZubaxGNSS 2020-02-05 10:43:36 +11:00
Andrew Tridgell c9308535c4 HAL_ChibiOS: enable watchdog in AP_Periph firmwares 2020-02-05 10:43:36 +11:00
Andrew Tridgell 5c3d43d947 HAL_ChibiOS: fixed flash storage in ZubaxGNSS 2020-02-05 10:43:36 +11:00
Andrew Tridgell a78ba1d527 HAL_ChibiOS: fixed Zubax bootloader debug 2020-02-05 10:43:36 +11:00
Andrew Tridgell 5a2cecd0c8 HAL_ChibiOS: fixed page size for STM31F105 flash 2020-02-05 10:43:36 +11:00
Andrew Tridgell 8edf70c94f HAL_ChibiOS: support ZubaxGNSS as a AP_Periph target 2020-02-05 10:43:36 +11:00
Andrew Tridgell c24de7a3fd HAL_ChibiOS: fixed for ZubaxGNSS build 2020-02-05 10:43:36 +11:00
Andrew Tridgell f9eb295eed HAL_ChibiOS: support f103-RangeFinder 2020-02-05 10:43:36 +11:00
Andrew Tridgell 3efd236c9b HAL_ChibiOS: disable GPS and MAG in base f103 build
enable in f103-GPS
2020-02-05 10:43:36 +11:00
Andrew Tridgell 36d62367cb HAL_ChibiOS: enable airspeed in f103-ADSB 2020-02-05 10:43:36 +11:00
Andrew Tridgell e6db33fddc HAL_ChibiOS: split out f103-GPS from base f103-periph
this makes it easier to create more peripheral variants
2020-02-05 10:43:36 +11:00
Andrew Tridgell ef6d513c63 HAL_ChibiOS: fixed I2C on F103
we need to use open-drain, and the sign of the constant matters
2020-02-05 10:43:36 +11:00
Andrew Tridgell 43e753d442 HAL_ChibiOS: enable NCP5623 LED in f103-GPS 2020-02-05 10:43:36 +11:00
Andrew Tridgell ad2d9d1666 HAL_ChibiOS: added a f103-ADSB firmware
for presenting a ping ADSB device as UAVCAN
2020-02-05 10:13:53 +11:00
Andrew Tridgell 43fb6bfdd1 HAL_ChibiOS: split out f103-GPS from base f103-periph
this makes it easier to create more peripheral variants
2020-02-05 10:13:53 +11:00
Andrew Tridgell a610279eb0 HAL_ChibiOS: reduce max compasses to 1 on AP_Periph 2020-02-05 10:13:53 +11:00
Andrew Tridgell 45a6df0cee HAL_ChibiOS: drop mRoControlZeroF7 DPS310 clock to 5MHz 2020-02-05 10:13:53 +11:00
Henry Wurzburg 40af63daf3 AP_HAL_ChibiOS/hwdef: update KakuteF4 readme 2020-02-05 10:13:52 +11:00
Andy Piper be2ef926b0 AP_HAL_ChibiOS: hardware definitions for Kakute F7 Mini 2020-02-05 10:13:52 +11:00
Andrew Tridgell c5b1c88948 HAL_ChibiOS: adjust dma reserve allocation
use larger target and allow for smaller allocation
2020-01-18 12:27:33 +11:00
Andrew Tridgell 7c0cb85361 HAL_ChibiOS: added checking on bouncebuffer allocation
fail operations if DMA bouncebuffer alloc fails

# Conflicts:
#	libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2020-01-18 12:27:23 +11:00
Andrew Tridgell b834796f3b HAL_ChibiOS: fixed clock src for I2C4 on H7 2020-01-08 06:02:46 +11:00