1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00
Commit graph

19007 commits

Author SHA1 Message Date
blckmn
62ad213878 PICO: Correct DMA index usage
//TODO: index / channel / identifier can be one and the same - need support for zero based
2025-06-25 04:00:22 +10:00
blckmn
6a95d4e13f PICO: Enabling DMA IRQ Channel 2025-06-25 03:11:59 +10:00
blckmn
635b3c2de4 Merge remote-tracking branch 'betaflight/master' into RP2350 2025-06-23 16:11:51 +10:00
Lukas Lendvorsky
3370752442
Disable entering CMS menu when armed (#14470) 2025-06-23 02:15:28 +02:00
Jay Blackman
f45c5c5355
REFACTOR: More platform specific defines moved to platform (#14471) 2025-06-23 10:07:49 +10:00
Jay Blackman
5969e4c3ad
PICO: Initial multicore (using it for IRQs) (#14458)
* PICO: Initial multicore (using it for IRQs)

* Updated so any function can be pushed.

* Corrected includes

* Move to queues

* Removed header

* Adding check on command

- correcting core reset return

* Updates based on feedback

* Whitespace

* making static

* Removing comment
2025-06-23 10:07:22 +10:00
Steve Evans
e63dfb9a9a
Pico uart pin configure (#14473)
* Add empty uartPinConfigure() implementation for RP2350

* Fix tabs
2025-06-22 22:36:31 +01:00
Jay Blackman
cb6fc5aabd
REFACTOR: Removing platform specific defines from init.c (#14463)
* REFACTOR: Removing platform specific defines from init.c

* Further MCO improvements

* Adding default
2025-06-22 20:45:50 +10:00
blckmn
190abede9e Merge remote-tracking branch 'betaflight/master' into RP2350 2025-06-22 08:41:23 +10:00
mjs1441
3ab8931a71
Move serial_uart_pinconfig.c to platform. (#14462) 2025-06-22 03:27:01 +10:00
Git bot (blckmn)
82b18e5c48 Auto updated submodule references [20-06-2025] 2025-06-20 06:25:03 +00:00
blckmn
6848720f73 Merge branch 'master' into RP2350 2025-06-19 05:49:24 +10:00
mjs1441
2c378e96a0
CLI allow for DEFIO_PORT_PINS pins per port. (#14460) 2025-06-19 05:48:31 +10:00
Mark Haslinghuis
c56c350f29
Remove duplicate source file (#14454) 2025-06-19 04:54:50 +10:00
Jay Blackman
7fed816cb3
Removing -fsingle-precision-constant (#14444)
* Removing -fsingle-precision-constant

This is so that -Wdouble-promotion raises a warning as it should.

* Adding -Wunsuffixed-float-constants

* Not ideal.

* Moving to a named constant

* Named constant update

* Using M_PIf

* Updated following feedback from @ledvinap
2025-06-17 20:45:47 +02:00
Eric Katzfey
2f9ee19cbf
Added MAYBE_UNUSED to get rid of compiler warning (#14455)
Added UNUSED to get rid of compiler warning
2025-06-17 16:21:09 +02:00
Git bot (blckmn)
881db7fa68 Auto updated submodule references [17-06-2025] 2025-06-17 06:25:02 +00:00
Eric Katzfey
83f9de4247
Remove duplicate files from source.mk (#14448) 2025-06-16 13:21:25 +10:00
mjs1441
37dfce881b
Pico - fix getCycleCounter (#14446) 2025-06-15 18:32:41 +10:00
blckmn
6df77b6fe6 Merge remote-tracking branch 'betaflight/master' into RP2350 2025-06-15 05:07:17 +10:00
Eric Katzfey
a94083e77d
Removed extraneous parentheses to resolve compiler warning (#14441) 2025-06-15 04:24:31 +10:00
mjs1441
093aebecc6
PICO: UART for serial radio RX (#14442)
* PICO: work-in-progress serial_uart_pico and radio RX.

* PICO systemReset.

* RP2350B target changes for Laurel / uart / RadioRX / Gyro testing.

* PICO extra in target.h for testing BARO on Laurel.
2025-06-15 04:23:45 +10:00
mjs1441
c3fe02be20
Fix misplaced #else/#endif in accgyro_spi_icm456xx.c (#14445) 2025-06-15 04:22:31 +10:00
mjs1441
01ba378673
PICO: Performance - Enable FP copro and new RUN_FROM_RAM option (#14449) 2025-06-15 03:49:37 +10:00
Jay Blackman
0e2faff6dc
i2c changes required for I2CDEV_0 usage (#14443)
* i2c changes required for I2CDEV_0 usage

* Corrected offsets
2025-06-13 23:16:49 +02:00
blckmn
1fa9478e24 PICO: Board target is A 2025-06-12 05:47:05 +10:00
blckmn
6d7a6de3b1 PICO: Allow for specific core to be used for DMA interrupts 2025-06-12 05:28:53 +10:00
blckmn
c7d061041d PICO: i2cHardwareConfigure renamed to i2cPinConfigure
- possibly merge conflict introduced
2025-06-12 04:56:04 +10:00
blckmn
ab65694b57 Merge branch 'master' into RP2350 2025-06-12 04:52:17 +10:00
Mark Haslinghuis
6c07efce27
Remove unused rangefinder defines (#14429)
Cleanup
2025-06-11 17:11:16 +10:00
Jay Blackman
4769c2fcdf
PICO: Adding RP2350A MCU (#14437)
- allow for provision of libc
- correction for unused function in msp
2025-06-11 17:10:44 +10:00
mjs1441
a03ff788ae
Move bus_i2c_config.c to platform (#14439)
* Move bus_i2c_config.c to platform to allow different PICO implementation.
* Rename bus_i2c_config.c -> bus_i2c_pinconfig.c and i2cHardwareConfigure() -> i2cPinConfigure()
2025-06-11 17:10:03 +10:00
Mark Haslinghuis
ec91238cd8
Add support for IIM42652 (#14424) 2025-06-11 01:47:01 +02:00
mjs1441
422fd7e3e8
Pico rp2350updates for I2C (#14440) 2025-06-11 02:19:11 +10:00
Jay Blackman
1b1648d135
APM: Formatting changes for cleanup (#14431)
* APM: Formatting changes for cleanup

* Formatting inconsistency

* Missed in first round

* Adjusted as per @ledvinap
2025-06-10 19:37:03 +10:00
Git bot (blckmn)
e3267189cc Auto updated submodule references [10-06-2025] 2025-06-10 06:25:03 +00:00
blckmn
7722e728f3 PICO: Remove poisoned sprintf / snprintf issue in tinyUSB 2025-06-10 10:22:30 +10:00
Git bot (blckmn)
e55aa12e6d Auto updated submodule references [09-06-2025] 2025-06-09 06:25:03 +00:00
blckmn
50e6ae8a0d PICO: Updated to use submodule for tinyUSB 2025-06-09 08:41:24 +10:00
blckmn
d0a34b62dd PICO: Remove tinyUsb direct (now using submodule) 2025-06-09 08:40:57 +10:00
Jay Blackman
3a70ece364
REFACTOR: missed trait defines (#14435) 2025-06-08 08:44:11 +10:00
Jay Blackman
3e2949f659
PICO: Initial implementation of i2c (#14434)
* PICO: Initial implementation of i2c

- also adding first part of DMA

* Correcting incorrect commits.
2025-06-07 15:00:38 +10:00
blckmn
7b0bc3de7d PICO: Resolved merge conflict 2025-06-07 09:52:47 +10:00
blckmn
6c394b1fce Merge branch 'PicoRP2350updates' of https://github.com/mjs1441/betaflight into RP2350
# Conflicts:
#	src/config
#	src/main/msp/msp.c
2025-06-07 09:49:00 +10:00
blckmn
c517bc002b Merge remote-tracking branch 'betaflight/master' into RP2350 2025-06-07 09:45:21 +10:00
Jay Blackman
0bb1254ee8
Move RCC from drivers to platform (#14430)
* Move RCC from drivers to platform

* Extra line removed

* Suggestion from code rabbit

* Remove else and require explicit
2025-06-07 09:41:37 +10:00
blckmn
ff5e10db45 Merge branch 'master' into RP2350 2025-06-06 18:30:44 +10:00
Jay Blackman
4853ec7b8a
Adjusting SPI traits inline with recent i2c updates (#14428) 2025-06-06 18:16:40 +10:00
blckmn
c34c80a85b Updated following merge from master 2025-06-05 20:13:41 +10:00
blckmn
97fe2d25dc Merge branch 'master' into RP2350 2025-06-05 20:08:16 +10:00