mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-17 10:17:45 -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
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* FreeRTOS V202212.00
|
||||
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
|
@ -48,7 +48,7 @@
|
|||
#define configUSE_PREEMPTION 1
|
||||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 1
|
||||
#define configCPU_CLOCK_HZ ( 1000000 )
|
||||
#define configCPU_CLOCK_HZ ( 10000000 )
|
||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||
#define configMAX_PRIORITIES ( 7 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 512 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue