fix system clock
This commit is contained in:
@ -66,7 +66,7 @@
|
||||
.global __Vectors
|
||||
@
|
||||
@
|
||||
SYSTEM_CLOCK = 106666666
|
||||
SYSTEM_CLOCK = 160000000
|
||||
SYSTICK_CYCLES = ((SYSTEM_CLOCK / 100) -1)
|
||||
|
||||
.text 32
|
||||
@ -287,7 +287,7 @@ __tx_DBGHandler:
|
||||
EXTERN _tx_execution_isr_exit
|
||||
;
|
||||
;
|
||||
SYSTEM_CLOCK EQU 106666666
|
||||
SYSTEM_CLOCK EQU 160000000
|
||||
SYSTICK_CYCLES EQU ((SYSTEM_CLOCK / 100) -1)
|
||||
#ifdef USE_DYNAMIC_MEMORY_ALLOCATION
|
||||
RSEG FREE_MEM:DATA
|
||||
@ -470,7 +470,7 @@ SysTick_Handler:
|
||||
@
|
||||
@
|
||||
|
||||
SYSTEM_CLOCK = 106666666
|
||||
SYSTEM_CLOCK = 160000000
|
||||
SYSTICK_CYCLES = ((SYSTEM_CLOCK / 100) -1)
|
||||
|
||||
.text 32
|
||||
|
||||
Reference in New Issue
Block a user