duccan
bde8ed37c3
AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
...
Rework after review:
- Kept old IMU and barometer definition of crazyflie 2.0 in hwdef
- Added comment regarding soft-reset command
- Added defaults.parm for crazyflie
2020-06-10 17:34:37 +10:00
duccan
981d1d0f4c
AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
2020-06-10 17:34:32 +10:00
James Jacobsson
d7ef792933
AP_HAL_Chibios: Adjust MatekF765-Wing voltage and current scales
...
The new values matches the ones from here:
http://www.mateksys.com/?portfolio=f765-wing#tab-id-5
Also verified to be a lot more accurate in real life.
2020-06-10 17:34:23 +10:00
CUAVcaijie
cb4a2b7382
HAL_ChibiOS:Adapt to CUAV Nora V1.2 hardware
2020-06-10 17:34:07 +10:00
pkocmoud
8f40d5b588
HAL_ChibiOS: Added support for mRo Pixracer Pro flight controller
2020-06-10 17:34:03 +10:00
Andrew Tridgell
0816779fae
HAL_ChibiOS: disable ROMFS hwdef.dat for 4.0 release
...
will be in 4.1
2020-05-21 16:10:10 +10:00
bugobliterator
234d9f1ba4
HAL_ChibiOS: use FIFO mode instead of Queue mode in FDCAN driver
2020-05-21 15:33:07 +10:00
Andrew Tridgell
875184f774
HAL_ChibiOS: fixed CubeSolo hwdef.dat
2020-05-11 17:34:17 +10:00
Andrew Tridgell
31f7b32fab
HAL_ChibiOS: resync for 4.0 update
2020-05-11 15:55:16 +10:00
Andrew Tridgell
64557413b8
HAL_ChibiOS: switch non-composite USB ID
...
use newly allocated 0x1209/0x5740
2020-05-11 13:50:46 +10:00
Andrew Tridgell
10416f92c4
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 13:48:28 +10:00
Andrew Tridgell
8088923162
HAL_ChibiOS: improve error messages for flashing bootloader
...
send progress as statustext messages
2020-05-11 13:45:07 +10:00
Andrew Tridgell
2215fbd7a4
HAL_ChibiOS: suppress SPI timeout error for expected delay
2020-05-11 13:38:21 +10:00
Andrew Tridgell
8c49690acf
HAL_ChibiOS: implement in_expected_delay()
2020-05-11 13:38:18 +10:00
Andrew Tridgell
b0e7251832
HAL_ChibiOS: fixed race condition in storage write
...
we could mark a line as clean when it should be dirty if we lose a
race condition between storage thread and writer
2020-05-11 13:35:54 +10:00
Andrew Tridgell
ede5cabbf5
HAL_ChibiOS: save 3k of flash on MatekF405-Wing
...
disable SMBUS and fuel battery monitors
2020-05-06 15:46:13 +09:00
bugobliterator
9073f0ffb4
HAL_ChibiOS: deprecate realloc for ChibiOS build, so as to return error when used
2020-05-06 15:00:51 +09:00
bugobliterator
a9ea7ca3dc
AP_HAL_ChibiOS: implement standard realloc method
2020-05-06 14:59:45 +09:00
Andrew Tridgell
fe8398fe0d
HAL_ChibiOS: use default USB IDs for fmuv3
2020-05-06 14:20:50 +09:00
Matt Lawrence
e23e798eb9
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-06 14:07:00 +09:00
Peter Hall
7dacfcc198
AP_HAL_ChibiOS: add support for ProfiLEDs
2020-04-21 08:03:01 +09:00
Andrew Tridgell
59bf162572
HAL_ChibiOS: reserve plenty of DMA memory for luminousbee4
2020-04-21 08:03:01 +09:00
Andrew Tridgell
b219ee453c
HAL_ChibiOS: allow more than 32 WS2812 LEDs on a pin
2020-04-21 08:03:01 +09:00
Andrew Tridgell
e26860bd09
HAL_ChibiOS: added luminousbee4 flight controller
2020-04-21 08:03:01 +09:00
Peter Barker
b9804be01c
AP_HAL_ChibiOS: make a static-const hal a reference to the external symbol
2020-03-03 20:35:57 +09:00
Andrew Tridgell
43c8efd820
HAL_ChibiOS: switched to new USB VID for dual-CDC boards
2020-02-20 13:03:57 +11:00
Andrew Tridgell
2ed21b3be1
HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal
2020-02-20 13:03:09 +11:00
Andrew Tridgell
6d8482bc2e
HAL_ChibiOS: produce more accurate clocks for DShot and PWM
2020-02-20 13:02:09 +11:00
Andrew Tridgell
ca1053a28c
HAL_ChibiOS: raised timer clocks to 200MHz
...
this gives more flexibility in setting up timers for DShot
2020-02-20 13:01:00 +11:00
Andrew Tridgell
7eb106ea07
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-20 09:39:27 +09:00
Randy Mackay
95ec629923
AP_HAL: add RCOutput::get_output_mode_banner
2020-02-20 09:36:48 +09:00
Andrew Tridgell
77865e9f78
HAL_ChibiOS: fixed spektrum RC input on Pixracer
...
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
2020-02-05 11:13:30 +09:00
Henry Wurzburg
f7cbdb4520
HWDEF: Speedybeef4 change I2C internal mask to 0 to allow probing ext baros
2020-02-05 11:13:30 +09:00
Andrew Tridgell
6489623499
HAL_ChibiOS: fixed skyviper-v2450 build
2020-02-02 08:14:20 +11:00
Andrew Tridgell
aff77c86d6
HAL_ChibiOS: fixed bitmask error on storage erase
2020-01-31 19:55:01 +09:00
Andrew Tridgell
b5435d6a24
HAL_ChibiOS: use recursive mutex for RCInput
2020-01-31 19:35:53 +09:00
Andrew Tridgell
50a6d63101
HAL_ChibiOS: implement pulse_input_enable()
...
and cleanup use of mutexes in RC input
2020-01-31 19:35:53 +09:00
Andrew Tridgell
89d0562e9d
HAL_ChibiOS: added disable() API for pulse input
2020-01-31 19:35:53 +09:00
Andrew Tridgell
925ce44a6c
HAL_ChibiOS: use 4k bouncebuffer for sdcard
...
match AP_Logger IO size
2020-01-18 16:04:46 +11:00
Andrew Tridgell
15d45397c6
HAL_ChibiOS: adjust dma reserve allocation
...
use larger target and allow for smaller allocation
2020-01-18 16:04:46 +11:00
Andrew Tridgell
26ced02cd1
HAL_ChibiOS: don't extend alloc of iomcu uart
2020-01-18 16:04:46 +11:00
Andrew Tridgell
6477180e87
HAL_ChibiOS: added checking on bouncebuffer allocation
...
fail operations if DMA bouncebuffer alloc fails
2020-01-18 16:04:46 +11:00
Andrew Tridgell
30e51c9f64
HAL_ChibiOS: scale uart rx buffer size with baudrate
...
this ensures we have enough buffer space for a RTK GPS, as well as for
high speed comms with a companion computer
2020-01-08 08:34:35 +11:00
Andrew Tridgell
c1f18bc90d
HAL_ChibiOS: fixed clock src for I2C4 on H7
2020-01-08 06:05:10 +11:00
Andrew Tridgell
a1b1ef4947
HAL_ChibiOS: fixed H7 I2C timing
...
we were running the clock at too low speed. This affected the SSD1306 display
# Conflicts:
# libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2019-12-30 14:29:37 +11:00
Andrew Tridgell
e4eda95fea
HAL_ChibiOS: change CUAVv5Nano volt scale to 18.000
2019-12-23 18:02:59 +09:00
Andrew Tridgell
67cc9b1677
HAL_ChibiOS: removed per-board AP_FEATURE_RTSCTS and AP_FEATURE_SBUS_OUT
...
not needed any more
2019-12-23 18:02:59 +09:00
Andrew Tridgell
fa69ac6458
HAL_ChibiOS: automatically set AP_FEATURE_SBUS_OUT
2019-12-23 18:02:59 +09:00
Andrew Tridgell
ee9aadf091
HAL_ChibiOS: automatically set AP_FEATURE_RTSCTS
2019-12-23 18:02:59 +09:00
Andrew Tridgell
20ea63e480
HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
...
these do not work, possibly a datasheet bug
2019-12-23 19:58:34 +11:00