|
8842 | 8842 | "inherits": ["NSPE_Target", "NU_PFM_M2351"], |
8843 | 8843 | "core": "Cortex-M23-NS", |
8844 | 8844 | "tfm.level": 1, |
8845 | | - "extra_labels_add": ["M23_NS", "PSA", "TFM"], |
| 8845 | + "extra_labels_add": [ |
| 8846 | + "M23_NS", |
| 8847 | + "PSA", |
| 8848 | + "TFM", |
| 8849 | + "NU_PREBUILD_SECURE" |
| 8850 | + ], |
8846 | 8851 | "macros_add": [ |
8847 | 8852 | "MBED_TZ_DEFAULT_ACCESS=1", |
8848 | 8853 | "CMSIS_NVIC_VIRTUAL", |
8849 | 8854 | "MBEDTLS_PSA_CRYPTO_C" |
8850 | 8855 | ], |
8851 | 8856 | "components_add": ["FLASHIAP"], |
| 8857 | + "post_binary_hook": {"function": "M2351Code.merge_secure"}, |
| 8858 | + "secure_image_filename": "tfm.hex", |
8852 | 8859 | "overrides": { |
8853 | 8860 | "secure-rom-start" : "0x0", |
8854 | 8861 | "secure-rom-size" : "0x40000", |
|
8864 | 8871 | "inherits": ["SPE_Target", "NU_PFM_M2351"], |
8865 | 8872 | "core": "Cortex-M23", |
8866 | 8873 | "tfm.level": 1, |
8867 | | - "extra_labels_add": ["M23_S", "PSA", "TFM"], |
| 8874 | + "extra_labels_add": [ |
| 8875 | + "M23_S", |
| 8876 | + "PSA", |
| 8877 | + "TFM" |
| 8878 | + ], |
8868 | 8879 | "device_has_remove": ["SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "STDIO_MESSAGES"], |
8869 | 8880 | "macros_add": [ |
8870 | 8881 | "DAUTH_CHIP_DEFAULT", |
8871 | 8882 | "MBEDTLS_PSA_CRYPTO_C", |
8872 | 8883 | "MBEDTLS_PSA_CRYPTO_SPM" |
8873 | 8884 | ], |
8874 | 8885 | "components_add": ["FLASHIAP"], |
| 8886 | + "deliver_to_target": "NU_PFM_M2351_NS", |
| 8887 | + "delivery_dir": "TARGET_NUVOTON/TARGET_M2351/TARGET_M23_NS/TARGET_NU_PFM_M2351_NS/TARGET_NU_PREBUILD_SECURE", |
8875 | 8888 | "overrides": { |
8876 | 8889 | "secure-rom-start" : "0x0", |
8877 | 8890 | "secure-rom-size" : "0x40000", |
|
0 commit comments