Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit a86b4f4

Browse files
committed
Add HAL wrap
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
1 parent bf75b7f commit a86b4f4

File tree

77 files changed

+412
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+412
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_adc.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_adc_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_can.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_cec.c"
5+
#endif
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* <Description>
3+
*
4+
* Copyright (C) 2017, STMicroelectronics - All Rights Reserved
5+
* Author: YOUR NAME <> for STMicroelectronics.
6+
*
7+
* License type: GPLv2
8+
*
9+
* This program is free software; you can redistribute it and/or modify it
10+
* under the terms of the GNU General Public License version 2 as published by
11+
* the Free Software Foundation.
12+
*
13+
* This program is distributed in the hope that it will be useful, but
14+
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15+
* or FITNESS FOR A PARTICULAR PURPOSE.
16+
* See the GNU General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU General Public License along with
19+
* this program. If not, see
20+
* <http://www.gnu.org/licenses/>.
21+
*/
22+
23+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_cortex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_crc.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_cryp.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_cryp_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dac.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dac_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dcmi.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dcmi_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dfsdm.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dma.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dma2d.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dma_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_dsi.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_eth.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_flash.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_flash_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_flash_ramfunc.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_fmpi2c.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_fmpi2c_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_gpio.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_hash.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_hash_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_hcd.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_i2c.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_i2c_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_i2s.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_i2s_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_irda.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_iwdg.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_lptim.c"
5+
#endif
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_ltdc.c"
5+
#endif
6+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_ltdc_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_mmc.c"
5+
#endif
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include "stm32_def_build.h"
2+
3+
#if 0
4+
#ifdef STM32F4xx
5+
#include "stm32f4xx_hal_msp_template.c"
6+
#endif
7+
#endif //0
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_nand.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_nor.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_pccard.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_pcd.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_pcd_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_pwr.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_pwr_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_qspi.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_rcc.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_rcc_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_rng.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_rtc.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_rtc_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_sai.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_sai_ex.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_sd.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_sdram.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_spdifrx.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_spi.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_sram.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_tim.c"
5+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "stm32_def_build.h"
2+
3+
#ifdef STM32F4xx
4+
#include "stm32f4xx_hal_tim_ex.c"
5+
#endif

0 commit comments

Comments
 (0)