Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 96822d7

Browse files
authoredSep 21, 2018
Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (espressif#1878)
* TX Flow Control and Code cleanup * Use semaphore instead of delay TX functionality is done. * Use single buffer and empty queue on exit * Fix compile issues because of LwIP code relocation * Add temporary header to fix Azure not compiling * Fix AsyncUDP early init * AsyncUDP Multicast fixes * Add source mac address and rework multicast * Allow redefinition of default pins for Serials 1 and 2 * Update IDF to 3276a13 * Update esptool.py to 2.5.0 * Fix sketches * Fix log level in BluetoothSetial
1 parent 4e96bff commit 96822d7

File tree

447 files changed

+37909
-10765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+37909
-10765
lines changed
 

‎cores/esp32/HardwareSerial.cpp

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,25 @@
33
#include <string.h>
44
#include <inttypes.h>
55

6+
#include "pins_arduino.h"
67
#include "HardwareSerial.h"
78

9+
#ifndef RX1
10+
#define RX1 9
11+
#endif
12+
13+
#ifndef TX1
14+
#define TX1 10
15+
#endif
16+
17+
#ifndef RX2
18+
#define RX2 16
19+
#endif
20+
21+
#ifndef TX2
22+
#define TX2 17
23+
#endif
24+
825
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
926
HardwareSerial Serial(0);
1027
HardwareSerial Serial1(1);
@@ -27,12 +44,12 @@ void HardwareSerial::begin(unsigned long baud, uint32_t config, int8_t rxPin, in
2744
txPin = 1;
2845
}
2946
if(_uart_nr == 1 && rxPin < 0 && txPin < 0) {
30-
rxPin = 9;
31-
txPin = 10;
47+
rxPin = RX1;
48+
txPin = TX1;
3249
}
3350
if(_uart_nr == 2 && rxPin < 0 && txPin < 0) {
34-
rxPin = 16;
35-
txPin = 17;
51+
rxPin = RX2;
52+
txPin = TX2;
3653
}
3754
_uart = uartBegin(_uart_nr, baud, config, rxPin, txPin, 256, invert);
3855
}

‎cores/esp32/apps/sntp/sntp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "lwip/apps/sntp.h"

0 commit comments

Comments
 (0)
This repository has been archived.