Skip to content

Commit c6bc91c

Browse files
committed
Merge pull request RT-Thread#1 from grissiom/test_schedule
Test schedule
2 parents fd38cfe + 4412c9e commit c6bc91c

File tree

3 files changed

+90
-165
lines changed

3 files changed

+90
-165
lines changed

bsp/stm32f10x/applications/systick_count_asm.s

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,39 @@ SYSTICK_RELOAD EQU 0xE000E014 ;
1111
IMPORT clk_elapse
1212
IMPORT start_value
1313
IMPORT end_value
14-
14+
1515
;/*
1616
; * void start_count(void);
1717
; start_value = tick->VAL;
1818
; */
1919
start_count PROC
2020
EXPORT start_count
21-
22-
21+
22+
2323
LDR r1, =start_value
2424
LDR r0, =SYSTICK_CURRENT
2525
LDR r0, [r0]
26-
26+
2727
STR r0, [r1]
28-
28+
2929
BX lr
30-
30+
3131
ENDP
32-
33-
32+
33+
3434
stop_count PROC
3535
;EXPORT stop_count
36-
36+
3737
LDR r0, =SYSTICK_CURRENT
3838
LDR r0, [r0]
39-
39+
4040
LDR r1, =end_value
4141
STR r0, [r1]
42-
42+
4343
BX lr
44-
44+
4545
ENDP
4646

4747

4848
END ;end of this file
49-
49+

0 commit comments

Comments
 (0)