* Change ICM426XX gyro initialization
- Shut down Acc and Gyro before setting non-GYRO_ODR, ACCEL_ODR, GYRO_FS_SEL, ACCEL_FS_SEL, GYRO_MODE, ACCEL_MODE registers
- Set correct User Bank before writing to registers
* Change ICM426XX GYRO_ACCEL_CONFIG0 to 15 from 14
* Remove unneeded delay commands
* FIX: Further config.h mappings
- current meter
- voltage meter
- adding USE_BARO
- black box device default
* Adding: ADC, BARO and CURRENT_METER_SCALE_DEFAULT
* Adding ACC, GYRO and BARO (where previously missed).
* Renamed CURRENT_METER_SCALE_DEFAULT to DEFAULT_CURRENT_METER_SCALE for consistency
* increase FF smoothing max to suit elrs 1000hz link rate
first step to making an ERLS 1000hz preset
* changed CMS ff smoothing limit to 95 max
---------
Co-authored-by: Ivan Efimov <gendalf44@yandex.ru>
* Adding GYRO and MAG alignment from settings in unified targets
* I2C devices incorrectly specified, i.e. variance to how SPI is handled.
* Adding in remaining setting (where a mapping is yet to be verified)
* Adding check for comment in auto generation (so editing can be commenced).
* SYSTEM_HSE_MHZ now being set.
* REFACTOR: moving timer definitions to MCU locations.
* Now that the MCU directory needs to be included in the search path for includes, no need for target.h entry if filenaming is consistent.
* SITL needs the empty include.
* Never block use of SWD pins
* Split the AT-START-F435 and REVO-AT configs out from AT32F435/target.h
* Move FLASH_PAGE_SIZE definition to CPU specific target.h files
---------
Co-authored-by: J Blackman <blckmn@users.noreply.github.com>
* FIX: Several build issues following configuration changes
1. RX_SPI pins undefined
2. SDCARD enabled but no utilisation (i.e. no blackbox selected).
* Improved readability (readiness for "black" macro magic)
* Adding Makefile rule to enable CI targets to include Configured targets
Reads internal and external ADC channels.
Internal Vref and temperature tested, external Vbat tested.
Expect temperature to be inaccurate as the AT chips don't come with
per chip calibration.
External current and the generic 'external' channels haven't been tested.
Remove USE_SWDIO, simply refer to debug
Command line of `make TARGET=STM32F405 DEBUG=GDB` will trigger this.
Alternative is simply `make TARGET=STM32F405 EXTRA_FLAGS="-DDEBUG"`