Testing w/o DMA
Fix SPI_SPEED_20MHZ
Add GPIO pin ranges
Initial implementation of spiInternalInitStream and spiSequenceStart
(mode, speed set up, based on STM32/bus_spi_ll.c)
spiCalculateDivider records numbers as calculated in pico-sdk spi_set_baudrate,
for use later in spiCalculateClock.
system.c don't want .vectors section or various handler functions that
are provided by pico-sdk crt0.
Add target/RP2350A files (for Pico2 prototyping).
PICO.mk updates, tidy-ups, allow for PICO_trace
platform_mcu.h #include "pico.h" rather than messing around with addressmap.h (can do
since including as system headers now).
PICO/target/RP2350[AB]/target.h undef USE_MSP_DISPLAYPORT because won't compile debug
when USE_MSP_DISPLAYPORT defined without USE_OSD.
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.
* 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>