Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
b49cfc2e
Unverified
Commit
b49cfc2e
authored
Apr 13, 2024
by
Rodrigo Garcia
Committed by
GitHub
Apr 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
roll back HardwareSerial.h
parent
627ffe6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
cores/esp32/HardwareSerial.h
cores/esp32/HardwareSerial.h
+7
-7
No files found.
cores/esp32/HardwareSerial.h
View file @
b49cfc2e
...
...
@@ -135,12 +135,12 @@ typedef enum {
#endif
// Default pins for UART1 are arbitrary, and defined here for convenience.
#if SOC_UART_NUM > 1
#ifndef RX1
#if CONFIG_IDF_TARGET_ESP32
#define RX1 (gpio_num_t)
9
#define RX1 (gpio_num_t)
26
#elif CONFIG_IDF_TARGET_ESP32S2
#define RX1 (gpio_num_t)
18
#define RX1 (gpio_num_t)
4
#elif CONFIG_IDF_TARGET_ESP32C3
#define RX1 (gpio_num_t)18
#elif CONFIG_IDF_TARGET_ESP32S3
...
...
@@ -150,9 +150,9 @@ typedef enum {
#ifndef TX1
#if CONFIG_IDF_TARGET_ESP32
#define TX1 (gpio_num_t)
10
#define TX1 (gpio_num_t)
27
#elif CONFIG_IDF_TARGET_ESP32S2
#define TX1 (gpio_num_t)
17
#define TX1 (gpio_num_t)
5
#elif CONFIG_IDF_TARGET_ESP32C3
#define TX1 (gpio_num_t)19
#elif CONFIG_IDF_TARGET_ESP32S3
...
...
@@ -166,7 +166,7 @@ typedef enum {
#if SOC_UART_NUM > 2
#ifndef RX2
#if CONFIG_IDF_TARGET_ESP32
#define RX2 (gpio_num_t)
16
#define RX2 (gpio_num_t)
4
#elif CONFIG_IDF_TARGET_ESP32S3
#define RX2 (gpio_num_t)19
#endif
...
...
@@ -174,7 +174,7 @@ typedef enum {
#ifndef TX2
#if CONFIG_IDF_TARGET_ESP32
#define TX2 (gpio_num_t)
17
#define TX2 (gpio_num_t)
25
#elif CONFIG_IDF_TARGET_ESP32S3
#define TX2 (gpio_num_t)20
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment