1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00
Commit graph

19050 commits

Author SHA1 Message Date
blckmn
d3c113b4c5 Refactoring motors to simplify implementation on other platforms 2025-01-14 23:15:48 +11:00
Jacob Dahl
889aa9f9da
h7: sdmmc: add PG11 for SDIO_D2_PIN (#14146)
h7: sdmmc: add AF options
2025-01-13 17:35:51 +01:00
Jacob Dahl
b7bd378f9c
h7: sdmmc: add SDIO_USE_PULLUP option for config.h (#14147) 2025-01-13 16:12:05 +01:00
Jacob Dahl
8966558d3e
h7: spi: SPI1 MISO add PG9 as AF option (#14144) 2025-01-13 15:57:05 +01:00
blckmn
0109f50909 PICO: Adding tinyUSB library 2025-01-12 07:56:01 +11:00
blckmn
1774693395 Merge remote-tracking branch 'betaflight/master' into RP2350 2025-01-12 07:51:02 +11:00
Jay Blackman
c513b102b6
FIX: Invalid references when neither DSHOT nor PWM_OUTPUT is defined. (#14135) 2025-01-12 07:47:22 +11:00
Jay Blackman
07e4b4f1ad
Adding ability to configure USB positive data pin (PA12 is STM specific) (#14141) 2025-01-12 07:45:08 +11:00
Steve Evans
8375e4e002
Leave SPI CPOL/CPHA at default for SD card (#14142) 2025-01-10 23:04:50 +01:00
Jay Blackman
aef3e72157
FIX: Missing USE_DMA conditions (#14139)
* FIX: Missing USE_DMA conditions

* Minor change as per @ledvinap feedback
2025-01-11 06:12:01 +11:00
Jay Blackman
016d5764c8
FIX: RCC is platform specific (#14137)
* FIX: RCC is platform specific

* Renamed to PLATFORM_TRAIT_RCC
2025-01-11 06:10:06 +11:00
Jay Blackman
c91e4214eb
FIX: Adding RP2350B as MCU type and correcting lookup table error (#14138) 2025-01-11 06:01:04 +11:00
blckmn
51828fa9a6 PICO: Minor file rename (removing misc_todo.c) 2025-01-11 04:09:47 +11:00
Jay Blackman
076d8d20ec
FIX: Makefile such that make CONFIG=config-target works as expected (#14129) 2025-01-10 19:48:44 +11:00
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