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
bugobliterator
5880628b01
hwdef: add support for CubeBlack-periph
4 years ago
bugobliterator
e16cab0437
AP_HAL_ChibiOS: ensure we timeout while checking FDCAN register sets
4 years ago
bugobliterator
ca957519dc
AP_HAL_ChibiOS: redo filter configuration to make it work with STM32H7
4 years ago
QioTek
f04de7d610
HAL_ChibiOS: Add QioTekZealotF427 build target
...
I've added the hwdef to support the QioTekZealotF427
It has 3 IMU sensors(ICM20698,ICM20602,BMI055), a Compass(Ist8310),
2Baro sensors(DSP310,MS5611), an integrated analog OSD, 14motor
outputs, 4Relay output, 5uarts, 2Power Module input, an i2c, a Can.
4 years ago
Andrew Tridgell
702a3926f8
HAL_ChibiOS: setup defines for more flow control pins
...
allow all uarts to have flow control
4 years ago
Andrew Tridgell
5e80b10396
HAL_ChibiOS: enable telem3 on Durandal
...
the RCIN issue is not there in the final production boards
4 years ago
Andrew Tridgell
e471b23f58
HAL_ChibiOS: add a max quota of GPIO interrupts
...
This implements a max quota of GPIO interrupts per 100ms period to
prevent high interrupt counts from consuming all CPU and causing a
lockup. The limit is set as 10k interrupts per 0.1s period. That limit
should be high enough for all reasonable uses of GPIO interrupt
handlers while being below the level that causes significant CPU loads
and flight issues
This addresses issue #15384
4 years ago
bugobliterator
0a4ea250ad
AP_HAL_ChibiOS: disable CANFilter on H7 boards temporarily
4 years ago
Andrew Tridgell
4b747430e1
HAL_ChibiOS: save 2k in f103 bootloader
...
don't include serial bl support if dev list is empty
4 years ago
Siddharth Purohit
6fb973081b
AP_HAL_ChibiOS: enable all I2C compasses by default for f103 boards
4 years ago
Andrew Tridgell
0e8c8c29a8
HAL_ChibiOS: fixed f303-MatekGPS build
4 years ago
Andrew Tridgell
246e790484
AP_Bootloader: use new hal CAN interface for CAN support
4 years ago
Siddharth Purohit
a79efaeb1d
AP_HAL_ChibiOS: hwdef: add support for HAL CANIface based bootloader
4 years ago
Siddharth Purohit
882c86c394
AP_HAL_ChibiOS: add app start offset to leave space for params
4 years ago
Siddharth Purohit
1f16aa8360
HAL_ChibiOS: add hwdef for CubeOrange-periph
4 years ago
Siddharth Purohit
62df67a4b8
HAL_ChibiOS: hwdef: modify to use HAL CAN driver instead of ChibiOS's
4 years ago
Siddharth Purohit
36ffcdae30
HAL_ChibiOS: modify hal can drivers for use by AP_Periph
4 years ago