From ea5af55b923751547ccc7d4dcd92766b3cc41e93 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Tue, 20 Jan 2015 16:18:43 -0800 Subject: [PATCH] [stm32f4-discovery] Reverted addition of console. --- examples/stm32/f4/stm32f4-discovery/usb_cdcacm/Makefile | 2 -- examples/stm32/f4/stm32f4-discovery/usb_cdcacm/cdcacm.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/Makefile b/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/Makefile index bfcb701..bf398ef 100644 --- a/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/Makefile +++ b/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/Makefile @@ -17,8 +17,6 @@ ## along with this library. If not, see . ## -OBJS = console.o - BINARY = cdcacm LDSCRIPT = ../stm32f4-discovery.ld diff --git a/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/cdcacm.c b/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/cdcacm.c index 340855d..7f9496e 100644 --- a/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/cdcacm.c +++ b/examples/stm32/f4/stm32f4-discovery/usb_cdcacm/cdcacm.c @@ -23,7 +23,6 @@ #include #include #include -#include "console.h" static const struct usb_device_descriptor dev = { .bLength = USB_DT_DEVICE_SIZE, @@ -209,7 +208,6 @@ static void cdcacm_data_rx_cb(usbd_device *usbd_dev, uint8_t ep) static void cdcacm_set_config(usbd_device *usbd_dev, uint16_t wValue) { - console_puts("set config called.\n"); (void)wValue; usbd_ep_setup(usbd_dev, 0x01, USB_ENDPOINT_ATTR_BULK, 64, @@ -229,8 +227,6 @@ int main(void) usbd_device *usbd_dev; rcc_clock_setup_hse_3v3(&hse_8mhz_3v3[CLOCK_3V3_120MHZ]); - console_setup(); - console_puts("USB demo (orig)\n"); rcc_periph_clock_enable(RCC_GPIOA); rcc_periph_clock_enable(RCC_OTGFS);