Andrew Tridgell
03cae60471
HAL_ChibiOS: added STM32F732 support
4 years ago
Andrew Tridgell
f1de0c7fe2
HAL_ChibiOS: added F732 16MHz CubeMX config
4 years ago
Andy Piper
f6b9479542
AP_HAL_ChibiOS: add accessor for UART DMA status
4 years ago
Andy Piper
dbd9b3a9ae
AP_HAL_ChibiOS: ESC telemetry is orthogonal to RPM telemetry
4 years ago
Andy Piper
384ecd4a5b
AP_HAL_ChibiOS: check command queue is empty before arming
4 years ago
Andy Piper
66fadf53a1
AP_HAL_ChibiOS: remove dshot calibration step
4 years ago
Andy Piper
f3f3056dba
AP_HAL_ChibiOS: add support for dshot commands to rcout
...
add support for dshot beepcodes through tonealarm
add support for dshot reversal and command queue
add support for dshot commands to all channels
correctly manage channel enablement in PWM groups
Correctly send dshot commands when using bi-dir dshot
allow reversible settings to be changed
ChibiOS: allow more than one type of ESC for dshot commands
Only execute reverse/reversible commands on BLHeli
add support for checking active ESCS
mark ESCs active when bdshot telemetry is returned
allow dshot alarm to be disabled
allow priroitized dshot commands
4 years ago
Andrew Tridgell
8764d69e2c
HAL_ChibiOS: default SDMMC clock to 12.5MHz max on H7
...
this makes microsd considerably more reliable
4 years ago
Andrew Tridgell
f9866dc27e
HAL_ChibiOS: fixed LED_SAFETY attached to FMU with recent DShot updates
4 years ago
QioTek
ca6102ed28
f103Qiotek_Periph
...
f103Qiotek_Periph
4 years ago
QioTek
1de3135d14
HAL_ChibiOS: added f103-QiotekPeriph hwdef ( #1 )
...
HAL_ChibiOS: added f103-QiotekPeriph
4 years ago
Andy Piper
42ebc13e6c
Revert "AP_HAL_ChibiOS: support 6 bi-directional dshot channels on the MatekH743"
...
This reverts commit f9d166edf6
.
4 years ago
Andrew Tridgell
6764f039ca
HAL_ChibiOS: added support for the new H7 luminousbee version 5
4 years ago
Andy Piper
f9d166edf6
AP_HAL_ChibiOS: support 6 bi-directional dshot channels on the MatekH743
4 years ago
Andy Piper
558631918c
AP_HAL_ChibiOS: add %age of total to thread statistics
...
don't display meaningless thread info
4 years ago
Andrew Tridgell
961e538cc0
HAL_ChibiOS: reduced flash usage on MatekF405
...
overflowing by 1k
4 years ago
Andy Piper
4bb4e2fb22
AP_HAL_ChibiOS: adjust GPIO settings for serial passthru
4 years ago
Andrew Tridgell
4118a3eb03
HAL_ChibiOS: check bus owner on all SPI transfers
4 years ago
Andrew Tridgell
9990404e64
HAL_ChibiOS: fixed G4 analog input build
...
use right resolution in ADC peripheral for ADCv3
4 years ago
Andrew Tridgell
eca8cf3414
HAL_ChibiOS: save flash on boards that are critically low
...
move to single OSD font on some boards
this saves about 12k on these boards. They were also extremely close
to overflowing flash, under 2k on some
Now that we support having an OSD font on the microSD card (where
available) we can reduce built in fonts without a large functionality
impact
This also disables some less used features on these boards:
- generator support
- object avoidance path planning
- precision landing
This will give us some breathing room on these boards
4 years ago
Andrew Tridgell
47a5d78397
HAL_ChibiOS: disable DMA on high contention UARTs
...
switch to interrupt driven when in high contention
4 years ago
anbello
77998fb5ba
revo-mini bdshot
4 years ago
anbello
dcb90c7bdb
revo-mini ext i2c
4 years ago
Andy Piper
be39e1f297
AP_HAL_ChibiOS: correct current scale for BeastH7 and BeastF7
4 years ago
Andy Piper
aa0ec0f091
AP_HAL_ChibiOS: optimize BeastH7 compilation
4 years ago
Iampete1
ec90ab13f4
AP_HAL_ChibiOS: RCOutput: print DMA alocation errors
4 years ago
Iampete1
15509f314c
AP_HAL_ChibiOS: RCOuput: LED setup re-work
4 years ago
Andrew Tridgell
61c829d624
HAL_ChibiOS: only use SRAM4 for DMA for now
...
we can enable others when we have an allocation interface that
specifies the peripheral type
4 years ago
Iampete1
2377d33417
AP_HAL_ChibiOS: H7 set SRAM4 to no cache and allow DMA
4 years ago
Andrew Tridgell
4cddb12508
HAL_ChibiOS: fixed DMA sent calculation on UART DMA timeout
4 years ago
Andy Piper
b3dbc21fa7
AP_HAL_ChibiOS: KakuteF7 bdshot configuration, tested by yaapu
4 years ago
Andy Piper
721850d00a
AP_HAL_ChibiOS: fix dshot150.
4 years ago
Andy Piper
f6b1e15b0e
AP_HAL_ChibiOS: optimize bdshot ISRs
4 years ago
Andy Piper
cb3b37d181
AP_HAL_ChibiOS: ensure that non-dshot modes get regular 1Khz updates
4 years ago
Andy Piper
ea3291520c
AP_HAL_ChibiOS: add fast cycle calibration step
4 years ago
Andy Piper
74d4af9ac9
AP_HAL_ChibiOS: reset bdshot IC correctly
...
don't allow dshot rates below 800Hz.
set pin speed to MID1 to avoid glitching
don't run receive pulses on a timer
4 years ago
Andy Piper
477ff72214
AP_HAL_ChibiOS: allow dshot rate to be set so as to both regularize the output as well as
...
allow faster rates synchronized to the loop rate
synchronize 1Khz and use Betaflight definition for prescaler
adjust dshot bitrates
don't allocate IC DMA if already allocated
cancel DMA pulses correctly
try really hard to align pulses with push() by making each dshot pulse event driven
4 years ago
Andrew Tridgell
45477f6063
HAL_ChibiOS: fixed default MSP port for f405-MatekGPS
4 years ago
Andrew Tridgell
ca948171fe
HAL_ChibiOS: fixed ADC error on revXY STM32H7 boards
...
with the new ChibiOS revision we were configuring for newer revisions
of the H7, which meant that we changed the ADC config. This broke ADC
readings on revX and revY H7 MCUs.
This PR fixes it in two ways:
1) change ChibiOS config to assume XY config chips
2) use 16 bit ADC for H7, which means the chip rev doesn't matter,
and also gives us 16x the resolution for ADC readinga, so we can
read smaller voltage and current values
4 years ago
willpiper
94bdca7f6f
AP_HAL_ChibiOS: tidy up beastF7 DMA channels
4 years ago
Andrew Tridgell
f0d6b79e8a
HAL_ChibiOS: fixed skyviper builds with BMM150
4 years ago
Peter Barker
cfacb5d34d
AP_HAL_ChibiOS: split out a calculate_thread_priority method
4 years ago
Iampete1
7c96522e44
AP_HAL_ChibiOS: add semaphore to AnalogIn::channel to make it thread safe
4 years ago
Andrew Tridgell
07313ae71d
HAL_ChibiOS: fixed 2nd CAN inferface on F4/F7
...
CAN1_TX_IRQn is an enum not a defined. This was broken by the recent
change to support different CAN ordering
4 years ago
Andrew Tridgell
88e277420f
AP_HAL_ChibiOS: removed assert calls
...
these waste flash space and do not do us any good
4 years ago
Andrew Tridgell
2d4dfe8a2a
HAL_ChibiOS: fixed (unused) FF_FS_TIMEOUT
...
this change was harmless as we don't define FF_FS_REENTRANT
4 years ago
Andrew Tridgell
ffb2876f58
HAL_ChibiOS: disable unused ChibiOS features
4 years ago
Andrew Tridgell
744a2fe535
HAL_ChibiOS: use uint32_t for bit timing in passthru
...
we should not use systime_t as it may be 16 bit
4 years ago
Andrew Tridgell
c3d16cf2e2
HAL_ChibiOS: use defines for G4 messageram
...
review fix
4 years ago
Andrew Tridgell
b4e4d48e52
HAL_ChibiOS: switch OMNIBUSF7V2 timer for RCIN
...
this avoids a conflict with shared interrupt on TIM1
4 years ago