mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
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>
This commit is contained in:
parent
9f18593be7
commit
9eb7d1920b
2 changed files with 6 additions and 3 deletions
|
@ -399,7 +399,7 @@ extern uint8_t _dmaram_end__;
|
|||
#elif defined(STM32F7)
|
||||
#define UARTHARDWARE_MAX_PINS 4
|
||||
#elif defined(STM32H7)
|
||||
#define UARTHARDWARE_MAX_PINS 5
|
||||
#define UARTHARDWARE_MAX_PINS 6
|
||||
#elif defined(STM32G4)
|
||||
#define UARTHARDWARE_MAX_PINS 3
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue