Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59dda5c

Browse files
authored
Merge pull request#1142 from fpistm/Update_L1
Update STM32L1 HAL and CMSIS drivers
2 parents5cd6cbb +5529c93 commit59dda5c

File tree

115 files changed

+4847
-15211
lines changed

Some content is hidden

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

115 files changed

+4847
-15211
lines changed

‎CI/utils/patch/HAL/L1/0001-L1-I2C-HAL-fix-generate-Start-only-once-Stop-is-fini.patch

Lines changed: 0 additions & 146 deletions
This file was deleted.

‎cores/arduino/HardwareTimer.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ void HardwareTimer::pause()
115115
/* Starting from G4, new Channel state implementation prevents to restart a channel,
116116
if the channel has not been explicitly be stopped with HAL interface*/
117117
TIM_CHANNEL_STATE_SET_ALL(&(_timerObj.handle), HAL_TIM_CHANNEL_STATE_READY);
118+
#endif
119+
#if defined(TIM_CHANNEL_N_STATE_SET_ALL)
118120
TIM_CHANNEL_N_STATE_SET_ALL(&(_timerObj.handle), HAL_TIM_CHANNEL_STATE_READY);
119121
#endif
120122
}
@@ -144,9 +146,12 @@ void HardwareTimer::pauseChannel(uint32_t channel)
144146
#if defined(TIM_CHANNEL_STATE_SET)
145147
/* Starting from G4, new Channel state implementation prevents to restart a channel,
146148
if the channel has not been explicitly be stopped with HAL interface*/
149+
#if defined(TIM_CHANNEL_N_STATE_SET)
147150
if (isComplementaryChannel[channel -1]) {
148151
TIM_CHANNEL_N_STATE_SET(&(_timerObj.handle),getChannel(channel), HAL_TIM_CHANNEL_STATE_READY);
149-
}else {
152+
}else
153+
#endif
154+
{
150155
TIM_CHANNEL_STATE_SET(&(_timerObj.handle),getChannel(channel), HAL_TIM_CHANNEL_STATE_READY);
151156
}
152157
#endif

‎libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
#ifdefSTM32H7xx
2626
#include"stm32h7xx_hal_exti.c"
2727
#endif
28+
#ifdefSTM32L1xx
29+
#include"stm32l1xx_hal_exti.c"
30+
#endif
2831
#ifdefSTM32L4xx
2932
#include"stm32l4xx_hal_exti.c"
3033
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp