Skip to content

Commit 9a25780

Browse files
authored
Merge branch 'master' into release/v3.2.x
2 parents 1d9d42d + 0773dd7 commit 9a25780

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

Diff for: cores/esp32/Arduino.h

+4-5
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@
3333
#include "freertos/FreeRTOS.h"
3434
#include "freertos/task.h"
3535
#include "freertos/semphr.h"
36-
#include "esp32-hal.h"
3736
#include "esp8266-compat.h"
3837
#include "soc/gpio_reg.h"
3938

4039
#include "stdlib_noniso.h"
4140
#include "binary.h"
4241
#include "extra_attr.h"
4342

43+
#include "pins_arduino.h"
44+
#include "io_pin_remap.h"
45+
#include "esp32-hal.h"
46+
4447
#define PI 3.1415926535897932384626433832795
4548
#define HALF_PI 1.5707963267948966192313216916398
4649
#define TWO_PI 6.283185307179586476925286766559
@@ -248,8 +251,4 @@ void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
248251
void noTone(uint8_t _pin);
249252

250253
#endif /* __cplusplus */
251-
252-
#include "pins_arduino.h"
253-
#include "io_pin_remap.h"
254-
255254
#endif /* _ESP32_CORE_ARDUINO_H_ */

Diff for: cores/esp32/FirmwareMSC.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include "esp_partition.h"
2020
#include "esp_ota_ops.h"
2121
#include "esp_image_format.h"
22-
#include "esp32-hal.h"
2322
#include "pins_arduino.h"
23+
#include "esp32-hal.h"
2424
#include "firmware_msc_fat.h"
2525
#include "spi_flash_mmap.h"
2626

Diff for: cores/esp32/esp32-hal-gpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
extern "C" {
2525
#endif
2626

27+
#include "pins_arduino.h"
2728
#include "esp32-hal.h"
2829
#include "soc/soc_caps.h"
29-
#include "pins_arduino.h"
3030
#include "driver/gpio.h"
3131

3232
#if (CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3)

Diff for: libraries/Matter/examples/MatterMinimum/MatterMinimum.ino

+12-5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ bool onOffLightCallback(bool state) {
5555
}
5656

5757
void setup() {
58+
Serial.begin(115200);
59+
5860
// Initialize the USER BUTTON (Boot button) that will be used to decommission the Matter Node
5961
pinMode(buttonPin, INPUT_PULLUP);
6062
// Initialize the LED GPIO
@@ -63,9 +65,14 @@ void setup() {
6365
// Manually connect to WiFi
6466
WiFi.begin(ssid, password);
6567
// Wait for connection
68+
Serial.println();
69+
Serial.print("Connecting to ");
70+
Serial.println(ssid);
6671
while (WiFi.status() != WL_CONNECTED) {
72+
Serial.print('.');
6773
delay(500);
6874
}
75+
Serial.println();
6976

7077
// Initialize at least one Matter EndPoint
7178
OnOffLight.begin();
@@ -77,11 +84,11 @@ void setup() {
7784
Matter.begin();
7885

7986
if (!Matter.isDeviceCommissioned()) {
80-
log_i("Matter Node is not commissioned yet.");
81-
log_i("Initiate the device discovery in your Matter environment.");
82-
log_i("Commission it to your Matter hub with the manual pairing code or QR code");
83-
log_i("Manual pairing code: %s\r\n", Matter.getManualPairingCode().c_str());
84-
log_i("QR code URL: %s\r\n", Matter.getOnboardingQRCodeUrl().c_str());
87+
Serial.println("Matter Node is not commissioned yet.");
88+
Serial.println("Initiate the device discovery in your Matter environment.");
89+
Serial.println("Commission it to your Matter hub with the manual pairing code or QR code");
90+
Serial.printf("Manual pairing code: %s\r\n", Matter.getManualPairingCode().c_str());
91+
Serial.printf("QR code URL: %s\r\n", Matter.getOnboardingQRCodeUrl().c_str());
8592
}
8693
}
8794

0 commit comments

Comments
 (0)