Michael du Breuil
f810b7b9f6
AP_HAL_ChibiOS: Make getcwd() take size_t as per the standard
2018-10-02 06:04:40 +10:00
Michael du Breuil
7fda309d3c
AP_HAL_ChibiOS: Remap unused pins to ADC
2018-09-20 01:07:47 +01:00
Siddharth Purohit
8ac38d73f7
HAL_ChibiOS: add option for NO_FASTBOOT build and enable it for iomcu
2018-09-19 12:14:15 +10:00
Siddharth Purohit
6622c9b8fd
HAL_ChibiOS: wrap sscanf and snprintf methods
2018-09-19 12:14:15 +10:00
Siddharth Purohit
05539cd93b
HAL_ChibiOS:remove print statement left over from previous changes
2018-09-19 12:14:15 +10:00
Siddharth Purohit
2d1153081c
HAL_ChibiOS: do not build float support for bootloader builds
2018-09-19 12:14:15 +10:00
Siddharth Purohit
f9149f45b2
HAL_ChibiOS: explicitly mention if RTC not available
2018-09-19 12:14:15 +10:00
Siddharth Purohit
22f74b0827
HAL_ChibiOS: add option to set iomcu firmware environment var
2018-09-19 12:14:15 +10:00
Siddharth Purohit
42b4730d88
HAL_ChibiOS: add changes to hwdef to support STM32F1 based controller
2018-09-19 12:14:15 +10:00
Siddharth Purohit
1a20fb4ea9
HAL_ChibiOS: disable flash methods where there is no Flash API support
2018-09-19 12:14:15 +10:00
Siddharth Purohit
847aca3c30
HAL_ChibiOS: reduce signal transitions count to save RAM
2018-09-19 12:14:15 +10:00
Siddharth Purohit
b9319cae56
HAL_ChibiOS: disable segments relating to unused features
2018-09-19 12:14:15 +10:00
Siddharth Purohit
87a2dea9d4
HAL_ChibiOS: disable features that require advanced dma
2018-09-19 12:14:15 +10:00
Siddharth Purohit
0f07480faf
HAL_ChibiOS: continue main_loop branching from main instead of allocating a separate thread
2018-09-19 12:14:15 +10:00
Siddharth Purohit
e824a9c360
HAL_ChibiOS: add hwdef files to support IOMCU
2018-09-19 12:14:15 +10:00
Andrew Tridgell
340f1b43e6
HAL_ChibiOS: fixed RSSI voltage from IOMCU
2018-09-15 16:08:32 +10:00
Andrew Tridgell
8c33b4b97d
HAL_ChibiOS: implement set_failsafe_pwm()
2018-09-13 08:15:02 +10:00
Andrew Tridgell
490d6eea20
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-12 07:10:04 +10:00
s0up
066cf90111
HAL_ChibiOS: Add speedybee hardware definition
2018-09-07 08:33:35 +10:00
Paul Atkin
bb99165221
HAL_ChibiOS: updates for KakuteF7
...
fixed PWM and added full tonealarm support
2018-09-06 10:11:34 +10:00
Andrew Tridgell
a9e29f7556
HAL_ChibiOS: added pullup/pulldown support on GPIO
...
using the convention of write() on an input pin to set pullup/pulldown
2018-09-06 07:20:46 +10:00
Michael du Breuil
f6cb196d53
AP_HAL_ChibiOS: Remove unimplemented force_safety_no_wait()
...
ChibiOS doesn't implement the method, so there is nothing to be gained
by calling the function.
2018-09-04 10:23:18 +10:00
Hannes Verschore
fefde53d58
AP_HAL_ChibiOS: Fix comment in Device.cpp
...
This was decreased to 100 in b07c599bf2
. I assume it would be best to also update the comment.
2018-08-31 08:36:47 +09:00
Andrew Tridgell
8c962e6f0f
HAL_ChibiOS: use a larger TX buffer on USB
...
this is needed for fast log download on vehicles with 50Hz main loop
2018-08-28 08:50:50 +10:00
Andrew Tridgell
33076be585
HAL_ChibiOS: fixed handling of 16 bit timers
...
when we have a 16 bit timer then systime_t is 16 bit, and we need to
handle wrap of get_systime_us32()
2018-08-26 18:34:26 +10:00
Andrew Tridgell
dc20e2baed
HAL_ChibiOS: support recursive semaphores
2018-08-25 15:44:36 +10:00
Andrew Tridgell
db9a8f16ed
HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix
2018-08-24 19:43:27 +10:00
Andrew Tridgell
5526dac4fc
HAL_ChibiOS: probe all i2c baros for revo-mini
...
this ensures we build this functionality in CI
2018-08-23 13:29:59 +10:00
Peter Barker
2209e4a697
AP_HAL_ChibiOS: new HAL functor-based methods
...
AP_HAL_ChibiOS: adjust for irq-type enumeration change
AP_HAL_ChibiOS: implement attach-AP_HAL::Proc to interrupt interface
2018-08-21 20:34:01 +09:00
Andrew Tridgell
d3af854949
HAL_ChibiOS: fixed bootloader build
2018-08-16 12:40:10 +10:00
Andrew Tridgell
dabdb969f6
HAL_ChibiOS: added support for HAL_Semaphore type
2018-08-16 12:40:10 +10:00
Alexander Malishev
05099b8b8b
HAL_ChibiOS: restore default dataflash buffer size
...
This fix log corruption in copter
2018-08-15 10:15:09 +10:00
Francisco Ferreira
1b46104a98
AP_HAL_ChibiOS: fix warning when STDOUT is defined
...
../../libraries/AP_HAL_ChibiOS/UARTDriver.cpp:118:12: warning: 'int hal_console_vprintf(const char*, va_list)' defined but not used [-Wunused-function]
static int hal_console_vprintf(const char *fmt, va_list arg)
^
2018-08-14 10:17:38 +10:00
mirkix
c33b692f53
AP_HAL_ChibiOS: fix CubeYellow build
2018-08-14 06:26:22 +10:00
Francisco Ferreira
7278af05e0
AP_HAL_ChibiOS: remove CAN thread management
2018-08-12 13:35:01 +01:00
Francisco Ferreira
e1bf89f32d
AP_HAL_ChibiOS: fix CAN manager initialization
2018-08-12 13:35:01 +01:00
Andrew Tridgell
385f735799
HAL_ChibiOS: avoid 64 bit maths in AP_HAL::micros()
...
this saves a few cycles
2018-08-08 21:24:49 +10:00
vierfuffzig
bc52d430f9
Chibios add bootloader for mini-pix
2018-08-07 07:09:39 +10:00
Andrew Tridgell
846418e5e9
HAL_ChibiOS: raise timer thread priority
...
needs to be above main for guaranteed DShot and oneshot output periods
2018-08-06 11:41:42 +10:00
Andrew Tridgell
3df2a1c228
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-04 19:29:13 +10:00
Andrew Tridgell
946b4db0e6
HAL_ChibiOS: set min dshot separation to 100usec
...
this fixes a problem with BLHeli32 not recognising dshot
2018-08-04 19:29:13 +10:00
Andrew Tridgell
22ba9a0aea
HAL_ChibiOS: fixed timeout of serial read bytes
...
this allows for fast timeout of serial read bytes in BLHeli pass-thru
2018-08-04 19:29:13 +10:00
Lucas De Marchi
668c941717
Global: use new version of ARRAY_SIZE
2018-08-04 15:31:55 +10:00
utkinpol
2912e732b4
HAL_ChibiOS: updated for KakuteF7
2018-08-04 08:24:49 +10:00
Andrew Tridgell
64c8ca514c
HAL_ChibiOS: fixed attach_interrupt check
...
we can't have two handlers on the same pad
2018-08-03 13:44:59 +10:00
Andrew Tridgell
4e6ac85057
HAL_ChibiOS: use 32 bit time intervals
...
this makes for smaller and faster code. We really don't need 64 bit
intervals as long sleeps are done with a loop.
2018-08-03 13:44:59 +10:00
Andrew Tridgell
1bd0ea079b
HAL_ChibiOS: fixed build on older compilers
...
allow build with gcc 4.9.x
2018-08-03 13:44:59 +10:00
Andrew Tridgell
7aba99e229
HAL_ChibiOS: fixes for ChibiOS version update
2018-08-03 13:44:59 +10:00
Andrew Tridgell
f8e2edbc7f
HAL_ChibiOS: fixed cache flush for updated ChibiOS version
2018-08-03 13:44:59 +10:00
Siddharth Purohit
2604b00b43
HAL_ChibiOS: use ch.h header for oslib api
2018-08-03 13:44:59 +10:00