Skip to content

Commit 9836b9b

Browse files
author
Seppo Takalo
committed
Provide default mesh driver on NCS36510
1 parent c5064a8 commit 9836b9b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

features/nanostack/targets/TARGET_NCS36510/NanostackRfPhyNcs36510.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,3 +902,8 @@ void NanostackRfPhyNcs36510::set_mac_address(uint8_t *mac)
902902
platform_exit_critical();
903903
}
904904

905+
NanostackRfPhy &NanostackRfPhy::get_default_instance()
906+
{
907+
static NanostackRfPhyNcs36510 rf_phy;
908+
return rf_phy;
909+
}

targets/targets.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4100,8 +4100,11 @@
41004100
"post_binary_hook": {"function": "NCS36510TargetCode.ncs36510_addfib"},
41014101
"macros": ["CM3", "CPU_NCS36510", "TARGET_NCS36510", "LOAD_ADDRESS=0x3000"],
41024102
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
4103-
"device_has": ["ANALOGIN", "SERIAL", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "TRNG", "SPISLAVE"],
4104-
"release_versions": ["2", "5"]
4103+
"device_has": ["ANALOGIN", "SERIAL", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "TRNG", "SPISLAVE", "802_15_4_PHY"],
4104+
"release_versions": ["2", "5"],
4105+
"overrides": {
4106+
"network-default-interface-type": "MESH"
4107+
}
41054108
},
41064109
"NUMAKER_PFM_M453": {
41074110
"core": "Cortex-M4F",

0 commit comments

Comments
 (0)