Skip to content

Commit bfdf6f0

Browse files
author
Abbas Bracken Ziad
committed
M2354: inherit PSA_V8_M devices
For `MCU_M2354`, the use of `device_has` in `targets.json` overrides the devices present in the base target: `PSA_V8_M`. In particular, `DEVICE_TRNG` is missing in `NU_M2354` builds as `TRNG` is a member of the `PSA_V8_M` `device_has` list. As suggested by @ccli8, to ensure that `PSA_V8_M` devices are inherited by derived targets, such as `MCU_M2354`, the correct syntax to use is `device_has_add`.
1 parent cecc47b commit bfdf6f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6994,7 +6994,7 @@
69946994
"tickless-from-us-ticker": true,
69956995
"mpu-rom-end": "0x1fffffff"
69966996
},
6997-
"device_has": [
6997+
"device_has_add": [
69986998
"USTICKER",
69996999
"LPTICKER",
70007000
"RTC",

0 commit comments

Comments
 (0)