添加f1的usbd驱动
This commit is contained in:
parent
4bd0ce9bfe
commit
6f7749bb07
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2019-04-10 ZYH first version
|
||||
* 2019-07-29 Chinese66 change from f4 to f1
|
||||
*/
|
||||
#ifndef __USBD_FS_CONFIG_H__
|
||||
#define __USBD_FS_CONFIG_H__
|
||||
|
||||
#define USBD_FS_IRQ_HANDLER USB_LP_CAN1_RX0_IRQHandler
|
||||
#define USBD_INSTANCE USB
|
||||
#define BSP_USB_CONNECT_PIN -1
|
||||
|
||||
#endif
|
|
@ -33,6 +33,7 @@ extern "C" {
|
|||
#include "f1/tim_config.h"
|
||||
#include "f1/sdio_config.h"
|
||||
#include "f1/pwm_config.h"
|
||||
#include "f1/usbd_fs_config.h"
|
||||
#elif defined(SOC_SERIES_STM32F2)
|
||||
#include "f2/dma_config.h"
|
||||
#include "f2/uart_config.h"
|
||||
|
|
Loading…
Reference in New Issue