Update Zigbee example to work with SDK 2.2.0

The new SDK requires 802.15.4 to be enabled in the board DTS file.

Also disable IPv6 explicitly to avoid compile errors related to its
network stack, since it is not used currently.

Closes #94
This commit is contained in:
Matthew Dawson 2023-01-22 02:49:45 -05:00
parent 1fbd971c4f
commit af47848b80
No known key found for this signature in database
GPG key ID: 404D7F645F682028
3 changed files with 11 additions and 0 deletions

View file

@ -10,6 +10,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,ieee802154 = &ieee802154;
};
zephyr,user {
@ -61,6 +62,10 @@
status = "okay";
};
&ieee802154 {
status = "okay";
};
&uart0 {
compatible = "nordic,nrf-uart";
status = "disabled";

View file

@ -10,6 +10,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,ieee802154 = &ieee802154;
};
zephyr,user {
@ -61,6 +62,10 @@
status = "okay";
};
&ieee802154 {
status = "okay";
};
&uart0 {
compatible = "nordic,nrf-uart";
status = "disabled";

View file

@ -29,6 +29,7 @@ CONFIG_CRYPTO_NRF_ECB=y
CONFIG_CRYPTO_INIT_PRIORITY=80
# Networking
CONFIG_NET_IPV6=n
CONFIG_NET_IPV6_MLD=n
CONFIG_NET_IPV6_NBR_CACHE=n
CONFIG_NET_IPV6_RA_RDNSS=n