Andrew Tridgell
95b527dac8
HAL_ChibiOS: save 3k of flash on MatekF405-Wing
...
disable SMBUS and fuel battery monitors
2019-12-09 21:35:00 +11:00
Andrew Tridgell
4f429e6c5a
HAL_ChibiOS: fixed handling of 16bit timer wrap
...
this fixes #12948
2019-12-09 12:43:39 +11:00
Andrew Tridgell
d4d44990e1
HAL_ChibiOS: added assert for systime_t size
2019-12-09 12:43:39 +11:00
Henry Wurzburg
ccc7968f91
HWDEF: Speedybeef4 change I2C internal mask to 0 to allow probing ext baros
2019-12-09 12:03:33 +11:00
Andy Piper
16d2dd4e2d
AP_HAL_ChibiOS: specify Durdanal IMUs so that ordering is correct
2019-12-08 17:23:20 +11:00
Andrew Tridgell
0a81c48d9c
HAL_ChibiOS: lower gains on CubyOrange and Yellow heater
...
this should reduce the chance of baro oscillation due to rapid change
in heater temperature
2019-11-28 21:35:29 +11:00
Phillip Kocmoud
73c56220ff
HAL_ChibiOS: update mRoControlZeroF7 I2C mask
2019-11-27 16:08:19 +11:00
Andrew Tridgell
0317b66139
HAL_ChibiOS: update mRoX21-777 I2C mask
...
all external
2019-11-27 14:25:18 +11:00
Andrew Tridgell
0c4a4ccb74
HAL_ChibiOS: optionally print information on a HardFault
2019-11-27 14:12:04 +11:00
Andrew Tridgell
ef993f380f
HAL_ChibiOS: use system_halt_hook()
2019-11-27 14:12:04 +11:00
Andrew Tridgell
c1575654e2
HAL_ChibiOS: added optional debug code for hardfaults and panics
...
this implements a soft-serial print function that can be used to get
debug out on a GPIO pin in a panic
2019-11-27 14:12:04 +11:00
Michael du Breuil
21f6695acd
AP_HAL_ChibiOS: Add defaults.parm for CubeOrange and CubeYellow
2019-11-20 20:52:36 +11:00
Stephen Dade
e1e7c6ea8a
AP_HAL: Ensure scheduler does not log if there is no logger
2019-11-20 11:46:34 +11:00
Andrew Tridgell
4636a4c458
HAL_ChibiOS: support LEDs with a wider range of frequencies
...
this fixed LEDs on FMUv5 boards on first 4 aux channels. We need to
round up not round down in the resulting bitrate
2019-11-18 15:54:36 -08:00
Andrew Tridgell
4745c9f78d
HAL_ChibiOS: setup define for number of serial ports
2019-11-19 07:13:20 +08:00
Andrew Tridgell
0751756e91
HAL_ChibiOS: retain OPENDRAIN if set on a pin
...
this allows OPENDRAIN when set on a pin to be retained when set with a
pinMode(). This fixes a partially lit B/E LED on the Pixhawk4
2019-11-17 11:45:38 +11:00
Andrew Tridgell
fdd2e93f7e
HAL_ChibiOS: disable debug port on f103 to save memory
2019-11-09 17:11:32 +11:00
Andrew Tridgell
a90a2e20dc
HAL_ChibiOS: enable CAN callbacks
...
this allows for much more reliable CAN comms in AP_Periph
2019-11-09 17:11:32 +11:00
Matt Lawrence
7a63bda027
Frame_params: Updated solo params for Copter 4
2019-11-08 07:28:17 +08:00
Andrew Tridgell
1db4afb844
HAL_ChibiOS: enable MatekF765 LED pin
...
- use tonealarm for buzzer
- add more baro options
2019-11-04 08:14:27 +11:00
Andrew Tridgell
64aae4f67e
HAL_ChibiOS: removed heater control
2019-11-02 16:31:04 +11:00
Andrew Tridgell
d8445928d1
HAL_ChibiOS: fixed SPI timeout bug
...
thanks to CUAV for noticing
2019-11-01 22:11:17 +11:00
Andrew Tridgell
6c0c09e690
Revert "HAL_ChibiOS: lower speed of mpu9250"
...
This reverts commit a4e51f3942
.
This commit led to more errors on the first IMU on a normal
CubeBlack. I don't yet know why this happens, but I'm removing this in
master for now as it affects primary IMU
2019-11-01 11:20:32 +11:00
Andrew Tridgell
22f0e8a065
HAL_ChibiOS: added RM3100 in f303-GPS
2019-11-01 10:53:53 +11:00
Andrew Tridgell
207dffba88
HAL_ChibiOS: moved compass support for f103-GPS
...
not needed for other builds
2019-11-01 10:53:53 +11:00
Andrew Tridgell
1d44718016
HAL_ChibiOS: added f303-periph and f303-GPS firmware
2019-11-01 10:53:53 +11:00
Andrew Tridgell
bc1de7a208
HAL_ChibiOS: support STM32F3xx MCUs
2019-11-01 10:53:53 +11:00
Siddharth Purohit
8c413d3c09
HAL_ChibiOS: fix writing into a NULL pointer CANFD interrupt
2019-10-30 22:15:04 +11:00
Andrew Tridgell
8f14ea9e80
HAL_ChibiOS: enable advanced timers if we have any N PWM channels
2019-10-29 13:09:14 +11:00
Andrew Tridgell
ff30ba87bc
HAL_ChibiOS: fixed build of sparky2
...
running out of flash
2019-10-29 12:15:12 +11:00
Andrew Tridgell
fcf9356e2c
HAL_ChibiOS: fixed build of f103 rangefinder
2019-10-29 08:07:29 +11:00
Andrew Tridgell
a4e51f3942
HAL_ChibiOS: lower speed of mpu9250
...
it isn't handling the full speed well, getting some SPI transfer
errors
2019-10-28 21:06:41 +11:00
Andrew Tridgell
b5af1edf0d
HAL_ChibiOS: moved app_descriptor to start of flash
...
this prevents the bootloader from finding it's own image as a false
posititve in searching for the app_descriptor
2019-10-28 15:53:16 +11:00
Andrew Tridgell
3800d7c084
HAL_ChibiOS: added crazyflie2 bootloader
2019-10-28 09:27:31 +11:00
Andrew Tridgell
d1bc0f236d
HAL_ChibiOS: added pragma once for watchdog header
2019-10-26 15:32:10 +11:00
Andrew Tridgell
fc8d9e8af5
HAL_ChibiOS: added RTC_BOOT_FWOK value for RTC reboot register
...
this is used in CAN firmware to know if the main app firmware has run
for long enough to be considered good
2019-10-26 15:32:10 +11:00
Andrew Tridgell
378d5c7a5a
HAL_ChibiOS: added expected delay in bootloader flash
2019-10-25 21:36:55 +11:00
Andrew Tridgell
81325ab14d
HAL_ChibiOS: fixed multi-page bootloader update
...
and use new enum
2019-10-25 21:36:55 +11:00
Andrew Tridgell
6f9fda5094
HAL_ChibiOS: removed CAN_APP_VERSION_MAJOR from hwdef.dat
2019-10-25 13:52:43 +11:00
Andrew Tridgell
1bf037297d
HAL_ChibiOS: set correct APJ_BOARD_ID for ZubaxGNSS
2019-10-25 09:35:27 +11:00
Andrew Tridgell
49e669aa1f
HAL_ChibiOS: support uncompressed bootloader on f103-periph
...
this allows update with very low memory
2019-10-24 22:03:43 +11:00
Andrew Tridgell
cffb434de8
HAL_ChibiOS: tweak stack on f103-periph
2019-10-24 22:03:43 +11:00
Andrew Tridgell
a3b61a1b02
HAL_ChibiOS: enable ROMFS for ZubaxGNSS and f103-periph
...
this allows for bootloader update
2019-10-24 22:03:43 +11:00
Andrew Tridgell
a224342b18
HAL_ChibiOS: enable ROMFS for CUAV_GPS
2019-10-24 22:03:43 +11:00
Andrew Tridgell
f69be70772
HAL_ChibiOS: save some memory in f103-periph build
2019-10-22 17:51:24 +11:00
Andrew Tridgell
0a4576728e
HAL_ChibiOS: support a app->bootloader comms region in SRAM
...
this allows for UAVCAN update without a 2nd BeginFirmwareUpdate call
2019-10-21 19:12:01 +11:00
Andrew Tridgell
5605ad6c59
HAL_ChibiOS: enable MissionPlanner compatible app descriptor
2019-10-21 19:12:01 +11:00
Andrew Tridgell
6b841e781c
HAL_ChibiOS: pat watchdog immediately in expect_delay_ms()
...
this fixes a watchdog issue on AP_Periph if we don't have a timer
thread
2019-10-21 19:12:01 +11:00
Andrew Tridgell
7973a25c40
HAL_ChibiOS: fixed stack on ZubaxGNSS
2019-10-21 19:12:01 +11:00
Andrew Tridgell
910129eafc
HAL_ChibiOS: enable watchdog in AP_Periph firmwares
2019-10-21 19:12:01 +11:00