Andrew Tridgell
b1e7b508db
HAL_ChibiOS: added HitecMosaic
4 years ago
Andrew Tridgell
1723cf8efb
HAL_ChibiOS: reduce SPI clock on MatekH743 mpu6k to 2MHz
...
this fixes regular transfer errors
4 years ago
Tom Pittenger
e235fd311e
AP_HAL_ChibiOS: fixed comment in script file
4 years ago
Andrew Tridgell
6765265a3b
AP_Periph: switched to 1kHz clock for f303-periph
...
and use CAN RX buffer size of 64.
This makes for more efficient CPU usage on f3, and fixes an issue with
lost CAN parameter replies causing timeouts in the CAN parameter
download protocol
4 years ago
Andrew Tridgell
b289701d20
HAL_ChibiOS: removed SPI devices on f103-periph
...
these are unused and saves us a couple of k of flash
4 years ago
Andy Piper
cf2602f91d
AP_HAL_ChibiOS: add support for @SYS/dma.txt for DMA contention
4 years ago
Phillip Kocmoud
38dd3b9209
hwdef: add mRo Control Zero Classic
4 years ago
Phillip Kocmoud
bef522387a
hwdef: add mRo Control Zero H7
4 years ago
Andrew Tridgell
cf22caa7ef
HAL_ChibiOS: raise stack limits in f303 peripherals
4 years ago
Andrew Tridgell
3ba46d5bd9
HAL_ChibiOS: enable reporting of watchdog reset on AP_Periph
4 years ago
Andrew Tridgell
ba69cd72c9
HAL_ChibiOS: improved stack checking and stack display
...
display both ISR stack and thread stacks. Show total stack sizes as
well as amount of stack remaining
4 years ago
Andrew Tridgell
84eac7642b
HAL_ChibiOS: improved stack checking
4 years ago
Andrew Tridgell
2d459dccc3
HAL_ChibiOS: reduced stack usage in CAN RX handler
4 years ago
Andrew Tridgell
c778d14fd3
HAL_ChibiOS: enable stack checking on f303 boards
4 years ago
Andrew Tridgell
573cd6db6d
HAL_ChibiOS: adjust MAIN_STACK for more ISR stack
...
we need more stack to deal with interrupt nesting between CAN, system
timer and serial interrupts
4 years ago
Andrew Tridgell
52a90e7a33
HAL_ChibiOS: fixed monitor thread with no logging
4 years ago
Andrew Tridgell
2a29b0fcf5
HAL_ChibiOS: fixed AP_Periph build with --enable-asserts
4 years ago
Andrew Tridgell
4d171ec19a
AP_HAL_ChibiOS: support uartI, allowing a total of 9 uarts
...
this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
4 years ago
Phillip Kocmoud
c9182b39d5
hwdef: mRo Control Zero H7 OEM - update and improve uniformity
4 years ago
Phillip Kocmoud
b55920165a
hwdef: mRo Pixracer Pro - update and improve uniformity
4 years ago
Phillip Kocmoud
a379bb8fc5
hwdef: mRo Control Zero F7 update and improve uniformity
4 years ago
Andrew Tridgell
a587195912
HAL_ChibiOS: change f303-MatekGPS to 5Hz by default
4 years ago
Tom Pittenger
67405cedb2
AP_HAL_ChibiOS: add AP_BattMonitor support to CubeBlack&Orange-periph
4 years ago
斯东Stone
4990048efb
HAL_ChibiOS: Correct a typo and Update product link url for PH4-mini
4 years ago
QioTek
e4f4868d9b
HAL_ChibiOS: add QMC5883L on QioTekZealotF427
...
add QMC5883L on QioTekZealotF427
4 years ago
Marek Łukasiewicz
64f208cbec
HAL_ChibiOS: Add af_parse for CubeMX pinout csv
4 years ago
Phillip Kocmoud
701ab83f01
HAL_ChibiOS: Added support for mRo ControlZero OEM H7 flight controller
4 years ago
Andrew Tridgell
408f8b3940
HAL_ChibiOS: added check for overwrite of nullptr on H7
...
the STM32H7 has 64k of ITCM memory at address zero. We allow
allocation of everything except the first 1024 bytes. This checks for
those reserved bytes being overwritte, which would indicate a write to
nullptr
4 years ago
Andrew Tridgell
8f682c0782
HAL_ChibiOS: check all memory at 10Hz
4 years ago
Andrew Tridgell
95a823a702
HAL_ChibiOS: added link list of all memory allocations
...
check all allocations for corruption on free() and malloc_check()
4 years ago
Andrew Tridgell
3f775205e6
HAL_ChibiOS: fixed use of chHeapFree
...
should be free
4 years ago
Andrew Tridgell
ce3e1a69ec
HAL_ChibiOS: added memory guard system
4 years ago
Huibean
cf2b89c4f1
AP_HAL_ChibiOS:add mazzy star drone hwdef
4 years ago
Tom Pittenger
e0e3c23a87
AP_HAL_ChibiOS/hwdef: fix misprint in comment
4 years ago
Marek Łukasiewicz
8813057b4c
AP_HAL_ChibiOS: Tweak sorting to be py2/py3 compatible
4 years ago
Andrew Tridgell
280e9d1c41
HAL_ChibiOS: fixed bootloader build
4 years ago
Andrew Tridgell
17b4198921
HAL_ChibiOS: add WITH_FATFS to environment
4 years ago
Andrew Tridgell
ac566763fe
HAL_ChibiOS: disable loop delay on replay
4 years ago
Andrew Tridgell
bb3b59966f
HAL_ChibiOS: define INS_MAX_INSTANCES if less than 3
...
save some flash and memory
4 years ago
Andrew Tridgell
cb034c50a7
HAL_ChibiOS: fixed orientation of compass on M10070B
4 years ago
Andrew Tridgell
3b7b2b89a5
HAL_ChibiOS: added baro for mRo Location-one GPS
4 years ago
Phillip Kocmoud
c192efea0a
hwdef:PixracerPro - Fix analog volt pin assignments
4 years ago
Andrew Tridgell
46976c4358
HAL_ChibiOS: fixed remapping of ioline_t with BRD_ALT_CONFIG
...
when a peripheral is made available via BRD_ALT_CONFIG we need to
remap the existing ioline_t in the UART and I2C drivers to use the new
pin.
This fixes an issue with half-duplex, inverted, swapped UART pins for
protocols like FPort and FPort2
4 years ago
Andrew Tridgell
ee50eaf3c9
HAL_ChibiOS: go via AP_Filesystem for mount/unmount operations
...
this fixes a deadlock where a mount/unmount could access FATFS without
holding the AP_Filesystem semaphore
4 years ago
Andrew Tridgell
96f7397099
HAL_ChibiOS: make PowerC primary power on CUAV-X7
...
CUAV considers the CAN power to be the main power for this board
4 years ago
Michael Oborne
b383db15c7
ChibiOS: fix cubeblack+ name and usbid
4 years ago
Andrew Tridgell
fb1dcdb059
HAL_ChibiOS: added BL suffix to bootloader USB IDs for two boards
...
our convention is to have -BL on end of USB product IDs in bootloaders
4 years ago
Andrew Tridgell
418bd33c43
HAL_ChibiOS: fix CUAV-X7 power bits
4 years ago
Andrew Tridgell
25bc128248
HAL_ChibiOS: fixed periph overpower ifdef
...
fixes overcurrent logging on several boards
4 years ago
Andrew Tridgell
989f8c5d41
HAL_ChibiOS: fixed a race condition in UART DMA transmit
...
this fixes an issue seen on one board which caused a watchdog on high
uart DMA load. We have reproduced the issue on another board by
forcing a very high DMA transfer rate on the same DMA channel while
also requesting very high transfer rates on the UART. The likely race
is in the DMA transmit timeout code, and the simplest fix is to lock
out interrupts during the DMA setup to ensure the tx timeout cannot
trigger during the setup
4 years ago