Andrew Tridgell
0717dddc46
HAL_ChibiOS: bring copter stable up to date with hwdef.dat
...
this fixes GPIO numbering, fixes terrain on some boards and adds some
new boards
2018-11-05 19:36:40 +11:00
Andrew Tridgell
1bc1f33cad
HAL_ChibiOS: updates to hwdef.dat from plane3.9.0
2018-08-02 12:39:01 +09:00
Andrew Tridgell
c5e659c9dd
HAL_ChibiOS: fixed default revo compass orientation
2018-07-11 13:57:53 +09:00
Andrew Tridgell
dc0f2f9319
HAL_ChibiOS: use USB for stdout on more boards
...
don't waste a UART
2018-06-24 08:26:28 +10:00
Andrew Tridgell
2f8a534243
HAL_ChibiOS: expand param storage on F4 boards with flash storage
...
this allows for a lot more param space on these boards
2018-06-24 08:26:28 +10:00
Andrew Tridgell
f9faa0765d
HAL_ChibiOS: fixed bootloader IDs
2018-06-22 08:00:31 +10:00
Andrew Tridgell
c273b23940
HAL_ChibiOS: moved MCU config to python database
...
this moves the key MCU config variables related to memory to the
python MCU database, allowing the hwdef.dat to be considerably simpler
2018-06-06 07:15:41 +10:00
Andrew Tridgell
2684f46641
HAL_ChibiOS: fixed IMU orientation for revo-mini
2018-04-30 08:33:39 +10:00
Andrew Tridgell
7c85d06600
HAL_ChibiOS: setup pwm counts, and cleanup mindpx-v2 PWM lines
2018-04-09 15:32:04 +10:00
Andrew Tridgell
692f22c17f
HAL_ChibiOS: added GPIO assignments for revo-mini
2018-04-07 09:10:29 +10:00
Andrew Tridgell
64278f07d3
HAL_ChibiOS: removed the DMA channels from RCIN in hwdef.dat
...
no longer needed as this is automatic now
2018-04-07 09:10:29 +10:00
Andrew Tridgell
74ed19f460
HAL_ChibiOS: moved more board setup into hwdef.dat
2018-03-02 12:52:50 +11:00
Andrew Tridgell
21d401e844
HAL_ChibiOS: fixed compass orientation for revo-mini
2018-03-02 12:52:50 +11:00
Andrew Tridgell
c4445a7dfd
AP_HAL_ChibiOS: initial hwdef for crazyflie2
2018-02-14 18:27:00 +11:00
Andrew Tridgell
a6e0bb4ed0
HAL_ChibiOS: fixed uart order for revo-mini
...
and setup right battery pins
2018-02-14 18:27:00 +11:00
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
2018-02-14 18:27:00 +11:00
Andrew Tridgell
c6879c679a
HAL_ChibiOS: re-enable USART1 on revo-mini
2018-02-14 18:27:00 +11:00
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
2018-02-14 18:27:00 +11:00
Andrew Tridgell
a057498e0c
HAL_ChibiOS: pull PA9 PA10 high on revo-mini
...
needed for correct operation of USB
2018-02-14 18:27:00 +11:00
Andrew Tridgell
4548fd4d2f
HAL_ChibiOS: changed RCIN to PULLDOWN
...
this fixes a high cpu load with no receiver connected
2018-02-07 20:33:45 +11:00
Andrew Tridgell
30e4323c6d
HAL_ChibiOS: disable USART1 till USB problem solved
...
using USART1 causes USB disconnects. The behaviour is like CTS/RTS is
enabled on USART1, but it is disabled.
2018-02-07 20:33:45 +11:00
Andrew Tridgell
aae1cc22f4
HAL_ChibiOS: updated USB device strings
...
use defaults or add in serial number
2018-02-07 20:33:45 +11:00
Andrew Tridgell
111e5b6268
HAL_ChibiOS: change USB ID for revo-mini
2018-02-07 20:33:45 +11:00
Andrew Tridgell
077aa24c6d
HAL_ChibiOS: add more pins for revo-mini port
2018-02-07 20:33:45 +11:00
Andrew Tridgell
1fb257a35a
HAL_ChibiOS: initial hwdef.dat for revo mini
2018-02-07 20:33:45 +11:00