mirror of https://github.com/ARMmbed/mbed-os.git
NRF52840_DK: Fix baremetal linker error
Compile in the inclusion of cryptocell310 only if the library is included in the buildpull/12166/head
parent
789a193696
commit
65fbee1d33
|
@ -32,7 +32,8 @@
|
||||||
"events",
|
"events",
|
||||||
"kv-global-api",
|
"kv-global-api",
|
||||||
"sd",
|
"sd",
|
||||||
"qspif"
|
"qspif",
|
||||||
|
"cryptocell310"
|
||||||
],
|
],
|
||||||
"target_overrides": {
|
"target_overrides": {
|
||||||
"*": {
|
"*": {
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "cryptocell310",
|
||||||
|
"config": {
|
||||||
|
"present": 1
|
||||||
|
}
|
||||||
|
}
|
|
@ -54,7 +54,7 @@ extern "C" {
|
||||||
|
|
||||||
#include "nrf_uart.h"
|
#include "nrf_uart.h"
|
||||||
|
|
||||||
#if defined(FEATURE_CRYPTOCELL310)
|
#if MBED_CONF_CRYPTOCELL310_PRESENT
|
||||||
#include "objects_cryptocell.h"
|
#include "objects_cryptocell.h"
|
||||||
#else
|
#else
|
||||||
struct trng_s {
|
struct trng_s {
|
||||||
|
|
Loading…
Reference in New Issue