Peter Barker
b52f54d480
AP_HAL_ChibiOS: add defines for all battery backends
2023-03-10 08:48:24 +11:00
ChriKrawi
5e8cbbd238
AP_HAL_ChibiOS: hwdat-file modified to support bmi270 imu
2023-01-03 09:34:29 +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
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
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
68146d541c
HAL_ChibiOS: removed boilerplate lines from bootloaders
2021-10-26 15:56:53 +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
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
Andy Piper
c707303336
AP_HAL_ChibiOS: hold buzzer ping low in bootloader for omnibusf4pro
2020-06-30 17:58:35 +10:00
Henry Wurzburg
9c72525bbf
AP_HAL_ChibiOS: Add unused LED output as GPIO in OmnibusF4Pro def
2020-05-26 10:51:32 +10:00
Henry Wurzburg
12d5602926
AP_HAL_ChibiOS: Add ability to use UART3 and UART4 in bd alt config 4
2020-05-11 14:18:35 +10:00
Andrew Tridgell
259cb0aafd
HAL_ChibiOS: removed EKF2 define, not needed any more
2020-05-10 15:09:54 +10:00
Henry Wurzburg
3f735e7e54
HAL_ChibiOS: Make full UART4 available as bd config option
2020-05-10 08:00:57 +10:00
Andrew Tridgell
a5965d5a9e
HAL_Chibios: removed unnecessary debug defines
2020-04-29 07:36:55 +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
Andrew Tridgell
6be519fb0d
HAL_ChibiOS: added alt-config for UART4 on omnibusf4pro
2020-04-21 18:42:12 +10:00
vierfuffzig
7c7b199bbd
AP_HAL_ChibiOS: add I2C / USART3 ALT_CONFIG for omnibusf4pro
2020-04-16 08:42:24 +10:00
Henry Wurzburg
e5319397b4
AP_HAL_ChibiOS: eliminate EKF2 from F4 builds not using HAL_MINIMIZE_FEATURES
2020-04-14 09:19:28 +10:00
Andrew Tridgell
986ad0dc27
HAL_ChibiOS: removed unnecessary subtype defines
2020-03-14 08:35:32 +11:00
Andrew Tridgell
d35fff5186
HAL_ChibiOS: set CS pins high while in bootloader
...
this appears to be the root cause of the parameter resets on
CubeOrange. We need to ensure the CS pin is not floating or random
noise on the SPI bus for FRAM can cause the FRAM to become corrupt
2020-03-11 09:53:06 +11:00
Andrew Tridgell
8b2629bfc1
HAL_ChibiOS: save 7k flash for boards close to flash limit
2020-02-01 06:58:43 +11:00
Andrew Tridgell
7ce771734c
HAL_ChibiOS: fixed fw build size for several boards
2020-01-19 07:24:57 +11:00
Andy Piper
6f979d5f7f
AP_HAL_ChibiOS: define OSD_ENABLED as 1 rather than ENABLED
2019-12-30 13:02:04 +11:00
Henry Wurzburg
00c111651a
ChiBios: Omnibusf4pro hwdef tweak to allow active or passive buzzer
2019-08-26 12:22:53 +10:00
Atxheli
7f3cb09da2
correct comment placement for second led
2019-07-04 08:36:33 +10:00
Hwurzburg
a9783de61c
correct include paths, uncomment alarm pin, fix conflict with rssi
2019-07-04 08:36:33 +10:00
Hwurzburg
3e3d7b8e7f
Change to "include" style for new board, fix to allow LED to be used as status indicator
2019-07-04 08:36:33 +10:00
Hwurzburg
10838387c5
Split Omnibus F4 pro and non-pro into two boards to allow pro boards to have 8 pwm outputs
2019-07-04 08:36:33 +10:00
Andrew Tridgell
614a059819
HAL_ChibiOS: convert more boards to using new sensor config system
2019-06-05 18:54:40 +10:00
Andrew Tridgell
2b0a30a2c5
HAL_ChibiOS: ensure we don't overflow bootloader area
...
this modifies the ld script to use the maximum size available for the
bootloader, so we can't accidentially grow the bootloader beyond its
max size
2019-05-06 12:36:41 +10:00
vierfuffzig
d204939cb2
AP_HAL_ChibiOS: set default type for boards with onboard OSD
2018-11-09 08:12:51 +11:00
Andrew Tridgell
78a32df2e7
HAL_ChibiOS: make all boards base GPIOs for servos at 50
...
this makes the docs for GPIO pins consistent across boards
2018-10-31 20:10:52 +11:00
Alexander Malishev
05099b8b8b
HAL_ChibiOS: restore default dataflash buffer size
...
This fix log corruption in copter
2018-08-15 10:15:09 +10:00
Andrew Tridgell
95aaa01014
HAL_ChibiOS: override COMPASS_AUTO_ROT on several boards
2018-07-28 18:05:12 +10:00
Alexander Malishev
4342dae065
HAL_ChibiOS: define BOARD_RSSI_ANA_PIN to simpify tuning
2018-07-16 08:29:49 +10:00
Alexander Malishev
89f7d652e0
HAL_ChibiOS: removed wrong led pin
2018-07-16 08:29:49 +10:00
Andrew Tridgell
9ab55f6838
HAL_ChibiOS: probe for external compasses on several boards
...
boards that have no internal compass will now probe for all external
compass types
2018-07-14 17:51:50 +10:00
Andrew Tridgell
2d8dbc05d0
HAL_ChibiOS: fixed omnibusf4pro I2C
...
many thanks to Kelly-Foster and @sh83
2018-07-11 08:33:49 +10:00