Skip to content

Commit a8188bf

Browse files
authored
Merge pull request #12166 from hugueskamba/hk-baremetal-NRF52840_DK-fix
NRF52840_DK: Fix baremetal linker error
2 parents 7e1443a + 65fbee1 commit a8188bf

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

TESTS/configs/baremetal.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"events",
3333
"kv-global-api",
3434
"sd",
35-
"qspif"
35+
"qspif",
36+
"cryptocell310"
3637
],
3738
"target_overrides": {
3839
"*": {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "cryptocell310",
3+
"config": {
4+
"present": 1
5+
}
6+
}

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/objects.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern "C" {
5454

5555
#include "nrf_uarte.h"
5656

57-
#if defined(FEATURE_CRYPTOCELL310)
57+
#if MBED_CONF_CRYPTOCELL310_PRESENT
5858
#include "objects_cryptocell.h"
5959
#else
6060
struct trng_s {

0 commit comments

Comments
 (0)