Configurable SPI & Uart channels

This commit is contained in:
Sil333033
2023-07-27 19:49:39 +02:00
parent c20d2344a7
commit d36c7cc183
35 changed files with 476 additions and 98 deletions

View File

@@ -1,7 +1,10 @@
#include "esp_flasher_app_i.h"
#include "esp_flasher_uart.h"
#include <xtreme.h>
#define UART_CH (FuriHalUartIdUSART1)
#define UART_CH \
(XTREME_SETTINGS()->uart_esp_channel == UARTDefault ? FuriHalUartIdUSART1 : \
FuriHalUartIdLPUART1)
#define BAUDRATE (115200)
struct EspFlasherUart {