Commit Graph

514 Commits

Author SHA1 Message Date
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
Andrew Tridgell
5bf48fad43 HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards 2018-07-12 11:44:32 +10:00
Andrew Tridgell
8a23a21383 HAL_ChibiOS: fixed mRoX21 IMU setup 2018-07-12 11:44:27 +10:00
fnoop
35a5166038 HAL_ChibiOS: MatekF405-Wing UART reorder 2018-07-12 11:43:23 +10:00
Andrew Tridgell
84624fbbf6 HAL_ChibiOS: don't clear buffers if no baudrate change 2018-07-12 11:43:23 +10:00
fnoop
abdf56d6dd HAL_ChibiOS: Fix MatekF405-Wing default compass rotation 2018-07-11 14:20:53 +09:00
Andrew Tridgell
98f241c7e4 HAL_ChibiOS: implement I2C bus masks 2018-07-11 14:20:08 +09:00
Randy Mackay
734e61e80d AP_HAL_ChibiOS: reduce default BRD_PWM_COUNT to 4 for fmv3
also default relay pins to use aux out 5 and 6
2018-07-11 14:02:55 +09:00
Andrew Tridgell
5b056ff8d5 HAL_ChibiOS: fixed omnibusf4pro I2C
many thanks to Kelly-Foster and @sh83
2018-07-11 14:02:43 +09:00
Andrew Tridgell
61b8cbc3c6 HAL_ChibiOS: added separate builds for Pixhawk4 and CUAVv5
this makes it easier to distinguish boards in logs, plus makes life
easier when the user is selecting the right firmware.

It also gives us the flexibility to make parameter changes as needed
2018-07-11 14:02:15 +09:00
Andrew Tridgell
a75447c8bd HAL_ChibiOS: changed which I2C bus is internal on fmuv5
match PH4 arrangement
2018-07-11 14:00:28 +09:00
Andrew Tridgell
ac49b3aad4 HAL_ChibiOS: support for PH4-mini board 2018-07-11 14:00:18 +09:00
Andrew Tridgell
29dc4b6e8b HAL_ChibiOS: ensure system_id is nul terminated 2018-07-11 14:00:00 +09:00
Andrew Tridgell
4e4a83a2fb HAL_ChibiOS: make serial number match HAL_PX4 2018-07-11 13:57:59 +09:00
Andrew Tridgell
c5e659c9dd HAL_ChibiOS: fixed default revo compass orientation 2018-07-11 13:57:53 +09:00
Andrew Tridgell
2738ae63a3 HAL_ChibiOS: rename to CubeYellow 2018-07-05 10:40:57 +10:00
Andrew Tridgell
7296767408 HAL_ChibiOS: make CubeOrange IDs consistent with CubeBlack 2018-07-05 10:40:55 +10:00
Andrew Tridgell
2418a05459 HAL_ChibiOS: rename cube-orange to CubeOrange 2018-07-05 10:40:53 +10:00
proficnc
0a03597872 HAL_ChibiOS: Added CubeBlack hwdef 2018-07-05 10:40:51 +10:00
Andrew Tridgell
d3bc281a10 HAL_ChibiOS: use generic ROMFS embedding system 2018-07-02 10:43:48 +10:00
Andrew Tridgell
8ba137bd9a waf: moved ROMFS embed script into waf folder 2018-07-02 10:43:48 +10:00
Andrew Tridgell
e5435e02ad HAL_ChibiOS: report system ID in mavlink and logs 2018-06-29 20:27:36 +10:00
Andrew Tridgell
ca3beb88b7 HAL_ChibiOS: allow for telem1 and telem2 for bootloader on fmuv3 2018-06-29 08:17:38 +10:00
Andrew Tridgell
6cf205bdbe HAL_ChibiOS: make sure we populate up to uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell
dd059b89f3 HAL_ChibiOS: added uartG for fmuv4 and fmuv5 2018-06-29 08:17:38 +10:00
Andrew Tridgell
0a5d287326 HAL_ChibiOS: support uartG 2018-06-29 08:17:38 +10:00
Andrew Tridgell
963675689c HAL_ChibiOS: fixed substitution of %BOARD%-BL 2018-06-28 11:35:13 +10:00
Andrew Tridgell
54dc67e2a9 HAL_ChibiOS: default bootloader product string to XX-BL 2018-06-28 11:35:13 +10:00
Andrew Tridgell
946d0208e5 HAL_ChibiOS: fixed stm32f7 cache bug in erase flash page 2018-06-28 11:35:13 +10:00
Andrew Tridgell
d183efa720 HAL_ChibiOS: fixed USB string of fmuv5 bootloader 2018-06-28 11:35:13 +10:00
Andrew Tridgell
2b7b499c63 HAL_ChibiOS: added support for RTC sig for fast boot 2018-06-28 11:35:13 +10:00
Andrew Tridgell
f7f9d2b0e7 HAL_ChibiOS: added fmuv4 bootloader hwdef-bl.dat 2018-06-28 11:35:13 +10:00