* Added virtual black box for SITL
* Update src/main/blackbox/blackbox_virtual.c
The platform.h is added into blackbox_virtual,c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Virtual blackbox code style improvement
* Resolved issue of log files counter
* Added logs file name length checking in virtual blackbox
* Added open directory function result checking
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Added computing of const log file neme length
* Improved virtual blackbox file name generation
* Edited errors description in case of using virtual blackbox for non SITL build
* Removed extra #ifdef
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Apply USE_BLACKBOX, USE_BLACKBOX_VIRTUAL define for SITL build
* Code style improvement
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Code style improvement
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Code style improvement
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Code style improvement
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Code style improvement
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Code style improvement
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Added USE_BLACKBOX_VIRTUAL checking for #error message
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* fix: led strip not working (#14279)
* fix: led strip not working reworked (#14279)
* Revert src/platform/STM32/target/STM32F745/target.h
* Revert src/platform/STM32/target/STM32F7X2/target.h
* Fix per review ledvinap
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Properly handle HSI if selected
In some places, PERSISTENT_OBJECT_HSE_VALUE being zero is used to imply that the MCU should be clocked from HSI, but the code doesn't really follow through and results in an invalid clock tree setup.
The proposed changes should fix this.
* Apply suggestions from code review
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update system_stm32g4xx.c
HSI should now be implicitly selected when SYSTEM_HSE_MHZ is defined as 0 or omitted in the target config.
USE_CLOCK_SOURCE_HSI is not necessary.
* Update src/platform/STM32/startup/system_stm32g4xx.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/platform/STM32/startup/system_stm32g4xx.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
quaternion w can ce negative, causing problem with unit quaternion
reconstruction. Send inverted quaternion in negative-w case (q and -q
are identical rotations)
* increasing number of msp ports
* Adding custom define and bumping to 6 ports
* reverting msp ports to allow to be bumped at build time
* Update src/main/msp/msp_serial.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* reset src/config
---------
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>