xref: /btstack/port/samv71-xplained-atwilc3000/example/template/config.mk (revision e07b53a61840d4ca0866385b8fc553ed6dbd96aa)
17d0ceef1SMatthias Ringwald#
27d0ceef1SMatthias Ringwald# Copyright (c) 2011 Atmel Corporation. All rights reserved.
37d0ceef1SMatthias Ringwald#
47d0ceef1SMatthias Ringwald# \asf_license_start
57d0ceef1SMatthias Ringwald#
67d0ceef1SMatthias Ringwald# \page License
77d0ceef1SMatthias Ringwald#
87d0ceef1SMatthias Ringwald# Redistribution and use in source and binary forms, with or without
97d0ceef1SMatthias Ringwald# modification, are permitted provided that the following conditions are met:
107d0ceef1SMatthias Ringwald#
117d0ceef1SMatthias Ringwald# 1. Redistributions of source code must retain the above copyright notice,
127d0ceef1SMatthias Ringwald#    this list of conditions and the following disclaimer.
137d0ceef1SMatthias Ringwald#
147d0ceef1SMatthias Ringwald# 2. Redistributions in binary form must reproduce the above copyright notice,
157d0ceef1SMatthias Ringwald#    this list of conditions and the following disclaimer in the documentation
167d0ceef1SMatthias Ringwald#    and/or other materials provided with the distribution.
177d0ceef1SMatthias Ringwald#
187d0ceef1SMatthias Ringwald# 3. The name of Atmel may not be used to endorse or promote products derived
197d0ceef1SMatthias Ringwald#    from this software without specific prior written permission.
207d0ceef1SMatthias Ringwald#
217d0ceef1SMatthias Ringwald# 4. This software may only be redistributed and used in connection with an
227d0ceef1SMatthias Ringwald#    Atmel microcontroller product.
237d0ceef1SMatthias Ringwald#
247d0ceef1SMatthias Ringwald# THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
257d0ceef1SMatthias Ringwald# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
267d0ceef1SMatthias Ringwald# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
277d0ceef1SMatthias Ringwald# EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
287d0ceef1SMatthias Ringwald# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
297d0ceef1SMatthias Ringwald# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
307d0ceef1SMatthias Ringwald# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
317d0ceef1SMatthias Ringwald# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
327d0ceef1SMatthias Ringwald# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
337d0ceef1SMatthias Ringwald# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
347d0ceef1SMatthias Ringwald# POSSIBILITY OF SUCH DAMAGE.
357d0ceef1SMatthias Ringwald#
367d0ceef1SMatthias Ringwald# \asf_license_stop
377d0ceef1SMatthias Ringwald#
387d0ceef1SMatthias Ringwald
397d0ceef1SMatthias Ringwald# Path to top level ASF directory relative to this project directory.
407d0ceef1SMatthias RingwaldPRJ_PATH = ../../ASF
417d0ceef1SMatthias Ringwald
427d0ceef1SMatthias Ringwald# Target CPU architecture: cortex-m3, cortex-m4
437d0ceef1SMatthias RingwaldARCH = cortex-m7
447d0ceef1SMatthias Ringwald
457d0ceef1SMatthias Ringwald# Target part: none, sam3n4 or sam4l4aa
467d0ceef1SMatthias RingwaldPART = samv71q21
477d0ceef1SMatthias Ringwald
487d0ceef1SMatthias Ringwald# Application target name. Given with suffix .a for library and .elf for a
497d0ceef1SMatthias Ringwald# standalone application.
507d0ceef1SMatthias RingwaldTARGET_FLASH=le_counter_flash.elf
517d0ceef1SMatthias RingwaldTARGET_SRAM=le_counter_sram.elf
527d0ceef1SMatthias Ringwald
530f165ceaSMatthias Ringwald# template main file + firmware file
540f165ceaSMatthias RingwaldBTSTACK_ROOT_CONFIG = ../../../
550f165ceaSMatthias RingwaldCSRCS+=${BTSTACK_ROOT_CONFIG}/example/le_counter.c
565370c17fSMatthias RingwaldCSRCS+=${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/template/wilc3000_bt_firmware.c
570af04ee4SMatthias Ringwald
587d0ceef1SMatthias Ringwald# List of C source files.
590af04ee4SMatthias RingwaldCSRCS+= \
600af04ee4SMatthias Ringwald       ../main.c 						                 \
617d0ceef1SMatthias Ringwald       common/services/clock/samv71/sysclk.c              \
627d0ceef1SMatthias Ringwald       common/services/serial/usart_serial.c              \
637d0ceef1SMatthias Ringwald       common/utils/interrupt/interrupt_sam_nvic.c        \
647d0ceef1SMatthias Ringwald       common/utils/stdio/read.c                          \
657d0ceef1SMatthias Ringwald       common/utils/stdio/write.c                         \
667d0ceef1SMatthias Ringwald       sam/boards/samv71_xplained_ultra/init.c            \
677d0ceef1SMatthias Ringwald       sam/drivers/matrix/matrix.c                        \
687d0ceef1SMatthias Ringwald       sam/drivers/mpu/mpu.c                              \
697d0ceef1SMatthias Ringwald       sam/drivers/pio/pio.c                              \
707d0ceef1SMatthias Ringwald       sam/drivers/pio/pio_handler.c                      \
717d0ceef1SMatthias Ringwald       sam/drivers/pmc/pmc.c                              \
727d0ceef1SMatthias Ringwald       sam/drivers/pmc/sleep.c                            \
737d0ceef1SMatthias Ringwald       sam/drivers/tc/tc.c                                \
747d0ceef1SMatthias Ringwald       sam/drivers/uart/uart.c                            \
757d0ceef1SMatthias Ringwald       sam/drivers/usart/usart.c                          \
767d0ceef1SMatthias Ringwald       sam/utils/cmsis/samv71/source/templates/gcc/startup_samv71.c \
777d0ceef1SMatthias Ringwald       sam/utils/cmsis/samv71/source/templates/system_samv71.c \
787d0ceef1SMatthias Ringwald       sam/utils/syscalls/gcc/syscalls.c                  \
797d0ceef1SMatthias Ringwald
807d0ceef1SMatthias Ringwald# List of assembler source files.
817d0ceef1SMatthias RingwaldASSRCS =
827d0ceef1SMatthias Ringwald
837d0ceef1SMatthias Ringwald# List of include paths.
847d0ceef1SMatthias RingwaldINC_PATH = \
857d0ceef1SMatthias Ringwald       common/boards                                      \
867d0ceef1SMatthias Ringwald       common/services/clock                              \
877d0ceef1SMatthias Ringwald       common/services/gpio                               \
887d0ceef1SMatthias Ringwald       common/services/ioport                             \
897d0ceef1SMatthias Ringwald       common/services/delay                              \
907d0ceef1SMatthias Ringwald       common/services/serial                             \
917d0ceef1SMatthias Ringwald       common/services/serial/sam_uart                    \
927d0ceef1SMatthias Ringwald       common/utils                                       \
937d0ceef1SMatthias Ringwald       common/utils/stdio/stdio_serial                    \
947d0ceef1SMatthias Ringwald       sam/boards                                         \
957d0ceef1SMatthias Ringwald       sam/boards/samv71_xplained_ultra                   \
967d0ceef1SMatthias Ringwald       sam/drivers/matrix                                 \
977d0ceef1SMatthias Ringwald       sam/drivers/mpu                                    \
987d0ceef1SMatthias Ringwald       sam/drivers/pio                                    \
997d0ceef1SMatthias Ringwald       sam/drivers/pmc                                    \
1007d0ceef1SMatthias Ringwald       sam/drivers/tc                                     \
1017d0ceef1SMatthias Ringwald       sam/drivers/uart                                   \
1027d0ceef1SMatthias Ringwald       sam/drivers/usart                                  \
1037d0ceef1SMatthias Ringwald       sam/drivers/xdmac                                  \
1047d0ceef1SMatthias Ringwald       sam/utils                                          \
1057d0ceef1SMatthias Ringwald       sam/utils/cmsis/samv71/include                     \
1067d0ceef1SMatthias Ringwald       sam/utils/cmsis/samv71/source/templates            \
1077d0ceef1SMatthias Ringwald       sam/utils/fpu                                      \
1087d0ceef1SMatthias Ringwald       sam/utils/header_files                             \
1097d0ceef1SMatthias Ringwald       sam/utils/preprocessor                             \
1107d0ceef1SMatthias Ringwald       thirdparty/CMSIS/Include                           \
1117d0ceef1SMatthias Ringwald       thirdparty/CMSIS/Lib/GCC  						  \
1127d0ceef1SMatthias Ringwald	   ..
1137d0ceef1SMatthias Ringwald
1140f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src/ble
1150f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service
1160f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src/classic
1170f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src
1180f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/micro-ecc
1190f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/platform/embedded
1200f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/chipset/atwilc3000
1210f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/template
1220f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player
1230f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player/mods
1240f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/include
1250f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/include
1260af04ee4SMatthias Ringwald
1277d0ceef1SMatthias Ringwald
1280f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src
1290f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src/ble
1300f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service
1310f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src/classic
1320f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/platform/embedded
1330f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/example
1340f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/micro-ecc
1357d0ceef1SMatthias Ringwald
1367d0ceef1SMatthias RingwaldCSRCS += \
1370f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player/hxcmod.c 						\
1380f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player/mods/nao-deceased_by_disease.c 	\
1390f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/chipset/atwilc3000/btstack_chipset_atwilc3000.c \
1400f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/example/sco_demo_util.c \
1410f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/platform/embedded/btstack_run_loop_embedded.c \
1420f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/platform/embedded/btstack_uart_block_embedded.c \
1430f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ad_parser.c \
1440f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/ancs_client.c \
1450f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/att_db.c \
1460f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/att_dispatch.c \
1470f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/att_server.c \
1480f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service/battery_service_server.c \
1490f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service/device_information_service_server.c \
1500f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/gatt_client.c \
1510f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/le_device_db_memory.c \
1520f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/ble/sm.c \
1530f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/btstack_linked_list.c \
1540f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/btstack_memory.c \
1550f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/btstack_memory_pool.c \
1560f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/btstack_ring_buffer.c \
1570f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/btstack_run_loop.c \
1580f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/btstack_util.c \
159*e07b53a6SMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/btstack_tlv.c \
1600f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/a2dp_sink.c  		\
1610f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/a2dp_source.c 		\
1620f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avdtp.c  			\
1630f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_acceptor.c  	\
1640f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_initiator.c 	\
1650f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_sink.c  		\
1660f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_source.c 		\
1670f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_util.c  		\
1680f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avrcp.c \
1690f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avrcp_controller.c \
1700f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/avrcp_target.c \
1710f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/btstack_sbc_bludroid.c \
1720f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/btstack_sbc_plc.c \
1730f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/hfp.c \
1740f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/hfp_ag.c \
1750f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/hfp_hf.c \
1760f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/hfp_msbc.c \
1770f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/hfp_gsm_model.c \
1780f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/hsp_hs.c \
1790f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/hsp_ag.c \
1800f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/btstack_link_key_db_memory.c \
1810f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/goep_client.c \
1820f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/obex_iterator.c \
1830f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/pbap_client.c \
1840f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/rfcomm.c                  \
1850f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/sdp_client.c              \
1860f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/sdp_client_rfcomm.c       \
1870f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/sdp_server.c              \
1880f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/sdp_util.c              \
1890f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/classic/spp_server.c            \
1900f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/hci.c \
1910f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/hci_cmd.c \
1920f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/hci_dump.c \
1930f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/hci_transport_h4.c \
1940f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/l2cap.c \
1950f165ceaSMatthias Ringwald	${BTSTACK_ROOT_CONFIG}/src/l2cap_signaling.c \
1960f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/alloc.c \
1970f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/bitalloc-sbc.c \
1980f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/bitalloc.c \
1990f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/bitstream-decode.c \
2000f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/decoder-oina.c \
2010f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/decoder-private.c \
2020f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/decoder-sbc.c \
2030f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/dequant.c \
2040f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/framing-sbc.c \
2050f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/framing.c \
2060f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/oi_codec_version.c \
2070f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/synthesis-8-generated.c \
2080f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/synthesis-dct8.c \
2090f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/synthesis-sbc.c \
2100f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_analysis.c           \
2110f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_dct.c                \
2120f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_dct_coeffs.c         \
2130f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_enc_bit_alloc_mono.c \
2140f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_enc_bit_alloc_ste.c  \
2150f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_enc_coeffs.c         \
2160f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_encoder.c            \
2170f165ceaSMatthias Ringwald    ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_packing.c            \
2187d0ceef1SMatthias Ringwald
2197d0ceef1SMatthias Ringwald# Additional search paths for libraries.
2207d0ceef1SMatthias RingwaldLIB_PATH =  \
2217d0ceef1SMatthias Ringwald       thirdparty/CMSIS/Lib/GCC
2227d0ceef1SMatthias Ringwald
2237d0ceef1SMatthias Ringwald# List of libraries to use during linking.
2247d0ceef1SMatthias RingwaldLIBS =  \
2257d0ceef1SMatthias Ringwald       arm_cortexM7lfsp_math_softfp                       \
2267d0ceef1SMatthias Ringwald       m
2277d0ceef1SMatthias Ringwald
2287d0ceef1SMatthias Ringwald# Path relative to top level directory pointing to a linker script.
2297d0ceef1SMatthias RingwaldLINKER_SCRIPT_FLASH = sam/utils/linker_scripts/samv71/samv71q21/gcc/flash.ld
2307d0ceef1SMatthias RingwaldLINKER_SCRIPT_SRAM  = sam/utils/linker_scripts/samv71/samv71q21/gcc/sram.ld
2317d0ceef1SMatthias Ringwald
2327d0ceef1SMatthias Ringwald# Path relative to top level directory pointing to a linker script.
2337d0ceef1SMatthias RingwaldDEBUG_SCRIPT_FLASH = sam/boards/samv71_xplained_ultra/debug_scripts/gcc/samv71_xplained_ultra_flash.gdb
2347d0ceef1SMatthias RingwaldDEBUG_SCRIPT_SRAM  = sam/boards/samv71_xplained_ultra/debug_scripts/gcc/samv71_xplained_ultra_sram.gdb
2357d0ceef1SMatthias Ringwald
2367d0ceef1SMatthias Ringwald# Project type parameter: all, sram or flash
2377d0ceef1SMatthias RingwaldPROJECT_TYPE        = flash
2387d0ceef1SMatthias Ringwald
2397d0ceef1SMatthias Ringwald# Additional options for debugging. By default the common Makefile.in will
2407d0ceef1SMatthias Ringwald# add -g3.
2417d0ceef1SMatthias RingwaldDBGFLAGS =
2427d0ceef1SMatthias Ringwald
2437d0ceef1SMatthias Ringwald# Application optimization used during compilation and linking:
2447d0ceef1SMatthias Ringwald# -O0, -O1, -O2, -O3 or -Os
2457d0ceef1SMatthias RingwaldOPTIMIZATION = -O1
2467d0ceef1SMatthias Ringwald
2477d0ceef1SMatthias Ringwald# Extra flags to use when archiving.
2487d0ceef1SMatthias RingwaldARFLAGS =
2497d0ceef1SMatthias Ringwald
2507d0ceef1SMatthias Ringwald# Extra flags to use when assembling.
2517d0ceef1SMatthias RingwaldASFLAGS =  \
2527d0ceef1SMatthias Ringwald       -mfloat-abi=softfp                                 \
2537d0ceef1SMatthias Ringwald       -mfpu=fpv5-sp-d16
2547d0ceef1SMatthias Ringwald
2557d0ceef1SMatthias Ringwald# Extra flags to use when compiling.
2567d0ceef1SMatthias RingwaldCFLAGS =  \
2577d0ceef1SMatthias Ringwald       -mfloat-abi=softfp                                 \
2587d0ceef1SMatthias Ringwald       -mfpu=fpv5-sp-d16
2597d0ceef1SMatthias Ringwald
2607d0ceef1SMatthias Ringwald# Extra flags to use when preprocessing.
2617d0ceef1SMatthias Ringwald#
2627d0ceef1SMatthias Ringwald# Preprocessor symbol definitions
2637d0ceef1SMatthias Ringwald#   To add a definition use the format "-D name[=definition]".
2647d0ceef1SMatthias Ringwald#   To cancel a definition use the format "-U name".
2657d0ceef1SMatthias Ringwald#
2667d0ceef1SMatthias Ringwald# The most relevant symbols to define for the preprocessor are:
2677d0ceef1SMatthias Ringwald#   BOARD      Target board in use, see boards/board.h for a list.
2687d0ceef1SMatthias Ringwald#   EXT_BOARD  Optional extension board in use, see boards/board.h for a list.
2697d0ceef1SMatthias RingwaldCPPFLAGS = \
2707d0ceef1SMatthias Ringwald       -D ARM_MATH_CM7=true                               \
2717d0ceef1SMatthias Ringwald       -D BOARD=SAMV71_XPLAINED_ULTRA                     \
2727d0ceef1SMatthias Ringwald       -D __SAMV71Q21__                                   \
2737d0ceef1SMatthias Ringwald       -D printf=iprintf                                  \
2747d0ceef1SMatthias Ringwald       -D scanf=iscanf
2757d0ceef1SMatthias Ringwald
2767d0ceef1SMatthias Ringwald# Extra flags to use when linking
2777d0ceef1SMatthias RingwaldLDFLAGS = \
2787d0ceef1SMatthias Ringwald
2797d0ceef1SMatthias Ringwald# Pre- and post-build commands
2807d0ceef1SMatthias RingwaldPREBUILD_CMD =
2817d0ceef1SMatthias RingwaldPOSTBUILD_CMD =
282