增加了一个c语言查询版本的代码,便于沟通调试;如果编译C语言版本,Makefile中控制系统都采用rv32i的march编译即可。
This commit is contained in:
@@ -25,6 +25,11 @@ x31, 最大的服务中断号
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef __riscv_i
|
||||
#error "must be compiled in RV32I"
|
||||
#endif
|
||||
|
||||
#define REG_TL2CDR_BASE x24
|
||||
#define REG_rx_data x25
|
||||
#define REG_tx_data x26
|
||||
|
||||
Reference in New Issue
Block a user