Skip to content

Commit 8f42cf7

Browse files
committed
Revert "Remove Cortex-A mbed OS 5 support"
I changed the python and json files to re-registering GR-PEACH to Mbed OS 5.
1 parent 1bb2ca6 commit 8f42cf7

File tree

3 files changed

+1
-18
lines changed

3 files changed

+1
-18
lines changed

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2397,7 +2397,7 @@
23972397
"inherits": ["Target"],
23982398
"device_has": ["ANALOGIN", "CAN", "ETHERNET", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"],
23992399
"features": ["LWIP"],
2400-
"release_versions": ["2"]
2400+
"release_versions": ["2", "5"]
24012401
},
24022402
"VK_RZ_A1H": {
24032403
"inherits": ["Target"],

tools/build_api.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,6 @@ def scan_resources(src_paths, toolchain, dependencies_paths=None,
441441
if (hasattr(toolchain.target, "release_versions") and
442442
"5" not in toolchain.target.release_versions and
443443
"rtos" in toolchain.config.lib_config_data):
444-
if "Cortex-A" in toolchain.target.core:
445-
raise NotSupportedException(
446-
("%s Will be supported in a future version of Mbed OS. "
447-
"To use the %s, please checkout the mbed OS 5.4 release branch. "
448-
"See https://developer.mbed.org/platforms/Renesas-GR-PEACH/#important-notice "
449-
"for more information") % (toolchain.target.name, toolchain.target.name))
450-
else:
451444
raise NotSupportedException("Target does not support mbed OS 5")
452445

453446
return resources

tools/options.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,6 @@ def extract_profile(parser, options, toolchain, fallback="develop"):
117117
profiles.append(contents)
118118

119119
return profiles
120-
121-
def mcu_is_enabled(parser, mcu):
122-
if "Cortex-A" in TARGET_MAP[mcu].core:
123-
args_error(
124-
parser,
125-
("%s Will be supported in a future version of Mbed OS. "
126-
"To use the %s, please checkout the mbed OS 5.4 release branch. "
127-
"See https://developer.mbed.org/platforms/Renesas-GR-PEACH/#important-notice "
128-
"for more information") % (mcu, mcu))
129-
return True
130120

131121
def extract_mcus(parser, options):
132122
try:

0 commit comments

Comments
 (0)