Andrew Tridgell
c4445a7dfd
AP_HAL_ChibiOS: initial hwdef for crazyflie2
7 years ago
Andrew Tridgell
a6e0bb4ed0
HAL_ChibiOS: fixed uart order for revo-mini
...
and setup right battery pins
7 years ago
Andrew Tridgell
fba962f7ff
HAL_PX4: allow for different LED pins
...
and fixed build
7 years ago
Andrew Tridgell
17b3607aa8
HAL_ChibiOS: fixed RCIN on revo-mini
...
this also adds an attempt at using 'N' (inverted) channels for
RCIN. This doesn't work yet, but would be better for the revo-mini, as
it would allow the normal RCIN pin to be used
7 years ago
Andrew Tridgell
c6879c679a
HAL_ChibiOS: re-enable USART1 on revo-mini
7 years ago
Andrew Tridgell
310acd333e
AP_HAL: use 1/0 not HIGH/LOW for LEDs in ChibiOS
7 years ago
Andrew Tridgell
427e00dd41
HAL_ChibiOS: switched to system timer for AP_HAL::micros()
...
this uses the ChibiOS system timer instead of a separate GPT timer for
the core ChibiOS timer. The advantage is it saves us a timer, plus it
changes ChibiOS to use a 1MHz clock on its timer, which gives us
higher resolution for delays.
This has a remarkable effect on timing jitter, reducing it greatly
7 years ago
Andrew Tridgell
ceeb5e6892
AP_HAL: use 1/0 not HIGH/LOW for LED polarity
...
this fixes the build for pixracerled driver on px4-v2
7 years ago
Andrew Tridgell
f357eec78b
HAL_ChibiOS: added more comments in hwdef.dat
7 years ago
Andrew Tridgell
9a95737d7d
HAL_ChibiOS: added lots of comments to FMUv3 hwdef.dat
...
this should help for developers of new boards
7 years ago
Andrew Tridgell
a057498e0c
HAL_ChibiOS: pull PA9 PA10 high on revo-mini
...
needed for correct operation of USB
7 years ago
Andrew Tridgell
0fdef97c76
AP_Notify: allow ChibiOS to use PixracerLED driver
7 years ago
Andrew Tridgell
66608e8cad
HAL_ChibiOS: improved mini-pix support
7 years ago
Andrew Tridgell
52815cd952
AP_Compass: fixed compass orientation for mini-pix
7 years ago
Andrew Tridgell
f85c82ee5d
AP_Baro: fixed baro scaling for LPS2XH
7 years ago
ljwang
59ee3c8f62
AP_HAL: support mini-pix
7 years ago
ljwang
9b99a0ce55
AP_HAL_ChibiOS: fixed mini-pix hwdef.dat
7 years ago
ljwang
231aa16835
AP_Compass: support mini-pix
7 years ago
ljwang
88effef51a
AP_Baro: support mini-pix using LPS25H SPI barometer
...
allow LPS22H and LPS25H to share a driver
7 years ago
Andrew Tridgell
c3f8d5580a
HAL_ChibiOS: undef log directory for skyviper-v2450
7 years ago
Andrew Tridgell
6cc007598e
AP_Scheduler: initialise _last_loop_time_s in init()
7 years ago
Andrew Tridgell
8907cb3b23
AP_Scheduler: time in seconds should be a float
7 years ago
Peter Barker
8288198ac8
AP_Scheduler: force single-precision floating point calculations
7 years ago
Andrew Tridgell
491715bec7
AP_Scheduler: added get_last_loop_time_s()
...
this gives compatibility with previous G_Dt in copter
7 years ago
Andrew Tridgell
f436901517
AP_Scheduler: fixed perf info to match previous behaviour
7 years ago
Andrew Tridgell
b7c4dea9d3
HAL_ChibiOS: gain back 250usec in loop time
...
if we have already called delay_microseconds_boost() then we know
we've given up time to drivers, so we can avoid the extra delay in the
HAL
7 years ago
Andrew Tridgell
e0c9d9b592
AP_Scheduler: fixed loop time available
7 years ago
Andrew Tridgell
24d6493453
AP_Scheduler: make loop times cover INS wait_for_sample
...
this matches past behaviour, and gives much more useful information to
a user wanting to know if their board it meeting its desired loop rate
7 years ago
Andrew Tridgell
434c3fffc7
AP_Scheduler: fixed filtered loop time
7 years ago
Andrew Tridgell
620d6ab4b8
AP_Scheduler: fixed merge issues
7 years ago
Peter Barker
73c0905b5e
AP_Scheduler: pass log-performance-bit at init time rather than update time
7 years ago
Peter Barker
4672e9d4eb
AP_Scheduler: resolve debug name conflict
7 years ago
Peter Barker
30d813a83e
DataFlash: move logging of PM messages to AP_Scheduler
7 years ago
Peter Barker
d3c1b720c6
AP_Scheduler: move logging of PM messages to AP_Scheduler
7 years ago
Peter Barker
d151b27e92
AP_Scheduler: move PERF: statustext sending into AP_Scheduler
7 years ago
Peter Barker
baa6e04854
AP_Scheduler: change loop time to remove sleeping in wait_for_sample
7 years ago
Peter Barker
4909000441
AP_Scheduler: implement loop()
7 years ago
Peter Barker
096f7367bf
AP_InertialSensor: add ins() to AP:: namespace
7 years ago
Peter Barker
e713802c24
AP_Scheduler: add accessor for tick counter
7 years ago
Peter Barker
ae9d4d514d
AP_Scheduler: PerfInfo: allow specification of loop rate
7 years ago
Peter Barker
d1781532d4
AP_Scheduler: PerfInfo: add pragma-once to header
7 years ago
Tom Pittenger
793f50808d
AP_GPS: add param defaults for EMLID_EDGE for GPS_TYPE=9
7 years ago
Tom Pittenger
3105fd56bc
AP_BoardConfig: add param defaults for EMLID_EDGE for CAN_DRIVER=1
7 years ago
Tom Pittenger
a2f1f63ab3
AP_HAL: add param defaults for EMLID_EDGE for GPS_TYPE=9 and CAN_DRIVER=1
7 years ago
Alexey Bulatov
8369f125ce
AP_HAL: Edge: add define HAL_WITH_UAVCAN
7 years ago
Mark Whitehorn
da69832140
AP_HAL_ChibiOS: add #ifdef around toneAlarm thread stack declaration
7 years ago
Lucas De Marchi
755b1cdced
AP_HAL_Linux: rpi: sort include headers
7 years ago
Lucas De Marchi
90160a9c52
AP_HAL_Linux: rpi: use const var and fix formatting
...
Use a const variable instead of a define so we don't polute the
environment with a define specific to this function.
Also remove tabs and replace with proper coding style.
7 years ago
Dmitri Ranfft
05ebabbf6b
AP_HAL_Linux: fixed RPi version detection on kernel 4.9
7 years ago
murata
7be15cab45
AP_HAL: disable copter winch on f4light boards
7 years ago