make: restructure build scripts

This commit is contained in:
S.J.R. van Schaik 2017-03-09 12:32:04 +00:00
parent 99ab4bae75
commit 3873f68817
12 changed files with 68 additions and 197 deletions

16
source/main.c Normal file
View 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;
}