Fixed USB CDC includes.

This commit is contained in:
mikeller 2018-06-17 16:38:16 +12:00
parent 9492899aeb
commit 448885bfc5
4 changed files with 8 additions and 3 deletions

View File

@ -28,6 +28,7 @@
#include "build/build_config.h"
#include "common/utils.h"
#include "drivers/io.h"
#if defined(STM32F4)

View File

@ -23,6 +23,8 @@
#include "drivers/serial.h"
#if defined(STM32F7)
#include "common/maths.h"
#include "usbd_cdc.h"
extern USBD_HandleTypeDef USBD_Device;

View File

@ -46,6 +46,9 @@
*/
/* Includes ------------------------------------------------------------------*/
#include "drivers/serial_usb_vcp.h"
#include "drivers/time.h"
#include "stm32f7xx_hal.h"
#include "usbd_core.h"
#include "usbd_desc.h"
@ -53,9 +56,6 @@
#include "usbd_cdc_interface.h"
#include "stdbool.h"
#include "drivers/serial_usb_vcp.h"
#include "drivers/time.h"
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
#define APP_RX_DATA_SIZE 2048

View File

@ -50,6 +50,8 @@
#define __USBD_CDC_IF_H
/* Includes ------------------------------------------------------------------*/
#include "common/maths.h"
#include "usbd_cdc.h"
#include "stm32f7xx_hal.h"
#include "usbd_core.h"