diff --git a/hal/targets.json b/hal/targets.json index f49d04e38f..eccd116003 100644 --- a/hal/targets.json +++ b/hal/targets.json @@ -1532,6 +1532,15 @@ "macros": ["CMSDK_BEID"], "device_has": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, + "ARM_BEETLE_SOC": { + "inherits": ["ARM_IOTSS_Target"], + "core": "Cortex-M3", + "supported_toolchains": ["ARM", "GCC_ARM"], + "default_toolchain": "ARM", + "extra_labels": ["ARM_SSG", "BEETLE"], + "macros": ["CMSDK_BEETLE", "WSF_MS_PER_TICK=20", "WSF_TOKEN_ENABLED=FALSE", "WSF_TRACE_ENABLED=TRUE", "WSF_ASSERT_ENABLED=FALSE", "WSF_PRINTF_MAX_LEN=128", "ASIC", "CONFIG_HOST_REV=0x20", "CONFIG_ALLOW_DEEP_SLEEP=FALSE", "HCI_VS_TARGET", "CONFIG_ALLOW_SETTING_WRITE=TRUE", "WSF_MAX_HANDLERS=20", "NO_LEDS"], + "device_has": ["ANALOGIN", "CLCD", "I2C", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SPI"] + }, "RZ_A1H": { "supported_form_factors": ["ARDUINO"], "core": "Cortex-A9", diff --git a/tools/build_release.py b/tools/build_release.py index d9d3683a17..5299ec76e3 100644 --- a/tools/build_release.py +++ b/tools/build_release.py @@ -127,6 +127,7 @@ OFFICIAL_MBED_LIBRARY_BUILD = ( ('ARM_MPS2_M4' , ('ARM',)), ('ARM_MPS2_M7' , ('ARM',)), ('ARM_IOTSS_BEID' , ('ARM',)), + ('ARM_BEETLE_SOC' , ('ARM', 'GCC_ARM')), ('RZ_A1H' , ('ARM', 'GCC_ARM')), @@ -217,7 +218,7 @@ if __name__ == '__main__': if platforms is not None and not target_name in platforms: print("Excluding %s from release" % target_name) continue - + if target_name not in TARGET_NAMES: print "Target '%s' is not a valid target. Excluding from release" continue @@ -257,7 +258,7 @@ if __name__ == '__main__': if platforms is not None and not target_name in platforms: print("Excluding %s from release" % target_name) continue - + if target_name not in TARGET_NAMES: print "Target '%s' is not a valid target. Excluding from release" continue