Skip to content

Commit 493a043

Browse files
urutvaPatater
authored andcommitted
psa: Remove PSA targets not supported in TF-M
Mbed OS depends on TF-M to implement PSA. Any targets that need to provide PSA must be supported by TF-M. The following targets are removed from Mbed OS as they don't yet have TF-M support. We can re-add these targets to Mbed OS when they have TF-M support in the official upstream TF-M repository hosted at trustedfirmware.org. These PSA targets no longer have a PSA implementation and are removed: - LPC55S69 - LPC55S69_NS - LPC55S69_S - NU_PFM_M2351_NS - NU_PFM_M2351_S - HANI_IOT Signed-off-by: Devaraj Ranganna <[email protected]> Signed-off-by: Jaeden Amero <[email protected]>
1 parent af1ea31 commit 493a043

File tree

2 files changed

+0
-268
lines changed

2 files changed

+0
-268
lines changed

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_M33_NS/device/cmsis_nvic_virtual.c

Lines changed: 0 additions & 31 deletions
This file was deleted.

targets/targets.json

Lines changed: 0 additions & 237 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,161 +2548,6 @@
25482548
"5"
25492549
]
25502550
},
2551-
"LPC55S69": {
2552-
"public": false,
2553-
"inherits": [
2554-
"Target"
2555-
],
2556-
"default_toolchain": "ARMC6",
2557-
"supported_form_factors": [
2558-
"ARDUINO"
2559-
],
2560-
"macros": [
2561-
"CPU_LPC55S69JBD100_cm33_core0"
2562-
],
2563-
"extra_labels": [
2564-
"NXP",
2565-
"MCUXpresso_MCUS",
2566-
"LPCXpresso",
2567-
"LPC"
2568-
],
2569-
"detect_code": [
2570-
"0236"
2571-
],
2572-
"device_name": "LPC55S69JBD100",
2573-
"release_versions": [
2574-
"5"
2575-
],
2576-
"program_cycle_s": 10,
2577-
"sectors": [
2578-
[
2579-
0,
2580-
512
2581-
]
2582-
]
2583-
},
2584-
"LPC55S69_NS": {
2585-
"inherits": [
2586-
"NSPE_Target",
2587-
"LPC55S69"
2588-
],
2589-
"core": "Cortex-M33FE-NS",
2590-
"supported_toolchains": [
2591-
"ARMC6",
2592-
"GCC_ARM",
2593-
"IAR"
2594-
],
2595-
"macros_add": [
2596-
"__STARTUP_CLEAR_BSS",
2597-
"MBED_FAULT_HANDLER_DISABLED",
2598-
"CMSIS_NVIC_VIRTUAL",
2599-
"MBED_MPU_CUSTOM",
2600-
"NXP_LPADC",
2601-
"MBED_TICKLESS"
2602-
],
2603-
"components_add": [
2604-
"FLASHIAP"
2605-
],
2606-
"extra_labels_add": [
2607-
"M33_NS",
2608-
"PSA",
2609-
"TFM"
2610-
],
2611-
"device_has_add": [
2612-
"USTICKER",
2613-
"RTC",
2614-
"ANALOGIN",
2615-
"I2C",
2616-
"I2CSLAVE",
2617-
"INTERRUPTIN",
2618-
"PORTIN",
2619-
"PORTINOUT",
2620-
"PORTOUT",
2621-
"SERIAL",
2622-
"SERIAL_FC",
2623-
"SLEEP",
2624-
"SPI",
2625-
"SPISLAVE",
2626-
"FLASH",
2627-
"STDIO_MESSAGES"
2628-
],
2629-
"post_binary_hook": {
2630-
"function": "LPC55S69Code.binary_hook"
2631-
},
2632-
"secure_image_filename": "tfm.bin",
2633-
"overrides": {
2634-
"non-secure-rom-start": "0x00030000",
2635-
"non-secure-rom-size": "0x68000",
2636-
"non-secure-ram-start": "0x20022000",
2637-
"non-secure-ram-size": "0x22000",
2638-
"secure-rom-start": "0x10000000",
2639-
"secure-rom-size": "0x28000",
2640-
"secure-ram-start": "0x30000000",
2641-
"secure-ram-size": "0x22000",
2642-
"tickless-from-us-ticker": true,
2643-
"init-us-ticker-at-boot": true
2644-
},
2645-
"OUTPUT_EXT": "hex",
2646-
"bootloader_supported": true,
2647-
"detect_code": [
2648-
"0236"
2649-
]
2650-
},
2651-
"LPC55S69_S": {
2652-
"inherits": [
2653-
"SPE_Target",
2654-
"LPC55S69"
2655-
],
2656-
"core": "Cortex-M33FE",
2657-
"supported_toolchains": [
2658-
"ARMC6"
2659-
],
2660-
"macros_add": [
2661-
"__STARTUP_CLEAR_BSS_MULTIPLE",
2662-
"__STARTUP_COPY_MULTIPLE",
2663-
"MBED_MPU_CUSTOM",
2664-
"DAUTH_CHIP_DEFAULT",
2665-
"MBEDTLS_PSA_CRYPTO_SPM"
2666-
],
2667-
"components_add": [
2668-
"FLASHIAP"
2669-
],
2670-
"extra_labels_add": [
2671-
"M33_S",
2672-
"PSA",
2673-
"TFM"
2674-
],
2675-
"device_has_add": [
2676-
"FLASH",
2677-
"TRNG"
2678-
],
2679-
"deliver_to_target": "LPC55S69_NS",
2680-
"delivery_dir": "TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_M33_NS/prebuilt",
2681-
"overrides": {
2682-
"non-secure-rom-start": "0x00030000",
2683-
"non-secure-rom-size": "0x68000",
2684-
"non-secure-ram-start": "0x20022000",
2685-
"non-secure-ram-size": "0x22000",
2686-
"secure-rom-start": "0x10000000",
2687-
"secure-rom-size": "0x28000",
2688-
"secure-ram-start": "0x30000000",
2689-
"secure-ram-size": "0x22000"
2690-
}
2691-
},
2692-
"HANI_IOT": {
2693-
"inherits": [
2694-
"LPC55S69_NS"
2695-
],
2696-
"detect_code": [
2697-
"0360"
2698-
],
2699-
"components_add": [
2700-
"SPIF"
2701-
],
2702-
"extra_labels_remove": [
2703-
"LPCXpresso"
2704-
]
2705-
},
27062551
"NUCLEO_F030R8": {
27072552
"inherits": [
27082553
"FAMILY_STM32"
@@ -11084,88 +10929,6 @@
1108410929
"mbed_ram_start": "0x20000000",
1108510930
"mbed_ram_size": "0x2000"
1108610931
},
11087-
"NU_PFM_M2351_NS": {
11088-
"inherits": [
11089-
"NSPE_Target",
11090-
"NU_PFM_M2351"
11091-
],
11092-
"core": "Cortex-M23-NS",
11093-
"supported_toolchains": [
11094-
"ARMC6",
11095-
"GCC_ARM",
11096-
"IAR"
11097-
],
11098-
"tfm.level": 1,
11099-
"extra_labels_add": [
11100-
"M23_NS",
11101-
"PSA",
11102-
"TFM",
11103-
"NU_PREBUILD_SECURE"
11104-
],
11105-
"macros_add": [
11106-
"CMSIS_NVIC_VIRTUAL",
11107-
"MBEDTLS_PSA_CRYPTO_C"
11108-
],
11109-
"components_add": [
11110-
"FLASHIAP"
11111-
],
11112-
"post_binary_hook": {
11113-
"function": "M2351Code.merge_secure"
11114-
},
11115-
"secure_image_filename": "tfm.hex",
11116-
"overrides": {
11117-
"secure-rom-start": "0x0",
11118-
"secure-rom-size": "0x3C000",
11119-
"secure-ram-start": "0x20000000",
11120-
"secure-ram-size": "0x10000",
11121-
"non-secure-rom-start": "0x1003C000",
11122-
"non-secure-rom-size": "0x44000",
11123-
"non-secure-ram-start": "0x30010000",
11124-
"non-secure-ram-size": "0x8000"
11125-
}
11126-
},
11127-
"NU_PFM_M2351_S": {
11128-
"inherits": [
11129-
"SPE_Target",
11130-
"NU_PFM_M2351"
11131-
],
11132-
"core": "Cortex-M23",
11133-
"supported_toolchains": [
11134-
"ARMC6"
11135-
],
11136-
"tfm.level": 1,
11137-
"extra_labels_add": [
11138-
"M23_S",
11139-
"PSA",
11140-
"TFM"
11141-
],
11142-
"device_has_remove": [
11143-
"SERIAL",
11144-
"SERIAL_ASYNCH",
11145-
"SERIAL_FC",
11146-
"STDIO_MESSAGES"
11147-
],
11148-
"macros_add": [
11149-
"DAUTH_CHIP_DEFAULT",
11150-
"MBEDTLS_PSA_CRYPTO_C",
11151-
"MBEDTLS_PSA_CRYPTO_SPM"
11152-
],
11153-
"components_add": [
11154-
"FLASHIAP"
11155-
],
11156-
"deliver_to_target": "NU_PFM_M2351_NS",
11157-
"delivery_dir": "TARGET_NUVOTON/TARGET_M2351/TARGET_M23_NS/TARGET_NU_PFM_M2351_NS/TARGET_NU_PREBUILD_SECURE",
11158-
"overrides": {
11159-
"secure-rom-start": "0x0",
11160-
"secure-rom-size": "0x3C000",
11161-
"secure-ram-start": "0x20000000",
11162-
"secure-ram-size": "0x10000",
11163-
"non-secure-rom-start": "0x1003C000",
11164-
"non-secure-rom-size": "0x44000",
11165-
"non-secure-ram-start": "0x30010000",
11166-
"non-secure-ram-size": "0x8000"
11167-
}
11168-
},
1116910932
"NUMAKER_M252KG": {
1117010933
"core": "Cortex-M23",
1117110934
"trustzone": false,

0 commit comments

Comments
 (0)