Skip to content

Commit f7d49fd

Browse files
author
deepikabhavnani
committed
Change DSP variant symbol to E from D(d-double floating point)
1 parent c472005 commit f7d49fd

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

tools/targets/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
"Cortex-M33-NS": ["M33", "M33_NS", "CORTEX_M", "LIKE_CORTEX_M33", "CORTEX"],
5353
"Cortex-M33F": ["M33", "CORTEX_M", "LIKE_CORTEX_M33", "CORTEX"],
5454
"Cortex-M33F-NS": ["M33", "M33_NS", "CORTEX_M", "LIKE_CORTEX_M33", "CORTEX"],
55-
"Cortex-M33FD": ["M33", "CORTEX_M", "LIKE_CORTEX_M33", "CORTEX"],
56-
"Cortex-M33FD-NS": ["M33", "M33_NS", "CORTEX_M", "LIKE_CORTEX_M33", "CORTEX"]
55+
"Cortex-M33FE": ["M33", "CORTEX_M", "LIKE_CORTEX_M33", "CORTEX"],
56+
"Cortex-M33FE-NS": ["M33", "M33_NS", "CORTEX_M", "LIKE_CORTEX_M33", "CORTEX"]
5757
}
5858

5959
CORE_ARCH = {
@@ -73,8 +73,8 @@
7373
"Cortex-M33F": 8,
7474
"Cortex-M33-NS": 8,
7575
"Cortex-M33F-NS": 8,
76-
"Cortex-M33FD": 8,
77-
"Cortex-M33FD-NS": 8,
76+
"Cortex-M33FE": 8,
77+
"Cortex-M33FE-NS": 8,
7878
}
7979

8080
################################################################################

tools/toolchains/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ class mbedToolchain:
7878
"Cortex-M33": ["__CORTEX_M33", "ARM_MATH_ARMV8MML", "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM"],
7979
"Cortex-M33F-NS": ["__CORTEX_M33", "ARM_MATH_ARMV8MML", "DOMAIN_NS=1", "__FPU_PRESENT=1U", "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM"],
8080
"Cortex-M33F": ["__CORTEX_M33", "ARM_MATH_ARMV8MML", "__FPU_PRESENT=1U", "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM"],
81-
"Cortex-M33FD-NS": ["__CORTEX_M33", "ARM_MATH_ARMV8MML", "DOMAIN_NS=1", "__FPU_PRESENT=1U", "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM", "__DSP_PRESENT=1U"],
82-
"Cortex-M33FD": ["__CORTEX_M33", "ARM_MATH_ARMV8MML", "__FPU_PRESENT=1U", "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM", "__DSP_PRESENT=1U"],
81+
"Cortex-M33FE-NS": ["__CORTEX_M33", "ARM_MATH_ARMV8MML", "DOMAIN_NS=1", "__FPU_PRESENT=1U", "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM", "__DSP_PRESENT=1U"],
82+
"Cortex-M33FE": ["__CORTEX_M33", "ARM_MATH_ARMV8MML", "__FPU_PRESENT=1U", "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM", "__DSP_PRESENT=1U"],
8383
}
8484

8585
MBED_CONFIG_FILE_NAME="mbed_config.h"

tools/toolchains/arm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class ARMC6(ARM_STD):
364364
SUPPORTED_CORES = ["Cortex-M0", "Cortex-M0+", "Cortex-M3", "Cortex-M4",
365365
"Cortex-M4F", "Cortex-M7", "Cortex-M7F", "Cortex-M7FD",
366366
"Cortex-M23", "Cortex-M23-NS", "Cortex-M33", "Cortex-M33F",
367-
"Cortex-M33-NS", "Cortex-M33F-NS", "Cortex-M33FD-NS", "Cortex-M33FD",
367+
"Cortex-M33-NS", "Cortex-M33F-NS", "Cortex-M33FE-NS", "Cortex-M33FE",
368368
"Cortex-A9"]
369369
ARMCC_RANGE = (LooseVersion("6.10"), LooseVersion("7.0"))
370370

@@ -406,7 +406,7 @@ def __init__(self, target, *args, **kwargs):
406406
"Cortex-M7FD": "cortex-m7",
407407
"Cortex-M33": "cortex-m33+no_dsp+no_fp",
408408
"Cortex-M33F": "cortex-m33+no_dsp",
409-
"Cortex-M33FD": "cortex-m33"}.get(core, core)
409+
"Cortex-M33FE": "cortex-m33"}.get(core, core)
410410

411411
cpu = cpu.lower()
412412
self.flags['common'].append("-mcpu=%s" % cpu)
@@ -441,7 +441,7 @@ def __init__(self, target, *args, **kwargs):
441441
"Cortex-M7FD": "Cortex-M7.fp.dp",
442442
"Cortex-M33": "Cortex-M33.no_dsp.no_fp",
443443
"Cortex-M33F": "Cortex-M33.no_dsp",
444-
"Cortex-M33FD": "Cortex-M33"}.get(core, core)
444+
"Cortex-M33FE": "Cortex-M33"}.get(core, core)
445445

446446
self.flags['asm'].append("--cpu=%s" % asm_cpu)
447447

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(self, target, notify=None, macros=None, build_profile=None,
7272
self.cpu = ["-mcpu=cortex-m4"]
7373
elif core.startswith("Cortex-M7"):
7474
self.cpu = ["-mcpu=cortex-m7"]
75-
elif core == "Cortex-M33FD":
75+
elif core == "Cortex-M33FE":
7676
self.cpu = ["-mcpu=cortex-m33"]
7777
elif core == "Cortex-M33F":
7878
self.cpu = ["-mcpu=cortex-m33+nodsp"]

0 commit comments

Comments
 (0)