From a8bd3b2cb7a0a8906748d25c164f7313bb2a04ba Mon Sep 17 00:00:00 2001 From: Brian Daniels Date: Wed, 10 May 2017 10:41:58 -0500 Subject: [PATCH] Removes FLASH capabilities for the ARCH_PRO. This platform is failing a flash test at this time. This commit disables the capability (and therefore the test) until it is fixed. --- targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c | 3 ++- targets/targets.json | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c b/targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c index f4ac509089..0b140350bf 100644 --- a/targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c +++ b/targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c @@ -15,13 +15,14 @@ */ #include "flash_api.h" -#include "flash_data.h" #include "platform/mbed_critical.h" // This file is automatically generated #if DEVICE_FLASH +#include "flash_data.h" + // This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM static uint32_t FLASH_ALGO[] = { 0x28100b00, 0x210ed302, 0x00d0eb01, 0xf44f4770, 0xfbb1707a, 0x4933f0f0, 0x60084449, 0x20014932, diff --git a/targets/targets.json b/targets/targets.json index 1c283801bb..9c1f298137 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -224,10 +224,10 @@ "LPC1768": { "inherits": ["LPCTarget"], "core": "Cortex-M3", - "extra_labels": ["NXP", "LPC176X", "MBED_LPC1768", "FLASH_CMSIS_ALGO"], + "extra_labels": ["NXP", "LPC176X", "MBED_LPC1768"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "GCC_CR", "IAR"], "detect_code": ["1010"], - "device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOCALFILESYSTEM", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES", "FLASH"], + "device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOCALFILESYSTEM", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"], "release_versions": ["2", "5"], "features": ["LWIP"], "device_name": "LPC1768" @@ -236,10 +236,10 @@ "supported_form_factors": ["ARDUINO"], "core": "Cortex-M3", "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "GCC_CR", "IAR"], - "extra_labels": ["NXP", "LPC176X", "FLASH_CMSIS_ALGO"], + "extra_labels": ["NXP", "LPC176X"], "macros": ["TARGET_LPC1768"], "inherits": ["LPCTarget"], - "device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES", "FLASH"], + "device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"], "release_versions": ["2", "5"], "features": ["LWIP"], "device_name": "LPC1768" @@ -2745,7 +2745,7 @@ "features": ["LWIP"], "release_versions": ["5"], "device_name": "NUC472HI8AE", - "bootloader_supported": true + "bootloader_supported": true }, "NCS36510": { "inherits": ["Target"], @@ -2794,7 +2794,7 @@ "device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "STDIO_MESSAGES", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "CAN", "FLASH"], "release_versions": ["2", "5"], "device_name": "M453VG6AE", - "bootloader_supported": true + "bootloader_supported": true }, "HI2110": { "inherits": ["Target"],