* Allow for 3 gyros to be fused at once.
* Handle the case where no GYRO_COUNT is defined
* Fix accel init bug
* Fix bugs found by AI
* Fix compile time assert message
* Move to picking which IMU you want to enable, allow IMU that have the same scale and looprate to run together even if they aren't identical IMU.
* Fully support 8 IMU
* Fix suggestions, except for MSP all suggestions
* Fix bugs found by AI
* Update gyro_init
* Fix unit tests (feels wrong though)
* Allow MSP to update all gyro alignment
* resolve comments
* Only auto set up to 4 gyros in a config.
* Update MSP implementation
* Fix divide by 0 error
* Update src/main/target/common_post.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Handle case where gyro 1 does not exist
* Fix 426XX driver
* fix = logic in if statement
* Update src/main/msp/msp.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/drivers/accgyro/accgyro_spi_icm426xx.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Apply ledvinap suggestions
* Fix detectedSensors initialization
* fix getGyroDetectedFlags
* Automatically handle GYRO_COUNT for up to 4 IMU
* better handle unit tests
* Backwards compatible with older config.h files
* Update src/main/sensors/gyro_init.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update src/main/target/common_pre.h
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
* Update src/main/sensors/gyro_init.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/sensors/gyro.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* This needs to be the case or unit tests fail, without this we cannot choose default gyro either.
* ledvinap suggestions
* whitespace
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
* Removing -fsingle-precision-constant
This is so that -Wdouble-promotion raises a warning as it should.
* Adding -Wunsuffixed-float-constants
* Not ideal.
* Moving to a named constant
* Named constant update
* Using M_PIf
* Updated following feedback from @ledvinap
* Move bus_i2c_config.c to platform to allow different PICO implementation.
* Rename bus_i2c_config.c -> bus_i2c_pinconfig.c and i2cHardwareConfigure() -> i2cPinConfigure()
* Allow for builds with certain features disabled.
Fix build for when the following are disabled:
USE_DMA
USE_DSHOT_TELEMETRY
USE_SERIAL_PASSTHROUGH
* Tweak #ifdef / UNUSED as per code review.
* Adding picotool build recipe in makefiles.
* Use semaphore in directory for default goal recipe for target
* Suggestions from coderabbitai
* Further coderabbit suggestions
* Wrong case
* Minor change to improve logic
* Further improvements.
- submodules replaced with specific submodule for pico_sdk (to avoid all developers needing this)
* Removing need for remote on git submodule update for configs, as we have the commit occurring daily.
- made sure config also build uf2
* Simplified firmware output selection for target
* Moved UF2 outside of EXST
* Missed two remnants of HEX_TARGETS
* Adding check for target
* As target is known default output can be set in platform mk file or target mk file
- no need for file indicator (i.e. .exe or .uf2)
* Update config.mk for less verbosity
* add icm40609d
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
refactor include
* add support for setting filters from config
* set optimal settings for AAF
* add settings DEC2 M2 filter for Gyro
* set 3Rd hardware UI filters for Gyro&Accel
* update comments filter order
* set readFN for read SPI data via DMA, add INT1 to pulse mode, push-pull, active high
* fix PR issue
* revert INT1 POLARITY to ACTIVE HIGH
* refactor icm40609GetAafParams
* Update src/main/drivers/accgyro/accgyro_spi_icm40609.c
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update src/main/drivers/accgyro/accgyro_spi_icm40609.c
* update link to datasheet
* fix typo
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>