Skip to content

Commit cee0cbd

Browse files
committed
Remove Cortex-A mbed OS 5 support
1 parent d8caee9 commit cee0cbd

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

targets/targets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,7 @@
19261926
"inherits": ["Target"],
19271927
"device_has": ["ANALOGIN", "CAN", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"],
19281928
"features": ["LWIP"],
1929-
"release_versions": ["2", "5"]
1929+
"release_versions": ["2"]
19301930
},
19311931
"VK_RZ_A1H": {
19321932
"inherits": ["Target"],
@@ -1938,7 +1938,7 @@
19381938
"device_has": ["ANALOGIN", "CAN", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "STDIO_MESSAGES"],
19391939
"features": ["LWIP"],
19401940
"default_lib": "std",
1941-
"release_versions": ["2", "5"]
1941+
"release_versions": ["2"]
19421942
},
19431943
"MAXWSNENV": {
19441944
"inherits": ["Target"],

tools/build_api.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,14 @@ def build_project(src_paths, build_path, target, toolchain_name,
514514
if (hasattr(toolchain.target, "release_versions") and
515515
"5" not in toolchain.target.release_versions and
516516
"rtos" in toolchain.config.lib_config_data):
517-
raise NotSupportedException("Target does not support mbed OS 5")
517+
if "Cortex-A" in toolchain.target.core:
518+
raise NotSupportedException(
519+
("%s Will be supported in mbed OS 5.6. "
520+
"To use the %s, please checkout the mbed OS 5.4 release branch. "
521+
"See https://developer.mbed.org/platforms/Renesas-GR-PEACH/#important-notice "
522+
"for more information") % (toolchain.target.name, toolchain.target.name))
523+
else:
524+
raise NotSupportedException("Target does not support mbed OS 5")
518525

519526
# Change linker script if specified
520527
if linker_script is not None:

0 commit comments

Comments
 (0)