You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

671 lines
27 KiB
Makefile

################################################################################
# Automatically-generated file. Do not edit!
################################################################################
ARM_TOOLCHAIN=/home/penguin/Documents/ARM_Toolchain/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-
GDB=arm-none-eabi-gdb
SIZE=$(ARM_TOOLCHAIN)size
CC=$(ARM_TOOLCHAIN)gcc
AS=$(ARM_TOOLCHAIN)as
OBJDUMP=$(ARM_TOOLCHAIN)objdump
OBJCOPY=$(ARM_TOOLCHAIN)objcopy
ifdef SystemRoot
SHELL = cmd.exe
MK_DIR = mkdir
else
ifeq ($(shell uname), Linux)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), CYGWIN)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW32)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW64)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), DARWIN)
MK_DIR = mkdir -p
endif
endif
print-% : ; @echo $* = $($*)
# List the subdirectories for creating object files
SUB_DIRS += \
\
hpl/pm \
hpl/tc \
hpl/osc32kctrl \
hpl/ramecc \
hpl/dmac \
hal/src \
build \
hpl/mclk \
hpl/eic \
hpl/sercom \
hpl/gclk \
hpl/oscctrl \
hal/utils/src \
build/gcc \
hpl/core \
hpl/cmcc \
shared/drivers \
shared/devices \
shared/devices/display \
shared/thirdparty/lvgl/porting \
shared/thirdparty/lvgl/src/lv_core \
shared/thirdparty/lvgl/src/lv_draw \
shared/thirdparty/lvgl/src/lv_font \
shared/thirdparty/lvgl/src/lv_gpu \
shared/thirdparty/lvgl/src/lv_hal \
shared/thirdparty/lvgl/src/lv_misc \
shared/thirdparty/lvgl/src/lv_themes \
shared/thirdparty/lvgl/src/lv_widgets \
shared/thirdparty/lvgl/tests \
shared/thirdparty/lvgl/tests/lv_test_core \
shared/thirdparty/lvgl/tests/lv_test_objx
# List the object files
OBJS += \
hal/src/hal_io.o \
hpl/eic/hpl_eic.o \
hpl/core/hpl_core_m4.o \
hal/utils/src/utils_syscalls.o \
hal/src/hal_timer.o \
build/system_same54.o \
hal/src/hal_i2c_m_sync.o \
hal/src/hal_delay.o \
hpl/pm/hpl_pm.o \
hpl/core/hpl_init.o \
hpl/ramecc/hpl_ramecc.o \
hal/utils/src/utils_list.o \
hal/utils/src/utils_assert.o \
hpl/dmac/hpl_dmac.o \
hpl/oscctrl/hpl_oscctrl.o \
hpl/mclk/hpl_mclk.o \
hpl/sercom/hpl_sercom.o \
hpl/gclk/hpl_gclk.o \
hal/src/hal_init.o \
build/build/startup_same54.o \
main.o \
oracle.o \
hpl/osc32kctrl/hpl_osc32kctrl.o \
driver_init.o \
hal/src/hal_usart_async.o \
hal/src/hal_ext_irq.o \
hal/utils/src/utils_ringbuffer.o \
hal/src/hal_gpio.o \
hal/utils/src/utils_event.o \
hal/src/hal_sleep.o \
hal/src/hal_cache.o \
hpl/cmcc/hpl_cmcc.o \
atmel_start.o \
hpl/tc/hpl_tc.o \
hal/src/hal_atomic.o \
shared/drivers/p_gpio.o \
shared/drivers/p_i2c.o \
shared/drivers/p_tcc.o \
shared/drivers/p_usart.o \
shared/devices/p_screen.o \
shared/devices/display/p_ssd1963.o \
shared/thirdparty/lvgl/porting/lv_port_disp_template.o \
shared/thirdparty/lvgl/porting/lv_port_fs_template.o \
shared/thirdparty/lvgl/porting/lv_port_indev_template.o \
shared/thirdparty/lvgl/src/lv_core/lv_debug.o \
shared/thirdparty/lvgl/src/lv_core/lv_disp.o \
shared/thirdparty/lvgl/src/lv_core/lv_group.o \
shared/thirdparty/lvgl/src/lv_core/lv_indev.o \
shared/thirdparty/lvgl/src/lv_core/lv_obj.o \
shared/thirdparty/lvgl/src/lv_core/lv_refr.o \
shared/thirdparty/lvgl/src/lv_core/lv_style.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_arc.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_blend.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_img.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_label.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_line.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_mask.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_rect.o \
shared/thirdparty/lvgl/src/lv_draw/lv_draw_triangle.o \
shared/thirdparty/lvgl/src/lv_draw/lv_img_buf.o \
shared/thirdparty/lvgl/src/lv_draw/lv_img_cache.o \
shared/thirdparty/lvgl/src/lv_draw/lv_img_decoder.o \
shared/thirdparty/lvgl/src/lv_font/lv_font.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_dejavu_16_persian_hebrew.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_fmt_txt.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_12.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_12_subpx.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_14.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_16.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_18.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_20.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_22.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_24.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_26.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_28.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_28_compressed.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_30.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_32.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_34.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_36.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_38.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_40.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_42.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_44.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_46.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_48.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_simsun_16_cjk.o \
shared/thirdparty/lvgl/src/lv_font/lv_font_unscii_8.o \
shared/thirdparty/lvgl/src/lv_gpu/lv_gpu_stm32_dma2d.o \
shared/thirdparty/lvgl/src/lv_hal/lv_hal_disp.o \
shared/thirdparty/lvgl/src/lv_hal/lv_hal_indev.o \
shared/thirdparty/lvgl/src/lv_hal/lv_hal_tick.o \
shared/thirdparty/lvgl/src/lv_misc/lv_anim.o \
shared/thirdparty/lvgl/src/lv_misc/lv_area.o \
shared/thirdparty/lvgl/src/lv_misc/lv_async.o \
shared/thirdparty/lvgl/src/lv_misc/lv_bidi.o \
shared/thirdparty/lvgl/src/lv_misc/lv_color.o \
shared/thirdparty/lvgl/src/lv_misc/lv_fs.o \
shared/thirdparty/lvgl/src/lv_misc/lv_gc.o \
shared/thirdparty/lvgl/src/lv_misc/lv_ll.o \
shared/thirdparty/lvgl/src/lv_misc/lv_log.o \
shared/thirdparty/lvgl/src/lv_misc/lv_math.o \
shared/thirdparty/lvgl/src/lv_misc/lv_mem.o \
shared/thirdparty/lvgl/src/lv_misc/lv_printf.o \
shared/thirdparty/lvgl/src/lv_misc/lv_task.o \
shared/thirdparty/lvgl/src/lv_misc/lv_templ.o \
shared/thirdparty/lvgl/src/lv_misc/lv_txt.o \
shared/thirdparty/lvgl/src/lv_misc/lv_txt_ap.o \
shared/thirdparty/lvgl/src/lv_misc/lv_utils.o \
shared/thirdparty/lvgl/src/lv_themes/lv_theme.o \
shared/thirdparty/lvgl/src/lv_themes/lv_theme_empty.o \
shared/thirdparty/lvgl/src/lv_themes/lv_theme_material.o \
shared/thirdparty/lvgl/src/lv_themes/lv_theme_mono.o \
shared/thirdparty/lvgl/src/lv_themes/lv_theme_template.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_arc.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_bar.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_btn.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_btnmatrix.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_calendar.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_canvas.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_chart.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_checkbox.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_cont.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_cpicker.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_dropdown.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_gauge.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_img.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_imgbtn.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_keyboard.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_label.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_led.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_line.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_linemeter.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_list.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_msgbox.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_objmask.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_objx_templ.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_page.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_roller.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_slider.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_spinbox.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_spinner.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_switch.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_table.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_tabview.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_textarea.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_tileview.o \
shared/thirdparty/lvgl/src/lv_widgets/lv_win.o \
shared/thirdparty/lvgl/tests/lv_test_assert.o \
shared/thirdparty/lvgl/tests/lv_test_core/lv_test_core.o \
shared/thirdparty/lvgl/tests/lv_test_core/lv_test_obj.o \
shared/thirdparty/lvgl/tests/lv_test_core/lv_test_style.o \
shared/thirdparty/lvgl/tests/lv_test_main.o \
shared/thirdparty/lvgl/tests/lv_test_objx/lv_test_cont.o
OBJS_AS_ARGS += \
"hal/src/hal_io.o" \
"hpl/eic/hpl_eic.o" \
"hpl/core/hpl_core_m4.o" \
"hal/utils/src/utils_syscalls.o" \
"hal/src/hal_timer.o" \
"build/system_same54.o" \
"hal/src/hal_i2c_m_sync.o" \
"hal/src/hal_delay.o" \
"hpl/pm/hpl_pm.o" \
"hpl/core/hpl_init.o" \
"hpl/ramecc/hpl_ramecc.o" \
"hal/utils/src/utils_list.o" \
"hal/utils/src/utils_assert.o" \
"hpl/dmac/hpl_dmac.o" \
"hpl/oscctrl/hpl_oscctrl.o" \
"hpl/mclk/hpl_mclk.o" \
"hpl/sercom/hpl_sercom.o" \
"hpl/gclk/hpl_gclk.o" \
"hal/src/hal_init.o" \
"build/build/startup_same54.o" \
"main.o" \
"oracle.o" \
"hpl/osc32kctrl/hpl_osc32kctrl.o" \
"driver_init.o" \
"hal/src/hal_usart_async.o" \
"hal/src/hal_ext_irq.o" \
"hal/utils/src/utils_ringbuffer.o" \
"hal/src/hal_gpio.o" \
"hal/utils/src/utils_event.o" \
"hal/src/hal_sleep.o" \
"hal/src/hal_cache.o" \
"hpl/cmcc/hpl_cmcc.o" \
"atmel_start.o" \
"hpl/tc/hpl_tc.o" \
"hal/src/hal_atomic.o" \
"shared/drivers/p_gpio.o" \
"shared/drivers/p_i2c.o" \
"shared/drivers/p_tcc.o" \
"shared/drivers/p_usart.o" \
"shared/devices/p_screen.o" \
"shared/devices/display/p_ssd1963.o" \
"shared/thirdparty/lvgl/porting/lv_port_disp_template.o" \
"shared/thirdparty/lvgl/porting/lv_port_fs_template.o" \
"shared/thirdparty/lvgl/porting/lv_port_indev_template.o" \
"shared/thirdparty/lvgl/src/lv_core/lv_debug.o" \
"shared/thirdparty/lvgl/src/lv_core/lv_disp.o" \
"shared/thirdparty/lvgl/src/lv_core/lv_group.o" \
"shared/thirdparty/lvgl/src/lv_core/lv_indev.o" \
"shared/thirdparty/lvgl/src/lv_core/lv_obj.o" \
"shared/thirdparty/lvgl/src/lv_core/lv_refr.o" \
"shared/thirdparty/lvgl/src/lv_core/lv_style.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_arc.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_blend.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_img.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_label.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_line.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_mask.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_rect.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_triangle.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_img_buf.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_img_cache.o" \
"shared/thirdparty/lvgl/src/lv_draw/lv_img_decoder.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_dejavu_16_persian_hebrew.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_fmt_txt.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_12.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_12_subpx.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_14.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_16.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_18.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_20.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_22.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_24.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_26.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_28.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_28_compressed.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_30.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_32.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_34.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_36.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_38.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_40.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_42.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_44.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_46.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_48.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_simsun_16_cjk.o" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_unscii_8.o" \
"shared/thirdparty/lvgl/src/lv_gpu/lv_gpu_stm32_dma2d.o" \
"shared/thirdparty/lvgl/src/lv_hal/lv_hal_disp.o" \
"shared/thirdparty/lvgl/src/lv_hal/lv_hal_indev.o" \
"shared/thirdparty/lvgl/src/lv_hal/lv_hal_tick.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_anim.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_area.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_async.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_bidi.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_color.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_fs.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_gc.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_ll.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_log.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_math.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_mem.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_printf.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_task.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_templ.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_txt.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_txt_ap.o" \
"shared/thirdparty/lvgl/src/lv_misc/lv_utils.o" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme.o" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_empty.o" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_material.o" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_mono.o" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_template.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_arc.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_bar.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_btn.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_btnmatrix.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_calendar.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_canvas.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_chart.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_checkbox.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_cont.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_cpicker.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_dropdown.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_gauge.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_img.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_imgbtn.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_keyboard.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_label.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_led.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_line.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_linemeter.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_list.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_msgbox.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_objmask.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_objx_templ.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_page.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_roller.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_slider.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_spinbox.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_spinner.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_switch.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_table.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_tabview.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_textarea.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_tileview.o" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_win.o" \
"shared/thirdparty/lvgl/tests/lv_test_assert.o" \
"shared/thirdparty/lvgl/tests/lv_test_core/lv_test_core.o" \
"shared/thirdparty/lvgl/tests/lv_test_core/lv_test_obj.o" \
"shared/thirdparty/lvgl/tests/lv_test_core/lv_test_style.o" \
"shared/thirdparty/lvgl/tests/lv_test_main.o" \
"shared/thirdparty/lvgl/tests/lv_test_objx/lv_test_cont.o"
# List the directories containing header files
DIR_INCLUDES += \
-I"../" \
-I"../config" \
-I"../hal/include" \
-I"../hal/utils/include" \
-I"../hpl/cmcc" \
-I"../hpl/core" \
-I"../hpl/dmac" \
-I"../hpl/eic" \
-I"../hpl/gclk" \
-I"../hpl/mclk" \
-I"../hpl/osc32kctrl" \
-I"../hpl/oscctrl" \
-I"../hpl/pm" \
-I"../hpl/port" \
-I"../hpl/ramecc" \
-I"../hpl/sercom" \
-I"../hpl/tc" \
-I"../hri" \
-I"../CMSIS/Core/Include" \
-I"../include" \
-I"../shared/thirdparty" \
-I"../shared/thirdparty/lvgl" \
-I"../shared/drivers" \
-I"../shared/devices" \
-I"../shared/devices/display"
# List the dependency files
DEPS := $(OBJS:%.o=%.d)
DEPS_AS_ARGS += \
"hal/utils/src/utils_event.d" \
"hal/src/hal_io.d" \
"hpl/ramecc/hpl_ramecc.d" \
"hpl/core/hpl_core_m4.d" \
"hpl/eic/hpl_eic.d" \
"hal/utils/src/utils_syscalls.d" \
"hal/src/hal_i2c_m_sync.d" \
"hal/src/hal_timer.d" \
"hal/utils/src/utils_list.d" \
"hpl/cmcc/hpl_cmcc.d" \
"hpl/dmac/hpl_dmac.d" \
"hal/utils/src/utils_assert.d" \
"hal/src/hal_delay.d" \
"hpl/core/hpl_init.d" \
"hpl/pm/hpl_pm.d" \
"hpl/gclk/hpl_gclk.d" \
"hpl/sercom/hpl_sercom.d" \
"build/build/startup_same54.d" \
"hal/src/hal_init.d" \
"hpl/mclk/hpl_mclk.d" \
"driver_init.d" \
"hal/src/hal_usart_async.d" \
"hpl/osc32kctrl/hpl_osc32kctrl.d" \
"main.d" \
"hal/src/hal_cache.d" \
"hal/src/hal_sleep.d" \
"hal/utils/src/utils_ringbuffer.d" \
"hal/src/hal_ext_irq.d" \
"hal/src/hal_gpio.d" \
"hal/src/hal_atomic.d" \
"hpl/tc/hpl_tc.d" \
"hpl/oscctrl/hpl_oscctrl.d" \
"build/system_same54.d" \
"atmel_start.d" \
"shared/drivers/p_gpio.d" \
"shared/drivers/p_i2c.d" \
"shared/drivers/p_tcc.d" \
"shared/drivers/p_usart.d" \
"shared/devices/p_screen.d" \
"shared/devices/display/p_ssd1963.d" \
"shared/thirdparty/lvgl/porting/lv_port_disp_template.d" \
"shared/thirdparty/lvgl/porting/lv_port_fs_template.d" \
"shared/thirdparty/lvgl/porting/lv_port_indev_template.d" \
"shared/thirdparty/lvgl/src/lv_core/lv_debug.d" \
"shared/thirdparty/lvgl/src/lv_core/lv_disp.d" \
"shared/thirdparty/lvgl/src/lv_core/lv_group.d" \
"shared/thirdparty/lvgl/src/lv_core/lv_indev.d" \
"shared/thirdparty/lvgl/src/lv_core/lv_obj.d" \
"shared/thirdparty/lvgl/src/lv_core/lv_refr.d" \
"shared/thirdparty/lvgl/src/lv_core/lv_style.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_arc.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_blend.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_img.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_label.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_line.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_mask.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_rect.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_draw_triangle.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_img_buf.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_img_cache.d" \
"shared/thirdparty/lvgl/src/lv_draw/lv_img_decoder.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_dejavu_16_persian_hebrew.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_fmt_txt.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_12.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_12_subpx.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_14.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_16.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_18.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_20.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_22.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_24.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_26.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_28.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_28_compressed.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_30.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_32.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_34.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_36.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_38.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_40.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_42.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_44.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_46.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_montserrat_48.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_simsun_16_cjk.d" \
"shared/thirdparty/lvgl/src/lv_font/lv_font_unscii_8.d" \
"shared/thirdparty/lvgl/src/lv_gpu/lv_gpu_stm32_dma2d.d" \
"shared/thirdparty/lvgl/src/lv_hal/lv_hal_disp.d" \
"shared/thirdparty/lvgl/src/lv_hal/lv_hal_indev.d" \
"shared/thirdparty/lvgl/src/lv_hal/lv_hal_tick.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_anim.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_area.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_async.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_bidi.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_color.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_fs.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_gc.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_ll.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_log.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_math.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_mem.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_printf.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_task.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_templ.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_txt.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_txt_ap.d" \
"shared/thirdparty/lvgl/src/lv_misc/lv_utils.d" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme.d" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_empty.d" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_material.d" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_mono.d" \
"shared/thirdparty/lvgl/src/lv_themes/lv_theme_template.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_arc.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_bar.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_btn.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_btnmatrix.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_calendar.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_canvas.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_chart.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_checkbox.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_cont.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_cpicker.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_dropdown.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_gauge.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_img.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_imgbtn.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_keyboard.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_label.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_led.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_line.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_linemeter.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_list.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_msgbox.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_objmask.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_objx_templ.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_page.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_roller.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_slider.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_spinbox.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_spinner.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_switch.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_table.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_tabview.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_textarea.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_tileview.d" \
"shared/thirdparty/lvgl/src/lv_widgets/lv_win.d" \
"shared/thirdparty/lvgl/tests/lv_test_assert.d" \
"shared/thirdparty/lvgl/tests/lv_test_core/lv_test_core.d" \
"shared/thirdparty/lvgl/tests/lv_test_core/lv_test_obj.d" \
"shared/thirdparty/lvgl/tests/lv_test_core/lv_test_style.d" \
"shared/thirdparty/lvgl/tests/lv_test_main.d" \
"shared/thirdparty/lvgl/tests/lv_test_objx/lv_test_cont.d"
OUTPUT_FILE_NAME :=oracle-e54
QUOTE := "
OUTPUT_FILE_PATH +=$(OUTPUT_FILE_NAME).elf
OUTPUT_FILE_PATH_AS_ARGS +=$(OUTPUT_FILE_NAME).elf
vpath %.c ../
vpath %.s ../
vpath %.S ../
# All Target
all: $(SUB_DIRS) $(OUTPUT_FILE_PATH)
# Linker target
$(OUTPUT_FILE_PATH): $(OBJS)
@echo Building target: $@
@echo Invoking: ARM/GNU Linker
$(QUOTE)$(CC)$(QUOTE) -o $(OUTPUT_FILE_NAME).elf $(OBJS_AS_ARGS) -Wl,--start-group -lm -Wl,--end-group -mthumb \
-Wl,-Map="$(OUTPUT_FILE_NAME).map" --specs=nano.specs -Wl,--gc-sections -mcpu=cortex-m4 \
\
-T"../build/build/same54p20a_flash.ld" \
-L"../build/gcc"
@echo Finished building target: $@
"$(OBJCOPY)" -O binary "$(OUTPUT_FILE_NAME).elf" "$(OUTPUT_FILE_NAME).bin"
"$(OBJCOPY)" -O ihex -R .eeprom -R .fuse -R .lock -R .signature \
"$(OUTPUT_FILE_NAME).elf" "$(OUTPUT_FILE_NAME).hex"
"$(OBJCOPY)" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma \
.eeprom=0 --no-change-warnings -O binary "$(OUTPUT_FILE_NAME).elf" \
"$(OUTPUT_FILE_NAME).eep" || exit 0
"$(OBJDUMP)" -h -S "$(OUTPUT_FILE_NAME).elf" > "$(OUTPUT_FILE_NAME).lss"
"$(SIZE)" "$(OUTPUT_FILE_NAME).elf"
# Compiler targets
%.o: %.c
@echo Building file: $<
@echo ARM/GNU C Compiler
$(QUOTE)$(CC)$(QUOTE) -x c -mthumb -DDEBUG -DLV_CONF_INCLUDE_SIMPLE -Os -ffunction-sections -mlong-calls -g3 -Wall -c -std=gnu99 \
-D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 \
$(DIR_INCLUDES) \
-MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
%.o: %.s
@echo Building file: $<
@echo ARM/GNU Assembler
$(QUOTE)$(AS)$(QUOTE) -x c -mthumb -DDEBUG -DLV_CONF_INCLUDE_SIMPLE -Os -ffunction-sections -mlong-calls -g3 -Wall -c -std=gnu99 \
-D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 \
$(DIR_INCLUDES) \
-MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
%.o: %.S
@echo Building file: $<
@echo ARM/GNU Preprocessing Assembler
$(QUOTE)$(CC)$(QUOTE) -x c -mthumb -DDEBUG -DLV_CONF_INCLUDE_SIMPLE -Os -ffunction-sections -mlong-calls -g3 -Wall -c -std=gnu99 \
-D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 \
$(DIR_INCLUDES) \
-MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
# Detect changes in the dependent files and recompile the respective object files.
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(DEPS)),)
-include $(DEPS)
endif
endif
$(SUB_DIRS):
$(MK_DIR) "$@"
clean:
rm -f $(OBJS_AS_ARGS)
rm -f $(OUTPUT_FILE_PATH)
rm -f $(DEPS)
rm -f $(DEPS_AS_ARGS)
rm -f $(OUTPUT_FILE_NAME).a $(OUTPUT_FILE_NAME).hex $(OUTPUT_FILE_NAME).bin \
$(OUTPUT_FILE_NAME).lss $(OUTPUT_FILE_NAME).eep $(OUTPUT_FILE_NAME).map \
$(OUTPUT_FILE_NAME).srec
push:\
all
@echo $(QUOTE)$(QUOTE)
@echo $(QUOTE)Uploading $(OUTPUT_FILE_NAME).elf...$(QUOTE)
@$(GDB) $(OUTPUT_FILE_NAME).elf -x $(QUOTE)../scripts/push.gdb$(QUOTE) >/dev/null
@echo $(QUOTE)$(QUOTE)$(OUTPUT_FILE_NAME).elf $(QUOTE) uploaded!$(QUOTE)
@$(QUOTE)$(SIZE)$(QUOTE) $(QUOTE)$(OUTPUT_FILE_NAME).elf$(QUOTE)
debug:\
all
@$(GDB) $(OUTPUT_FILE_NAME).elf -x $(QUOTE)../scripts/debug.gdb$(QUOTE)