mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
STM32L4: Add STM32L475 OTGFS header file. Not fully reviewed.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -47,10 +47,16 @@
|
||||
|
||||
#include "stm32l4.h"
|
||||
|
||||
#include "chip/stm32l4x6xx_otgfs.h"
|
||||
|
||||
#if defined(CONFIG_STM32L4_OTGFS)
|
||||
|
||||
#if defined(CONFIG_STM32L4_STM32L4X5)
|
||||
# include "chip/stm32l4x5xx_otgfs.h"
|
||||
#elif defined(CONFIG_STM32L4_STM32L4X6)
|
||||
# include "chip/stm32l4x6xx_otgfs.h"
|
||||
#else
|
||||
# error "Unsupported STM32L4 chip"
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
|
||||
@@ -47,10 +47,17 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/stm32l4x6xx_otgfs.h"
|
||||
|
||||
#if defined(CONFIG_STM32L4_OTGFS) && defined(CONFIG_USBHOST)
|
||||
|
||||
#if defined(CONFIG_STM32L4_STM32L4X5)
|
||||
# include "chip/stm32l4x5xx_otgfs.h"
|
||||
#elif defined(CONFIG_STM32L4_STM32L4X6)
|
||||
# include "chip/stm32l4x6xx_otgfs.h"
|
||||
#else
|
||||
# error "Unsupported STM32L4 chip"
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Public Types
|
||||
************************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user