mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-27 07:46:20 -04:00
RISC-V-Qemu-virt_GCC: correct configCPU_CLOCK_HZ define (#1086)
* RISC-V-Qemu-virt_GCC: correct configCPU_CLOCK_HZ define fix configCPU_CLOCK_HZ define for correct freeRTOS tick: Qemu simulator runs at 10MHZ, defined by RISCV_ACLINT_DEFAULT_TIMEBASE_FREQ at https://github.com/qemu/qemu/blob/master/include/hw/intc/riscv_aclint.h * Fix CI check Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> --------- Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
99f5b80ae4
commit
8104777681
1 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@
|
||||||
#define configUSE_PREEMPTION 1
|
#define configUSE_PREEMPTION 1
|
||||||
#define configUSE_IDLE_HOOK 0
|
#define configUSE_IDLE_HOOK 0
|
||||||
#define configUSE_TICK_HOOK 1
|
#define configUSE_TICK_HOOK 1
|
||||||
#define configCPU_CLOCK_HZ ( 1000000 )
|
#define configCPU_CLOCK_HZ ( 10000000 )
|
||||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||||
#define configMAX_PRIORITIES ( 7 )
|
#define configMAX_PRIORITIES ( 7 )
|
||||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 512 )
|
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 512 )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue