Update arduino empty template, make it compile
[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/cpu/avr/drv/ser_avr.c \
23         bertos/cpu/avr/drv/ser_mega.c \
24         bertos/cpu/avr/drv/timer_avr.c \
25         bertos/cpu/avr/drv/timer_mega.c \
26         bertos/drv/ser.c \
27         bertos/drv/timer.c \
28         bertos/io/kfile.c \
29         bertos/mware/event.c \
30         bertos/mware/formatwr.c \
31         bertos/mware/hex.c \
32         bertos/struct/heap.c \
33         #
34
35 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_PCSRC INSTEAD!
36 arduino_empty_WIZARD_PCSRC = \
37         bertos/mware/formatwr.c \
38         #
39
40 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_CPPASRC INSTEAD!
41 arduino_empty_WIZARD_CPPASRC = \
42          \
43         #
44
45 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_CXXSRC INSTEAD!
46 arduino_empty_WIZARD_CXXSRC = \
47          \
48         #
49
50 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_empty_USER_ASRC INSTEAD!
51 arduino_empty_WIZARD_ASRC = \
52          \
53         #
54
55 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)
56
57 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
58 arduino_empty_LDFLAGS = $(arduino_empty_CPU_LDFLAGS) $(arduino_empty_WIZARD_LDFLAGS) $(arduino_empty_USER_LDFLAGS)
59
60 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
61 arduino_empty_CPPAFLAGS = $(arduino_empty_CPU_CPPAFLAGS) $(arduino_empty_WIZARD_CPPAFLAGS) $(arduino_empty_USER_CPPAFLAGS)
62
63 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
64 arduino_empty_CSRC = $(arduino_empty_CPU_CSRC) $(arduino_empty_WIZARD_CSRC) $(arduino_empty_USER_CSRC)
65
66 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
67 arduino_empty_PCSRC = $(arduino_empty_CPU_PCSRC) $(arduino_empty_WIZARD_PCSRC) $(arduino_empty_USER_PCSRC)
68
69 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
70 arduino_empty_CPPASRC = $(arduino_empty_CPU_CPPASRC) $(arduino_empty_WIZARD_CPPASRC) $(arduino_empty_USER_CPPASRC)
71
72 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
73 arduino_empty_CXXSRC = $(arduino_empty_CPU_CXXSRC) $(arduino_empty_WIZARD_CXXSRC) $(arduino_empty_USER_CXXSRC)
74
75 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
76 arduino_empty_ASRC = $(arduino_empty_CPU_ASRC) $(arduino_empty_WIZARD_ASRC) $(arduino_empty_USER_ASRC)
77
78 # CPU specific flags and options, defined in the CPU definition files.
79 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
80 arduino_empty_MCU = atmega328p
81 arduino_empty_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
82 arduino_empty_PROGRAMMER_CPU = atmega328p
83 arduino_empty_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
84 arduino_empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
85 arduino_empty_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
86 arduino_empty_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
87
88 include $(arduino_empty_SRC_PATH)/arduino_empty_user.mk