File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
example/baremetal/arc_feature Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ int main(void)
7272 cache_ver , cache_size , cache_ways , cache_llen );
7373 build_cfg = _arc_aux_read (AUX_BCR_I_CACHE );
7474 } else {
75- EMBARC_PRINTF ("no data cache, error! \n" );
75+ EMBARC_PRINTF ("Test Error: no data cache\n" );
7676 while (1 );
7777 }
7878
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ int main(void)
113113 timer_start (TIMER_0 , TIMER_CTRL_W , 5 * BOARD_CPU_CLOCK );
114114 }
115115
116- EMBARC_PRINTF ("---end----\r \n" );
116+ EMBARC_PRINTF ("Timer Test Done \n" );
117117 while (1 );
118118 return E_SYS ;
119119}
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ int main( void )
317317 dmac_init (& udma );
318318 ret = dma_prepare ();
319319 if (ret == DMA_CHN_INVALID ) {
320- EMBARC_PRINTF ("dma channel failed, exit.\r\n" );
320+ EMBARC_PRINTF ("Test Error: dma channel failed, exit.\r\n" );
321321 return -1 ;
322322 }
323323 EMBARC_PRINTF ("Performance benchmark timer overhead is %u cycles\r\n" , perf_overhead ());
@@ -369,5 +369,6 @@ int main( void )
369369 }
370370 dma_finish ();
371371 dmac_close ();
372+ EMBARC_PRINTF ("uDMA Test Done\n" );
372373 return 0 ;
373374}
You can’t perform that action at this time.
0 commit comments