Moved main.cpp to test folder

This commit is contained in:
Jimmy 2020-12-10 17:14:07 +13:00
parent bcbb320289
commit 193e5ae0ff
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ CC=avr-g++
OBJCOPY=avr-objcopy
CFLAGS=-Wall -g -mmcu=${MCU} -DF_CPU=${F_CPU} -I.
TARGET=main
SRCS=src/*.cpp
SRCS=src/*.cpp test/main.cpp
default: build flash
@ -28,4 +28,4 @@ debug: flash avarice
avr-gdb -ex "target remote :4242" bin/main.elf
avarice:
avarice --file bin/main.elf --part ${MCU} --${DEBUGGER} :4242
avarice --file bin/main.elf --part ${MCU} --${DEBUGGER} :4242

View File

@ -1,7 +1,7 @@
#define F_CPU 8000000UL
#include<avr/io.h>
#include <util/delay.h>
#include "servo.h"
#include "../src/servo.h"
int main()
{
@ -56,4 +56,4 @@
}
return 0;
}
}