File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 24
24
#include "soc/gpio_struct.h"
25
25
#include "soc/rtc_io_reg.h"
26
26
27
- #define ETS_GPIO_INUM 4
27
+ #define ETS_GPIO_INUM 12
28
28
29
29
const DRAM_ATTR esp32_gpioMux_t esp32_gpioMux [GPIO_PIN_COUNT ]= {
30
30
{0x44 , 11 , 11 , 1 },
Original file line number Diff line number Diff line change 22
22
#include "soc/rtc_cntl_reg.h"
23
23
#include "soc/sens_reg.h"
24
24
25
- #define RTC_TOUCH_INUM 5
25
+ #define RTC_TOUCH_INUM 13
26
26
27
27
static uint16_t __touchSleepCycles = 0x1000 ;
28
28
static uint16_t __touchMeasureCycles = 0x1000 ;
Original file line number Diff line number Diff line change 33
33
#define UART_REG_BASE (u ) ((u==0)?DR_REG_UART_BASE:( (u==1)?DR_REG_UART1_BASE:( (u==2)?DR_REG_UART2_BASE:0)))
34
34
#define UART_RXD_IDX (u ) ((u==0)?U0RXD_IN_IDX:( (u==1)?U1RXD_IN_IDX:( (u==2)?U2RXD_IN_IDX:0)))
35
35
#define UART_TXD_IDX (u ) ((u==0)?U0TXD_OUT_IDX:( (u==1)?U1TXD_OUT_IDX:( (u==2)?U2TXD_OUT_IDX:0)))
36
- #define UART_INUM (u ) ((u==0)?ETS_UART0_INUM:( (u==1)?ETS_UART1_INUM:( (u==2)?ETS_UART2_INUM:0)))
37
36
#define UART_INTR_SOURCE (u ) ((u==0)?ETS_UART0_INTR_SOURCE:( (u==1)?ETS_UART1_INTR_SOURCE:((u==2)?ETS_UART2_INTR_SOURCE:0)))
38
37
39
38
static int s_uart_debug_nr = 0 ;
You can’t perform that action at this time.
0 commit comments