Skip to content

Commit 2004645

Browse files
tima-qpull[bot]
authored andcommitted
* Enabling SRP support on QPG6100 (#6720)
1 parent 438f541 commit 2004645

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

examples/platform/qpg6100/project_include/OpenThreadConfig.h

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
#define OPENTHREAD_CONFIG_NCP_UART_ENABLE 1
4444
#define OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 1
4545

46+
#define OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE 1
47+
#define OPENTHREAD_CONFIG_ECDSA_ENABLE 1
48+
4649
// Use the Qorvo-supplied default platform configuration for remainder
4750
// of OpenThread config options.
4851
//

src/platform/qpg6100/CHIPDevicePlatformConfig.h

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
#define CHIP_DEVICE_CONFIG_PERSISTED_STORAGE_INFO_EIDC_KEY 4
4242
#define CHIP_DEVICE_CONFIG_PERSISTED_STORAGE_DEBUG_EIDC_KEY 5
4343

44+
#define CHIP_DEVICE_CONFIG_ENABLE_MDNS 1
45+
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT 1
46+
#define CHIP_DEVICE_CONFIG_THREAD_SRP_MAX_SERVICES 1
47+
4448
// ========== Platform-specific Configuration =========
4549

4650
// These are configuration options that are unique to the platform.

src/platform/qpg6100/args.gni

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ arm_platform_config = "${qpg6100_sdk_build_root}/qpg6100_arm.gni"
2121
mbedtls_target = "${qpg6100_sdk_build_root}:qpg6100_sdk"
2222

2323
chip_device_platform = "qpg6100"
24+
chip_mdns = "platform"
2425

2526
lwip_platform = "qpg6100"
2627
lwip_ipv6 = true

third_party/qpg_sdk/repo

Submodule repo updated from 3b185db to 6baa43c

0 commit comments

Comments
 (0)