mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
- Added build_hp_rtthread.py for building the RT-Thread kernel with RV64 support. - Updated build_hp_smoke.py to target RV64 architecture and modified output filenames. - Modified generate_vexiiriscv.py to reflect RV64 configuration and memory management. - Created hp_tools.py for shared utilities related to RV64 builds. - Enhanced package_hp_boot.py to package RV64 workloads and updated versioning. - Implemented run_hp_sim.py for executing and validating HP workloads with specific markers. - Developed setup_hp_rtthread.py for installing RT-Thread source and environment setup. - Updated GenerateRetroSocHp.scala to generate RV64 application cores. - Enhanced tests for HP boot bundles, platform specifications, and tool utilities to accommodate RV64 changes. - Adjusted test cases to validate new workload types and ensure compatibility with RV64 architecture.
24 lines
693 B
C
24 lines
693 B
C
#ifndef RETROSOC_RTTHREAD_CONFIG_H
|
|
#define RETROSOC_RTTHREAD_CONFIG_H
|
|
|
|
#define ARCH_CPU_64BIT
|
|
#define RT_CPUS_NR 1
|
|
#define RT_NAME_MAX 12
|
|
#define RT_ALIGN_SIZE 16
|
|
#define RT_THREAD_PRIORITY_MAX 32
|
|
#define RT_TICK_PER_SECOND 1000
|
|
#define RT_USING_OVERFLOW_CHECK
|
|
#define RT_DEBUG
|
|
#define RT_DEBUGING_ASSERT
|
|
#define RT_BACKTRACE_LEVEL_MAX_NR 32
|
|
#define RT_USING_SEMAPHORE
|
|
#define RT_USING_MESSAGEQUEUE
|
|
#define RT_USING_CONSOLE
|
|
#define RT_CONSOLEBUF_SIZE 256
|
|
#define IDLE_THREAD_STACK_SIZE 2048
|
|
#define RT_KLIBC_USING_VSNPRINTF_LONGLONG
|
|
/* No scanf caller is linked; avoid the heap-dependent internal scanner. */
|
|
#define RT_KLIBC_USING_LIBC_VSSCANF
|
|
|
|
#endif
|