From 9cf326861b68ecbb6faa111b54630eddc2ad9b80 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Thu, 2 Jun 2016 15:05:27 -0500 Subject: [PATCH] HUGE COMMIT WARNING device.h defines -> target.json features one problem: [WARNING] device APPNEARME_MICRONFCBOARD did not have an associated entry in targets.json --- hal/targets.json | 369 ++++++++++++------ .../hal/TARGET_ARM_SSG/TARGET_IOTSS/device.h | 27 +- .../hal/TARGET_ARM_SSG/TARGET_MPS2/device.h | 27 +- .../TARGET_SAMD21G18A/device.h | 29 +- .../TARGET_SAMD21J18A/device.h | 29 +- .../TARGET_SAML21J18A/device.h | 29 +- .../TARGET_SAMR21G18A/device.h | 29 +- .../TARGET_SAMG55J19/device.h | 30 +- .../TARGET_K20XX/TARGET_K20D50M/device.h | 23 +- .../TARGET_K20XX/TARGET_TEENSY3_1/device.h | 23 +- .../TARGET_KLXX/TARGET_KL05Z/device.h | 23 +- .../TARGET_KLXX/TARGET_KL25Z/device.h | 23 +- .../TARGET_KLXX/TARGET_KL26Z/device.h | 23 +- .../TARGET_KLXX/TARGET_KL43Z/device.h | 23 +- .../TARGET_KLXX/TARGET_KL46Z/device.h | 23 +- .../TARGET_K22F/TARGET_FRDM/device.h | 23 +- .../TARGET_K64F/TARGET_FRDM/device.h | 23 +- .../TARGET_K64F/TARGET_HEXIWEAR/device.h | 23 +- .../TARGET_K64F/TARGET_MTS_GAMBIT/device.h | 23 +- .../TARGET_KL27Z/TARGET_FRDM/device.h | 23 +- .../hal/TARGET_Maxim/TARGET_MAX32600/device.h | 21 +- .../hal/TARGET_Maxim/TARGET_MAX32610/device.h | 21 +- .../TARGET_ARCH_BLE/device.h | 23 +- .../TARGET_DELTA_DFCM_NNN40/device.h | 23 +- .../TARGET_HRM1017/device.h | 23 +- .../TARGET_NRF51822_Y5_MBUG/device.h | 23 +- .../TARGET_NRF51_DK/device.h | 23 +- .../TARGET_NRF51_DONGLE/device.h | 23 +- .../TARGET_NRF51_MICROBIT/device.h | 23 +- .../TARGET_RBLAB_BLENANO/device.h | 23 +- .../TARGET_RBLAB_NRF51822/device.h | 23 +- .../TARGET_SEEED_TINY_BLE/device.h | 23 +- .../TARGET_TY51822R3/device.h | 23 +- .../TARGET_WALLBOT_BLE/device.h | 23 +- .../hal/TARGET_NXP/TARGET_LPC11U6X/device.h | 23 +- .../TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h | 23 +- .../TARGET_LPC11U24_301/device.h | 23 +- .../TARGET_LPC11U24_401/device.h | 23 +- .../TARGET_LPC11U34_421/device.h | 23 +- .../TARGET_LPC11U35_401/device.h | 23 +- .../TARGET_LPC11U37H_401/device.h | 23 +- .../TARGET_LPCCAPPUCCINO/device.h | 23 +- .../TARGET_LPC11U35_501/device.h | 23 +- .../TARGET_LPC11U35_501_IBDAP/device.h | 23 +- .../TARGET_LPC11U35_Y5_MBUG/device.h | 23 +- .../TARGET_XADOW_M0/device.h | 23 +- .../TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h | 23 +- .../TARGET_LPC11CXX/device.h | 23 +- .../TARGET_LPC11XX/device.h | 23 +- .../hal/TARGET_NXP/TARGET_LPC13XX/device.h | 22 +- .../hal/TARGET_NXP/TARGET_LPC15XX/device.h | 24 +- .../TARGET_LPC176X/TARGET_ARCH_PRO/device.h | 26 +- .../TARGET_MBED_LPC1768/device.h | 24 +- .../TARGET_LPC176X/TARGET_UBLOX_C027/device.h | 27 +- .../TARGET_XBED_LPC1768/device.h | 24 +- .../hal/TARGET_NXP/TARGET_LPC23XX/device.h | 23 +- .../hal/TARGET_NXP/TARGET_LPC2460/device.h | 23 +- .../hal/TARGET_NXP/TARGET_LPC408X/device.h | 23 +- .../TARGET_LPC43XX/TARGET_LPC4330/device.h | 23 +- .../TARGET_LPC43XX/TARGET_LPC4337/device.h | 23 +- .../hal/TARGET_NXP/TARGET_LPC81X/device.h | 24 +- .../TARGET_LPC82X/TARGET_LPC824/device.h | 24 +- .../TARGET_LPC82X/TARGET_SSCI824/device.h | 24 +- .../hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h | 27 +- .../TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h | 24 +- .../TARGET_DISCO_F051R8/device.h | 21 +- .../TARGET_NUCLEO_F030R8/device.h | 22 +- .../TARGET_NUCLEO_F031K6/device.h | 22 +- .../TARGET_NUCLEO_F042K6/device.h | 23 +- .../TARGET_NUCLEO_F070RB/device.h | 22 +- .../TARGET_NUCLEO_F072RB/device.h | 23 +- .../TARGET_NUCLEO_F091RC/device.h | 23 +- .../TARGET_DISCO_F100RB/device.h | 22 +- .../TARGET_NUCLEO_F103RB/device.h | 22 +- .../TARGET_DISCO_F303VC/device.h | 22 +- .../TARGET_DISCO_F334C8/device.h | 22 +- .../TARGET_NUCLEO_F302R8/device.h | 22 +- .../TARGET_NUCLEO_F303K8/device.h | 22 +- .../TARGET_NUCLEO_F303RE/device.h | 22 +- .../TARGET_NUCLEO_F334R8/device.h | 22 +- .../TARGET_STM32F4/TARGET_ARCH_MAX/device.h | 22 +- .../TARGET_B96B_F446VE/device.h | 27 +- .../TARGET_DISCO_F401VC/device.h | 22 +- .../TARGET_DISCO_F407VG/device.h | 22 +- .../TARGET_DISCO_F429ZI/device.h | 24 +- .../TARGET_DISCO_F469NI/device.h | 22 +- .../TARGET_ELMO_F411RE/device.h | 22 +- .../TARGET_MTS_DRAGONFLY_F411RE/device.h | 22 +- .../TARGET_MTS_MDOT_F405RG/device.h | 22 +- .../TARGET_MTS_MDOT_F411RE/device.h | 22 +- .../TARGET_NUCLEO_F401RE/device.h | 23 +- .../TARGET_NUCLEO_F410RB/device.h | 22 +- .../TARGET_NUCLEO_F411RE/device.h | 22 +- .../TARGET_NUCLEO_F446RE/device.h | 22 +- .../TARGET_STM32F4/TARGET_UBLOX_C029/device.h | 22 +- .../TARGET_DISCO_F746NG/device.h | 22 +- .../TARGET_NUCLEO_F746ZG/device.h | 23 +- .../TARGET_DISCO_L053C8/device.h | 22 +- .../TARGET_NUCLEO_L031K6/device.h | 22 +- .../TARGET_NUCLEO_L053R8/device.h | 22 +- .../TARGET_NUCLEO_L073RZ/device.h | 22 +- .../TARGET_MOTE_L152RC/device.h | 22 +- .../TARGET_NUCLEO_L152RE/device.h | 22 +- .../TARGET_STM32L1/TARGET_NZ32_SC151/device.h | 22 +- .../TARGET_DISCO_L476VG/device.h | 22 +- .../TARGET_NUCLEO_L476RG/device.h | 23 +- .../TARGET_EFM32GG_STK3700/device.h | 24 +- .../TARGET_EFM32HG_STK3400/device.h | 24 +- .../TARGET_EFM32LG_STK3600/device.h | 24 +- .../TARGET_EFM32PG_STK3401/device.h | 24 +- .../TARGET_EFM32WG_STK3800/device.h | 24 +- .../TARGET_EFM32ZG_STK3200/device.h | 24 +- .../TARGET_WIZwiki_W7500/device.h | 22 +- .../TARGET_WIZwiki_W7500ECO/device.h | 22 +- .../TARGET_WIZwiki_W7500P/device.h | 22 +- 115 files changed, 474 insertions(+), 2543 deletions(-) diff --git a/hal/targets.json b/hal/targets.json index f57dd01d2f..d078d7a4f4 100644 --- a/hal/targets.json +++ b/hal/targets.json @@ -45,7 +45,8 @@ "core": "Cortex-M0", "progen": {"target": "lpc11c24_301"}, "extra_labels": ["NXP", "LPC11XX_11CXX", "LPC11CXX"], - "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"] + "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], + "features": ["ANALOGIN", "CAN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC1114": { "inherits": ["LPCTarget"], @@ -58,7 +59,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC11U24": { "inherits": ["LPCTarget"], @@ -72,7 +74,8 @@ "template": ["uvision_microlib.uvproj.tmpl"] } }, - "detect_code": ["1040"] + "detect_code": ["1040"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOCALFILESYSTEM", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "OC_MBUINO": { "inherits": ["LPC11U24"], @@ -83,20 +86,23 @@ "template": ["uvision_microlib.uvproj.tmpl"] } }, - "extra_labels": ["NXP", "LPC11UXX"] + "extra_labels": ["NXP", "LPC11UXX"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC11U24_301": { "inherits": ["LPCTarget"], "core": "Cortex-M0", "extra_labels": ["NXP", "LPC11UXX"], - "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"] + "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOCALFILESYSTEM", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC11U34_421": { "inherits": ["LPCTarget"], "core": "Cortex-M0", "default_toolchain": "uARM", "extra_labels": ["NXP", "LPC11UXX"], - "supported_toolchains": ["ARM", "uARM", "GCC_ARM"] + "supported_toolchains": ["ARM", "uARM", "GCC_ARM"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "MICRONFCBOARD": { "inherits": ["LPC11U34_421"], @@ -114,7 +120,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "LPC11U35_501": { "inherits": ["LPCTarget"], @@ -127,7 +134,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "LPC11U35_501_IBDAP": { "inherits": ["LPCTarget"], @@ -140,7 +148,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "XADOW_M0": { "inherits": ["LPCTarget"], @@ -153,7 +162,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "LPC11U35_Y5_MBUG": { "inherits": ["LPCTarget"], @@ -166,7 +176,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "LPC11U37_501": { "inherits": ["LPCTarget"], @@ -188,7 +199,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "ARCH_GPRS": { "supported_form_factors": ["ARDUINO"], @@ -202,7 +214,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "LPC11U68": { "supported_form_factors": ["ARDUINO"], @@ -217,14 +230,16 @@ "template": ["uvision_microlib.uvproj.tmpl"] } }, - "detect_code": ["1168"] + "detect_code": ["1168"], + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI"] }, "LPC1347": { "inherits": ["LPCTarget"], "core": "Cortex-M3", "progen": {"target": "lpc1347"}, "extra_labels": ["NXP", "LPC13XX"], - "supported_toolchains": ["ARM", "GCC_ARM", "IAR"] + "supported_toolchains": ["ARM", "GCC_ARM", "IAR"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC1549": { "supported_form_factors": ["ARDUINO"], @@ -239,7 +254,8 @@ "template": ["uvision_microlib.uvproj.tmpl"] } }, - "detect_code": ["1549"] + "detect_code": ["1549"], + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "INTERRUPTIN", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE"] }, "LPC1768": { "inherits": ["LPCTarget"], @@ -247,7 +263,8 @@ "extra_labels": ["NXP", "LPC176X", "MBED_LPC1768"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "GCC_CR", "IAR"], "progen": {"target": "mbed-lpc1768"}, - "detect_code": ["1010"] + "detect_code": ["1010"], + "features": ["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"] }, "ARCH_PRO": { "supported_form_factors": ["ARDUINO"], @@ -256,7 +273,8 @@ "extra_labels": ["NXP", "LPC176X"], "macros": ["TARGET_LPC1768"], "inherits": ["LPCTarget"], - "progen": {"target": "arch-pro"} + "progen": {"target": "arch-pro"}, + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "UBLOX_C027": { "supported_form_factors": ["ARDUINO"], @@ -265,7 +283,8 @@ "extra_labels": ["NXP", "LPC176X"], "macros": ["TARGET_LPC1768"], "inherits": ["LPCTarget"], - "progen": {"target": "ublox-c027"} + "progen": {"target": "ublox-c027"}, + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "DEBUG_AWARENESS", "ERROR_RED", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "XBED_LPC1768": { "inherits": ["LPCTarget"], @@ -274,21 +293,24 @@ "extra_labels": ["NXP", "LPC176X", "XBED_LPC1768"], "macros": ["TARGET_LPC1768"], "progen": {"target": "lpc1768"}, - "detect_code": ["1010"] + "detect_code": ["1010"], + "features": ["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"] }, "LPC2368": { "inherits": ["LPCTarget"], "core": "ARM7TDMI-S", "progen": {"target": "lpc2368"}, "extra_labels": ["NXP", "LPC23XX"], - "supported_toolchains": ["ARM", "GCC_ARM", "GCC_CR"] + "supported_toolchains": ["ARM", "GCC_ARM", "GCC_CR"], + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "LOCALFILESYSTEM", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC2460": { "inherits": ["LPCTarget"], "core": "ARM7TDMI-S", "progen": {"target": "lpc2460"}, "extra_labels": ["NXP", "LPC2460"], - "supported_toolchains": ["GCC_ARM"] + "supported_toolchains": ["GCC_ARM"], + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC810": { "inherits": ["LPCTarget"], @@ -302,7 +324,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PWMOUT", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE"] }, "LPC812": { "supported_form_factors": ["ARDUINO"], @@ -318,7 +341,8 @@ "template": ["uvision_microlib.uvproj.tmpl"] } }, - "detect_code": ["1050"] + "detect_code": ["1050"], + "features": ["ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PWMOUT", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE"] }, "LPC824": { "supported_form_factors": ["ARDUINO"], @@ -333,7 +357,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "SSCI824": { "inherits": ["LPCTarget"], @@ -347,7 +372,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "LPC4088": { "inherits": ["LPCTarget"], @@ -359,7 +385,8 @@ "function": "LPC4088Code.binary_hook", "toolchains": ["ARM_STD", "ARM_MICRO"] }, - "progen": {"target": "lpc4088"} + "progen": {"target": "lpc4088"}, + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC4088_DM": { "inherits": ["LPC4088"] @@ -369,20 +396,23 @@ "core": "Cortex-M4F", "progen": {"target": "lpc4330"}, "extra_labels": ["NXP", "LPC43XX", "LPC4330"], - "supported_toolchains": ["ARM", "GCC_CR", "IAR", "GCC_ARM"] + "supported_toolchains": ["ARM", "GCC_CR", "IAR", "GCC_ARM"], + "features": ["ANALOGIN", "ANALOGOUT", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC4330_M0": { "inherits": ["LPCTarget"], "core": "Cortex-M0", "extra_labels": ["NXP", "LPC43XX", "LPC4330"], - "supported_toolchains": ["ARM", "GCC_CR", "IAR"] + "supported_toolchains": ["ARM", "GCC_CR", "IAR"], + "features": ["ANALOGIN", "ANALOGOUT", "DEBUG_AWARENESS", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC4337": { "inherits": ["LPCTarget"], "core": "Cortex-M4F", "progen": {"target": "lpc4337"}, "extra_labels": ["NXP", "LPC43XX", "LPC4337"], - "supported_toolchains": ["ARM"] + "supported_toolchains": ["ARM"], + "features": ["ANALOGIN", "ANALOGOUT", "DEBUG_AWARENESS", "ERROR_RED", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "LPC1800": { "inherits": ["LPCTarget"], @@ -403,7 +433,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "ELEKTOR_COCORICO": { "core": "Cortex-M0+", @@ -433,7 +464,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "KL25Z": { "supported_form_factors": ["ARDUINO"], @@ -443,7 +475,8 @@ "supported_toolchains": ["ARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "frdm-kl25z"}, - "detect_code": ["0200"] + "detect_code": ["0200"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "KL26Z": { "supported_form_factors": ["ARDUINO"], @@ -452,7 +485,8 @@ "is_disk_virtual": true, "supported_toolchains": ["ARM", "GCC_ARM", "IAR"], "inherits": ["Target"], - "progen": {"target": "kl26z"} + "progen": {"target": "kl26z"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "KL43Z": { "supported_form_factors": ["ARDUINO"], @@ -461,7 +495,8 @@ "is_disk_virtual": true, "supported_toolchains": ["GCC_ARM", "ARM"], "inherits": ["Target"], - "progen": {"target": "frdm-kl43z"} + "progen": {"target": "frdm-kl43z"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "KL46Z": { "supported_form_factors": ["ARDUINO"], @@ -471,7 +506,8 @@ "supported_toolchains": ["GCC_ARM", "ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "frdm-kl46z"}, - "detect_code": ["0220"] + "detect_code": ["0220"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "K20D50M": { "inherits": ["Target"], @@ -480,7 +516,8 @@ "is_disk_virtual": true, "supported_toolchains": ["GCC_ARM", "ARM", "IAR"], "progen": {"target": "frdm-k20d50m"}, - "detect_code": ["0230"] + "detect_code": ["0230"], + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "TEENSY3_1": { "inherits": ["Target"], @@ -494,7 +531,8 @@ "toolchains": ["ARM_STD", "ARM_MICRO", "GCC_ARM"] }, "progen": {"target": "teensy-31"}, - "detect_code": ["0230"] + "detect_code": ["0230"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SEMIHOST", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "K22F": { "supported_form_factors": ["ARDUINO"], @@ -505,7 +543,8 @@ "macros": ["CPU_MK22FN512VLH12", "FSL_RTOS_MBED"], "inherits": ["Target"], "progen": {"target": "frdm-k22f"}, - "detect_code": ["0231"] + "detect_code": ["0231"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "KL27Z": { "inherits": ["Target"], @@ -517,7 +556,8 @@ "is_disk_virtual": true, "default_toolchain": "ARM", "detect_code": ["0261"], - "progen_target": {"target": "frdm-kl27z"} + "progen_target": {"target": "frdm-kl27z"}, + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "K64F": { "supported_form_factors": ["ARDUINO"], @@ -528,7 +568,8 @@ "macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED"], "inherits": ["Target"], "progen": {"target": "frdm-k64f"}, - "detect_code": ["0240"] + "detect_code": ["0240"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "MTS_GAMBIT": { "inherits": ["Target"], @@ -537,7 +578,8 @@ "extra_labels": ["Freescale", "KSDK2_MCUS", "K64F", "KPSDK_MCUS", "KPSDK_CODE", "MCU_K64F"], "is_disk_virtual": true, "macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED", "TARGET_K64F"], - "progen": {"target": "mts-gambit"} + "progen": {"target": "mts-gambit"}, + "features": ["I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "HEXIWEAR": { "inherits": ["Target"], @@ -548,7 +590,8 @@ "is_disk_virtual": true, "default_toolchain": "ARM", "detect_code": ["0214"], - "progen": {"target": "hexiwear-k64f"} + "progen": {"target": "hexiwear-k64f"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F030R8": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -558,7 +601,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f030r8"}, - "detect_code": ["0725"] + "detect_code": ["0725"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F031K6": { "supported_form_factors": ["ARDUINO"], @@ -568,7 +612,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f031k6"}, - "detect_code": ["0791"] + "detect_code": ["0791"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F042K6": { "supported_form_factors": ["ARDUINO"], @@ -578,7 +623,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f042k6"}, - "detect_code": ["0785"] + "detect_code": ["0785"], + "features": ["ANALOGIN", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F070RB": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -588,7 +634,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f070rb"}, - "detect_code": ["0755"] + "detect_code": ["0755"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F072RB": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -598,7 +645,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f072rb"}, - "detect_code": ["0730"] + "detect_code": ["0730"], + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F091RC": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -608,7 +656,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f091rc"}, - "detect_code": ["0750"] + "detect_code": ["0750"], + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F103RB": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -618,7 +667,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "nucleo-f103rb"}, - "detect_code": ["0700"] + "detect_code": ["0700"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F302R8": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -628,7 +678,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f302r8"}, - "detect_code": ["0705"] + "detect_code": ["0705"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F303K8": { "supported_form_factors": ["ARDUINO"], @@ -638,7 +689,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f303k8"}, - "detect_code": ["0775"] + "detect_code": ["0775"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F303RE": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -648,7 +700,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f303re"}, - "detect_code": ["0745"] + "detect_code": ["0745"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F334R8": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -658,7 +711,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-f334r8"}, - "detect_code": ["0735"] + "detect_code": ["0735"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F401RE": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -668,7 +722,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "nucleo-f401re"}, - "detect_code": ["0720"] + "detect_code": ["0720"], + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F410RB": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -678,7 +733,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "nucleo-f410rb"}, - "detect_code": ["0740"] + "detect_code": ["0740"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F411RE": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -688,7 +744,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "nucleo-f411re"}, - "detect_code": ["0740"] + "detect_code": ["0740"], + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "ELMO_F411RE": { "supported_form_factors": ["ARDUINO"], @@ -697,7 +754,8 @@ "extra_labels": ["STM", "STM32F4", "STM32F411RE"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM"], "inherits": ["Target"], - "detect_code": ["----"] + "detect_code": ["----"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F446RE": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -707,7 +765,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "nucleo-f446re"}, - "detect_code": ["0777"] + "detect_code": ["0777"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "B96B_F446VE": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -716,7 +775,8 @@ "extra_labels": ["STM", "STM32F4", "STM32F446VE"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], - "detect_code": ["0840"] + "detect_code": ["0840"], + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_ASYNCH_DMA", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_F746ZG": { "inherits": ["Target"], @@ -729,7 +789,8 @@ "template": ["iar_nucleo_f746zg.ewp.tmpl"] } }, - "detect_code": ["0816"] + "detect_code": ["0816"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_L031K6": { "inherits": ["Target"], @@ -739,7 +800,8 @@ "default_toolchain": "uARM", "supported_form_factors": ["ARDUINO"], "detect_code": ["0790"], - "progen": {"target": "nucleo-l031k6"} + "progen": {"target": "nucleo-l031k6"}, + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_L053R8": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -749,7 +811,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "nucleo-l053r8"}, - "detect_code": ["0715"] + "detect_code": ["0715"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_L073RZ": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -759,7 +822,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "progen": {"target": "nucleo-l073rz"}, - "detect_code": ["0760"] + "detect_code": ["0760"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_L152RE": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -769,7 +833,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-l152re"}, - "detect_code": ["0710"] + "detect_code": ["0710"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NUCLEO_L476RG": { "supported_form_factors": ["ARDUINO", "MORPHO"], @@ -779,7 +844,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "nucleo-l476rg"}, - "detect_code": ["0765"] + "detect_code": ["0765"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "STM32F3XX": { "inherits": ["Target"], @@ -802,28 +868,32 @@ "extra_labels": ["STM", "STM32F4", "STM32F407", "STM32F407VG"], "macros": ["LSI_VALUE=32000"], "inherits": ["Target"], - "progen": {"target": "lpc1768"} + "progen": {"target": "lpc1768"}, + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F051R8": { "inherits": ["Target"], "core": "Cortex-M0", "default_toolchain": "uARM", "extra_labels": ["STM", "STM32F0", "STM32F051", "STM32F051R8"], - "supported_toolchains": ["GCC_ARM"] + "supported_toolchains": ["GCC_ARM"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F100RB": { "inherits": ["Target"], "core": "Cortex-M3", "default_toolchain": "uARM", "extra_labels": ["STM", "STM32F1", "STM32F100RB"], - "supported_toolchains": ["GCC_ARM"] + "supported_toolchains": ["GCC_ARM"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F303VC": { "inherits": ["Target"], "core": "Cortex-M4F", "default_toolchain": "uARM", "extra_labels": ["STM", "STM32F3", "STM32F303", "STM32F303VC"], - "supported_toolchains": ["GCC_ARM"] + "supported_toolchains": ["GCC_ARM"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F334C8": { "inherits": ["Target"], @@ -832,14 +902,16 @@ "extra_labels": ["STM", "STM32F3", "STM32F334C8"], "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "progen": {"target": "disco-f334c8"}, - "detect_code": ["0810"] + "detect_code": ["0810"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F407VG": { "inherits": ["Target"], "core": "Cortex-M4F", "progen": {"target": "disco-f407vg"}, "extra_labels": ["STM", "STM32F4", "STM32F407", "STM32F407VG"], - "supported_toolchains": ["ARM", "uARM", "GCC_ARM"] + "supported_toolchains": ["ARM", "uARM", "GCC_ARM"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F429ZI": { "inherits": ["Target"], @@ -847,7 +919,8 @@ "default_toolchain": "uARM", "extra_labels": ["STM", "STM32F4", "STM32F429", "STM32F429ZI"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], - "progen": {"target": "disco-f429zi"} + "progen": {"target": "disco-f429zi"}, + "features": ["ANALOGIN", "ANALOGOUT", "CAN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F469NI": { "supported_form_factors": ["ARDUINO"], @@ -857,7 +930,8 @@ "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "progen": {"target": "disco-f469ni"}, - "detect_code": ["0788"] + "detect_code": ["0788"], + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_L053C8": { "inherits": ["Target"], @@ -865,7 +939,8 @@ "default_toolchain": "uARM", "extra_labels": ["STM", "STM32L0", "STM32L053C8"], "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], - "progen": {"target": "disco-l053c8"} + "progen": {"target": "disco-l053c8"}, + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F746NG": { "inherits": ["Target"], @@ -873,7 +948,8 @@ "extra_labels": ["STM", "STM32F7", "STM32F746", "STM32F746NG"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "progen": {"target": "disco-f746ng"}, - "detect_code": ["0815"] + "detect_code": ["0815"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_L476VG": { "inherits": ["Target"], @@ -882,7 +958,8 @@ "extra_labels": ["STM", "STM32L4", "STM32L476VG"], "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "progen": {"target": "disco-l476vg"}, - "detect_code": ["0820"] + "detect_code": ["0820"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "MTS_MDOT_F405RG": { "inherits": ["Target"], @@ -891,7 +968,8 @@ "extra_labels": ["STM", "STM32F4", "STM32F405RG"], "is_disk_virtual": true, "macros": ["HSE_VALUE=26000000", "OS_CLOCK=48000000"], - "progen": {"target": "mts-mdot-f405rg"} + "progen": {"target": "mts-mdot-f405rg"}, + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "MTS_MDOT_F411RE": { "inherits": ["Target"], @@ -903,7 +981,8 @@ "function": "MTSCode.combine_bins_mts_dot", "toolchains": ["GCC_ARM", "ARM_STD", "ARM_MICRO"] }, - "progen": {"target": "mts-mdot-f411re"} + "progen": {"target": "mts-mdot-f411re"}, + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "MTS_DRAGONFLY_F411RE": { "inherits": ["Target"], @@ -915,7 +994,8 @@ "function": "MTSCode.combine_bins_mts_dragonfly", "toolchains": ["GCC_ARM", "ARM_STD", "ARM_MICRO"] }, - "progen": {"target": "mts-dragonfly-f411re"} + "progen": {"target": "mts-dragonfly-f411re"}, + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "MOTE_L152RC": { "inherits": ["Target"], @@ -924,14 +1004,16 @@ "extra_labels": ["STM", "STM32L1", "STM32L152RC"], "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "progen": {"target": "stm32l151rc"}, - "detect_code": ["4100"] + "detect_code": ["4100"], + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "DISCO_F401VC": { "inherits": ["Target"], "core": "Cortex-M4F", "default_toolchain": "GCC_ARM", "extra_labels": ["STM", "STM32F4", "STM32F401", "STM32F401VC"], - "supported_toolchains": ["GCC_ARM"] + "supported_toolchains": ["GCC_ARM"], + "features": ["ANALOGIN", "ERROR_RED", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "UBLOX_C029": { "supported_form_factors": ["ARDUINO"], @@ -940,7 +1022,8 @@ "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "extra_labels": ["STM", "STM32F4", "STM32F439", "STM32F439ZI"], "macros": ["HSE_VALUE=24000000", "HSE_STARTUP_TIMEOUT=5000"], - "inherits": ["Target"] + "inherits": ["Target"], + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "NZ32_SC151": { "inherits": ["Target"], @@ -949,7 +1032,8 @@ "program_cycle_s": 1.5, "extra_labels": ["STM", "STM32L1", "STM32L151RC"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM"], - "progen": {"target": "stm32l151rc"} + "progen": {"target": "stm32l151rc"}, + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "RTC_LSI", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "MCU_NRF51": { "inherits": ["Target"], @@ -1103,7 +1187,8 @@ "ARCH_BLE": { "supported_form_factors": ["ARDUINO"], "inherits": ["MCU_NRF51_16K"], - "progen": {"target": "arch-ble"} + "progen": {"target": "arch-ble"}, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "ARCH_BLE_BOOT": { "supported_form_factors": ["ARDUINO"], @@ -1137,7 +1222,8 @@ }, "SEEED_TINY_BLE": { "inherits": ["MCU_NRF51_16K"], - "progen": {"target": "seed-tinyble"} + "progen": {"target": "seed-tinyble"}, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "SEEED_TINY_BLE_BOOT": { "inherits": ["MCU_NRF51_16K_BOOT"], @@ -1152,7 +1238,8 @@ "HRM1017": { "inherits": ["MCU_NRF51_16K"], "progen": {"target": "hrm1017"}, - "macros_add": ["TARGET_NRF_LFCLK_RC"] + "macros_add": ["TARGET_NRF_LFCLK_RC"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "HRM1017_BOOT": { "inherits": ["MCU_NRF51_16K_BOOT"], @@ -1167,7 +1254,8 @@ "RBLAB_NRF51822": { "supported_form_factors": ["ARDUINO"], "inherits": ["MCU_NRF51_16K"], - "progen": {"target": "rblab-nrf51822"} + "progen": {"target": "rblab-nrf51822"}, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "RBLAB_NRF51822_BOOT": { "supported_form_factors": ["ARDUINO"], @@ -1182,7 +1270,8 @@ "macros_add": ["TARGET_RBLAB_NRF51822"] }, "RBLAB_BLENANO": { - "inherits": ["MCU_NRF51_16K"] + "inherits": ["MCU_NRF51_16K"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "RBLAB_BLENANO_BOOT": { "inherits": ["MCU_NRF51_16K_BOOT"], @@ -1195,10 +1284,12 @@ "macros_add": ["TARGET_RBLAB_BLENANO"] }, "NRF51822_Y5_MBUG": { - "inherits": ["MCU_NRF51_16K"] + "inherits": ["MCU_NRF51_16K"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "WALLBOT_BLE": { - "inherits": ["MCU_NRF51_16K"] + "inherits": ["MCU_NRF51_16K"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "WALLBOT_BLE_BOOT": { "inherits": ["MCU_NRF51_16K_BOOT"], @@ -1214,7 +1305,8 @@ "inherits": ["MCU_NRF51_32K"], "program_cycle_s": 10, "progen": {"target": "dfcm-nnn40"}, - "macros_add": ["TARGET_NRF_LFCLK_RC"] + "macros_add": ["TARGET_NRF_LFCLK_RC"], + "features": ["ANALOGIN", "DEBUG_AWARENESS", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "DELTA_DFCM_NNN40_BOOT": { "inherits": ["MCU_NRF51_32K_BOOT"], @@ -1231,7 +1323,8 @@ "NRF51_DK": { "supported_form_factors": ["ARDUINO"], "inherits": ["MCU_NRF51_32K"], - "progen": {"target": "nrf51-dk"} + "progen": {"target": "nrf51-dk"}, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "NRF51_DK_BOOT": { "supported_form_factors": ["ARDUINO"], @@ -1247,7 +1340,8 @@ }, "NRF51_DONGLE": { "inherits": ["MCU_NRF51_32K"], - "progen": {"target": "nrf51-dongle"} + "progen": {"target": "nrf51-dongle"}, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "NRF51_DONGLE_BOOT": { "inherits": ["MCU_NRF51_32K_BOOT"], @@ -1261,7 +1355,8 @@ }, "NRF51_MICROBIT": { "inherits": ["MCU_NRF51_16K_S110"], - "macros_add": ["TARGET_NRF_LFCLK_RC"] + "macros_add": ["TARGET_NRF_LFCLK_RC"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "NRF51_MICROBIT_BOOT": { "inherits": ["MCU_NRF51_16K_BOOT_S110"], @@ -1290,7 +1385,8 @@ }, "TY51822R3": { "inherits": ["MCU_NRF51_32K"], - "macros_add": ["TARGET_NRF_32MHZ_XTAL"] + "macros_add": ["TARGET_NRF_32MHZ_XTAL"], + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"] }, "TY51822R3_BOOT": { "inherits": ["MCU_NRF51_32K_BOOT"], @@ -1304,60 +1400,69 @@ }, "ARM_MPS2_Target": { "inherits": ["Target"], - "public": false + "public": false, + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_MPS2_M0": { "inherits": ["ARM_MPS2_Target"], "core": "Cortex-M0", "supported_toolchains": ["ARM"], "extra_labels": ["ARM_SSG", "MPS2", "MPS2_M0"], - "macros": ["CMSDK_CM0"] + "macros": ["CMSDK_CM0"], + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_MPS2_M0P": { "inherits": ["ARM_MPS2_Target"], "core": "Cortex-M0+", "supported_toolchains": ["ARM"], "extra_labels": ["ARM_SSG", "MPS2", "MPS2_M0P"], - "macros": ["CMSDK_CM0plus"] + "macros": ["CMSDK_CM0plus"], + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_MPS2_M1": { "inherits": ["ARM_MPS2_Target"], "core": "Cortex-M1", "supported_toolchains": ["ARM"], "extra_labels": ["ARM_SSG", "MPS2", "MPS2_M1"], - "macros": ["CMSDK_CM1"] + "macros": ["CMSDK_CM1"], + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_MPS2_M3": { "inherits": ["ARM_MPS2_Target"], "core": "Cortex-M3", "supported_toolchains": ["ARM"], "extra_labels": ["ARM_SSG", "MPS2", "MPS2_M3"], - "macros": ["CMSDK_CM3"] + "macros": ["CMSDK_CM3"], + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_MPS2_M4": { "inherits": ["ARM_MPS2_Target"], "core": "Cortex-M4F", "supported_toolchains": ["ARM"], "extra_labels": ["ARM_SSG", "MPS2", "MPS2_M4"], - "macros": ["CMSDK_CM4"] + "macros": ["CMSDK_CM4"], + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_MPS2_M7": { "inherits": ["ARM_MPS2_Target"], "core": "Cortex-M7", "supported_toolchains": ["ARM"], "extra_labels": ["ARM_SSG", "MPS2", "MPS2_M7"], - "macros": ["CMSDK_CM7"] + "macros": ["CMSDK_CM7"], + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_IOTSS_Target": { "inherits": ["Target"], - "public": false + "public": false, + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "ARM_IOTSS_BEID": { "inherits": ["ARM_IOTSS_Target"], "core": "Cortex-M3", "supported_toolchains": ["ARM"], "extra_labels": ["ARM_SSG", "IOTSS", "IOTSS_BEID"], - "macros": ["CMSDK_BEID"] + "macros": ["CMSDK_BEID"], + "features": ["AACI", "ANALOGIN", "CLCD", "ETHERNET", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"] }, "RZ_A1H": { "supported_form_factors": ["ARDUINO"], @@ -1371,7 +1476,8 @@ "iar": { "template": ["iar_rz_a1h.ewp.tmpl"] } - } + }, + "features": ["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"] }, "VK_RZ_A1H": { "inherits": ["Target"], @@ -1385,7 +1491,8 @@ "template": ["iar_rz_a1h.ewp.tmpl"] } }, - "program_cycle_s": 2 + "program_cycle_s": 2, + "features": ["ANALOGIN", "CAN", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "MAXWSNENV": { "inherits": ["Target"], @@ -1393,7 +1500,8 @@ "macros": ["__SYSTEM_HFX=24000000"], "extra_labels": ["Maxim", "MAX32610"], "supported_toolchains": ["GCC_ARM", "IAR", "ARM"], - "progen": {"target": "maxwsnenv"} + "progen": {"target": "maxwsnenv"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "STDIO_MESSAGES"] }, "MAX32600MBED": { "inherits": ["Target"], @@ -1401,7 +1509,8 @@ "macros": ["__SYSTEM_HFX=24000000"], "extra_labels": ["Maxim", "MAX32600"], "supported_toolchains": ["GCC_ARM", "IAR", "ARM"], - "progen": {"target": "max32600mbed"} + "progen": {"target": "max32600mbed"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "STDIO_MESSAGES"] }, "EFM32GG_STK3700": { "inherits": ["Target"], @@ -1409,7 +1518,8 @@ "macros": ["EFM32GG990F1024"], "extra_labels": ["Silicon_Labs", "EFM32"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], - "progen": {"target": "efm32gg-stk"} + "progen": {"target": "efm32gg-stk"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_PATTERN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"] }, "EFM32LG_STK3600": { "inherits": ["Target"], @@ -1417,7 +1527,8 @@ "macros": ["EFM32LG990F256"], "extra_labels": ["Silicon_Labs", "EFM32"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], - "progen": {"target": "efm32lg-stk"} + "progen": {"target": "efm32lg-stk"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_PATTERN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"] }, "EFM32WG_STK3800": { "inherits": ["Target"], @@ -1425,7 +1536,8 @@ "macros": ["EFM32WG990F256"], "extra_labels": ["Silicon_Labs", "EFM32"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], - "progen": {"target": "efm32wg-stk"} + "progen": {"target": "efm32wg-stk"}, + "features": ["ANALOGIN", "ANALOGOUT", "ERROR_PATTERN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"] }, "EFM32ZG_STK3200": { "inherits": ["Target"], @@ -1439,7 +1551,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"] }, "EFM32HG_STK3400": { "inherits": ["Target"], @@ -1453,7 +1566,8 @@ "uvision": { "template": ["uvision_microlib.uvproj.tmpl"] } - } + }, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"] }, "EFM32PG_STK3401": { "inherits": ["Target"], @@ -1461,7 +1575,8 @@ "macros": ["EFM32PG1B200F256GM48"], "extra_labels": ["Silicon_Labs", "EFM32"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM", "IAR"], - "progen": {"target": "efm32pg-stk"} + "progen": {"target": "efm32pg-stk"}, + "features": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"] }, "WIZWIKI_W7500": { "supported_form_factors": ["ARDUINO"], @@ -1469,7 +1584,8 @@ "extra_labels": ["WIZNET", "W7500x", "WIZwiki_W7500"], "supported_toolchains": ["uARM", "ARM"], "inherits": ["Target"], - "progen": {"target": "wizwiki-w7500"} + "progen": {"target": "wizwiki-w7500"}, + "features": ["ANALOGIN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "WIZWIKI_W7500P": { "supported_form_factors": ["ARDUINO"], @@ -1477,14 +1593,16 @@ "extra_labels": ["WIZNET", "W7500x", "WIZwiki_W7500P"], "supported_toolchains": ["uARM", "ARM"], "inherits": ["Target"], - "progen": {"target": "wizwiki-w7500p"} + "progen": {"target": "wizwiki-w7500p"}, + "features": ["ANALOGIN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "WIZWIKI_W7500ECO": { "inherits": ["Target"], "core": "Cortex-M0", "progen": {"target": "wizwiki_w7500eco"}, "extra_labels": ["WIZNET", "W7500x", "WIZwiki_W7500ECO"], - "supported_toolchains": ["uARM", "ARM"] + "supported_toolchains": ["uARM", "ARM"], + "features": ["ANALOGIN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "SPISLAVE", "STDIO_MESSAGES"] }, "SAMR21G18A": { "inherits": ["Target"], @@ -1492,7 +1610,8 @@ "macros": ["__SAMR21G18A__", "I2C_MASTER_CALLBACK_MODE=true", "EXTINT_CALLBACK_MODE=true", "USART_CALLBACK_MODE=true", "TC_ASYNC=true"], "extra_labels": ["Atmel", "SAM_CortexM0P", "SAMR21"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], - "progen": {"target": "samr21g18a"} + "progen": {"target": "samr21g18a"}, + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH"] }, "SAMD21J18A": { "inherits": ["Target"], @@ -1500,7 +1619,8 @@ "macros": ["__SAMD21J18A__", "I2C_MASTER_CALLBACK_MODE=true", "EXTINT_CALLBACK_MODE=true", "USART_CALLBACK_MODE=true", "TC_ASYNC=true"], "extra_labels": ["Atmel", "SAM_CortexM0P", "SAMD21"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], - "progen": {"target": "samd21j18a"} + "progen": {"target": "samd21j18a"}, + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH"] }, "SAMD21G18A": { "inherits": ["Target"], @@ -1508,7 +1628,8 @@ "macros": ["__SAMD21G18A__", "I2C_MASTER_CALLBACK_MODE=true", "EXTINT_CALLBACK_MODE=true", "USART_CALLBACK_MODE=true", "TC_ASYNC=true"], "extra_labels": ["Atmel", "SAM_CortexM0P", "SAMD21"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], - "progen": {"target": "samd21g18a"} + "progen": {"target": "samd21g18a"}, + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH"] }, "SAML21J18A": { "inherits": ["Target"], @@ -1517,7 +1638,8 @@ "extra_labels": ["Atmel", "SAM_CortexM0P", "SAML21"], "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], "progen": {"target": "samr21j18a"}, - "progen_target": "samr21j18a" + "progen_target": "samr21j18a", + "features": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH"] }, "SAMG55J19": { "inherits": ["Target"], @@ -1527,6 +1649,7 @@ "supported_toolchains": ["GCC_ARM", "ARM", "uARM"], "default_toolchain": "ARM", "progen": {"target": "samg55j19"}, - "progen_target": "samg55j19" + "progen_target": "samg55j19", + "features": ["ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH"] } } diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/device.h b/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/device.h index 6dd951b618..6bc793863a 100644 --- a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/device.h +++ b/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,48 +18,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CLCD 1 -#define DEVICE_TSC 1 -#define DEVICE_AACI 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 0 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/device.h b/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/device.h index 6dd951b618..6bc793863a 100644 --- a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/device.h +++ b/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,48 +18,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CLCD 1 -#define DEVICE_TSC 1 -#define DEVICE_AACI 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 0 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h index 916e982bdc..3b470c6864 100644 --- a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h +++ b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,47 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_ID_LENGTH 0 -#define DEVICE_MAC_OFFSET 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h index 916e982bdc..3b470c6864 100644 --- a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h +++ b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,47 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_ID_LENGTH 0 -#define DEVICE_MAC_OFFSET 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h index 36c0913eb3..2427e752ea 100644 --- a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h +++ b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,47 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_ID_LENGTH 0 -#define DEVICE_MAC_OFFSET 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h index c18588a337..3b470c6864 100644 --- a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h +++ b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,47 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_ID_LENGTH 0 -#define DEVICE_MAC_OFFSET 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h index 2f71f3d8e6..3b470c6864 100644 --- a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h +++ b/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,48 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_ID_LENGTH 0 -#define DEVICE_MAC_OFFSET 0 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h index 220ba743f4..939393fe9b 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h index 23dd0c0a46..939393fe9b 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h index ef2d8260d3..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h index ef2d8260d3..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h index ef2d8260d3..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h index ef2d8260d3..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h index ef2d8260d3..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h index 8f3ef7e125..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h index 8f3ef7e125..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h index 8f3ef7e125..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h index 109924b210..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 0 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 0 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h index 135a13814d..29a4e7a0b1 100644 --- a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h +++ b/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 0 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 0 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/device.h b/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/device.h index 3b8d9841db..c933d6637b 100644 --- a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/device.h +++ b/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /******************************************************************************* * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved. * @@ -34,40 +36,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SPI 1 -#define DEVICE_I2C 1 -#define DEVICE_SERIAL 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_RTC 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_CAN 0 -#define DEVICE_ETHERNET 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/device.h b/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/device.h index 3b8d9841db..c933d6637b 100644 --- a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/device.h +++ b/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /******************************************************************************* * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved. * @@ -34,40 +36,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SPI 1 -#define DEVICE_I2C 1 -#define DEVICE_SERIAL 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_RTC 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_CAN 0 -#define DEVICE_ETHERNET 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h index 2b5a0b6b3f..3b470c6864 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h index 0a99298a32..3b470c6864 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h index 9d5a5e2109..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h +++ b/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/device.h index 4894a9640d..1b25d4c364 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2014 ARM Limited * @@ -16,41 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 0 -#define DEVICE_PORTOUT 0 -#define DEVICE_PORTINOUT 0 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 0 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h index 120ca9edb6..5d57c9de57 100755 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h index ab3d323804..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 1 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h index ab3d323804..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 1 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h index 62f823dcb3..71deacc111 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h index 120ca9edb6..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h index 120ca9edb6..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h index 120ca9edb6..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h index 120ca9edb6..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h index 120ca9edb6..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h index 120ca9edb6..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h index 120ca9edb6..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h index a45349a9e3..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h index f7d2f2a614..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h index a45349a9e3..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/device.h index 00991eafd8..93bf787cf2 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,41 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/device.h index 1ef3bcbb3e..1b25d4c364 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2014 ARM Limited * @@ -16,42 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 0 -#define DEVICE_PORTOUT 0 -#define DEVICE_PORTINOUT 0 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h index a60f677905..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,44 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_ID_LENGTH 0 -#define DEVICE_MAC_OFFSET 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h index a4646b7a00..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,44 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 1 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h index 3b6e556a40..1c6f6037ca 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,46 +18,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_ID_LENGTH 0 -#define DEVICE_MAC_OFFSET 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 1 // should only enable one or the other, not both -#define DEVICE_ERROR_PATTERN 0 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h index a4646b7a00..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,44 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 1 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/device.h index 9a20ae4a36..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 1 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/device.h index 74d8ebc9cf..71deacc111 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h index c9bd8d0d0d..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h index b16eeced0e..9e9e1cba70 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,44 +18,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 //#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h index 8bc6661696..5d57c9de57 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,43 +18,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h index 491694096b..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 0 -#define DEVICE_PORTOUT 0 -#define DEVICE_PORTINOUT 0 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 0 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h index 52d2e95d0e..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 0 -#define DEVICE_PORTOUT 0 -#define DEVICE_PORTINOUT 0 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 0 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h b/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h index 52d2e95d0e..2427e752ea 100644 --- a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h +++ b/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -16,42 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 0 -#define DEVICE_PORTOUT 0 -#define DEVICE_PORTINOUT 0 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 0 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 0 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 1 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 -#define DEVICE_ERROR_RED 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h b/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h index 58795181df..ba7b41162f 100644 --- a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h +++ b/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -24,48 +26,23 @@ #endif /* <-Take measures about optimization problems of web compiler */ -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 #define TRANSACTION_QUEUE_SIZE_SPI 16 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" #include "dma_api.h" diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h b/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h index ef79620884..76739b32c4 100644 --- a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h +++ b/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * @@ -24,44 +26,22 @@ #endif /* <-Take measures about optimization problems of web compiler */ -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h index c1d8731420..a2031eabeb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,39 +32,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 //#define DEVICE_ERROR_RED 0 diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h index 2a485c0e17..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h index ce26c8b99a..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h index d3704c8ce6..bdad16c6f1 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,43 +32,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h index 2a485c0e17..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h index 796242cb24..f0799e9083 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,43 +32,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h index 796242cb24..f0799e9083 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,43 +32,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h index 2a485c0e17..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h index 2a485c0e17..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h index 0ec2fdffa6..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h index 0ec2fdffa6..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h index 63b22fe216..0aa49de2ae 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,43 +32,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 #define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h index 63b22fe216..0aa49de2ae 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,43 +32,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 #define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h index 63b22fe216..0aa49de2ae 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,43 +32,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 #define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h index 63b22fe216..0aa49de2ae 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,43 +32,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 #define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h index 81dc1b3295..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h index 97e99af12f..766dbb9ccc 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,47 +32,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_SERIAL_ASYNCH_DMA 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 0 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h index f0227ec42c..ada82d8c64 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h index cd9614c5ee..ada82d8c64 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h index 83296d8d7c..ca87126633 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,44 +32,22 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 1 -/* LSE not soldered by default : RTC date backup not guaranteed */ -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED2 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h index c9cff10674..a8acd67f23 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,43 +32,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 #define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h index 2a485c0e17..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h index 2a485c0e17..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h index 4701cebf96..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h index 2a485c0e17..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h index dcc1eadaee..ada82d8c64 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,42 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h index 97b3cad582..de47c39c28 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h index 6ccaf054a2..de47c39c28 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h index c9cff10674..a8acd67f23 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,43 +32,23 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 #define DEVICE_CAN 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 1 #define LED_RED LED1 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h index 64519b7978..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 0 // MAMM Not present on this module 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h index 8b1f3d7ca2..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h index aa30383f4d..852b02ea76 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2016, STMicroelectronics @@ -30,42 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 0 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h index 8b1f3d7ca2..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h index 3df70a734d..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h index 8b1f3d7ca2..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h index 8b1f3d7ca2..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h index b44e75e5af..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h index 4701cebf96..bbb4b7513e 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h index 674ae0a1b3..17cd684d65 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -39,41 +41,21 @@ //MODTRONIX END /////////////////////////////////////////////////////////////// -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h index 8b1f3d7ca2..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,41 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h b/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h index b65e4b18ca..38e5143ddb 100644 --- a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h +++ b/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, STMicroelectronics @@ -30,42 +32,21 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_RTC_LSI 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h index 12a4894fe8..f021343664 100644 --- a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h +++ b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /***************************************************************************//** * @file device.h ******************************************************************************* @@ -30,41 +32,19 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" #include "device_peripherals.h" diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h index 89bd008668..b1b9c22ddf 100644 --- a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h +++ b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /***************************************************************************//** * @file device.h ******************************************************************************* @@ -30,41 +32,19 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_ERROR_PATTERN 1 // Redefine OPEN_MAX from sys_limits.h to save on RAM. // Effect: maximum amount of file handlers = OPEN_MAX diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h index e68891604f..fe9973ec60 100644 --- a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h +++ b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /***************************************************************************//** * @file device.h ******************************************************************************* @@ -30,41 +32,19 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" #include "Modules.h" diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h index 4cee666521..fe9973ec60 100644 --- a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h +++ b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /***************************************************************************//** * @file device.h ******************************************************************************* @@ -30,41 +32,19 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" #include "Modules.h" diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h index e68891604f..fe9973ec60 100644 --- a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h +++ b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /***************************************************************************//** * @file device.h ******************************************************************************* @@ -30,41 +32,19 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_ERROR_PATTERN 1 #include "objects.h" #include "Modules.h" diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h index 25eec569b1..30f7f17aaa 100644 --- a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h +++ b/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /***************************************************************************//** * @file device.h ******************************************************************************* @@ -30,41 +32,19 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_ASYNCH 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 1 -#define DEVICE_I2C_ASYNCH 1 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_SPI_ASYNCH 1 -#define DEVICE_CAN 0 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 1 -#define DEVICE_STDIO_MESSAGES 1 -#define DEVICE_LOWPOWERTIMER 1 -#define DEVICE_ERROR_PATTERN 1 // Redefine OPEN_MAX from sys_limits.h to save on RAM. // Effect: maximum amount of file handlers = OPEN_MAX diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h b/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h index fe976be652..951130a357 100644 --- a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h +++ b/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015 WIZnet Co.,Ltd. All rights reserved. @@ -31,48 +33,28 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 0 -#define DEVICE_ETHERNET 0 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 #define STDIO_UART_TX PC_2 #define STDIO_UART_RX PC_3 #define STDIO_UART UART_1 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h b/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h index 2645702c52..1a077b07ea 100644 --- a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h +++ b/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015 WIZnet Co.,Ltd. All rights reserved. @@ -31,48 +33,28 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 0 -#define DEVICE_ETHERNET 0 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 #define STDIO_UART_TX PC_10 #define STDIO_UART_RX PC_11 #define STDIO_UART UART_2 -#define DEVICE_ERROR_RED 0 #include "objects.h" diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h b/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h index 3052f21daf..c633df117b 100644 --- a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h +++ b/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015 WIZnet Co.,Ltd. All rights reserved. @@ -31,47 +33,27 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 1 -#define DEVICE_PORTOUT 1 -#define DEVICE_PORTINOUT 1 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 0 // Not present on this device -#define DEVICE_SERIAL 1 -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_RTC 1 -#define DEVICE_PWMOUT 1 -#define DEVICE_SLEEP 0 -#define DEVICE_ETHERNET 0 //======================================= -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 24 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 1 #define STDIO_UART_TX PC_10 #define STDIO_UART_RX PC_11 #define STDIO_UART UART_2 -#define DEVICE_ERROR_RED 0 #include "objects.h"