Skip to content

Commit 84765c9

Browse files
erwangogalak
authored andcommitted
hal: stm32wbxx: Add HAL for the STM32WB series
This adds the HAL code needed for the SoC for the stm32wb series. Origin: ST Microelectronics License: BSD-3-Clause URL: http://www.st.com/en/embedded-software/stm32cubewb.html Commit: 1.0.0 Purpose: HAL layer for stm32wb Maintained-by: External Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 3c82d23 commit 84765c9

File tree

161 files changed

+197173
-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.

161 files changed

+197173
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
STM32CubeWB
2+
###########
3+
4+
Origin:
5+
ST Microelectronics
6+
http://www.st.com/en/embedded-software/stm32cubewb.html
7+
8+
Status:
9+
version 1.0.0
10+
11+
Purpose:
12+
ST Microelectronics official MCU package for STM32WB series.
13+
14+
Description:
15+
This package is an extract of official STM32CubeWB package written by ST Microelectronics.
16+
It is composed of STM32Cube hardware abstraction layer (HAL) and low layer (LL) plus a set
17+
of CMSIS headers files, one for each SoC in STM32WB series.
18+
19+
Dependencies:
20+
None.
21+
22+
URL:
23+
http://www.st.com/en/embedded-software/stm32cubewb.html
24+
25+
commit:
26+
version 1.0.0
27+
28+
Maintained-by:
29+
External
30+
31+
License:
32+
BSD-3-Clause
33+
34+
License Link:
35+
https://opensource.org/licenses/BSD-3-Clause
36+
37+
Patch List:
38+
39+
*Applied dos2unix

ext/hal/st/stm32cube/stm32wbxx/drivers/include/Legacy/stm32_hal_legacy.h

Lines changed: 3452 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/**
2+
******************************************************************************
3+
* @file stm32_assert.h
4+
* @author MCD Application Team
5+
* @brief STM32 assert template file.
6+
* This file should be copied to the application folder and renamed
7+
* to stm32_assert.h.
8+
******************************************************************************
9+
* @attention
10+
*
11+
* <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
12+
* All rights reserved.</center></h2>
13+
*
14+
* This software component is licensed by ST under BSD 3-Clause license,
15+
* the "License"; You may not use this file except in compliance with the
16+
* License. You may obtain a copy of the License at:
17+
* opensource.org/licenses/BSD-3-Clause
18+
*
19+
******************************************************************************
20+
*/
21+
22+
/* Define to prevent recursive inclusion -------------------------------------*/
23+
#ifndef STM32_ASSERT_H
24+
#define STM32_ASSERT_H
25+
26+
#ifdef __cplusplus
27+
extern "C" {
28+
#endif
29+
30+
/* Exported types ------------------------------------------------------------*/
31+
/* Exported constants --------------------------------------------------------*/
32+
/* Includes ------------------------------------------------------------------*/
33+
/* Exported macro ------------------------------------------------------------*/
34+
#ifdef USE_FULL_ASSERT
35+
/**
36+
* @brief The assert_param macro is used for function's parameters check.
37+
* @param expr If expr is false, it calls assert_failed function
38+
* which reports the name of the source file and the source
39+
* line number of the call that failed.
40+
* If expr is true, it returns no value.
41+
* @retval None
42+
*/
43+
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
44+
/* Exported functions ------------------------------------------------------- */
45+
void assert_failed(uint8_t* file, uint32_t line);
46+
#else
47+
#define assert_param(expr) ((void)0U)
48+
#endif /* USE_FULL_ASSERT */
49+
50+
#ifdef __cplusplus
51+
}
52+
#endif
53+
54+
#endif /* STM32_ASSERT_H */
55+
56+
57+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

ext/hal/st/stm32cube/stm32wbxx/drivers/include/stm32wbxx_hal.h

Lines changed: 668 additions & 0 deletions
Large diffs are not rendered by default.

ext/hal/st/stm32cube/stm32wbxx/drivers/include/stm32wbxx_hal_adc.h

Lines changed: 1671 additions & 0 deletions
Large diffs are not rendered by default.

ext/hal/st/stm32cube/stm32wbxx/drivers/include/stm32wbxx_hal_adc_ex.h

Lines changed: 764 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)