mirror of https://github.com/ARMmbed/mbed-os.git
H7 ST CUBE : remove unecessary #if 1 instead of USE_FULL_LL_DRIVER
Keep #define USE_FULL_LL_DRIVER and define this switch in target.json Signed-off-by: Vincent Veron <vincent.veron@st.com>pull/10631/head
parent
80b41f0276
commit
d8e1e43e35
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_adc.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
******************************************************************************
|
||||
*/
|
||||
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_bdma.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_comp.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_crc.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
******************************************************************************
|
||||
*/
|
||||
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_dac.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_dma.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_dma2d.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_exti.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
******************************************************************************
|
||||
*/
|
||||
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_gpio.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_hrtim.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_i2c.h"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* opensource.org/licenses/BSD-3-Clause
|
||||
* ******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_lptim.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_lpuart.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_mdma.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_opamp.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
******************************************************************************
|
||||
*/
|
||||
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_pwr.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_rcc.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_rng.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_rtc.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_spi.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_swpmi.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_tim.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
#if 1 // MBED PATCH defined(USE_FULL_LL_DRIVER)
|
||||
#if defined(USE_FULL_LL_DRIVER)
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_ll_usart.h"
|
||||
|
|
|
@ -3196,7 +3196,8 @@
|
|||
}
|
||||
},
|
||||
"macros_add": [
|
||||
"MBED_TICKLESS"
|
||||
"MBED_TICKLESS",
|
||||
"USE_FULL_LL_DRIVER"
|
||||
],
|
||||
"overrides": { "lpticker_delay_ticks": 4 },
|
||||
"supported_form_factors": ["ARDUINO"],
|
||||
|
|
Loading…
Reference in New Issue