Allow user to supply CFLAGS_DISABLED to Makefile.
Fix missing #if..endif for PINIO_COUNT in pinio.c.
Fix other strncpy build warning/errors for build with CFLAGS_DISABLED="-flto=auto".
* REFACTOR: Adding DMA_FIRST_HANDLER
dmaIdentifier_e could be zero based in the future and align to descriptor array index directly
Also removed unused DMA_INPUT_STRING
* Removed magic number following code rabbit review
* 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>
* PICO: Initial multicore (using it for IRQs)
* Updated so any function can be pushed.
* Corrected includes
* Move to queues
* Removed header
* Adding check on command
- correcting core reset return
* Updates based on feedback
* Whitespace
* making static
* Removing comment
* 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