* Fix SITL for MacOS M1
* move macos m1 SITL fix into SITL.mk and extract warnings flags from cflags into WARNING_FLAGS varible
* add back -Werror
* add warning about potencial issues with PG on SITL builds for MacOS apple silicon
* removed override and added CFLAGS_DISABLED and OPTIMISATION_DISABLED
* change OPTIMISATION_DISABLED to OPTIMISATIONS_DISABLED and also use it for CC_DEBUG_OPTIMISATION
* fix building useless hex
* copy instead of move
* clean new artifacts from SITL
* fix clean
* fix issue where in SITL_STATIC will build properly
* building static does not seem to work on macos
* building static does not seem to work on macos
* building static is not possible on macos
* fix issue where make TARGET=SITL still builds hex
* Move everything to CFLAGS_DISABLED and use else if chaning
* add SITL to CI_TARGETS
* add rev to SITL
* add changes suggested by ledvinap
* Update Makefile
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update src/platform/SIMULATOR/mk/SITL.mk
* Add EXE_TARGET_REVISION
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* feat: add launch timer to osd timer type
* fix: fix code style
* Update src/main/osd/osd.c
fix: code style
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update src/main/osd/osd.c
fix: adding a comma after "LAUNCH TIME"
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Update src/main/osd/osd.c
fix: added free space
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Update src/main/osd/osd.h
fix: added free space after declaration
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Update src/main/osd/osd.c
fix: added timer reset when switching to LAUNCH mode again
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* hover point throttle curve adjustment
* Update src/main/fc/rc.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update src/main/fc/rc.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/fc/rc.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* refactor lookup calculation and move hover to end of controlRateConfig_s struct
* moved sbufReadU8 to the bottom
* added sbufBytesRemaining check
* update controlRateProfile version from 6 to 7
* moved thrHover8 declaration position
* revert variable declaration position change
* fixed tests
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* 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>