增加了一个c语言查询版本的代码,便于沟通调试;如果编译C语言版本,Makefile中控制系统都采用rv32i的march编译即可。
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
#ifndef __SYSDEF_H__
|
||||
#define __SYSDEF_H__
|
||||
|
||||
#define SYS_INIT 0
|
||||
#define SYS_SEND_DATA 1
|
||||
#define SYS_SET_RECV_INFO 2
|
||||
#define SYS_INIT 0
|
||||
#define SYS_SEND_DATA 1
|
||||
#define SYS_SET_RECV_INFO 2
|
||||
|
||||
|
||||
#define WORKMODE_MASTER 0
|
||||
#define WORKMODE_SLAVE 1
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user