blckmn
cbe83af5aa
PICO: Corrected incorrect function name configClearFlags, and added stub for uartEnableTxInterrupt
2025-01-10 17:58:49 +11:00
blckmn
f8be9046ba
Merge branch 'master' into RP2350
2025-01-10 17:32:43 +11:00
Jay Blackman
4069fde56e
Move STM (and clone) related UART implementation to platform ( #14128 )
2025-01-10 16:13:15 +11:00
Mark Haslinghuis
51c09efe69
Add gyro and magnetic custom alignment to MSP ( #14019 )
...
* Add magnetic dip and alignment to MSP
* Update PG
* Revert inclination addition
* Revert heading units
* space
* Use MSP_SENSOR_ALIGNMENT
* Missed bracket
* Adjust mag_declination range
* Add gyro custom alignment
* Remove precision from declination
* Revert remove precision from declination
2025-01-09 22:41:41 +01:00
Jay Blackman
a8d599e187
FIX: Adding USE_DMA wrapper around those only available with USE_DMA active ( #14133 )
...
* FIX: Adding USE_DMA wrapper around those only available with USE_DMA active
* Additional condition
* Renaming to dmaInitRx and dmaInitTx
2025-01-09 20:29:43 +01:00
blckmn
535dfe5081
PICO: Setup for incoming UART changes to master
2025-01-09 04:18:16 +11:00
blckmn
610207eb2c
PICO: Update platform and target setup
...
- add a misc_todo.c stub file to manage what needs to be done / rectified.
2025-01-09 04:15:53 +11:00
blckmn
f80df5c3d9
PICO: Stub functions for system reboot and IO unused pin init implementation
2025-01-09 04:12:22 +11:00
blckmn
766c7c019b
SPI Bus stub functions for RP PICO
2025-01-09 04:10:13 +11:00
blckmn
4648ca7a85
EXTI Stub functions for RP PICO
2025-01-09 04:08:57 +11:00
blckmn
22206eb01b
Merge branch 'master' into RP2350
2025-01-09 04:05:56 +11:00
Jay Blackman
67bb6f88b7
FIX: Adding init for SPIDEV_0 ( #14134 )
2025-01-08 00:25:34 +01:00
Jay Blackman
4357ca3656
FIX: explicit specification of float (build for RPI) ( #14132 )
2025-01-08 00:20:49 +01:00
Jay Blackman
b1298262e1
FIX: Flash page size check is STM (or clone) specific ( #14130 )
2025-01-07 01:27:38 +01:00
blckmn
4cf0ae8175
Program flash using full range of buffer
2025-01-06 20:34:05 +11:00
blckmn
ed8861e76c
Merge branch 'master' into RP2350
2025-01-06 20:17:48 +11:00
Jay Blackman
02432af6fa
Move STM (and clone) related config in flash implementation to platform ( #14103 )
2025-01-06 19:36:24 +11:00
Jay Blackman
69f8f71b77
Moved IO_GPIOPortIdx to platform ( #14127 )
2025-01-06 06:01:00 +11:00
blckmn
2563dac5f7
Merge remote-tracking branch 'betaflight/master' into RP2350
2025-01-06 04:52:39 +11:00
Jay Blackman
d82cd5a28a
Move STM (and clone) specific IO initialisation to platform ( #14123 )
...
* Move stm (and clone) specific io initialisation to platform
* Removed unused includes and implemented get by tag for SITL
* Update sitl.c
Corrected return value
* Update io_impl.c
Corrected licence file
2025-01-06 04:51:45 +11:00
Jay Blackman
926c21ce7d
Move STM (and clone) related SPI implementation to platform ( #14124 )
2025-01-06 04:40:36 +11:00
Viacheslav Zhivetyev
60d35fa886
Fixed - reset all PID controller terms when PASSTHRU_MODE is active ( #14058 )
...
* [wing] reset all PID controller terms when PASSTHRU_MODE is active
* Update src/main/flight/pid.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/flight/pid.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update src/main/flight/pid.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
---------
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2025-01-05 04:22:36 +11:00
blckmn
bb24508877
Missing defines. Note: requires SPI rework
2025-01-04 18:24:11 +11:00
blckmn
0da446f351
Revert io_def.h changes, placed in pico/io_def_generated.h
2025-01-04 18:09:48 +11:00
Jay Blackman
a81434c693
Remove port "A" reference from IO ( #14112 )
2025-01-04 15:35:15 +11:00
blckmn
6c283141ac
Merge branch 'master' into RP2350
2025-01-04 07:42:29 +11:00
Mark Haslinghuis
f6985a8bfa
Bump clang version to 18 ( #14116 )
2025-01-04 00:43:33 +11:00
Ivan Efimov
d6739ed566
Initialize all assigned servos even if some are missing (fix) ( #14121 )
2025-01-04 00:23:13 +11:00
Jay Blackman
456d9fd4a3
Moving io_def_generated to platform ( #14120 )
2025-01-04 00:22:25 +11:00
Jay Blackman
3c9746fdac
Update config_flash.c
...
Adjusted interrupts being disabled and removed superfluous variable.
2025-01-03 22:43:40 +11:00
Jay Blackman
bb5a38d116
Initial (untested) implementation of config in flash 16kb ( #14107 )
2025-01-03 22:40:12 +11:00
Steve Evans
b1604e8459
AT32F435 SD card support ( #14018 )
...
Support either USE_FLASH or USE_SDCARD on AT32F435
2025-01-02 20:04:58 +01:00
Jay Blackman
ee9e349feb
Update actions to ubuntu-latest ( #14114 )
...
Merging to ensure completed before change over to runners.
2025-01-01 06:23:51 +11:00
Mark Haslinghuis
38928085f2
Adds missing ACCGYRO defines and remove legacy drivers ( #14087 )
2025-01-01 06:06:39 +11:00
Jay Blackman
73a06e9279
Enabling UART0 index for RP2350 ( #14119 )
2024-12-31 19:21:44 +11:00
blckmn
04a7cc0ea1
Merge remote-tracking branch 'betaflight/master' into RP2350
2024-12-31 19:14:01 +11:00
Ivan Efimov
ef81595f1d
Separate autopilot multirotor from autopilot wing - dummy files for wing ( #14108 )
...
* separate autopilot multirotor from autopilot wing - dummy files for wing
* fix for lisence header for new files
* filling empty PG structures with uint8_t dummy
2024-12-30 22:36:33 +01:00
Leo Garcia
2a50634f67
update serTcpOpen declaration to fix compile errors ( #14113 )
...
update serTcpopen declaration to fix compile errors
2024-12-29 07:41:32 +11:00
Jay Blackman
31bd403446
Adding support for UART0 ( #14094 )
2024-12-28 16:55:15 +11:00
Jay Blackman
01d862f803
PICO changes ( #14105 )
...
* PICO changes
* Spelling corrected in API v2
* Corrected as per @ledvinap - granted will be generated in future.
* As per @tstibor
* Correction and comment as per @ledvinap
2024-12-26 14:53:27 +11:00
Mark Haslinghuis
59e308ae56
Position hold depends on GPS ( #14101 )
2024-12-25 16:39:04 +11:00
Jay Blackman
b826ce3df9
Ditching default target for make
in favour of make all
( #14099 )
2024-12-24 00:21:34 +01:00
jpmreece
d22d8405c2
LED Dimmer ( #13776 )
...
* LED Dimmer
Build with EXTRA_FLAGS=-DUSE_LED_STRIP
Tested on SpeedyBeeF7V3
Added adjrange to update the ledstrip_brightness variable. This allows for easy changing of LEDs without having to connect to the configurator.
* Added Unit Tests, Space to Tab
Added unit tests into rx_controls_unittest.cc. The LED brightness is returned as 50 for testing purposes.
Changed tabs in ledstrip.c & .h and rc_adjustments.c to 4 spaces for coding standards.
* Update src/main/fc/rc_adjustments.h
Missed a tab in rc_adjustments.h
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
* Update src/main/fc/rc_adjustments.c
Removal of empty line
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
* Update rc_adjustments.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/io/ledstrip.c
* Update src/main/io/ledstrip.h
* Update src/test/unit/rc_controls_unittest.cc
---------
Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
Co-authored-by: Jay Blackman <blckmn@users.noreply.github.com>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2024-12-23 21:28:43 +01:00
Thomas Stibor
00bcbdd897
Fix typo in Makefile for populating configuration targets ( #14100 )
2024-12-23 07:29:11 +11:00
Petr Ledvina
ac82d8b998
Refactoring of PR 13050 - support for custom OSD messages from external device ( #14097 )
2024-12-22 15:44:08 +11:00
Mark Haslinghuis
cab60b6594
Add RANGEFINDER and OPTICALFLOW MT build option ( #14042 )
2024-12-21 08:34:01 +11:00
Mark Haslinghuis
7f6475d391
STM32H5 timer definitions ( #13685 )
2024-12-21 08:20:09 +11:00
ahmedsalah52
d244239f39
opticalflow mt sensor added ( #14038 )
...
* opticalflow mt sensor added
* set the processedFlow to raw when no rotation
* use sin and cos approximations
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/sensors/opticalflow.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* refactoring
* not needed anymore
* update
* Update src/main/sensors/opticalflow.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/sensors/opticalflow.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/drivers/rangefinder/rangefinder_lidarmt.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* update
* rm prototype
* clean up
* Update src/main/drivers/opticalflow/opticalflow.h
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/drivers/opticalflow/opticalflow.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* update flip_y
* Update src/main/drivers/opticalflow/opticalflow.h
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/drivers/rangefinder/rangefinder_lidarmt.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/drivers/rangefinder/rangefinder_lidarmt.h
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/sensors/opticalflow.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/sensors/opticalflow.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/sensors/opticalflow.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* rm casting
* update op rotation
---------
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2024-12-21 05:47:36 +11:00
Petr Ledvina
2f21754a69
Improve serial_post.h ( #14096 )
2024-12-21 05:01:00 +11:00
Jay Blackman
7dec49ce42
Corrected missed USE_ACC logic and some minor cleanup ( #14093 )
2024-12-20 15:22:22 +01:00