Skip to content

Commit 8ba6bf5

Browse files
ci(pre-commit): Apply automatic fixes
1 parent de8ede2 commit 8ba6bf5

File tree

5 files changed

+87
-90
lines changed

5 files changed

+87
-90
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
idf_component_register(SRC_DIRS "."
22
INCLUDE_DIRS ".")
3-

idf_component_examples/Arduino_ESP_Matter_over_OpenThread/main/MatterEnhancedColorLight.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const uint8_t buttonPin = BOOT_PIN; // Set your pin here. Using BOOT Button.
4242
// Button control
4343
uint32_t button_time_stamp = 0; // debouncing control
4444
bool button_state = false; // false = released | true = pressed
45-
const uint32_t debounceTime = 250; // button debouncing time (ms)
45+
const uint32_t debounceTime = 250; // button debouncing time (ms)
4646
const uint32_t decommissioningTimeout = 5000; // keep the button pressed for 5s, or longer, to decommission
4747

4848
// Set the RGB LED Light based on the current state of the Enhanced Color Light
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
dependencies:
2-
espressif/esp_matter:
3-
version: ">=1.3.0"
4-
require: public
5-
espressif/arduino-esp32:
6-
version: ">=3.1.0"
7-
override_path: "../../../"
8-
pre_release: true
9-
1+
dependencies:
2+
espressif/esp_matter:
3+
version: ">=1.3.0"
4+
require: public
5+
espressif/arduino-esp32:
6+
version: ">=3.1.0"
7+
override_path: "../../../"
8+
pre_release: true
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Name, Type, SubType, Offset, Size, Flags
2-
# Note: Firmware partition offset needs to be 64K aligned, initial 36K (9 sectors) are reserved for bootloader and partition table
3-
esp_secure_cert, 0x3F, ,0xd000, 0x2000, encrypted
4-
nvs, data, nvs, 0x10000, 0xC000,
5-
nvs_keys, data, nvs_keys,, 0x1000, encrypted
6-
otadata, data, ota, , 0x2000
7-
phy_init, data, phy, , 0x1000,
8-
ota_0, app, ota_0, 0x20000, 0x1E0000,
9-
ota_1, app, ota_1, 0x200000, 0x1E0000,
10-
fctry, data, nvs, 0x3E0000, 0x6000
1+
# Name, Type, SubType, Offset, Size, Flags
2+
# Note: Firmware partition offset needs to be 64K aligned, initial 36K (9 sectors) are reserved for bootloader and partition table
3+
esp_secure_cert, 0x3F, ,0xd000, 0x2000, encrypted
4+
nvs, data, nvs, 0x10000, 0xC000,
5+
nvs_keys, data, nvs_keys,, 0x1000, encrypted
6+
otadata, data, ota, , 0x2000
7+
phy_init, data, phy, , 0x1000,
8+
ota_0, app, ota_0, 0x20000, 0x1E0000,
9+
ota_1, app, ota_1, 0x200000, 0x1E0000,
10+
fctry, data, nvs, 0x3E0000, 0x6000
Lines changed: 68 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,68 @@
1-
# Arduino ESP32 settings
2-
CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=y
3-
CONFIG_AUTOSTART_ARDUINO=y
4-
CONFIG_ARDUHAL_LOG_DEFAULT_LEVEL_INFO=y
5-
CONFIG_FREERTOS_HZ=1000
6-
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
7-
8-
# Enables Arduino Selective Library Compilation: Arduino Matter + Preferences Library
9-
CONFIG_ARDUINO_SELECTIVE_COMPILATION=y
10-
CONFIG_ARDUINO_SELECTIVE_Preferences=y
11-
CONFIG_ARDUINO_SELECTIVE_Network=y
12-
CONFIG_ARDUINO_SELECTIVE_ESPmDNS=y
13-
CONFIG_ARDUINO_SELECTIVE_Matter=y
14-
15-
# Flash Configuration
16-
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
17-
CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y
18-
CONFIG_ESPTOOLPY_FLASHMODE="dio"
19-
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
20-
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
21-
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
22-
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
23-
CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y
24-
CONFIG_ESPTOOLPY_BEFORE_RESET=y
25-
CONFIG_ESPTOOLPY_BEFORE="default_reset"
26-
CONFIG_ESPTOOLPY_AFTER_RESET=y
27-
CONFIG_ESPTOOLPY_AFTER="hard_reset"
28-
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200
29-
30-
# libsodium
31-
CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y
32-
33-
# NIMBLE
34-
CONFIG_BT_ENABLED=y
35-
CONFIG_BT_NIMBLE_ENABLED=y
36-
CONFIG_BT_NIMBLE_EXT_ADV=n
37-
CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE=70
38-
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n
39-
40-
# Enable OpenThread
41-
CONFIG_OPENTHREAD_ENABLED=y
42-
CONFIG_OPENTHREAD_SRP_CLIENT=y
43-
CONFIG_OPENTHREAD_DNS_CLIENT=y
44-
CONFIG_OPENTHREAD_LOG_LEVEL_DYNAMIC=n
45-
CONFIG_OPENTHREAD_LOG_LEVEL_NOTE=y
46-
CONFIG_OPENTHREAD_CLI=n
47-
48-
# Disable lwip ipv6 autoconfig
49-
CONFIG_LWIP_IPV6_AUTOCONFIG=n
50-
51-
# Use a custom partition table
52-
CONFIG_PARTITION_TABLE_CUSTOM=y
53-
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
54-
55-
# LwIP config for OpenThread
56-
CONFIG_LWIP_IPV6_NUM_ADDRESSES=8
57-
CONFIG_LWIP_MULTICAST_PING=y
58-
59-
# MDNS platform
60-
CONFIG_USE_MINIMAL_MDNS=n
61-
CONFIG_ENABLE_EXTENDED_DISCOVERY=y
62-
63-
# Disable STA and AP for ESP32C6 ==> no Wifi, thread only
64-
CONFIG_ENABLE_WIFI_STATION=n
65-
CONFIG_ENABLE_WIFI_AP=n
66-
67-
# Enable HKDF in mbedtls
68-
CONFIG_MBEDTLS_HKDF_C=y
69-
1+
# Arduino ESP32 settings
2+
CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=y
3+
CONFIG_AUTOSTART_ARDUINO=y
4+
CONFIG_ARDUHAL_LOG_DEFAULT_LEVEL_INFO=y
5+
CONFIG_FREERTOS_HZ=1000
6+
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
7+
8+
# Enables Arduino Selective Library Compilation: Arduino Matter + Preferences Library
9+
CONFIG_ARDUINO_SELECTIVE_COMPILATION=y
10+
CONFIG_ARDUINO_SELECTIVE_Preferences=y
11+
CONFIG_ARDUINO_SELECTIVE_Network=y
12+
CONFIG_ARDUINO_SELECTIVE_ESPmDNS=y
13+
CONFIG_ARDUINO_SELECTIVE_Matter=y
14+
15+
# Flash Configuration
16+
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
17+
CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y
18+
CONFIG_ESPTOOLPY_FLASHMODE="dio"
19+
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
20+
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
21+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
22+
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
23+
CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y
24+
CONFIG_ESPTOOLPY_BEFORE_RESET=y
25+
CONFIG_ESPTOOLPY_BEFORE="default_reset"
26+
CONFIG_ESPTOOLPY_AFTER_RESET=y
27+
CONFIG_ESPTOOLPY_AFTER="hard_reset"
28+
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200
29+
30+
# libsodium
31+
CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y
32+
33+
# NIMBLE
34+
CONFIG_BT_ENABLED=y
35+
CONFIG_BT_NIMBLE_ENABLED=y
36+
CONFIG_BT_NIMBLE_EXT_ADV=n
37+
CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE=70
38+
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n
39+
40+
# Enable OpenThread
41+
CONFIG_OPENTHREAD_ENABLED=y
42+
CONFIG_OPENTHREAD_SRP_CLIENT=y
43+
CONFIG_OPENTHREAD_DNS_CLIENT=y
44+
CONFIG_OPENTHREAD_LOG_LEVEL_DYNAMIC=n
45+
CONFIG_OPENTHREAD_LOG_LEVEL_NOTE=y
46+
CONFIG_OPENTHREAD_CLI=n
47+
48+
# Disable lwip ipv6 autoconfig
49+
CONFIG_LWIP_IPV6_AUTOCONFIG=n
50+
51+
# Use a custom partition table
52+
CONFIG_PARTITION_TABLE_CUSTOM=y
53+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
54+
55+
# LwIP config for OpenThread
56+
CONFIG_LWIP_IPV6_NUM_ADDRESSES=8
57+
CONFIG_LWIP_MULTICAST_PING=y
58+
59+
# MDNS platform
60+
CONFIG_USE_MINIMAL_MDNS=n
61+
CONFIG_ENABLE_EXTENDED_DISCOVERY=y
62+
63+
# Disable STA and AP for ESP32C6 ==> no Wifi, thread only
64+
CONFIG_ENABLE_WIFI_STATION=n
65+
CONFIG_ENABLE_WIFI_AP=n
66+
67+
# Enable HKDF in mbedtls
68+
CONFIG_MBEDTLS_HKDF_C=y

0 commit comments

Comments
 (0)