Peter Barker
0e6bca92f7
AP_HAL_ChibiOS: remove redundant lines from hwdef files
2024-04-10 17:28:48 +10:00
Peter Barker
813f0cf428
hwdef: remove save_some_flash.inc
...
all but one board was getting all of these includes from minimize_fpv_osd, and the remaining board had most lines foming from minimize_features.inc.
This file has served its purpose, its role now taken on by minimize_fpv_osd.inc
2024-03-24 20:15:53 +11:00
Peter Barker
85d25b205f
hwdef: remove unused STM32_PWM_USE_ADVANCED defines
2024-03-23 22:04:34 +11:00
Peter Barker
d0e7039b68
hwdef: remove un-needed AP_PARAM_MAX_EMBEDDED_PARAM default
...
these boards have <= 1024, and we have code in place which defaults this value tto 1024
2024-01-15 20:25:59 +11:00
Henry Wurzburg
42d4b2671b
hwdef:fix bug in AtomRCF405NAVI,fix some bds that aren't building
2023-10-17 18:21:04 +11:00
Peter Barker
338a4d6b38
hwdef: remove HAL_BOARD_LOG_DIRECTORY and HAL_BOARD_TERRAIN_DIRECTORY defaults
...
these are now defaulted in chibios_hwdef.py
2023-07-19 17:25:18 +09:00
Henry Wurzburg
efd0937568
AP_HAL_ChibiOS: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL
2023-04-23 11:19:50 +10:00
Henry Wurzburg
be94015dba
AP_HAL_ChibiOS: remove unused HAL_BUZZER_OFF defines
2023-04-22 13:51:09 +10:00
Peter Barker
b52f54d480
AP_HAL_ChibiOS: add defines for all battery backends
2023-03-10 08:48:24 +11:00
mateksys
673a60f1ba
AP_HAL_ChibiOS:add Invensensev3 IMU support in MatekF405-Wing
2023-02-28 15:34:24 +11:00
Peter Barker
37240fb9ab
hwdef: turn baro-wind-compensation in save_some_flash.inc
2022-12-06 10:28:10 +11:00
Henry Wurzburg
40b318318d
AP_HAL_ChibiOS:remove synth curr from bds with onbd current
2022-11-29 11:01:13 +11:00
Peter Barker
bb1c3d6545
AP_HAL_ChibiOS: use minimize_features.inc for HAL_WITH_DSP
2022-11-05 14:52:10 +11:00
Peter Barker
33207bb915
AP_HAL_ChibiOS: factor out a save_some_flash.inc
2022-11-01 11:11:12 +11:00
Henry Wurzburg
eee856b427
hwdef: limit to onboard BARO for low flash F4 boards
2022-10-25 10:33:24 +11:00
Andrew Tridgell
01a52a5427
hwdef: use minimal GPS driver (ublox only) on low flash boards
...
this buys us about 22k of flash
2022-10-19 21:07:22 +11:00
Peter Barker
0bd08a4a82
AP_HAL_ChibiOS: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Peter Barker
9b1b06fd95
hwdef: remove ICEngine support from many boards
...
Ran out of room on omnibusf4pro-bdshot.
Removed ICEngine in the same place we were removing OpticalFlow
2022-08-17 17:40:21 +10:00
TunaLobster
01035b81b3
AP_HAL_ChibiOS: Add macros for Fuel options
...
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
2022-08-16 09:36:31 +10:00
Hwurzburg
0ea7044796
AP_HAL_ChibiOS: update option names in BATTMonitor in prep for expansion
2022-02-01 12:35:03 +11:00
Peter Barker
0eacc0348e
AP_HAL_ChibiOS: remove HAL_COMPASS_DEFAULT define
...
this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.
This would have stopped being useful when we did the
compass-prority-table stuff - or before.
2022-02-01 12:10:38 +11:00
Peter Barker
81d205465c
hwdef: remove OpticalFlow from builds in several low-flash boards
2022-01-06 13:35:51 +11:00
bugobliterator
8651d99de6
HAL_ChibiOS: move to using parameter STORAGE_FLASH_PAGE instead of define
2021-10-30 19:24:57 +11:00
Andrew Tridgell
47da7f5c9b
HAL_ChibiOS: change RCIN FLOAT to PULLDOWN
...
this lowers the chance of noise on a RCIN pin causing incorrect
protocol detection
2021-10-12 11:52:36 +11:00
Peter Barker
43469955a9
AP_HAL_ChibiOS: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
70aef84997
AP_HAL_ChibiOS: remove definitions of BOARD_PWM_COUNT_DEFAULT
...
No longer used
2021-08-20 10:51:19 +10:00
Andy Piper
3386cbb0df
AP_HAL_ChibiOS: add OREO support to CubeSolo.
...
add back RunCam and Spektrum support to MatekF405-Wing
remove gripper support from MatekF405-Wing
2021-06-16 20:25:58 +10:00
Samuel Tabor
3fc58de7ce
AP_HAL_ChibiOS: Restore soaring on F405-Wing board.
2021-06-16 09:15:03 +10:00
Andrew Tridgell
f09abc705b
HAL_ChibiOS: bring us to 18k free for MatekF405-Wing plane build
2021-06-09 18:07:00 +10:00
Peter Barker
09e82e52e1
AP_HAL_ChibiOS: disable AP_EFI on MatekF405-Wing and omnibusf4pro
2021-06-08 14:08:34 +10:00
Andrew Tridgell
eca8cf3414
HAL_ChibiOS: save flash on boards that are critically low
...
move to single OSD font on some boards
this saves about 12k on these boards. They were also extremely close
to overflowing flash, under 2k on some
Now that we support having an OSD font on the microSD card (where
available) we can reduce built in fonts without a large functionality
impact
This also disables some less used features on these boards:
- generator support
- object avoidance path planning
- precision landing
This will give us some breathing room on these boards
2021-04-13 09:58:59 +10:00
Andrew Tridgell
814393c9c2
HAL_ChibiOS: switch from DPS280 to DPS310 in boards that use the DPS310
2021-02-09 11:37:07 +11:00
Ari Krupnik
79e1f5e8bd
AP_HAL_ChibiOS: standard spelling of variant
2020-12-25 00:01:50 +11:00
MATEKSYS
903b44da7d
HAL_ChibiOS: Add DPS310 for MatekF405-WING,F765-WING and H743
2020-06-22 19:35:01 +10:00
Andrew Tridgell
259cb0aafd
HAL_ChibiOS: removed EKF2 define, not needed any more
2020-05-10 15:09:54 +10:00
Andrew Tridgell
32cdfddf12
HAL_ChibiOS: convert all hwdef from UART_ORDER to SERIAL_ORDER
...
much easier to understand
2020-04-28 10:32:23 +10:00
Andrew Tridgell
a9df9fe0c0
HAL_ChibiOS: removed clock tree settings in most hwdef.dat
...
these are better set automatically in the headers. This simplifies the
task of doing a new port
2020-04-28 10:32:23 +10:00
Andrew Tridgell
e8b2b52bae
HAL_ChibiOS: removed STM32_VDD from hwdef.dat
...
use default
2020-04-28 10:32:23 +10:00
Henry Wurzburg
a637073dad
AP_HAL_Chibios: add tenth PWM output to MatekF405-Wing
2020-03-30 11:23:14 +11:00
Andrew Tridgell
986ad0dc27
HAL_ChibiOS: removed unnecessary subtype defines
2020-03-14 08:35:32 +11:00
Andy Piper
3d0cf7e12a
AP_HAL_ChibiOS: hardware M4-Cortex and M7-Cortex (and H7) implementation of HAL FFT abstraction
...
implements an FFT engine based on the betaflight feature using ARM hardware accelerated CMSIS library
make the FFT feature optional
add dynamic gyro windows
add quinns and candans estimators and record in DSP state
disable DSP for boards with limited flash
calculate power spectrum rather than amplitude
start/analyse version of analysis to support threading
allocate memory in a specific region
constrain window size by CPU class
control inclusion of DSP based on board size
2020-02-22 11:15:37 +11:00
Andrew Tridgell
8b2629bfc1
HAL_ChibiOS: save 7k flash for boards close to flash limit
2020-02-01 06:58:43 +11:00
Peter Barker
73c32f403b
AP_HAL_ChibiOS: do not compile EKF2 for MatekF405-Wing
2020-01-21 11:53:18 +11:00
Andrew Tridgell
ce4120e803
HAL_ChibiOS: disable parachute and sprayer on MatekF405-Wing
...
fixes build size
2020-01-18 13:48:48 +11:00
Andrew Tridgell
0d31e614ed
HAL_ChibiOS: added ALT(1) configs for more boards
...
this allows more boards to use the FPort protocol
2020-01-03 17:32:23 +11:00
Andy Piper
6f979d5f7f
AP_HAL_ChibiOS: define OSD_ENABLED as 1 rather than ENABLED
2019-12-30 13:02:04 +11:00
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
91aa49ba6f
HAL_ChibiOS: convert matek boards
2019-05-30 15:39:57 +10:00
vierfuffzig
d204939cb2
AP_HAL_ChibiOS: set default type for boards with onboard OSD
2018-11-09 08:12:51 +11:00
vierfuffzig
e04ebb1326
HAL_ChibiOS: set BATT_MON default on boards with onboard volt/curr sens
2018-10-31 21:29:33 +11:00