make: restructure build scripts
This commit is contained in:
parent
99ab4bae75
commit
3873f68817
12 changed files with 68 additions and 197 deletions
16
source/main.c
Normal file
16
source/main.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
#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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue