FreeRTOS RISC-V移植需要一个额外的头文件,描述芯片特定的扩展,该文件为freertos_risc-v_chip_specific_extensions.h,需要将该文件的路径包含到汇编器的include路径设置中。 4. FreeRTOSConfig.h文件设置 如果RISC-V芯片包含core local interrupt(CLINT),需设置configC
xPortStartFirstTask portable/IAR/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions/freertos_risc_v_chip_specific_extensions.h:57: #define portasmHAS_SIFIVE_CLINT 1 1#if(portasmHAS_SIFIVE_CLINT!= 0 )2/*If there is a clint then interrupts can branch directly to the FreeRTOS3trap ha...
280 + // freertos_risc_v_chip_specific_extensions.h: #define portasmHANDLE_INTERRUPT trap_handler 281 + void trap_handler(uint32_t cause){ 282 + 283 + switch (cause) { 284 + 285 + case 0x80000003: // msip/inbox 286 + 287 + // read the incoming message & clear msip...
* + Header files called freertos_risc_v_chip_specific_extensions.h contain the * code that tailors the FreeRTOS kernel's RISC-V port to a specific RISC-V * chip. There are multiple freertos_risc_v_chip_specific_extensions.h files * as there are multiple RISC-V chip ...
"freertos_kernel/portable/IAR/RISC-V/Documentation.url": "76a6a42370555bcddd6711fa2f3f4b4119f09f05f3b4a7433185ae70f7cc936b", "freertos_kernel/portable/IAR/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions/freertos_risc_v_chip_specific_extensions.h": "237af6f96875436350758c92f4b86126...
"freertos_kernel/portable/GCC/RISC-V/chip_specific_extensions/Pulpino_Vega_RV32M1RM/freertos_risc_v_chip_specific_extensions.h": "c4a50205beec8ff756b6fdafaff3712eb29567c735766a801c53293dc684b80a", "freertos_kernel/portable/GCC/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions/free...
include -I /Users/tom/Documents/FreeRTOS/FreeRTOS/Source/portable/GCC/RISC-V -I /Users/tom/Documents/FreeRTOS/FreeRTOS/Source/portable/GCC/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions -march=rv32imac -mabi=ilp32 -mcmodel=medany -Wall -fmessage-length=0 -ffunction-sections -f...