Simplification

This commit is contained in:
Bertrand Songis
2019-06-17 12:48:52 +02:00
parent b20e4a6be4
commit ecf0ce87e3
3 changed files with 14 additions and 30 deletions
+4 -1
View File
@@ -36,7 +36,9 @@ extern "C" {
#pragma clang diagnostic ignored "-Wdeprecated-register"
#endif
#if defined(STM32F4)
#if defined(LUA_EXPORT_GENERATION)
// no includes
#elif defined(STM32F4)
#include "STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
#include "STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h"
#include "STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h"
@@ -78,6 +80,7 @@ extern "C" {
#endif
#include "usb_driver.h"
#if !defined(SIMU)
#include "usbd_cdc_core.h"
#include "usbd_msc_core.h"