Andrew Tridgell
0201893f7c
HAL_ChibiOS: fixed peripheral power-up on fmuv5
...
we need to do the powerup before we initialise the UARTs
7 years ago
Andrew Tridgell
409e857f6b
HAL_ChibiOS: use pullup on CTS line
...
this makes life less difficult for SiK radios which go into bootloader
mode on low CTS
7 years ago
Andrew Tridgell
11e09a846c
HAL_ChibiOS: setup RTS pins as pullup
...
this prevents RTS pins from keeping SiK radios in bootloader mode on
peripheral powerup
7 years ago
Andrew Tridgell
63a0a4979c
HAL_ChibiOS: delay peripheral power on for fmuv5
...
this should prevent SiK radios staying in the bootloader
7 years ago
Michael du Breuil
0aaa029f9b
AP_HAL_Linux: GPIO_RPi: Fix UB when reading a pin
...
You can't shift by more then the word width
7 years ago
Michael du Breuil
d06a82af1d
AP_HAL_VRBrain: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
1ac78d3a80
AP_HAL_SITL: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
039e146dec
AP_HAL_PX4: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
1f7ee55211
AP_HAL_Linux: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
312e21dc2f
AP_HAL_F4Light: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
f4b1d530c1
AP_HAL_Empty: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
6fba374069
AP_HAL_ChibiOS: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
3419b045e1
AP_HAL: Remove GPIO::analogPinToDigitalPin()
7 years ago
Michael du Breuil
6925dfb4ae
AP_Camera: Remove usage of analogPinToDigitalPin
7 years ago
Andrew Tridgell
10e9182c21
HAL_SITL: fixed delay() for SITL threads
...
with the new thread_create() interface we need to handle delays a bit
differently
7 years ago
Alexander Malishev
785cf293cd
AP_OSD: use software blink
...
This should fix blink issue with some hardware
7 years ago
Andrew Tridgell
f083b80700
HAL_ChibiOS: added preallocation of DMA bouncebuffers
...
we need 512 bytes for microSD
7 years ago
Andrew Tridgell
e193a161f2
HAL_ChibiOS: enable SDIOv1 bouncebuffers
7 years ago
Andrew Tridgell
f84424cca4
HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards
7 years ago
Andrew Tridgell
e52176e23b
AP_BoardConfig: allow hwdef.dat override of BRD_TYPE
7 years ago
Andrew Tridgell
721f5d86b1
HAL_ChibiOS: fixed mRoX21 IMU setup
7 years ago
Andrew Tridgell
0310bd468c
HAL_ChibiOS: changed uart order for KakuteF4
...
thanks to feedback from Arther
7 years ago
Andrew Tridgell
48747be494
HAL_VRBrain: don't clear buffers on no baud change
7 years ago
Andrew Tridgell
1d1af5fd68
HAL_Linux: don't clear buffers on no baud change
7 years ago
Andrew Tridgell
fe07a73935
HAL_PX4: don't clear buffers if no baudrate change
7 years ago
Andrew Tridgell
50f7e55f0b
HAL_ChibiOS: don't clear buffers if no baudrate change
7 years ago
fnoop
374c46bd57
HAL_ChibiOS: MatekF405-Wing UART reorder
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
fe90618e3e
AP_TempCalibration: remove duplicated parameter
7 years ago
Randy Mackay
ce9857d77d
AP_BattMonitor: add BLHeli ESC to MONITOR param desc
7 years ago
Andrew Tridgell
1f2c24ef7b
HAL_ChibiOS: backup storage to microSD if possible
...
very useful for diagnostics.
This also fixes a bug on boards with flash storage, to not switch to
microSD storage if flash storage available
7 years ago
Andrew Tridgell
66ee202e24
HAL_PX4: backup storage to microSD if possible
...
very useful for diagnostics
7 years ago
fnoop
922a9762df
HAL_ChibiOS: Fix MatekF405-Wing default compass rotation
7 years ago
Andrew Tridgell
985a319c42
AP_FlashStorage: fixed build of example on small memory boards
7 years ago
Lucas De Marchi
d2446e1219
AP_HAL_Linux: use Thread abstraction to create thread
...
The open coded version has the same problem fixed by Thread abstraction:
the order of the calls matters and it's easy to call in the wrong order.
Here pthread_attr_setschedparam() and pthread_attr_setschedpolicy()
should be swapped, like in 62c2f737d5
(AP_HAL_Linux: fix setting RT priorities.)
7 years ago
Lucas De Marchi
e11d268818
AP_HAL_Linux: Thread: allow loose running thread
7 years ago
Andrew Tridgell
ba0fb3d9d2
AP_IOMCU: fixed repeated upload of IO fw
7 years ago
Andrew Tridgell
2d8dbc05d0
HAL_ChibiOS: fixed omnibusf4pro I2C
...
many thanks to Kelly-Foster and @sh83
7 years ago
Andrew Tridgell
fff4b3b4a0
HAL_ChibiOS: fixed build on some F4 boards
7 years ago
Jack
4b24a61023
AP_HAL_Linux: fix spelling of generated in panics
7 years ago
liang.tang
c03e50660c
AC_WPNav: check validity of kP
7 years ago
Andrew Tridgell
ece10082e2
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
7 years ago
Andrew Tridgell
f88a4b3a2f
AP_Compass: fixed compass orientations on PH4
7 years ago
Andrew Tridgell
b647dde28f
HAL_ChibiOS: changed which I2C bus is internal on fmuv5
...
match PH4 arrangement
7 years ago
Andrew Tridgell
385713abdd
HAL_ChibiOS: support for PH4-mini board
7 years ago
Andrew Tridgell
9ca2c11333
AP_Arming: use check_enabled() in storage check
7 years ago
Andrew Tridgell
bf1bca6820
AP_Arming: added arming check for storage health
7 years ago
Andrew Tridgell
63a9b903ba
HAL_ChibiOS: added fallback to microSD for param storage
...
useful for boards without flash sectors setup in bootloader for
storage, but can use microSD
7 years ago
Andrew Tridgell
d35abe67ae
AP_HAL: added optional healthy check on storage object
...
used to check parameter storage is functional
7 years ago
Andrew Tridgell
3e5d5b4095
HAL_VRBRAIN: ensure system_id is nul terminated
7 years ago
Andrew Tridgell
7beb8b4872
HAL_PX4: ensure system_id is nul terminated
7 years ago