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

9 commits

Author SHA1 Message Date
Alex Klimaj
9eb7d1920b
STM32H7 add UART4 pins (#14341)
* stm32h7: add uart4 ph13 and ph14

* stm32h7: increase UARTHARDWARE_MAX_PINS

* Update src/platform/STM32/serial_uart_stm32h7xx.c

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>

* Update src/platform/STM32/serial_uart_stm32h7xx.c

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-04-15 12:15:15 +02:00
Jay Blackman
2d63010dc8
Remove redundant SITL ioPortDef_s array definition (#14202)
* Remove redundant SITL ioPortDef_s array definition

* Minor cleanup of some logic where SIMULATOR is in ./src/main

* Updated based on feedback from @ledvinap

* Reducing scope as per @ledvinap

* Fix unit test

* Removing serial port avoidance in totality (unused).

TODO: Remove PWM/PPM radio inputs in another PR.
2025-01-28 11:37:57 +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
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
4069fde56e
Move STM (and clone) related UART implementation to platform (#14128) 2025-01-10 16:13:15 +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
926c21ce7d
Move STM (and clone) related SPI implementation to platform (#14124) 2025-01-06 04:40:36 +11:00
Jay Blackman
53d44aa1b1
Adding common source location in ./src/platform (#14044)
* Adding common source location in ./src/platform

To enable the continued clean up of multiple files still in ./src/main/driver (more PRs to follow) that are specifically for AT32, APM32 and STM32

Source will be moved to MCU_COMMON_SRC where it is specifically for that MCU (or variant). The test will be to ensure no files in the MCU_EXCLUDES for SITL.

* Use of +=
2024-11-25 21:16:45 +01:00
J Blackman
b21cfe3282
Code re-organisation: src/platform/xxx for the MCU type (#13955) 2024-10-13 03:07:17 +11:00
Renamed from src/main/drivers/mcu/stm32/platform_mcu.h (Browse further)