STM32L4: Add STM32L475 OTGFS header file. Not fully reviewed.

This commit is contained in:
Gregory Nutt
2017-06-08 10:34:26 -06:00
parent 95fcdff1fd
commit 596fe68854
3 changed files with 961 additions and 3 deletions
File diff suppressed because it is too large Load Diff
+8 -2
View File
@@ -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
************************************************************************************/
+8 -1
View File
@@ -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
************************************************************************************/