添加功能:sendblock
验证通过
This commit is contained in:
@@ -677,6 +677,11 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\PORTING\CNN\cnn.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tools.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\PORTING\CNN\tools.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
</Groups>
|
||||
|
||||
13
USER/main.c
13
USER/main.c
@@ -18,6 +18,7 @@
|
||||
#include "cnn_model.h"
|
||||
#include "debug.h"
|
||||
#include "cnn.h"
|
||||
#include "tools.h"
|
||||
|
||||
|
||||
|
||||
@@ -130,10 +131,14 @@ int main(void)
|
||||
LED0=!LED0;
|
||||
}
|
||||
|
||||
model_write("all");
|
||||
printf("初始化完成!\r\n");
|
||||
run_dataset();
|
||||
SDRAM_USED();
|
||||
// model_write("all");
|
||||
// printf("初始化完成!\r\n");
|
||||
// run_dataset();
|
||||
// SDRAM_USED();
|
||||
|
||||
model_switchdata("C1autosave00095_right_new_2");
|
||||
cnn_run();
|
||||
|
||||
while(1){
|
||||
if(isrun)cnn_run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user