Skip to content

Commit bb43fbf

Browse files
committed
fix(matter): revert ci and guard changes
1 parent 1797133 commit bb43fbf

File tree

6 files changed

+13
-58
lines changed

6 files changed

+13
-58
lines changed

libraries/Matter/examples/MatterCommissionTest/MatterCommissionTest.ino

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
//#include <sdkconfig.h>
2-
//#ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
3-
#include <Arduino.h>
4-
#include <WiFi.h>
5-
61
// Matter Manager
72
#include <Matter.h>
3+
#include <WiFi.h>
84

95
// List of Matter Endpoints for this Node
106
// On/Off Light Endpoint
@@ -66,9 +62,4 @@ void loop() {
6662
delay(30000);
6763
Matter.decommission();
6864
Serial.println("Matter Node is decommissioned. Commsssioning widget shall start over.");
69-
}
70-
71-
//#else
72-
//void setup() {}
73-
//void loop() {}
74-
//#endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
65+
}
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
11
{
2-
"fqbn": {
3-
"esp32s3": [
4-
"espressif:esp32:esp32s3:PartitionScheme=huge_app,FlashMode=qio"
5-
],
6-
"esp32s2": [
7-
"espressif:esp32:esp32s2:PartitionScheme=huge_app,FlashMode=qio"
8-
],
9-
"esp32": [
10-
"espressif:esp32:esp32:PartitionScheme=huge_app,FlashMode=qio"
11-
],
12-
"esp32c3": [
13-
"espressif:esp32:esp32c3:PartitionScheme=huge_app,FlashMode=qio"
14-
],
15-
"esp32c6": [
16-
"espressif:esp32:esp32c6:PartitionScheme=huge_app,FlashMode=qio"
17-
]
18-
},
19-
"requires": [
20-
"CONFIG_SOC_WIFI_SUPPORTED=y",
21-
"CONFIG_ESP_MATTER_ENABLE_DATA_MODEL=y"
22-
]
2+
"fqbn_append": "PartitionScheme=huge_app",
3+
"requires": [
4+
"CONFIG_SOC_WIFI_SUPPORTED=y",
5+
"CONFIG_ESP_MATTER_ENABLE_DATA_MODEL=y"
6+
]
237
}
248

libraries/Matter/examples/MatterComposedLights/MatterComposedLights.ino

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
#include <sdkconfig.h>
2-
#ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
3-
#include <Arduino.h>
4-
#include <WiFi.h>
5-
61
// Matter Manager
72
#include <Matter.h>
3+
#include <WiFi.h>
84

95
// List of Matter Endpoints for this Node
106
// There will be 3 On/Off Light Endpoints in the same Node
@@ -95,9 +91,4 @@ void loop() {
9591
Serial.printf("Matter Light #2 is %s\r\n", OnOffLight2.getOnOff() ? "ON" : "OFF");
9692
Serial.printf("Matter Light #3 is %s\r\n", OnOffLight3.getOnOff() ? "ON" : "OFF");
9793
delay(3000);
98-
}
99-
100-
#else
101-
void setup() {}
102-
void loop() {}
103-
#endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
94+
}

libraries/Matter/examples/MatterComposedLights/ci.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
"CONFIG_SOC_WIFI_SUPPORTED=y",
55
"CONFIG_ESP_MATTER_ENABLE_DATA_MODEL=y"
66
]
7-
}
8-
7+
}

libraries/Matter/examples/MatterOnOffLight/MatterOnOffLight.ino

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
#include <sdkconfig.h>
2-
#ifdef CONFIG_ESP_MATTER_ENABLE_DATA_MODEL
3-
#include <Arduino.h>
4-
#include <WiFi.h>
5-
61
// Matter Manager
72
#include <Matter.h>
3+
#include <WiFi.h>
84

95
// List of Matter Endpoints for this Node
106
// On/Off Light Endpoint
@@ -102,9 +98,4 @@ void loop() {
10298
lastMillis = millis();
10399
OnOffLight.toggle(); // Matter Controller also can see the change
104100
}
105-
}
106-
107-
#else
108-
void setup() {}
109-
void loop() {}
110-
#endif /* CONFIG_ESP_MATTER_ENABLE_DATA_MODEL */
101+
}

libraries/Matter/examples/MatterOnOffLight/ci.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
"CONFIG_SOC_WIFI_SUPPORTED=y",
55
"CONFIG_ESP_MATTER_ENABLE_DATA_MODEL=y"
66
]
7-
}
8-
7+
}

0 commit comments

Comments
 (0)