17 lines
189 B
C
17 lines
189 B
C
|
#include <stdio.h>
|
||
|
|
||
|
#include "shell.h"
|
||
|
#include "spi_flash.h"
|
||
|
#include "usart.h"
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
FILE *fp;
|
||
|
|
||
|
init_spi();
|
||
|
fp = init_usart(USART1);
|
||
|
cmd_loop(fp, "tbm # ");
|
||
|
|
||
|
return 0;
|
||
|
}
|