Skip to content

Commit 7b2246d

Browse files
committed
Added the CI fixes for ESP32 builds
1 parent 32cb0ee commit 7b2246d

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

examples/all-clusters-minimal-app/esp32/sdkconfig_m5stack_rpc.defaults

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ CONFIG_BTDM_CTRL_LPCLK_SEL_MAIN_XTAL=n
7272
# Enable HKDF in mbedtls
7373
CONFIG_MBEDTLS_HKDF_C=y
7474

75+
# Memory Optimizations
76+
CONFIG_NIMBLE_MAX_CONNECTIONS=1
77+
CONFIG_BTDM_CTRL_BLE_MAX_CONN=1
78+
CONFIG_BT_NIMBLE_ROLE_CENTRAL=n
79+
CONFIG_BT_NIMBLE_ROLE_OBSERVER=n
80+
7581
# Build chip tests
7682
CONFIG_BUILD_CHIP_TESTS=y
7783

examples/chef/esp32/partitions.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
nvs, data, nvs, , 0xC000,
44
phy_init, data, phy, , 0x1000,
55
# Factory partition size about 1.9MB
6-
factory, app, factory, , 1945K,
6+
factory, app, factory, , 2M,

examples/light-switch-app/esp32/main/DeviceCallbacks.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ using namespace chip::System;
3535
using namespace chip::app::Clusters;
3636

3737
void AppDeviceCallbacks::PostAttributeChangeCallback(EndpointId endpointId, ClusterId clusterId, AttributeId attributeId,
38-
uint8_t mask, uint8_t type, uint16_t size, uint8_t * value)
38+
uint8_t type, uint16_t size, uint8_t * value)
3939
{
4040
ESP_LOGI(TAG, "PostAttributeChangeCallback - Cluster ID: '0x%" PRIx32 "', EndPoint ID: '0x%x', Attribute ID: '0x%" PRIx32 "'",
4141
clusterId, endpointId, attributeId);

examples/light-switch-app/esp32/main/include/DeviceCallbacks.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AppDeviceCallbacks : public CommonDeviceCallbacks
3333
{
3434
public:
3535
virtual void PostAttributeChangeCallback(chip::EndpointId endpointId, chip::ClusterId clusterId, chip::AttributeId attributeId,
36-
uint8_t mask, uint8_t type, uint16_t size, uint8_t * value);
36+
uint8_t type, uint16_t size, uint8_t * value) override;
3737

3838
private:
3939
void OnIdentifyPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value);

0 commit comments

Comments
 (0)