• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

drivers/11-Mar-2024-140,27856,663

soc/11-Mar-2024-190,790153,821

CMakeLists.txtD11-Mar-20245.3 KiB6765

READMED11-Mar-20244.1 KiB11894

release_note.htmlD11-Mar-2024180.8 KiB3,9493,945

README

1STM32CubeL1
2###########
3
4Origin:
5   ST Microelectronics
6   http://www.st.com/en/embedded-software/stm32cubel1.html
7
8Status:
9   version v1.10.3
10
11Purpose:
12   ST Microelectronics official MCU package for STM32L1 series.
13
14Description:
15   This package is an extract of official STM32CubeL1 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 STM32L1 series.
18
19Dependencies:
20    None.
21
22URL:
23   https://github.com/STMicroelectronics/STM32CubeL1
24
25Commit:
26   5641cb07a1d78d7e9649d056136e513bb273fcca
27
28Maintained-by:
29   External
30
31License:
32   BSD-3-Clause
33
34License Link:
35   https://opensource.org/licenses/BSD-3-Clause
36
37Patch List:
38
39    *Extend public SetFlashLatency API to all families
40     The LL_SetFlashLatency public API is now defined for families
41     beyond G4, L4 and L5. The private function has been made public.
42    Impacted files:
43     drivers/include/stm32l1xx_ll_utils.h
44     drivers/src/stm32l1xx_ll_utils.c
45    ST Bug tracker ID: 76126
46
47    *ext/hal/st/stm32cube/stm32l1xx: rename SVC_IRQn -> SVCall_IRQn
48
49     SVCall_IRQn is used as enum value for SV Call Interrupt for Cortex-M
50     based SoCs for which CPU_CORTEX_M_HAS_BASEPRI=y. However stm32cube
51     for stm32l1xx uses SVC_IRQn enum value for this purpose.
52     This leads to this error:
53
54       arch/arm/include/cortex_m/exc.h:101:19: error: 'SVCall_IRQn'
55         undeclared (first use in this function); did you mean 'SVC_IRQn'?
56
57         NVIC_SetPriority(SVCall_IRQn, _EXC_SVC_PRIO);
58                          ^~~~~~~~~~~
59                          SVC_IRQn
60
61     NB: ext/hal/st/stm32cube/stm32l1xx/soc/stm32l151xb.h file was already
62     fixed in 9f8260457b86 ('ext: hal: st: stm32cube: Add HAL for
63     the STM32L1x series').
64     Impacted files:
65      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l100xb.h
66      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l100xba.h
67      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l100xc.h
68      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l151xba.h
69      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l151xc.h
70      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l151xca.h
71      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l151xd.h
72      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l151xdx.h
73      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l151xe.h
74      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l152xb.h
75      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l152xba.h
76      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l152xc.h
77      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l152xca.h
78      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l152xd.h
79      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l152xdx.h
80      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l152xe.h
81      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l162xc.h
82      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l162xca.h
83      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l162xd.h
84      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l162xdx.h
85      ext/hal/st/stm32cube/stm32l1xx/soc/stm32l162xe.h
86     ST Bug tracker ID: 66029
87
88   *Disable i2c HAL
89     Due to conflict with zephyr i2c.h (I2C_SPEED_STANDARD and I2C_SPEED_FAST
90     redefinition), deactivate STM32Cube I2C HAL. This raises no issue since
91     LL API is currently used for stm32 I2C driver.
92    Impacted files:
93     drivers/include/stm32l1xx_hal_conf.h
94    ST Bug tracker ID: NA. Not a stm32cube issue
95
96   *stm32l151xb: add missing SPI_CR2_FRF definitions
97
98    The higher density parts correctly included the SPI_CR2_FRF definitions,
99    but these were missing for the low/medium density parts.  Without these
100    definitions, the zephyr SPI driver cannot be used on these parts.
101    ST Bug tracker ID: 73643
102
103    *Fix warnings for extraneous parentheses
104      Using clang 9.0.0, if((sysclk_source == RCC_CFGR_SWS_MSI) )
105      generates warnings.  Remove the extra parentheses
106     Impacted files:
107      drivers/src/stm32l1xx_hal_rcc.c
108     ST Bug tracker ID: 80902
109
110   *Wrap define UNUSED with an ifndef
111     This will prevent a compiler warning for the case the UNUSED macro
112     is already defined elsewhere in the project
113     Impacted files:
114      drivers/include/stm32l1xx_hal_def.h
115     ST Internal Reference: 136825
116
117   See release_note.html from STM32Cube
118