aboutsummaryrefslogtreecommitdiffstats
path: root/common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc/config.mk
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-07 19:59:35 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-07 19:59:35 +0200
commit3634cc8e5d3124e3cf6cf46c0f1d5385ff511426 (patch)
tree1af66e339e767fc62d588766fd8d3b26edd29e3b /common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc/config.mk
initial check-in of ASF 3.39.0
Diffstat (limited to 'common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc/config.mk')
-rw-r--r--common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc/config.mk146
1 files changed, 146 insertions, 0 deletions
diff --git a/common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc/config.mk b/common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc/config.mk
new file mode 100644
index 00000000..6287c00a
--- /dev/null
+++ b/common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc/config.mk
@@ -0,0 +1,146 @@
+#
+# Copyright (c) 2011 Atmel Corporation. All rights reserved.
+#
+# \asf_license_start
+#
+# \page License
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# 3. The name of Atmel may not be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# 4. This software may only be redistributed and used in connection with an
+# Atmel microcontroller product.
+#
+# THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
+# EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
+# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+# \asf_license_stop
+#
+
+# Path to top level ASF directory relative to this project directory.
+PRJ_PATH = ../../../../../../../..
+
+# Target CPU architecture: cortex-m3, cortex-m4
+ARCH = cortex-m0
+
+# Target part: none, sam3n4 or sam4l4aa
+PART = samb11zr
+
+# Application target name. Given with suffix .a for library and .elf for a
+# standalone application.
+TARGET_FLASH = at30tse75x_example_flash.elf
+TARGET_SRAM = at30tse75x_example_sram.elf
+
+# List of C source files.
+CSRCS = \
+ common/utils/interrupt/interrupt_sam_nvic.c \
+ common2/components/memory/eeprom/at30tse75x/at30tse75x.c \
+ common2/components/memory/eeprom/at30tse75x/example/at30tes_example.c \
+ sam0/boards/samb11zr_xplained_pro/board_init.c \
+ sam0/drivers/gpio/gpio.c \
+ sam0/drivers/i2c/i2c_master.c \
+ sam0/drivers/i2c/i2c_master_interrupt.c \
+ sam0/drivers/system/system_sam_b.c \
+ sam0/utils/cmsis/samb11/source/gcc/startup_samb11.c \
+ sam0/utils/cmsis/samb11/source/system_samb11.c \
+ sam0/utils/syscalls/gcc/syscalls.c
+
+# List of assembler source files.
+ASSRCS =
+
+# List of include paths.
+INC_PATH = \
+ common/boards \
+ common/utils \
+ common2/components/memory/eeprom/at30tse75x \
+ common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro \
+ sam0/boards \
+ sam0/boards/samb11zr_xplained_pro \
+ sam0/drivers/gpio \
+ sam0/drivers/i2c \
+ sam0/drivers/system \
+ sam0/utils \
+ sam0/utils/cmsis/samb11/include \
+ sam0/utils/cmsis/samb11/source \
+ sam0/utils/header_files \
+ sam0/utils/preprocessor \
+ thirdparty/CMSIS/Include \
+ thirdparty/CMSIS/Lib/GCC \
+ common2/components/memory/eeprom/at30tse75x/example/samb11zr_xplained_pro/gcc
+
+# Additional search paths for libraries.
+LIB_PATH = \
+ thirdparty/CMSIS/Lib/GCC
+
+# List of libraries to use during linking.
+LIBS = \
+ arm_cortexM0l_math
+
+# Path relative to top level directory pointing to a linker script.
+LINKER_SCRIPT_FLASH = sam0/utils/linker_scripts/samb11/gcc/samb11g18a_sram.ld
+LINKER_SCRIPT_SRAM = sam0/utils/linker_scripts/samb11/gcc/samb11g18a_sram.ld
+
+# Path relative to top level directory pointing to a linker script.
+DEBUG_SCRIPT_FLASH =
+DEBUG_SCRIPT_SRAM = sam0/boards/samb11zr_xplained_pro/debug_scripts/gcc/samb11zr_xplained_pro_sram.gdb
+
+# Project type parameter: all, sram or flash
+PROJECT_TYPE = flash
+
+# Additional options for debugging. By default the common Makefile.in will
+# add -g3.
+DBGFLAGS =
+
+# Application optimization used during compilation and linking:
+# -O0, -O1, -O2, -O3 or -Os
+OPTIMIZATION = -O1
+
+# Extra flags to use when archiving.
+ARFLAGS =
+
+# Extra flags to use when assembling.
+ASFLAGS =
+
+# Extra flags to use when compiling.
+CFLAGS =
+
+# Extra flags to use when preprocessing.
+#
+# Preprocessor symbol definitions
+# To add a definition use the format "-D name[=definition]".
+# To cancel a definition use the format "-U name".
+#
+# The most relevant symbols to define for the preprocessor are:
+# BOARD Target board in use, see boards/board.h for a list.
+# EXT_BOARD Optional extension board in use, see boards/board.h for a list.
+CPPFLAGS = \
+ -D ARM_MATH_CM0PLUS=true \
+ -D BOARD=SAMB11ZR_XPLAINED_PRO \
+ -D I2C_MASTER_CALLBACK_MODE=true \
+ -D __SAMB11ZR__
+
+# Extra flags to use when linking
+LDFLAGS = \
+
+# Pre- and post-build commands
+PREBUILD_CMD =
+POSTBUILD_CMD = \ No newline at end of file