Files
There are no circuits or boards in this repository.
Last update 3 years 1 month
by
ddr2
Filessend_code | |
---|---|
.. | |
Makefile | |
diskio.c | |
diskio.h | |
ff.c | |
ff.h | |
ffconf.h | |
main.c | |
mmc_avr.h | |
mmc_avr_spi.c | |
uart.c | |
uart.h |
uart.h#include <stdio.h> int uart_putchar(char c, FILE *stream); int uart_getchar(FILE *stream); void uart_init(void); /* http://www.ermicro.com/blog/?p=325 */ extern FILE uart_output; extern FILE uart_input; /* * in main.c * void set_serial (void) { uart_init(); stdout = &uart_output; stdin = &uart_input; } */ //uint8_t mystrlen(const char *s);