-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmakefile
51 lines (44 loc) · 1.56 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Hey Emacs, this is a -*- makefile -*-
#----------------------------------------------------------------------------
#
# Makefile for ChipWhisperer SimpleSerial-AES Program
#
#----------------------------------------------------------------------------
# On command line:
#
# make all = Make software.
#
# make clean = Clean out built project files.
#
# make coff = Convert ELF to AVR COFF.
#
# make extcoff = Convert ELF to AVR Extended COFF.
#
# make program = Download the hex file to the device, using avrdude.
# Please customize the avrdude settings below first!
#
# make debug = Start either simulavr or avarice as specified for debugging,
# with avr-gdb or avr-insight as the front end for debugging.
#
# make filename.s = Just compile filename.c into the assembler code only.
#
# make filename.i = Create a preprocessed source file for use in submitting
# bug reports to the GCC project.
#
# To rebuild project do "make clean" then "make all".
#----------------------------------------------------------------------------
# Target file name (without extension).
# This is the base name of the compiled .hex file.
TARGET = simpleserial-target
# List C source files here.
# Header files (.h) are automatically pulled in.
SRC += main.c
SS_VER=SS_VER_2_1
PLATFORM=CWLITEARM
# -----------------------------------------------------------------------------
debugging:
gcc -o debug-target debug-source.c main.c
#Add simpleserial project to build
include simpleserial/Makefile.simpleserial
FIRMWAREPATH = .
include $(FIRMWAREPATH)/Makefile.inc