Clean up Makefile includes
This commit is contained in:
parent
dcca42d597
commit
d0e9806d2b
@ -30,7 +30,8 @@ CSTANDARD = -std=gnu99
|
|||||||
CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__
|
CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__
|
||||||
|
|
||||||
# Place -I options here
|
# Place -I options here
|
||||||
CINCS = -I $(INC_DIR) -I$(COMMON_INC_DIR)
|
CINCS = -I /usr/avr/include -I /usr/lib/gcc/avr/7.2.0/include \
|
||||||
|
-I $(INC_DIR) -I $(COMMON_INC_DIR)
|
||||||
|
|
||||||
CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
|
CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
|
||||||
#CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
|
#CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
|
||||||
|
@ -30,7 +30,8 @@ CSTANDARD = -std=gnu99
|
|||||||
CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__
|
CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__
|
||||||
|
|
||||||
# Place -I options here
|
# Place -I options here
|
||||||
CINCS = -I $(INC_DIR) -I$(COMMON_INC_DIR)
|
CINCS = -I /usr/avr/include -I /usr/lib/gcc/avr/7.2.0/include \
|
||||||
|
-I $(INC_DIR) -I $(COMMON_INC_DIR)
|
||||||
|
|
||||||
CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
|
CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
|
||||||
#CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
|
#CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#include <avr/interrupt.h>
|
#include <avr/interrupt.h>
|
||||||
#include <util/delay.h>
|
#include <util/delay.h>
|
||||||
#include "sonar.h"
|
#include "sonar.h"
|
||||||
|
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
|
|
||||||
volatile uint32_t trig_counter;
|
volatile uint32_t trig_counter;
|
||||||
|
Loading…
Reference in New Issue
Block a user