Andrew Tridgell
7f429302ed
HAL_ChibiOS: increase monitor thread stack to 768 bytes
...
attempt to fix issue #14582
5 years ago
Andrew Tridgell
6fa623d074
HAL_ChibiOS: added Holybro Pix32v5
5 years ago
MATEKSYS
14e01e21b7
HAL_ChibiOS: MatekH743: move baro to I2C2 bus
5 years ago
Andrew Tridgell
c1403a2e2b
HAL_ChibiOS: fixed default CubeOrange pin for 2nd current sensor
5 years ago
Andrew Tridgell
6a1f43d5df
HAL_ChibiOS: fixed build with our old compiler
...
gcc 4.9 doesn't like static_assert() in C code
5 years ago
duccan
cdcdd5ce27
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
5 years ago
duccan
0d96c7f7a5
AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
5 years ago
James Jacobsson
8a87322d93
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.
5 years ago
Phillip Kocmoud
0d5a0f392c
hwdef.dat update x2.1-777
5 years ago
Andrew Tridgell
571fbf8f71
HAL_ChibiOS: update power VALID pins
5 years ago
Andrew Tridgell
863807c9fb
HAL_ChibiOS: use more consistent naming for power VALID pins
...
this uses _VALID for an active high pin and _nVALID for an active low
pin. It uses _OC for active high overcurrent and _nOC for active low
overcurrent
5 years ago
Peter Barker
931c77fa77
AP_HAL_ChibiOS: correct clearing of UART drivers
5 years ago
CUAVcaijie
220e6999c7
HAL_ChibiOS:Adapt to CUAV Nora V1.2 hardware
5 years ago
pkocmoud
7809dc849c
HAL_ChibiOS: Added support for mRo Pixracer Pro flight controller
5 years ago
Peter Barker
6d9e563ede
AP_HAL_ChibiOS: override read(buffer,count) method to be more efficient
5 years ago
Henry Wurzburg
9c72525bbf
AP_HAL_ChibiOS: Add unused LED output as GPIO in OmnibusF4Pro def
5 years ago
Peter Barker
8f54de4184
AP_HAL_ChibiOS: add discard_input method on UARTDriver
5 years ago
Andy Piper
33c1523905
AP_HAL_ChibiOS: add harmonics to DSP
...
add vector_mean_float() to DSP
allow fft_start() to use ObjectBuffer<float> for lock-free access
5 years ago
bugobliterator
7b9f0f3fd7
HAL_ChibiOS: use FIFO mode instead of Queue mode in FDCAN driver
5 years ago
Henry Wurzburg
12d5602926
AP_HAL_ChibiOS: Add ability to use UART3 and UART4 in bd alt config 4
5 years ago
Peter Barker
50523ed0fa
AP_HAL_ChibiOS: remove pointless initialisations
...
These are never stack-allocated.
Only saves 16 bytes - but several lines
5 years ago
Andrew Tridgell
2200dfefdb
HAL_ChibiOS: during setup() we expect delays
...
this may fix occasional internal errors on SPI during startup
5 years ago
Andrew Tridgell
259cb0aafd
HAL_ChibiOS: removed EKF2 define, not needed any more
5 years ago
Andrew Tridgell
61d036acf3
HAL_ChibiOS: added build time check for right system clock
...
this helps prevent cases where we underclock a chip due to mistake in
headers or hwdef.dat
5 years ago
Andrew Tridgell
69676cd614
HAL_ChibiOS: support 24MHz f3 MCUs
5 years ago
Henry Wurzburg
3f735e7e54
HAL_ChibiOS: Make full UART4 available as bd config option
5 years ago
Henry Wurzburg
225a305cb9
AP_HAL_ChibiOS:Remove alt config since its not useful (no TX available)
5 years ago
Peter Barker
967f8bf726
AP_HAL_ChibiOS: correct description of where stdout goes
5 years ago
Andrew Tridgell
e126b6d346
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
5 years ago
Peter Barker
48da4e523c
AP_HAL_ChibiOS: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
pkocmoud
defb7dc43f
hwdef: add mRo M10070 Location One CAN GPS
5 years ago
Andrew Tridgell
3ec2ef787d
HAL_ChibiOS: fixed build warning
5 years ago
Andrew Tridgell
ce68e0fbb5
HAL_ChibiOS: fixed bootloader build
5 years ago
Andrew Tridgell
0ef66659ce
HAL_ChibiOS: log WDOG message once a second
...
this copes with delayed mounting of the microSD, making it much more
likely we log the critical data
5 years ago
Andrew Tridgell
18e88e0ea3
HAL_ChibiOS: implement stack overflow hook
...
this needs C bindings to allow call from low level RTOS thread
switching code
5 years ago
Andrew Tridgell
c61cecdbc7
HAL_ChibiOS: report thread name in watchdog
5 years ago
Andrew Tridgell
09477b2dfe
HAL_ChibiOS: shorted thread names
...
changes names so threads can be distinguished by first 4 bytes
5 years ago
Andrew Tridgell
a5965d5a9e
HAL_Chibios: removed unnecessary debug defines
5 years ago
Andrew Tridgell
2c26807736
HAL_ChibiOS: embed hwdef.dat in ROMFS for all boards
5 years ago
Andrew Tridgell
9350c78023
AP_HAL_ChibiOS: use GCS_SEND_TEXT()
5 years ago
Andrew Tridgell
6bacf021c8
HAL_ChibiOS: disable thread_info in AP_Periph and bootloader
5 years ago
Andrew Tridgell
d82cd1363b
HAL_ChibiOS: fixed bootloader build
5 years ago
Andrew Tridgell
f0c9f4003e
HAL_ChibiOS: implement thread_info()
5 years ago
Andrew Tridgell
ea71b72c87
HAL_ChibiOS: fixed issue with I2C4 on H743
...
when both I2C4 and SPI4 are active on a H743 I found that some BDMA
completion interrupts were lost, which resulted in SPI transfer
timeouts. Close inspection of the ChibiOS BDMA, I2Cv3 and SPIv3
drivers did not reveal any issues, but I found that the issue only
happened when the first 4 BDMA streams were used. This change splits
the 4 streams across the first and 2nd half of the BDMA controller,
and that fixes the problem.
This works as there are only 2 peripherals (I2C4 and SPI6) that want
to use BDMA with our current setup. If we ever wish to enable ADC3
(which also uses BDMA) we will need to revisit this issue
5 years ago
Andrew Tridgell
32cdfddf12
HAL_ChibiOS: convert all hwdef from UART_ORDER to SERIAL_ORDER
...
much easier to understand
5 years ago
Andrew Tridgell
a52070d226
HAL_ChibiOS: use SERIAL_ORDER instead of UART_ORDER
...
SERIAL_ORDER is much easier for developers to understand as it maps
directly to the SERIALn_ parameters
5 years ago
Andrew Tridgell
0994655f5b
HAL_ChibiOS: fixed build warnings for bootloader builds
5 years ago
Andrew Tridgell
9557a5c22c
HAL_ChibiOS: added more STM32CubeMX configs
5 years ago
Andrew Tridgell
a9df9fe0c0
HAL_ChibiOS: removed clock tree settings in most hwdef.dat
...
these are better set automatically in the headers. This simplifies the
task of doing a new port
5 years ago
Andrew Tridgell
a638196334
HAL_ChibiOS: skyviper-f412-rev1 uses a custom clock tree
5 years ago