From 010f4225a0b6bfdc20d229917671a753a8c191cb Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Mon, 3 Jun 2019 11:28:26 +0800 Subject: [PATCH] [M487] Fix wait_ns test failed --- targets/TARGET_NUVOTON/TARGET_M480/device/system_M480.c | 8 -------- targets/targets.json | 4 ---- 2 files changed, 12 deletions(-) diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/system_M480.c b/targets/TARGET_NUVOTON/TARGET_M480/device/system_M480.c index 9f69728876..a4efb3d275 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/system_M480.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/system_M480.c @@ -84,13 +84,5 @@ void SystemInit (void) SPIM_DISABLE_CACHE(); SPIM_ENABLE_CCM(); while (! SPIM_IS_CCM_EN()); - -#ifndef MBED_CONF_TARGET_CTRL01_ENABLE -#define MBED_CONF_TARGET_CTRL01_ENABLE 1 -#endif - -#if (! MBED_CONF_TARGET_CTRL01_ENABLE) - M32(0x4000c018) |= 0x00000080; -#endif } /*** (C) COPYRIGHT 2016 Nuvoton Technology Corp. ***/ diff --git a/targets/targets.json b/targets/targets.json index 8a525f8fd4..89344e798b 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -7879,10 +7879,6 @@ "usb-device-hsusbd": { "help": "Select high-speed USB device or not", "value": 1 - }, - "ctrl01-enable": { - "help": "Enable control_01", - "value": 0 } }, "inherits": ["Target"],