Changeset 8936

Show
Ignore:
Timestamp:
07/18/08 11:38:14
Author:
eb
Message:

code to exercise uart i/o

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • usrp2/trunk/firmware/apps

    • Property svn:ignore changed from *-stamp *.a *.bin *.dump *.log *.rom *.map .deps Makefile Makefile.in aclocal.m4 autom4te.cache blink_leds blink_leds2 build compile config.h config.h.in config.log config.status configure depcomp eth_test gen_eth_packets ibs_rx_test ibs_tx_test install-sh libtool ltmain.sh missing py-compile rcv_eth_packets run_tests.sh stamp-h1 test1 test_phy_comm timer_test buf_ram_test buf_ram_zero hello test_printf test_spi test_i2c gen_pause_frames test_serdes rx_only tx_only tx_standalone tx_drop tx_drop2 tx_drop_rate_limited test_lsdac test_lsadc read_dbids test_db_spi ramp_lsdac eth_to_serdes serdes_to_dsp sd_gentest sd_bounce can_i_sub tx_only_v2 rx_only_v2 txrx to *-stamp *.a *.bin *.dump *.log *.rom *.map .deps Makefile Makefile.in aclocal.m4 autom4te.cache blink_leds blink_leds2 build compile config.h config.h.in config.log config.status configure depcomp echo eth_test gen_eth_packets ibs_rx_test ibs_tx_test install-sh libtool ltmain.sh missing py-compile rcv_eth_packets run_tests.sh stamp-h1 test1 test_phy_comm timer_test buf_ram_test buf_ram_zero hello test_printf test_spi test_i2c gen_pause_frames test_serdes rx_only tx_only tx_standalone tx_drop tx_drop2 tx_drop_rate_limited test_lsdac test_lsadc read_dbids test_db_spi ramp_lsdac eth_to_serdes serdes_to_dsp sd_gentest sd_bounce can_i_sub tx_only_v2 rx_only_v2 txrx
  • usrp2/trunk/firmware/apps/Makefile.am

    r8407 r8936  
    2525        buf_ram_test \ 
    2626        can_i_sub \ 
     27        echo \ 
    2728        gen_eth_packets \ 
    2829        hello \ 
  • usrp2/trunk/firmware/lib/hal_io.c

    r8378 r8936  
    248248} 
    249249 
     250int 
     251getchar(void) 
     252{ 
     253  return hal_uart_getc(); 
     254} 
     255 
    250256#else   // nop all i/o 
    251257 
     
    267273} 
    268274 
     275int 
     276getchar(void) 
     277{ 
     278  return EOF; 
     279} 
     280 
    269281#endif 
    270282 
  • usrp2/trunk/firmware/lib/stdio.h

    r6968 r8936  
    3434int printf(const char *format, ...); 
    3535 
    36 // int getchar(void); 
     36int getchar(void); 
    3737 
    3838#endif /* INCLUDED_STDIO_H */