Files
Linux_Drivers/freertos/cvitek/install/include/arch/arch_cpu.h
sam.xiang cbb030f19f [freertos] add freertos firmware
Change-Id: I4158d66d9b5fc444e28287f55e79ac24e0a1666f
2023-03-10 20:35:49 +08:00

15 lines
367 B
C

#ifndef __ARCH_CPU__
#define __ARCH_CPU__
#ifdef PXP_PLAT
#define configSYS_CLOCK_HZ ( 1000000000 )
#elif defined RISCV_QEMU
#define configSYS_CLOCK_HZ ( 100000000 )
#elif defined FPGA_PLAT
#define configSYS_CLOCK_HZ ( 25000000 )
#else
#define configSYS_CLOCK_HZ ( 25000000 )
#endif
#endif // end of __ARCH_CPU__