Revert "Remove Cortex-A mbed OS 5 support"

I changed the python and json files to re-registering GR-PEACH to Mbed OS 5.
pull/5628/head
TomoYamanaka 2017-12-14 20:35:42 +09:00
parent 1bb2ca68ea
commit 8f42cf7ef5
3 changed files with 1 additions and 18 deletions

View File

@ -2397,7 +2397,7 @@
"inherits": ["Target"],
"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"],
"features": ["LWIP"],
"release_versions": ["2"]
"release_versions": ["2", "5"]
},
"VK_RZ_A1H": {
"inherits": ["Target"],

View File

@ -441,13 +441,6 @@ def scan_resources(src_paths, toolchain, dependencies_paths=None,
if (hasattr(toolchain.target, "release_versions") and
"5" not in toolchain.target.release_versions and
"rtos" in toolchain.config.lib_config_data):
if "Cortex-A" in toolchain.target.core:
raise NotSupportedException(
("%s Will be supported in a future version of Mbed OS. "
"To use the %s, please checkout the mbed OS 5.4 release branch. "
"See https://developer.mbed.org/platforms/Renesas-GR-PEACH/#important-notice "
"for more information") % (toolchain.target.name, toolchain.target.name))
else:
raise NotSupportedException("Target does not support mbed OS 5")
return resources

View File

@ -117,16 +117,6 @@ def extract_profile(parser, options, toolchain, fallback="develop"):
profiles.append(contents)
return profiles
def mcu_is_enabled(parser, mcu):
if "Cortex-A" in TARGET_MAP[mcu].core:
args_error(
parser,
("%s Will be supported in a future version of Mbed OS. "
"To use the %s, please checkout the mbed OS 5.4 release branch. "
"See https://developer.mbed.org/platforms/Renesas-GR-PEACH/#important-notice "
"for more information") % (mcu, mcu))
return True
def extract_mcus(parser, options):
try: