2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the arduino_kernel_user.mk file instead.
6 # Constants automatically defined by the selected modules
7 arduino_kernel_DEBUG = 1
9 # Our target application
12 arduino_kernel_PREFIX = "avr-"
14 arduino_kernel_SUFFIX = ""
16 arduino_kernel_SRC_PATH = boards/arduino/templates/arduino_kernel
18 arduino_kernel_HW_PATH = boards/arduino
20 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_kernel_USER_CSRC INSTEAD!
21 arduino_kernel_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 \
29 bertos/kern/monitor.c \
32 bertos/kern/signal.c \
33 bertos/mware/event.c \
34 bertos/mware/formatwr.c \
36 bertos/struct/heap.c \
39 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_kernel_USER_PCSRC INSTEAD!
40 arduino_kernel_WIZARD_PCSRC = \
41 bertos/mware/formatwr.c \
44 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_kernel_USER_CPPASRC INSTEAD!
45 arduino_kernel_WIZARD_CPPASRC = \
46 bertos/cpu/avr/hw/switch_ctx_avr.S \
49 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_kernel_USER_CXXSRC INSTEAD!
50 arduino_kernel_WIZARD_CXXSRC = \
54 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_kernel_USER_ASRC INSTEAD!
55 arduino_kernel_WIZARD_ASRC = \
59 arduino_kernel_CPPFLAGS = -D'CPU_FREQ=(16000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(arduino_kernel_HW_PATH) -I$(arduino_kernel_SRC_PATH) $(arduino_kernel_CPU_CPPFLAGS) $(arduino_kernel_USER_CPPFLAGS)
61 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
62 arduino_kernel_LDFLAGS = $(arduino_kernel_CPU_LDFLAGS) $(arduino_kernel_WIZARD_LDFLAGS) $(arduino_kernel_USER_LDFLAGS)
64 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
65 arduino_kernel_CPPAFLAGS = $(arduino_kernel_CPU_CPPAFLAGS) $(arduino_kernel_WIZARD_CPPAFLAGS) $(arduino_kernel_USER_CPPAFLAGS)
67 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
68 arduino_kernel_CSRC = $(arduino_kernel_CPU_CSRC) $(arduino_kernel_WIZARD_CSRC) $(arduino_kernel_USER_CSRC)
70 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
71 arduino_kernel_PCSRC = $(arduino_kernel_CPU_PCSRC) $(arduino_kernel_WIZARD_PCSRC) $(arduino_kernel_USER_PCSRC)
73 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
74 arduino_kernel_CPPASRC = $(arduino_kernel_CPU_CPPASRC) $(arduino_kernel_WIZARD_CPPASRC) $(arduino_kernel_USER_CPPASRC)
76 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
77 arduino_kernel_CXXSRC = $(arduino_kernel_CPU_CXXSRC) $(arduino_kernel_WIZARD_CXXSRC) $(arduino_kernel_USER_CXXSRC)
79 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
80 arduino_kernel_ASRC = $(arduino_kernel_CPU_ASRC) $(arduino_kernel_WIZARD_ASRC) $(arduino_kernel_USER_ASRC)
82 # CPU specific flags and options, defined in the CPU definition files.
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 arduino_kernel_MCU = atmega328p
85 arduino_kernel_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
86 arduino_kernel_PROGRAMMER_CPU = atmega328p
87 arduino_kernel_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
88 arduino_kernel_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
89 arduino_kernel_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
90 arduino_kernel_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
92 include $(arduino_kernel_SRC_PATH)/arduino_kernel_user.mk