* 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"`
As targets are limited to MCU now, we can use this fact to remove the #ifdef statements related to MCU. This is implied by the target.h and can be used for including MCU platform specific includes.
* Removing last items associated with old timerHardware
* target.c rename, to identify purpose (should probably move to drivers/sitl or similar)
* Removing timerHardware dependency from timerup.c
* Makefile Cleanup - further simplification of local building
Can now use the commands:
make BETAFLIGHTF4
make BETAFLIGHTF4_clean
make configs
Target objects for config are now kept separate, so changing a config in use will rebuild as required.
* Minor correction for cummulative use in naming target
* Method for adding defaults using defines for resources.
* As we will always be using the fullTimerHardware, we just need to configure the pin mapping.
This is done in the config.h as
#define TIMER_PIN_MAPPING \
TIMER_PIN_MAP(0, PA0, 1, 0) \
TIMER_PIN_MAP(0, PA1, 1, 0)
timerHardware[] dependencies to be removed in another PR
* Adding missing pin definitions (removing dependency on timerHardware)
* Typo
* In case MOTOR1_PIN is not defined, but a motor is configured
* Tidy up of AT Timer Definitions
* Removed unnecessary F1 code.
* Remove some STM specific define logic from init.c
* As per renaming suggestion from @klutvott123
* Re-arranging VCP files in preparation for AT32
* Tab size 4
* Adding ADC driver for AT32F43x
* RCC code here is STM32 specific.
* Adding rcc.c for AT32
* pwm_output.c has very specific MCU coupling - to be re factored.
* Separating exti.c
* Split up io.c int stm32/io_stm32.c and at32/io_at32.c
* Adding in VCP files for AT32 and move timer
- note will require more cleanup
* Solving for sanity checks
* Inadvertent inclusion of timer.c for HAL
* rcc.c, timer.c and moving other spevific files out of the driver directory
* Adding I2C drivers
* Formatting
* ws2811 driver and usb_msc driver skeleton