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 53*0f165ceaSMatthias Ringwald# template main file + firmware file 54*0f165ceaSMatthias RingwaldBTSTACK_ROOT_CONFIG = ../../../ 55*0f165ceaSMatthias RingwaldCSRCS+=${BTSTACK_ROOT_CONFIG}/example/le_counter.c 56*0f165ceaSMatthias 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 114*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src/ble 115*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service 116*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src/classic 117*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/src 118*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/micro-ecc 119*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/platform/embedded 120*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/chipset/atwilc3000 121*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/port/samv71-xplained-atwilc3000/example/template 122*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player 123*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player/mods 124*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/include 125*0f165ceaSMatthias RingwaldINC_PATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/include 1260af04ee4SMatthias Ringwald 1277d0ceef1SMatthias Ringwald 128*0f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src 129*0f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src/ble 130*0f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service 131*0f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/src/classic 132*0f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/platform/embedded 133*0f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/example 134*0f165ceaSMatthias Ringwald# VPATH += ${BTSTACK_ROOT_CONFIG}/3rd-party/micro-ecc 1357d0ceef1SMatthias Ringwald 1367d0ceef1SMatthias RingwaldCSRCS += \ 137*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player/hxcmod.c \ 138*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/hxcmod-player/mods/nao-deceased_by_disease.c \ 139*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/chipset/atwilc3000/btstack_chipset_atwilc3000.c \ 140*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/example/sco_demo_util.c \ 141*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/platform/embedded/btstack_run_loop_embedded.c \ 142*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/platform/embedded/btstack_uart_block_embedded.c \ 143*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ad_parser.c \ 144*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/ancs_client.c \ 145*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/att_db.c \ 146*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/att_dispatch.c \ 147*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/att_server.c \ 148*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service/battery_service_server.c \ 149*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/gatt-service/device_information_service_server.c \ 150*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/gatt_client.c \ 151*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/le_device_db_memory.c \ 152*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/ble/sm.c \ 153*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/btstack_linked_list.c \ 154*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/btstack_memory.c \ 155*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/btstack_memory_pool.c \ 156*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/btstack_ring_buffer.c \ 157*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/btstack_run_loop.c \ 158*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/btstack_util.c \ 159*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/a2dp_sink.c \ 160*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/a2dp_source.c \ 161*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avdtp.c \ 162*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_acceptor.c \ 163*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_initiator.c \ 164*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_sink.c \ 165*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_source.c \ 166*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avdtp_util.c \ 167*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avrcp.c \ 168*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avrcp_controller.c \ 169*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/avrcp_target.c \ 170*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/btstack_sbc_bludroid.c \ 171*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/btstack_sbc_plc.c \ 172*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/hfp.c \ 173*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/hfp_ag.c \ 174*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/hfp_hf.c \ 175*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/hfp_msbc.c \ 176*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/hfp_gsm_model.c \ 177*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/hsp_hs.c \ 178*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/hsp_ag.c \ 179*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/btstack_link_key_db_memory.c \ 180*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/goep_client.c \ 181*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/obex_iterator.c \ 182*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/pbap_client.c \ 183*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/rfcomm.c \ 184*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/sdp_client.c \ 185*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/sdp_client_rfcomm.c \ 186*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/sdp_server.c \ 187*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/sdp_util.c \ 188*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/classic/spp_server.c \ 189*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/hci.c \ 190*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/hci_cmd.c \ 191*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/hci_dump.c \ 192*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/hci_transport_h4.c \ 193*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/l2cap.c \ 194*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/src/l2cap_signaling.c \ 195*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/alloc.c \ 196*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/bitalloc-sbc.c \ 197*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/bitalloc.c \ 198*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/bitstream-decode.c \ 199*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/decoder-oina.c \ 200*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/decoder-private.c \ 201*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/decoder-sbc.c \ 202*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/dequant.c \ 203*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/framing-sbc.c \ 204*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/framing.c \ 205*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/oi_codec_version.c \ 206*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/synthesis-8-generated.c \ 207*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/synthesis-dct8.c \ 208*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/decoder/srce/synthesis-sbc.c \ 209*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_analysis.c \ 210*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_dct.c \ 211*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_dct_coeffs.c \ 212*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_enc_bit_alloc_mono.c \ 213*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_enc_bit_alloc_ste.c \ 214*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_enc_coeffs.c \ 215*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_encoder.c \ 216*0f165ceaSMatthias Ringwald ${BTSTACK_ROOT_CONFIG}/3rd-party/bluedroid/encoder/srce/sbc_packing.c \ 2177d0ceef1SMatthias Ringwald 2187d0ceef1SMatthias Ringwald# Additional search paths for libraries. 2197d0ceef1SMatthias RingwaldLIB_PATH = \ 2207d0ceef1SMatthias Ringwald thirdparty/CMSIS/Lib/GCC 2217d0ceef1SMatthias Ringwald 2227d0ceef1SMatthias Ringwald# List of libraries to use during linking. 2237d0ceef1SMatthias RingwaldLIBS = \ 2247d0ceef1SMatthias Ringwald arm_cortexM7lfsp_math_softfp \ 2257d0ceef1SMatthias Ringwald m 2267d0ceef1SMatthias Ringwald 2277d0ceef1SMatthias Ringwald# Path relative to top level directory pointing to a linker script. 2287d0ceef1SMatthias RingwaldLINKER_SCRIPT_FLASH = sam/utils/linker_scripts/samv71/samv71q21/gcc/flash.ld 2297d0ceef1SMatthias RingwaldLINKER_SCRIPT_SRAM = sam/utils/linker_scripts/samv71/samv71q21/gcc/sram.ld 2307d0ceef1SMatthias Ringwald 2317d0ceef1SMatthias Ringwald# Path relative to top level directory pointing to a linker script. 2327d0ceef1SMatthias RingwaldDEBUG_SCRIPT_FLASH = sam/boards/samv71_xplained_ultra/debug_scripts/gcc/samv71_xplained_ultra_flash.gdb 2337d0ceef1SMatthias RingwaldDEBUG_SCRIPT_SRAM = sam/boards/samv71_xplained_ultra/debug_scripts/gcc/samv71_xplained_ultra_sram.gdb 2347d0ceef1SMatthias Ringwald 2357d0ceef1SMatthias Ringwald# Project type parameter: all, sram or flash 2367d0ceef1SMatthias RingwaldPROJECT_TYPE = flash 2377d0ceef1SMatthias Ringwald 2387d0ceef1SMatthias Ringwald# Additional options for debugging. By default the common Makefile.in will 2397d0ceef1SMatthias Ringwald# add -g3. 2407d0ceef1SMatthias RingwaldDBGFLAGS = 2417d0ceef1SMatthias Ringwald 2427d0ceef1SMatthias Ringwald# Application optimization used during compilation and linking: 2437d0ceef1SMatthias Ringwald# -O0, -O1, -O2, -O3 or -Os 2447d0ceef1SMatthias RingwaldOPTIMIZATION = -O1 2457d0ceef1SMatthias Ringwald 2467d0ceef1SMatthias Ringwald# Extra flags to use when archiving. 2477d0ceef1SMatthias RingwaldARFLAGS = 2487d0ceef1SMatthias Ringwald 2497d0ceef1SMatthias Ringwald# Extra flags to use when assembling. 2507d0ceef1SMatthias RingwaldASFLAGS = \ 2517d0ceef1SMatthias Ringwald -mfloat-abi=softfp \ 2527d0ceef1SMatthias Ringwald -mfpu=fpv5-sp-d16 2537d0ceef1SMatthias Ringwald 2547d0ceef1SMatthias Ringwald# Extra flags to use when compiling. 2557d0ceef1SMatthias RingwaldCFLAGS = \ 2567d0ceef1SMatthias Ringwald -mfloat-abi=softfp \ 2577d0ceef1SMatthias Ringwald -mfpu=fpv5-sp-d16 2587d0ceef1SMatthias Ringwald 2597d0ceef1SMatthias Ringwald# Extra flags to use when preprocessing. 2607d0ceef1SMatthias Ringwald# 2617d0ceef1SMatthias Ringwald# Preprocessor symbol definitions 2627d0ceef1SMatthias Ringwald# To add a definition use the format "-D name[=definition]". 2637d0ceef1SMatthias Ringwald# To cancel a definition use the format "-U name". 2647d0ceef1SMatthias Ringwald# 2657d0ceef1SMatthias Ringwald# The most relevant symbols to define for the preprocessor are: 2667d0ceef1SMatthias Ringwald# BOARD Target board in use, see boards/board.h for a list. 2677d0ceef1SMatthias Ringwald# EXT_BOARD Optional extension board in use, see boards/board.h for a list. 2687d0ceef1SMatthias RingwaldCPPFLAGS = \ 2697d0ceef1SMatthias Ringwald -D ARM_MATH_CM7=true \ 2707d0ceef1SMatthias Ringwald -D BOARD=SAMV71_XPLAINED_ULTRA \ 2717d0ceef1SMatthias Ringwald -D __SAMV71Q21__ \ 2727d0ceef1SMatthias Ringwald -D printf=iprintf \ 2737d0ceef1SMatthias Ringwald -D scanf=iscanf 2747d0ceef1SMatthias Ringwald 2757d0ceef1SMatthias Ringwald# Extra flags to use when linking 2767d0ceef1SMatthias RingwaldLDFLAGS = \ 2777d0ceef1SMatthias Ringwald 2787d0ceef1SMatthias Ringwald# Pre- and post-build commands 2797d0ceef1SMatthias RingwaldPREBUILD_CMD = 2807d0ceef1SMatthias RingwaldPOSTBUILD_CMD = 281