Skip to content

Commit d875e69

Browse files
authored
Merge pull request hathach#1958 from tyustli/tyustli_st
fix HAL_Delay no effect bug on st platform
2 parents b443851 + fabe863 commit d875e69

File tree

13 files changed

+13
-0
lines changed

13 files changed

+13
-0
lines changed

hw/bsp/stm32f0/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ int board_uart_write(void const * buf, int len)
143143
volatile uint32_t system_ticks = 0;
144144
void SysTick_Handler (void)
145145
{
146+
HAL_IncTick();
146147
system_ticks++;
147148
}
148149

hw/bsp/stm32f1/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ int board_uart_write(void const * buf, int len)
129129
volatile uint32_t system_ticks = 0;
130130
void SysTick_Handler (void)
131131
{
132+
HAL_IncTick();
132133
system_ticks++;
133134
}
134135

hw/bsp/stm32f207nucleo/stm32f207nucleo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ int board_uart_write(void const * buf, int len)
191191
volatile uint32_t system_ticks = 0;
192192
void SysTick_Handler (void)
193193
{
194+
HAL_IncTick();
194195
system_ticks++;
195196
}
196197

hw/bsp/stm32f303disco/stm32f303disco.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ int board_uart_write(void const * buf, int len)
193193
volatile uint32_t system_ticks = 0;
194194
void SysTick_Handler (void)
195195
{
196+
HAL_IncTick();
196197
system_ticks++;
197198
}
198199

hw/bsp/stm32f4/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ int board_uart_write(void const * buf, int len)
180180
volatile uint32_t system_ticks = 0;
181181
void SysTick_Handler (void)
182182
{
183+
HAL_IncTick();
183184
system_ticks++;
184185
}
185186

hw/bsp/stm32f7/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ int board_uart_write(void const * buf, int len)
293293
volatile uint32_t system_ticks = 0;
294294
void SysTick_Handler (void)
295295
{
296+
HAL_IncTick();
296297
system_ticks++;
297298
}
298299

hw/bsp/stm32g4/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ int board_uart_write(void const * buf, int len)
167167
volatile uint32_t system_ticks = 0;
168168
void SysTick_Handler (void)
169169
{
170+
HAL_IncTick();
170171
system_ticks++;
171172
}
172173

hw/bsp/stm32h7/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ int board_uart_write(void const * buf, int len)
251251
volatile uint32_t system_ticks = 0;
252252
void SysTick_Handler(void)
253253
{
254+
HAL_IncTick();
254255
system_ticks++;
255256
}
256257

hw/bsp/stm32l0/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ int board_uart_write(void const * buf, int len)
141141
volatile uint32_t system_ticks = 0;
142142
void SysTick_Handler (void)
143143
{
144+
HAL_IncTick();
144145
system_ticks++;
145146
}
146147

hw/bsp/stm32l0538disco/stm32l0538disco.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ int board_uart_write(void const * buf, int len)
183183
volatile uint32_t system_ticks = 0;
184184
void SysTick_Handler (void)
185185
{
186+
HAL_IncTick();
186187
system_ticks++;
187188
}
188189

0 commit comments

Comments
 (0)