Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a1f58ad

Browse filesBrowse files
authored
Merge branch 'master' into release/v3.1.x
2 parents 59d51de + fb6e977 commit a1f58ad
Copy full SHA for a1f58ad

File tree

26 files changed

+545
-67
lines changed
Filter options

26 files changed

+545
-67
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+417Lines changed: 417 additions & 0 deletions
Large diffs are not rendered by default.

‎libraries/ESP32/examples/AnalogOut/LEDCFade/LEDCFade.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/AnalogOut/LEDCFade/LEDCFade.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ void ARDUINO_ISR_ATTR LED_FADE_ISR() {
3030
void setup() {
3131
// Initialize serial communication at 115200 bits per second:
3232
Serial.begin(115200);
33-
while (!Serial) {
34-
delay(10);
35-
}
3633

3734
// Setup timer with given frequency, resolution and attach it to a led pin with auto-selected channel
3835
ledcAttach(LED_PIN, LEDC_BASE_FREQ, LEDC_TIMER_12_BIT);

‎libraries/ESP32/examples/DeepSleep/SmoothBlink_ULP_Code/SmoothBlink_ULP_Code.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/DeepSleep/SmoothBlink_ULP_Code/SmoothBlink_ULP_Code.ino
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ void ulp_setup() {
139139

140140
void setup() {
141141
Serial.begin(115200);
142-
while (!Serial) {} // wait for Serial to start
143142

144143
ulp_setup(); // it really only runs on the first ESP32 boot
145144
Serial.printf("\nStarted smooth blink with delay %ld\n", *fadeCycleDelay);

‎libraries/ESP32/examples/FreeRTOS/Mutex/Mutex.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/FreeRTOS/Mutex/Mutex.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ void Task(void *pvParameters);
1717
void setup() {
1818
// Initialize serial communication at 115200 bits per second:
1919
Serial.begin(115200);
20-
while (!Serial) {
21-
delay(100);
22-
}
20+
2321
Serial.printf(" Task 0 | Task 1\n");
2422

2523
#ifdef USE_MUTEX

‎libraries/ESP32/examples/FreeRTOS/Queue/Queue.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/FreeRTOS/Queue/Queue.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ typedef struct {
2424
void setup() {
2525
// Initialize serial communication at 115200 bits per second:
2626
Serial.begin(115200);
27-
while (!Serial) {
28-
delay(10);
29-
}
3027

3128
// Create the queue which will have <QueueElementSize> number of elements, each of size `message_t` and pass the address to <QueueHandle>.
3229
QueueHandle = xQueueCreate(QueueElementSize, sizeof(message_t));

‎libraries/ESP32/examples/FreeRTOS/Semaphore/Semaphore.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/FreeRTOS/Semaphore/Semaphore.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ void warehouse_worker_task(void *pvParameters) {
3636

3737
void setup() {
3838
Serial.begin(115200);
39-
while (!Serial) {
40-
delay(100);
41-
}
39+
4240
// Create the semaphore
4341
package_delivered_semaphore = xSemaphoreCreateCounting(10, 0);
4442

‎libraries/ESP32/examples/GPIO/FunctionalInterrupt/FunctionalInterrupt.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/GPIO/FunctionalInterrupt/FunctionalInterrupt.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ Button button2(BUTTON2);
5656

5757
void setup() {
5858
Serial.begin(115200);
59-
while (!Serial) {
60-
delay(10);
61-
}
59+
6260
Serial.println("Starting Functional Interrupt example.");
6361
button1.begin();
6462
button2.begin();

‎libraries/ESP32/examples/MacAddress/GetMacAddress/GetMacAddress.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/MacAddress/GetMacAddress/GetMacAddress.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ esp_mac_type_t values:
3434
void setup() {
3535

3636
Serial.begin(115200);
37-
while (!Serial) {
38-
delay(100);
39-
}
4037

4138
Serial.println("Interface\t\t\t\t\t\tMAC address (6 bytes, 4 universally administered, default)");
4239

‎libraries/ESP32/examples/Serial/RS485_Echo_Demo/RS485_Echo_Demo.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/Serial/RS485_Echo_Demo/RS485_Echo_Demo.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121

2222
void setup() {
2323
Serial.begin(115200);
24-
while (!Serial) {
25-
delay(10);
26-
}
2724

2825
RS485.begin(9600, SERIAL_8N1, RS485_RX_PIN, RS485_TX_PIN);
2926
while (!RS485) {

‎libraries/ESP32/examples/Utilities/HEXBuilder/HEXBuilder.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/Utilities/HEXBuilder/HEXBuilder.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
void setup() {
44
Serial.begin(115200);
5-
while (!Serial) {
6-
delay(10);
7-
}
5+
86
Serial.println("\n\n\nStart.");
97

108
// Convert a HEX string like 6c6c6f20576f726c64 to a binary buffer

‎libraries/ESP32/examples/Utilities/MD5Builder/MD5Builder.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/Utilities/MD5Builder/MD5Builder.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212

1313
void setup() {
1414
Serial.begin(115200);
15-
while (!Serial) {
16-
delay(10);
17-
}
15+
1816
Serial.println("\n\n\nStart.");
1917

2018
// Check if a password obfuscated in an MD5 actually

‎libraries/ESP32/examples/Utilities/SHA1Builder/SHA1Builder.ino

Copy file name to clipboardExpand all lines: libraries/ESP32/examples/Utilities/SHA1Builder/SHA1Builder.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313

1414
void setup() {
1515
Serial.begin(115200);
16-
while (!Serial) {
17-
delay(10);
18-
}
16+
1917
Serial.println("\n\n\nStart.");
2018

2119
// Check if a password obfuscated in an SHA1 actually

‎libraries/ESP_I2S/examples/ES8388_loopback/ES8388_loopback.ino

Copy file name to clipboardExpand all lines: libraries/ESP_I2S/examples/ES8388_loopback/ES8388_loopback.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ void setup() {
4040

4141
// Initialize the serial port
4242
Serial.begin(115200);
43-
while (!Serial) {
44-
delay(10);
45-
}
4643

4744
pinMode(PA_ENABLE, OUTPUT);
4845
digitalWrite(PA_ENABLE, HIGH);

‎libraries/ESP_I2S/examples/Record_to_WAV/Record_to_WAV.ino

Copy file name to clipboardExpand all lines: libraries/ESP_I2S/examples/Record_to_WAV/Record_to_WAV.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ void setup() {
3232

3333
// Initialize the serial port
3434
Serial.begin(115200);
35-
while (!Serial) {
36-
delay(10);
37-
}
3835

3936
Serial.println("Initializing I2S bus...");
4037

‎libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Master/ESP_NOW_Broadcast_Master.ino

Copy file name to clipboardExpand all lines: libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Master/ESP_NOW_Broadcast_Master.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ ESP_NOW_Broadcast_Peer broadcast_peer(ESPNOW_WIFI_CHANNEL, WIFI_IF_STA, NULL);
6464

6565
void setup() {
6666
Serial.begin(115200);
67-
while (!Serial) {
68-
delay(10);
69-
}
7067

7168
// Initialize the Wi-Fi module
7269
WiFi.mode(WIFI_STA);

‎libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave/ESP_NOW_Broadcast_Slave.ino

Copy file name to clipboardExpand all lines: libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave/ESP_NOW_Broadcast_Slave.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ void register_new_master(const esp_now_recv_info_t *info, const uint8_t *data, i
8080

8181
void setup() {
8282
Serial.begin(115200);
83-
while (!Serial) {
84-
delay(10);
85-
}
8683

8784
// Initialize the Wi-Fi module
8885
WiFi.mode(WIFI_STA);

‎libraries/ESP_NOW/examples/ESP_NOW_Network/ESP_NOW_Network.ino

Copy file name to clipboardExpand all lines: libraries/ESP_NOW/examples/ESP_NOW_Network/ESP_NOW_Network.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ void setup() {
248248
uint8_t self_mac[6];
249249

250250
Serial.begin(115200);
251-
while (!Serial) {
252-
delay(10);
253-
}
254251

255252
// Initialize the Wi-Fi module
256253
WiFi.mode(WIFI_STA);

‎libraries/SD/examples/SD_Test/SD_Test.ino

Copy file name to clipboardExpand all lines: libraries/SD/examples/SD_Test/SD_Test.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,6 @@ void testFileIO(fs::FS &fs, const char *path) {
209209

210210
void setup() {
211211
Serial.begin(115200);
212-
while (!Serial) {
213-
delay(10);
214-
}
215212

216213
#ifdef REASSIGN_PINS
217214
SPI.begin(sck, miso, mosi, cs);

‎libraries/WebServer/examples/HttpAuthCallback/HttpAuthCallback.ino

Copy file name to clipboardExpand all lines: libraries/WebServer/examples/HttpAuthCallback/HttpAuthCallback.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ String *credentialsHandler(HTTPAuthMethod mode, String username, String params[]
2929

3030
void setup() {
3131
Serial.begin(115200);
32-
while (!Serial) {
33-
delay(10);
34-
}
32+
3533
WiFi.mode(WIFI_STA);
3634
WiFi.begin(ssid, password);
3735
if (WiFi.waitForConnectResult() != WL_CONNECTED) {

‎libraries/WebServer/examples/HttpAuthCallbackInline/HttpAuthCallbackInline.ino

Copy file name to clipboardExpand all lines: libraries/WebServer/examples/HttpAuthCallbackInline/HttpAuthCallbackInline.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ credentials_t passwdfile[] = {{"admin", "esp32"}, {"fred", "41234123"}, {"charli
1717

1818
void setup() {
1919
Serial.begin(115200);
20-
while (!Serial) {
21-
delay(10);
22-
}
20+
2321
WiFi.mode(WIFI_STA);
2422
WiFi.begin(ssid, password);
2523
if (WiFi.waitForConnectResult() != WL_CONNECTED) {

‎libraries/WebServer/examples/HttpBasicAuthSHA1/HttpBasicAuthSHA1.ino

Copy file name to clipboardExpand all lines: libraries/WebServer/examples/HttpBasicAuthSHA1/HttpBasicAuthSHA1.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ const char *www_password_base64 = "jLEk+MJ3wW7Asu4AVp/RUaCONCs=";
3131

3232
void setup() {
3333
Serial.begin(115200);
34-
while (!Serial) {
35-
delay(10);
36-
}
34+
3735
WiFi.mode(WIFI_STA);
3836
WiFi.begin(ssid, password);
3937
if (WiFi.waitForConnectResult() != WL_CONNECTED) {

‎libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken/HttpBasicAuthSHA1orBearerToken.ino

Copy file name to clipboardExpand all lines: libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken/HttpBasicAuthSHA1orBearerToken.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ String *check_bearer_or_auth(HTTPAuthMethod mode, String authReq, String params[
7878

7979
void setup() {
8080
Serial.begin(115200);
81-
while (!Serial) {
82-
delay(10);
83-
}
81+
8482
WiFi.mode(WIFI_STA);
8583
WiFi.begin(ssid, password);
8684
if (WiFi.waitForConnectResult() != WL_CONNECTED) {

‎libraries/WebServer/examples/MultiHomedServers/MultiHomedServers.ino

Copy file name to clipboardExpand all lines: libraries/WebServer/examples/MultiHomedServers/MultiHomedServers.ino
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ void setup(void) {
6666
pinMode(led, OUTPUT);
6767
digitalWrite(led, 0);
6868
Serial.begin(115200);
69-
while (!Serial) {
70-
delay(100);
71-
}
69+
7270
Serial.println("Multi-homed Servers example starting");
7371
delay(1000);
7472
WiFi.mode(WIFI_STA);

‎libraries/WiFi/examples/WiFiClient/WiFiClient.ino

Copy file name to clipboardExpand all lines: libraries/WiFi/examples/WiFiClient/WiFiClient.ino
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ int fieldNumber = 1; // Field number which will be read out
3434

3535
void setup() {
3636
Serial.begin(115200);
37-
while (!Serial) {
38-
delay(100);
39-
}
4037

4138
// We start by connecting to a WiFi network
4239

+57Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
static const uint8_t LED_BUILTIN = 47;
7+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
8+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
9+
10+
static const uint8_t TX = 43;
11+
static const uint8_t RX = 44;
12+
13+
static const uint8_t SDA = 8;
14+
static const uint8_t SCL = 9;
15+
16+
//I2S for onboard MAX98357A only
17+
static const uint8_t I2S_BCLK = 5;
18+
static const uint8_t I2S_LRCLK = 6;
19+
static const uint8_t I2S_DOUT = 7;
20+
21+
// SPI for onboard microSD only
22+
static const uint8_t SS = 10;
23+
static const uint8_t MOSI = 11;
24+
static const uint8_t MISO = 13;
25+
static const uint8_t SCK = 12;
26+
27+
// SPI2 for public usage
28+
static const uint8_t SS2 = 38;
29+
static const uint8_t MOSI2 = 39;
30+
static const uint8_t MISO2 = 41;
31+
static const uint8_t SCK2 = 40;
32+
33+
static const uint8_t A0 = 1;
34+
static const uint8_t A1 = 2;
35+
static const uint8_t A2 = 3;
36+
static const uint8_t A3 = 4;
37+
static const uint8_t A4 = 8;
38+
static const uint8_t A5 = 9;
39+
static const uint8_t A6 = 10;
40+
static const uint8_t A7 = 14;
41+
static const uint8_t A8 = 15;
42+
static const uint8_t A9 = 16;
43+
static const uint8_t A10 = 17;
44+
static const uint8_t A11 = 18;
45+
46+
static const uint8_t T1 = 1;
47+
static const uint8_t T2 = 2;
48+
static const uint8_t T3 = 3;
49+
static const uint8_t T4 = 4;
50+
static const uint8_t T8 = 8;
51+
static const uint8_t T9 = 9;
52+
static const uint8_t T10 = 10;
53+
static const uint8_t T14 = 14;
54+
55+
#define PIN_DAC_MUTE 47 // only if solder bridge "DAC_MUTE" is closed
56+
57+
#endif /* Pins_Arduino_h */
+60Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
#define USB_VID 0x303A
7+
#define USB_PID 0x1001
8+
9+
static const uint8_t LED_BUILTIN = 47;
10+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
11+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
12+
13+
static const uint8_t TX = 43;
14+
static const uint8_t RX = 44;
15+
16+
static const uint8_t SDA = 8;
17+
static const uint8_t SCL = 9;
18+
19+
//I2S for onboard MAX98357A only
20+
static const uint8_t I2S_BCLK = 5;
21+
static const uint8_t I2S_LRCLK = 6;
22+
static const uint8_t I2S_DOUT = 7;
23+
24+
// SPI for onboard microSD only
25+
static const uint8_t SS = 10;
26+
static const uint8_t MOSI = 11;
27+
static const uint8_t MISO = 13;
28+
static const uint8_t SCK = 12;
29+
30+
// SPI2 for public usage
31+
static const uint8_t SS2 = 38;
32+
static const uint8_t MOSI2 = 39;
33+
static const uint8_t MISO2 = 41;
34+
static const uint8_t SCK2 = 40;
35+
36+
static const uint8_t A0 = 1;
37+
static const uint8_t A1 = 2;
38+
static const uint8_t A2 = 3;
39+
static const uint8_t A3 = 4;
40+
static const uint8_t A4 = 8;
41+
static const uint8_t A5 = 9;
42+
static const uint8_t A6 = 10;
43+
static const uint8_t A7 = 14;
44+
static const uint8_t A8 = 15;
45+
static const uint8_t A9 = 16;
46+
static const uint8_t A10 = 17;
47+
static const uint8_t A11 = 18;
48+
49+
static const uint8_t T1 = 1;
50+
static const uint8_t T2 = 2;
51+
static const uint8_t T3 = 3;
52+
static const uint8_t T4 = 4;
53+
static const uint8_t T8 = 8;
54+
static const uint8_t T9 = 9;
55+
static const uint8_t T10 = 10;
56+
static const uint8_t T14 = 14;
57+
58+
#define PIN_DAC_MUTE 47 // only if solder bridge "DAC_MUTE" is closed
59+
60+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.