better io file arrangement - Makefile gives more flexibility than relative path from .cpp file (#30)

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
rusefillc 2021-12-27 22:08:58 -05:00 committed by GitHub
parent 28ac0c61f0
commit fa8e2b1deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -152,7 +152,7 @@ ASMSRC = $(ALLASMSRC)
ASMXSRC = $(ALLXASMSRC) ASMXSRC = $(ALLXASMSRC)
# Inclusion directories. # Inclusion directories.
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) boards/ INCDIR = $(CONFDIR) $(ALLINC) boards/ $(BOARDDIR)/io/
# Define C warning options here. # Define C warning options here.
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes

View File

@ -128,7 +128,8 @@ ASMSRC = $(ALLASMSRC)
ASMXSRC = $(ALLXASMSRC) ASMXSRC = $(ALLXASMSRC)
# Inclusion directories. # Inclusion directories.
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) $(SRCDIR)/shared/ INCDIR = $(CONFDIR) $(ALLINC) $(SRCDIR)/shared/ \
../io
# Define C warning options here. # Define C warning options here.
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes

View File

@ -2,7 +2,7 @@
#include "hal.h" #include "hal.h"
#include "flash.h" #include "flash.h"
#include "../io_pins.h" #include "io_pins.h"
#include <cstring> #include <cstring>