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
bugobliterator
1c7d34ba5c
AP_HAL_ChibiOS: implement standard realloc method
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
Peter Hall
07dc4096fa
AP_HAL_ChibiOS: add support for ProfiLEDs
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
533420674f
HAL_ChibiOS: allow more than 32 WS2812 LEDs on a pin
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
Peter Barker
dc785b61a9
AP_HAL_ChibiOS: make a static-const hal a reference to the external symbol
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
53b5564466
HAL_ChibiOS: produce more accurate clocks for DShot and PWM
2020-02-23 07:42:09 +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
126c6e589b
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-23 07:41:44 +11:00
Randy Mackay
92408e0c52
AP_HAL: add RCOutput::get_output_mode_banner
2020-02-23 07:41:36 +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
f5aa9d5e58
HAL_ChibiOS: fixed skyviper-v2450 build
2020-02-05 10:51:31 +11:00
Andrew Tridgell
08f00d6a40
HAL_ChibiOS: fixed bitmask error on storage erase
2020-02-05 10:51:31 +11:00
Andrew Tridgell
0ef25a02f5
HAL_ChibiOS: use recursive mutex for RCInput
2020-02-05 10:51:30 +11:00
Andrew Tridgell
3ba2f51131
HAL_ChibiOS: implement pulse_input_enable()
...
and cleanup use of mutexes in RC input
2020-02-05 10:51:30 +11:00
Andrew Tridgell
1e87aa7887
HAL_ChibiOS: added disable() API for pulse input
2020-02-05 10:51:30 +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
47f3e0b0c0
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
2020-02-05 10:51:29 +11:00
Andrew Tridgell
caa06b62df
HAL_ChibiOS: setup define for number of serial ports
2020-02-05 10:51:29 +11:00
Andrew Tridgell
b38c7782cc
HAL_ChibiOS: removed heater control
2020-02-05 10:51:29 +11:00
Siddharth Purohit
83125e9199
HAL_ChibiOS: fix writing into a NULL pointer CANFD interrupt
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
fd239825be
HAL_ChibiOS: pat watchdog immediately in expect_delay_ms()
...
this fixes a watchdog issue on AP_Periph if we don't have a timer
thread
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
e2e0468919
HAL_ChibiOS: fixed uprintf() in bootloader
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