1. pet rfm1 has no shell cmd, don't call spu_shell_task()
2. update the spu_shell_task dadian's information 3. adjust the initialization: osp_var_init() should call before ape_stc_init()
This commit is contained in:
parent
56dbf9a1be
commit
88d47d6557
@ -39,9 +39,10 @@ void soc_drv_init(void)
|
|||||||
|
|
||||||
pet_sm_init();
|
pet_sm_init();
|
||||||
|
|
||||||
|
osp_var_init();
|
||||||
|
|
||||||
ape_stc_init();
|
ape_stc_init();
|
||||||
|
|
||||||
osp_var_init();
|
|
||||||
UCP_PRINT_EMPTY("stc timer init. \r\n");
|
UCP_PRINT_EMPTY("stc timer init. \r\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -36,7 +36,7 @@ int32_t main(int32_t argc, char* argv[])
|
|||||||
while(1) {
|
while(1) {
|
||||||
msg_transfer_queue_polling();
|
msg_transfer_queue_polling();
|
||||||
msg_transfer_enqueue();
|
msg_transfer_enqueue();
|
||||||
spu_shell_task();
|
//spu_shell_task(); /* pet_rfm1: no shell cmd, don't call spu_shell_task */
|
||||||
//msg_transfer_queue_recfg();
|
//msg_transfer_queue_recfg();
|
||||||
//heart_beat_write();
|
//heart_beat_write();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user