Update the presets.
[bertos.git] / boards / arduino / templates / arduino_empty / arduino_empty.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the arduino_empty_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 arduino_empty_DEBUG = 1
8
9 # Our target application
10 TRG += arduino_empty
11
12 arduino_empty_PREFIX = "avr-"
13
14 arduino_empty_SUFFIX = ""
15
16 arduino_empty_SRC_PATH = boards/arduino/templates/arduino_empty
17
18 arduino_empty_HW_PATH = boards/arduino
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_CSRC INSTEAD!
21 arduino_empty_WIZARD_CSRC = \
22         bertos/mware/event.c \
23         bertos/struct/heap.c \
24         bertos/io/kfile.c \
25         bertos/mware/formatwr.c \
26         bertos/drv/timer.c \
27         bertos/cpu/avr/drv/timer_avr.c \
28         bertos/cpu/avr/drv/ser_avr.c \
29         bertos/drv/ser.c \
30         bertos/mware/hex.c \
31         #
32
33 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_PCSRC INSTEAD!
34 arduino_empty_WIZARD_PCSRC = \
35         bertos/mware/formatwr.c \
36         #
37
38 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_CPPASRC INSTEAD!
39 arduino_empty_WIZARD_CPPASRC = \
40          \
41         #
42
43 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_CXXSRC INSTEAD!
44 arduino_empty_WIZARD_CXXSRC = \
45          \
46         #
47
48 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_ASRC INSTEAD!
49 arduino_empty_WIZARD_ASRC = \
50          \
51         #
52
53 arduino_empty_CPPFLAGS = -D'CPU_FREQ=(16000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(arduino_empty_HW_PATH) -I$(arduino_empty_SRC_PATH) $(arduino_empty_CPU_CPPFLAGS) $(arduino_empty_USER_CPPFLAGS)
54
55 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
56 arduino_empty_LDFLAGS = $(arduino_empty_CPU_LDFLAGS) $(arduino_empty_WIZARD_LDFLAGS) $(arduino_empty_USER_LDFLAGS)
57
58 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
59 arduino_empty_CPPAFLAGS = $(arduino_empty_CPU_CPPAFLAGS) $(arduino_empty_WIZARD_CPPAFLAGS) $(arduino_empty_USER_CPPAFLAGS)
60
61 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
62 arduino_empty_CSRC = $(arduino_empty_CPU_CSRC) $(arduino_empty_WIZARD_CSRC) $(arduino_empty_USER_CSRC)
63
64 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
65 arduino_empty_PCSRC = $(arduino_empty_CPU_PCSRC) $(arduino_empty_WIZARD_PCSRC) $(arduino_empty_USER_PCSRC)
66
67 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
68 arduino_empty_CPPASRC = $(arduino_empty_CPU_CPPASRC) $(arduino_empty_WIZARD_CPPASRC) $(arduino_empty_USER_CPPASRC)
69
70 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
71 arduino_empty_CXXSRC = $(arduino_empty_CPU_CXXSRC) $(arduino_empty_WIZARD_CXXSRC) $(arduino_empty_USER_CXXSRC)
72
73 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
74 arduino_empty_ASRC = $(arduino_empty_CPU_ASRC) $(arduino_empty_WIZARD_ASRC) $(arduino_empty_USER_ASRC)
75
76 # CPU specific flags and options, defined in the CPU definition files.
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 arduino_empty_MCU = atmega328p
79 arduino_empty_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
80 arduino_empty_PROGRAMMER_CPU = atmega328p
81 arduino_empty_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
82 arduino_empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
83 arduino_empty_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
84 arduino_empty_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
85
86 include $(arduino_empty_SRC_PATH)/arduino_empty_user.mk