Matthew Selby
9c8543ac35
PICO: IO tag changes, updated pins.
2025-06-02 15:07:53 +01:00
Jay Blackman
7969451f7c
PICO: Adding pico-sdk as sub module ( #14400 )
2025-06-02 14:31:41 +01:00
blckmn
bb1aeb8dd7
Adding default output
...
- (and correcting merge conflict issue).
2025-06-01 05:00:39 +10:00
blckmn
2bd7ca7c03
Merge branch 'master' into RP2350
...
# Conflicts:
# Makefile
# mk/tools.mk
# src/platform/PICO/link/pico_rp2350.ld
# src/platform/PICO/mk/PICO.mk
# src/platform/PICO/platform_mcu.h
2025-06-01 04:58:09 +10:00
Jay Blackman
1dcc611388
PICO: Makefile uf2 support using picotool ( #14402 )
...
* Adding picotool build recipe in makefiles.
* Use semaphore in directory for default goal recipe for target
* Suggestions from coderabbitai
* Further coderabbit suggestions
* Wrong case
* Minor change to improve logic
* Further improvements.
- submodules replaced with specific submodule for pico_sdk (to avoid all developers needing this)
* Removing need for remote on git submodule update for configs, as we have the commit occurring daily.
- made sure config also build uf2
* Simplified firmware output selection for target
* Moved UF2 outside of EXST
* Missed two remnants of HEX_TARGETS
* Adding check for target
* As target is known default output can be set in platform mk file or target mk file
- no need for file indicator (i.e. .exe or .uf2)
* Update config.mk for less verbosity
2025-06-01 04:53:54 +10:00
Mark Haslinghuis
f26efcc622
Fix ICM40609D reset register ( #14415 )
2025-05-31 11:38:35 +02:00
Git bot (blckmn)
5f539935ea
Auto updated submodule references [31-05-2025]
2025-05-31 06:25:03 +00:00
Jay Blackman
98582c0c18
Removing PICO directory, to be reinstated from RP2350 branch ( #14413 )
2025-05-31 13:35:39 +10:00
Steve Evans
62dd5f6e4c
Add missing OCTOX8P definition ( #14418 )
2025-05-30 21:55:04 +02:00
Mark Haslinghuis
2d81c87927
Improve 426xx detection time using soft reset ( #14414 )
...
* Improve 426xx detection using softreset
* Update src/main/drivers/accgyro/accgyro_spi_icm426xx.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/drivers/accgyro/accgyro_spi_icm426xx.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
---------
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-05-30 21:47:07 +02:00
Petr Ledvina
31e5644b56
rangefinderTF refactor + add TF-Nova ( #14379 )
...
* Add rangefinder TF-Nova
* fix
* Return comments. Removed spaces
* Removed invalid command. Expanded range
* tfmini and tf02 united command for 100hz sampling
* add aray and enum
* add array and enum
* RANGEFINDER - reafactor lidartf
- use info array
- rename some functions
- init as for lidarMT
- config lidar on initialization (functional change)
* RANGEFINDER - common TF detection using rangefinderTYpe
* prevent too frequent lidar reconf
suggested by @coderabbitai
* trace errors in debug
* fix tfFrame length
@coderabbitai
* update public header
@coderabbitai
* Fix problems from upstream merge
* RAngefinder - minor cleanup
---------
Co-authored-by: LarryKarhu <advlazeris@gmail.com>
2025-05-30 18:54:54 +02:00
Git bot (blckmn)
6b3bdef6fd
Auto updated submodule references [30-05-2025]
2025-05-30 06:25:03 +00:00
blckmn
cdcffd937b
Correcting merge failure, and adding DEFIO_PORT_PINS definition
2025-05-29 16:31:42 +10:00
blckmn
d87b99c7c8
Merge branch 'master' into RP2350
...
# Conflicts:
# lib/main/tinyUSB/hw/bsp/espressif/components/led_strip/LICENSE
# lib/main/tinyUSB/hw/bsp/samd11/boards/cynthion_d11/board.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/cmsis_compiler.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/cmsis_gcc.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/cmsis_version.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/core_cm0.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/core_cm33.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/mpu_armv8.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/system_ARMCM0.h
# lib/main/tinyUSB/hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/system_DA1469x.h
# lib/main/tinyUSB/lib/SEGGER_RTT/Config/SEGGER_RTT_Conf.h
# lib/main/tinyUSB/lib/SEGGER_RTT/RTT/SEGGER_RTT.c
# lib/main/tinyUSB/lib/SEGGER_RTT/RTT/SEGGER_RTT.h
# src/platform/PICO/pico/platform.h
# src/platform/PICO/pico/version.h
# src/platform/PICO/usb/usb_cdc.c
# src/platform/PICO/usb/usb_descriptors.c
2025-05-29 16:15:35 +10:00
Git bot (blckmn)
8fe88d4f44
Auto updated submodule references [28-05-2025]
2025-05-28 06:25:03 +00:00
Steve Evans
66e19f9e27
Ensure that crash flip behaviour is consistent on every arm attempt ( #14410 )
2025-05-28 14:59:45 +10:00
mjs1441
e74b362341
Platform-dependent IO_GPIO.. functions, IO tags allow single port, more pins. ( #14407 )
2025-05-28 14:57:46 +10:00
cvetaevvitaliy
f217ba6d19
Implementation of the ICM-40609D gyroscope driver ( #14367 )
...
* add icm40609d
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
refactor include
* add support for setting filters from config
* set optimal settings for AAF
* add settings DEC2 M2 filter for Gyro
* set 3Rd hardware UI filters for Gyro&Accel
* update comments filter order
* set readFN for read SPI data via DMA, add INT1 to pulse mode, push-pull, active high
* fix PR issue
* revert INT1 POLARITY to ACTIVE HIGH
* refactor icm40609GetAafParams
* Update src/main/drivers/accgyro/accgyro_spi_icm40609.c
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update src/main/drivers/accgyro/accgyro_spi_icm40609.c
* update link to datasheet
* fix typo
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-27 22:56:37 +02:00
Steve Evans
dd0a37b41c
Only wait for ESC to recognise DSHOT signal once at startup ( #14408 )
...
* Only wait for ESC to recognise DSHOT signal once at startup
* Use cmpTimeMs to compare time expressed in ms
2025-05-28 03:02:24 +10:00
Git bot (blckmn)
77ceea93e4
Auto updated submodule references [27-05-2025]
2025-05-27 06:25:03 +00:00
cvetaevvitaliy
b389c2000d
Implementation of the ICM456xx gyroscope driver ( #14348 )
...
* add support ICM-45686, ICM45605 gyros
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* update PR issue
* change IMU order
* fix register AAF for Accel, update comments, configure LPF from config
* change IMU order
* fix access to IPREG_TOP1 registers, update define INT1_CONFIG2
* add read Gyro&Acc via SPI DMA
* coderabbitai bot suggestion
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix buf len
* codestyle
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* coderabbitai bot suggestion: SPI transfer, Inconsistent accelerometer scale setting
* refactor read spi
* update PR issue
* revert "attempts remaining" for gyro detect
* resolve issue
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-05-26 12:00:41 +02:00
Git bot (blckmn)
62be38297c
Auto updated submodule references [25-05-2025]
2025-05-25 06:25:03 +00:00
LarryKarhu
60aaf1ef1e
Add rangefinder TF-Nova ( #14376 )
...
* Add rangefinder TF-Nova
* fix
* Return comments. Removed spaces
* Removed invalid command. Expanded range
* tfmini and tf02 united command for 100hz sampling
* add aray and enum
* add array and enum
* rollback
* add lidar data output to osd
* tabs delete
* returned whitespaces
* switching OSD
* delete icon 'lidar'
2025-05-24 21:37:33 +02:00
Steve Evans
e97fa11163
EXTI priority ( #14401 )
...
Make NVIC_PRIO_MPU_INT_EXTI top priority
2025-05-23 18:18:33 +02:00
Osiris Inferi
e9adc03a97
Move flash_read arguments around in CLI help ( #14404 )
2025-05-23 18:15:49 +02:00
blckmn
1b5733b4b0
Build uf2 success with RP2350B
...
- fix strtol duplication
2025-05-23 20:59:51 +10:00
blckmn
fbe266afd8
Adding uf2 semaphore files
2025-05-23 20:01:12 +10:00
blckmn
fb09d6b5d5
Merge branch 'make_uf2_support' into RP2350
2025-05-23 19:59:08 +10:00
blckmn
9cc48c36d9
Merge branch 'master' into RP2350
2025-05-23 19:57:31 +10:00
blckmn
1cda28e8d7
Use semaphore in directory for default goal recipe for target
2025-05-23 18:52:07 +10:00
Eric Katzfey
da30581ceb
Initialized a local variable that could otherwise be used uninitialized ( #14399 )
2025-05-23 01:07:00 +02:00
Mark Haslinghuis
aa8701ef87
Fix inevitable timer overflow ( #14374 )
...
* Fix beacon timer overflow
* fix possible overflow in rc_stats
* fix possible overflow in mixer.c
* fix possible overflow in osd.c
* Update src/main/osd/osd_warnings.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/osd/osd_warnings.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Update src/main/rx/rc_stats.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* fix typo
* Update src/main/osd/osd.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
---------
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-05-22 00:12:24 +02:00
Eric Katzfey
b03b57bd90
Added missing GCC diagnostic push pragma ( #14397 )
...
Replaced faulty #pragma GCC diagnostic ignored "-Wunused-function" with the more elegant MAYBE_UNUSED macro
2025-05-21 15:53:43 +02:00
Eric Katzfey
51c8296f25
Added float specifier to literal to prevent compile error ( #14396 )
2025-05-21 13:48:36 +02:00
Git bot (blckmn)
6c127426bd
Auto updated submodule references [21-05-2025]
2025-05-21 06:25:03 +00:00
blckmn
aae03a93b2
Merge remote-tracking branch 'betaflight/master' into RP2350
2025-05-21 13:24:26 +10:00
Jay Blackman
7073d2ccf8
PICO RP2350 updates ( #14398 )
2025-05-21 13:22:57 +10:00
Eric Katzfey
4c9c8106c8
Changed logical OR to bitwise OR in register value definitions ( #14395 )
...
for icm426xx SPI driver. Also fixed the incorrect bit setting for one
of the definitions
2025-05-21 00:39:54 +02:00
Git bot (blckmn)
0679832760
Auto updated submodule references [19-05-2025]
2025-05-19 06:25:03 +00:00
Git bot (blckmn)
8950483a6a
Auto updated submodule references [18-05-2025]
2025-05-18 06:25:02 +00:00
heronprecision-1
7ef4e092c9
Increase the PINIO Limit to 8 ( #14378 )
...
* 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>
2025-05-17 22:10:11 +02:00
Mark Haslinghuis
7d88e7d27f
Fix osd_esc_rpm_alarm ( #14361 )
...
* Fix osd_esc_rpm_alarm
* Should be >= ???
* Add edt condition to pass
* Revert 349
2025-05-16 06:51:29 +10:00
blckmn
b180cfc437
Merge branch 'master' into RP2350
2025-05-16 06:12:49 +10:00
mjs1441
144314b820
Remove #ifdef USE_TIMER from motorConfig reset function. ( #14389 )
2025-05-16 03:39:59 +10:00
Matthew Selby
a305b8833b
PICO: Comments on IOConfigGPIO
2025-05-15 11:34:55 +01:00
Matthew Selby
85a4fe8dcc
PICO: add MOTOR pins.
2025-05-15 11:34:55 +01:00
Git bot (blckmn)
ad0c3ef97f
Auto updated submodule references [15-05-2025]
2025-05-15 06:25:03 +00:00
Matthew Selby
de04ac1f11
PICO bus_spi_pico changes - work in progress...
...
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.
2025-05-14 12:18:30 +01:00
Matthew Selby
17ac3d9895
PICO: Allow compilation with DEBUG=GDB (add dshot methods).
2025-05-14 12:18:30 +01:00
Matthew Selby
12ca97eacb
PICO define away stdio_pico_stub.c.
2025-05-14 12:18:30 +01:00