M2351: Rename non-PSA target name to NU_PFM_M2351_NPSA_S/NS

1.  Create a private target name NU_PFM_M2351_CM which stands for the
    NuMaker-PFM-M2351 board and is to be extended.
2.  NU_PFM_M2351_NPSA_S/NS target names for non-PSA secure/non-secure targets
    respectively.
3.  The original target name NUMAKER_PFM_M2351 is recycled and cannot be used.
    Use NU_PFM_M2351_S/NS for non-PSA secure/non-secure targets instead.

NOTE:   Target name doesn't follow the rule below because online database has
        limit of max 20 chars:

        NUMAKER_PFM_M2351_PSA/NOPSA_S/NS

        Instead, it has the rule:

        NU_PFM_M2351_[NPSA_]S/NS

        NU_PFM_M2351_S/NS for PSA targets. This is to be consistent with current
        PSA target naming. So the resolved target names are:

        NU_PFM_M2351_S          : PSA secure target
        NU_PFM_M2351_NS         : PSA non-secure target
        NU_PFM_M2351_NPSA_S     : Non-PSA secure target
        NU_PFM_M2351_NPSA_NS    : Non-PSA non-secure target
pull/11288/head
Chun-Chieh Li 2019-08-22 14:58:29 +08:00
parent 2471c9ea10
commit c025e33fec
1 changed files with 33 additions and 8 deletions

View File

@ -8663,8 +8663,7 @@
"macros_add": ["CMSDK_CM7"],
"device_has_add": ["MPU"]
},
"NUMAKER_PFM_M2351": {
"core": "Cortex-M23-NS",
"NU_PFM_M2351_CM": {
"default_toolchain": "ARMC6",
"extra_labels": [
"NUVOTON",
@ -8678,7 +8677,6 @@
"MBED_TZ_DEFAULT_ACCESS=1",
"LPTICKER_DELAY_TICKS=4"
],
"trustzone": true,
"is_disk_virtual": true,
"supported_toolchains": ["ARMC6"],
"config": {
@ -8701,6 +8699,7 @@
},
"overrides": {
"deep-sleep-latency": 1,
"tickless-from-us-ticker": true,
"mpu-rom-end": "0x1fffffff"
},
"inherits": ["Target"],
@ -8730,17 +8729,43 @@
"FLASH",
"MPU"
],
"components_add": ["FLASHIAP"],
"detect_code": ["1305"],
"release_versions": ["5"],
"device_name": "M2351KIAAEES",
"bootloader_supported": true,
"tickless-from-us-ticker": true,
"forced_reset_timeout": 3,
"mbed_rom_start" : "0x10040000",
"mbed_rom_size" : "0x40000",
"mbed_ram_start" : "0x30008000",
"mbed_ram_size" : "0x10000"
"public": false
},
"NU_PFM_M2351_NPSA_NS": {
"inherits": ["NU_PFM_M2351_CM"],
"core": "Cortex-M23-NS",
"trustzone": true,
"extra_labels_add": [
"M23_NS"
],
"macros_add": [
"MBED_TZ_DEFAULT_ACCESS=1"
],
"components_add": ["FLASHIAP"],
"mbed_rom_start" : "0x10040000",
"mbed_rom_size" : "0x40000",
"mbed_ram_start" : "0x30008000",
"mbed_ram_size" : "0x10000"
},
"NU_PFM_M2351_NPSA_S": {
"inherits": ["NU_PFM_M2351_CM"],
"core": "Cortex-M23",
"trustzone": true,
"extra_labels_add": [
"M23_S"
],
"device_has_remove": ["TRNG", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "STDIO_MESSAGES"],
"components_add": ["FLASHIAP"],
"mbed_rom_start" : "0x0",
"mbed_rom_size" : "0x40000",
"mbed_ram_start" : "0x20000000",
"mbed_ram_size" : "0x8000"
},
"TMPM3H6": {
"inherits": ["Target"],