Andrew Tridgell
6fb84cfa6b
HAL_ChibiOS: support microSD slowdown
...
allow use of BRD_SD_SLOWDOWN to slow down clock on microSD
2019-01-11 09:48:16 +09:00
Siddharth Purohit
043c303146
HAL_ChibiOS: add CubePurple/PH2Slim board config
2019-01-11 09:16:16 +09:00
Andrew Tridgell
0ee8a8d93c
HAL_ChibiOS: switched fmuv5 firmware to ChibiOS IO fw
...
so users installing fmuv5 on a Pixhawk4 get the SBUS fixes
2018-12-31 08:10:19 +11:00
Andrew Tridgell
f303e5b659
HAL_ChibiOS: fixed safety switch and LEDs on PH4-mini
...
fixes #10127
2018-12-31 08:06:43 +11:00
Andrew Tridgell
2c75272019
HAL_ChibiOS: setup PH4 for right voltage scaling
2018-12-18 11:02:18 +11:00
Andrew Tridgell
258f472028
HAL_ChibiOS: detect stuck I2C bus and clear with SCL
...
This detects the I2C bus becoming stuck with SDA low after a timeout
and clears the bus by toggling SCL. Many thanks to @jhw84 for the
suggestion
2018-12-14 15:49:11 +11:00
Andrew Tridgell
3ffee081a4
HAL_ChibiOS: added palReadLineMode() function
...
used to change and restore line modes
2018-12-14 15:49:08 +11:00
Andrew Tridgell
5e162cb0e1
HAL_ChibiOS: use ChibiOS IO firmware for Pixhawk4
2018-11-28 09:12:19 +11:00
Andrew Tridgell
352a7667a7
HAL_ChibiOS: allow ROMFS to override a file
...
this allows a hwdef.dat with an include to change an embedded file
specified in the include
2018-11-28 09:10:10 +11:00
Andrew Tridgell
0717dddc46
HAL_ChibiOS: bring copter stable up to date with hwdef.dat
...
this fixes GPIO numbering, fixes terrain on some boards and adds some
new boards
2018-11-05 19:36:40 +11:00
Andrew Tridgell
b55df3a8ee
HAL_ChibiOS: ensure RC in channels are bounded
2018-11-05 17:24:19 +09:00
Andrew Tridgell
e4a4828203
HAL_ChibiOS: fixed LED mapping for fmuv4
2018-10-29 14:07:30 +11:00
Randy Mackay
6e8e3cdbb2
AP_HAL_ChibiOS: update kakutef7 hwdef
...
This makes the kakutef7 the same as master commit bb99165
2018-10-26 16:16:36 +10:00
Randy Mackay
e8e82e99d3
AP_HAL_ChibiOS: fix safety switch option handling
2018-10-05 10:25:11 +09:00
Andrew Tridgell
4a1348a432
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-05 10:24:59 +09:00
Andrew Tridgell
2f637225f2
HAL_ChibiOS: fixed RSSI voltage from IOMCU
2018-10-01 11:54:43 +09:00
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
Andrew Tridgell
3a5b3b4b1b
HAL_ChibiOS: fixed adding bootloader to ROMFS
2018-06-28 11:35:13 +10:00
Peter Barker
e332bece0f
AP_HAL_ChibiOS: embed any bootloader found for a board
2018-06-28 11:35:13 +10:00
Peter Barker
a81b3c8a7c
AP_HAL_ChibiOS: specify bootloader for sparky2
2018-06-28 11:35:13 +10:00
Peter Barker
f07b6f3d78
AP_HAL_ChibiOS: add support for flashing bootloader
2018-06-28 11:35:13 +10:00
Andrew Tridgell
10533fb249
HAL_ChibiOS: enable OSD font on OMNIBUSF7V2
2018-06-27 14:55:00 +10:00
Alexander Malishev
79b289f97e
HAL_ChibiOS: reverted change in omnibus hwdef.dat
2018-06-27 14:55:00 +10:00
Andrew Tridgell
8e8508a9f3
HAL_ChibiOS: enable OSD for MatekF405
2018-06-27 14:55:00 +10:00
Andrew Tridgell
cf19e7a3ae
HAL_ChibiOS: enabled OSD on KakuteF4
2018-06-27 14:55:00 +10:00
Alexander Malishev
8ce7ef1342
HAL_ChibiOS: added OSD support for MatekF405 and Omnibuspro
2018-06-27 14:55:00 +10:00
Andrew Tridgell
35f835a021
HAL_ChibiOS: improved OMNIBUSF7V2 support
2018-06-27 13:01:30 +10:00
Andrew Tridgell
7cce23671a
HAL_CbibiOS: removed unnecessary BOARD_SUBTYPE define
...
just causes build warnings
2018-06-27 11:37:45 +10:00
Andrew Tridgell
5bf078cc86
HAL_ChibiOS: fixed build with -Werror-sign-compare
2018-06-27 11:37:45 +10:00
Michael du Breuil
153ee6ca8e
AP_HAL_ChibiOS: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
037e53ba8a
AP_HAL_ChibiOS: Reduce flash space of UARTDriver
...
Saves 32 bytes
2018-06-26 02:18:18 +01:00
Andrew Tridgell
a0b4553a26
HAL_ChibiOS: fixed bootloader build issue
2018-06-25 21:22:31 +10:00
Andrew Tridgell
bf6fb72904
HAL_ChibiOS: fixed 32 bit flash writes
2018-06-25 21:22:31 +10:00
Andrew Tridgell
f71d2a7417
HAL_ChibiOS: support bootloaders with no uarts
2018-06-25 21:22:31 +10:00
Andrew Tridgell
277836ccc7
HAL_ChibiOS: added bootloader definition for fmuv3
...
including UART support on 2 UARTs
2018-06-25 21:22:31 +10:00
Andrew Tridgell
e40457d98f
HAL_ChibiOS: avoid malloc in usbcfg
...
this avoids the need for malloc in the bootloader
2018-06-25 21:22:31 +10:00
Andrew Tridgell
369ac5edd0
HAL_ChibiOS: save more space in the bootloader
2018-06-25 21:22:31 +10:00
Andrew Tridgell
e870b5f00a
HAL_ChibiOS: use 32 bit flash operations when possible
2018-06-25 21:22:31 +10:00
Andrew Tridgell
feefa05b41
HAL_ChibiOS: expose stm32_flash_ispageerased()
2018-06-25 21:22:31 +10:00
Andrew Tridgell
dd1bd43a2e
HAL_ChibiOS: added stm32_flash_keep_unlocked()
2018-06-25 21:22:31 +10:00
Alexander Malishev
95f3eb5ab6
HAL_ChibiOS: stop logging before reboot
2018-06-25 17:46:20 +10:00
Alexander Malishev
cfa18b8e70
HAL_ChibiOS: reduce dataflash buffer size on targets with 128KB ram
2018-06-25 17:43:26 +10:00
Andrew Tridgell
dc0f2f9319
HAL_ChibiOS: use USB for stdout on more boards
...
don't waste a UART
2018-06-24 08:26:28 +10:00
Andrew Tridgell
2cfdc98453
HAL_ChibiOS: fixed omnibusf4pro bootloader LED pins
2018-06-24 08:26:28 +10:00
Andrew Tridgell
b149089830
HAL_ChibiOS: fixed board IDs and added more bootloaders
2018-06-24 08:26:28 +10:00
Andrew Tridgell
2f8a534243
HAL_ChibiOS: expand param storage on F4 boards with flash storage
...
this allows for a lot more param space on these boards
2018-06-24 08:26:28 +10:00
Andrew Tridgell
e868a4fe8b
HAL_ChibiOS: set FLASH_RESERVE_START_KB in the environment
...
used to correctly setup an intel hex file
2018-06-23 17:06:38 +10:00
Andrew Tridgell
1c807e0078
HAL_ChibiOS: added option to limit size of bootloader
...
this will ensure our F4 bootloaders stay under 16k
2018-06-23 17:06:38 +10:00
Andrew Tridgell
e11b3f2f0e
HAL_ChibiOS: run CAN thread at 3KHz
...
at 10KHz we were causing occasional CRC errors on the UART to IOMCU
2018-06-22 08:40:12 +10:00
Andrew Tridgell
d88b710ea9
HAL_ChibiOS: added more bootloader hwdef-bl.dat files
2018-06-22 08:00:31 +10:00
Andrew Tridgell
518d41e0d4
HAL_ChibiOS: added OTP defines
2018-06-22 08:00:31 +10:00