Skip to content

Commit 3d1ec65

Browse files
author
Seppo Takalo
committed
Provide default mesh driver on NCS36510
1 parent 5c8410d commit 3d1ec65

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
@@ -3977,8 +3977,11 @@
39773977
"post_binary_hook": {"function": "NCS36510TargetCode.ncs36510_addfib"},
39783978
"macros": ["CM3", "CPU_NCS36510", "TARGET_NCS36510", "LOAD_ADDRESS=0x3000"],
39793979
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
3980-
"device_has": ["ANALOGIN", "SERIAL", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "TRNG", "SPISLAVE"],
3981-
"release_versions": ["2", "5"]
3980+
"device_has": ["ANALOGIN", "SERIAL", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "TRNG", "SPISLAVE", "802_15_4_PHY"],
3981+
"release_versions": ["2", "5"],
3982+
"overrides": {
3983+
"network-default-interface-type": "MESH"
3984+
}
39823985
},
39833986
"NUMAKER_PFM_M453": {
39843987
"core": "Cortex-M4F",

0 commit comments

Comments
 (0)