add compile flags (CoC autocomplete) for 324pa
This commit is contained in:
12
Firmware/compile_flags.txt
Normal file
12
Firmware/compile_flags.txt
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
--target=avr
|
||||||
|
-D
|
||||||
|
__AVR_ATmega324PA__
|
||||||
|
-D
|
||||||
|
F_CPU=16000000UL
|
||||||
|
-I
|
||||||
|
/usr/lib/avr/include
|
||||||
|
-I
|
||||||
|
./include
|
||||||
|
-I
|
||||||
|
../../dmm-libs/include
|
||||||
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
TARGET = main
|
TARGET = main
|
||||||
SRCS := $(shell find ../../dmm-libs/src/ -name '*.c') $(shell find src/ -name '*.c')
|
SRCS := $(shell find ../../dmm-libs/src/ -name '*.c') $(shell find src/ -name '*.c')
|
||||||
FILES = $(SRCS:%.c=%) #main uart avrIOhelper/io-helper #uart#hier alle c-Datein reinschreiben, trennung durch " " und ohne .c-Endung
|
FILES = $(SRCS:%.c=%) #main uart avrIOhelper/io-helper #uart#hier alle c-Datein reinschreiben, trennung durch " " und ohne .c-Endung
|
||||||
MCU = atmega1284
|
MCU = atmega324pa
|
||||||
PROGC = m1284
|
PROGC = m324pa
|
||||||
CC = avr-gcc
|
CC = avr-gcc
|
||||||
#TOOL = stk500 -P /dev/ttyUSB0
|
#TOOL = stk500 -P /dev/ttyUSB0
|
||||||
TOOL = atmelice
|
TOOL = atmelice
|
||||||
|
|||||||
Reference in New Issue
Block a user