* awful but it does it
* increased pinio limit to 8
* reverted erroneously modified files
* updated piniobox.c to mirror pinio changes
* updated array size
* Update src/main/pg/pinio.c
Conditional pinioN if greater than 4.
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/pg/pinio.c
conditionally assign more pinio boxes if more than 4
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update pinio.h
revert to default of 4 pinio pins
* Update src/main/pg/piniobox.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
---------
Co-authored-by: Anonymous <user@example.com>
Co-authored-by: Anonymous <email@address.example>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
Add directories in $(SYS_INCLUDE_DIRS) to the search path via -isystem.
This allows a workaround for https://github.com/raspberrypi/pico-sdk/issues/2451 by
using system headers, which are more tolerant of macro redefinitions.
Co-authored-by: Matthew Selby <matthewjselby@aol.com>
* cast largestLogFileNumber to 16bits to prevent format overflow
* Update src/main/blackbox/blackbox_virtual.c
remove uint16 cast
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/blackbox/blackbox_virtual.c
use snprintf instead of strlen
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
---------
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* throttle lookup table increase size, fix linear interpolation and improve bezier interpolation logic
* Refactor quadraticBezier function to calculate y-coordinate from x-coordinate
* 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>
* revert comment strip
* Update src/main/fc/rc.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* add handling of negative index in rcLookupThrottle function
* refine comments in quadraticBezier function for clarity
* Update src/main/fc/rc.c
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
* revert control point movement to 4.5 method
* Update src/main/fc/rc.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>
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
* Move common code (spiIrqHandler) from src/platform/common/stm32/ to src/main/drivers/bus_spi.c
* Move repeated code from inside spiSequenceStart to bus_spi.c as spiProcessSegmentsDMA, spiProcessSegmentsPolled
* spiInternalReadWriteBufPolled becomes non-static
Co-authored-by: Matthew Selby <matthewjselby@aol.com>
* Add variant for RTC OSD element
* Update src/main/osd/osd_elements.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Be more explicit :)
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
---------
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* 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>