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*0af04ee4SMatthias Ringwald# template main file 54*0af04ee4SMatthias RingwaldCSRCS+=${BTSTACK_ROOT}/example/le_counter.c 55*0af04ee4SMatthias Ringwald 567d0ceef1SMatthias Ringwald# List of C source files. 57*0af04ee4SMatthias RingwaldCSRCS+= \ 58*0af04ee4SMatthias Ringwald ../main.c \ 597d0ceef1SMatthias Ringwald common/services/clock/samv71/sysclk.c \ 607d0ceef1SMatthias Ringwald common/services/serial/usart_serial.c \ 617d0ceef1SMatthias Ringwald common/utils/interrupt/interrupt_sam_nvic.c \ 627d0ceef1SMatthias Ringwald common/utils/stdio/read.c \ 637d0ceef1SMatthias Ringwald common/utils/stdio/write.c \ 647d0ceef1SMatthias Ringwald sam/boards/samv71_xplained_ultra/init.c \ 657d0ceef1SMatthias Ringwald sam/drivers/matrix/matrix.c \ 667d0ceef1SMatthias Ringwald sam/drivers/mpu/mpu.c \ 677d0ceef1SMatthias Ringwald sam/drivers/pio/pio.c \ 687d0ceef1SMatthias Ringwald sam/drivers/pio/pio_handler.c \ 697d0ceef1SMatthias Ringwald sam/drivers/pmc/pmc.c \ 707d0ceef1SMatthias Ringwald sam/drivers/pmc/sleep.c \ 717d0ceef1SMatthias Ringwald sam/drivers/tc/tc.c \ 727d0ceef1SMatthias Ringwald sam/drivers/uart/uart.c \ 737d0ceef1SMatthias Ringwald sam/drivers/usart/usart.c \ 747d0ceef1SMatthias Ringwald sam/utils/cmsis/samv71/source/templates/gcc/startup_samv71.c \ 757d0ceef1SMatthias Ringwald sam/utils/cmsis/samv71/source/templates/system_samv71.c \ 767d0ceef1SMatthias Ringwald sam/utils/syscalls/gcc/syscalls.c \ 777d0ceef1SMatthias Ringwald 787d0ceef1SMatthias Ringwald# List of assembler source files. 797d0ceef1SMatthias RingwaldASSRCS = 807d0ceef1SMatthias Ringwald 817d0ceef1SMatthias Ringwald# List of include paths. 827d0ceef1SMatthias RingwaldINC_PATH = \ 837d0ceef1SMatthias Ringwald common/boards \ 847d0ceef1SMatthias Ringwald common/services/clock \ 857d0ceef1SMatthias Ringwald common/services/gpio \ 867d0ceef1SMatthias Ringwald common/services/ioport \ 877d0ceef1SMatthias Ringwald common/services/delay \ 887d0ceef1SMatthias Ringwald common/services/serial \ 897d0ceef1SMatthias Ringwald common/services/serial/sam_uart \ 907d0ceef1SMatthias Ringwald common/utils \ 917d0ceef1SMatthias Ringwald common/utils/stdio/stdio_serial \ 927d0ceef1SMatthias Ringwald sam/boards \ 937d0ceef1SMatthias Ringwald sam/boards/samv71_xplained_ultra \ 947d0ceef1SMatthias Ringwald sam/drivers/matrix \ 957d0ceef1SMatthias Ringwald sam/drivers/mpu \ 967d0ceef1SMatthias Ringwald sam/drivers/pio \ 977d0ceef1SMatthias Ringwald sam/drivers/pmc \ 987d0ceef1SMatthias Ringwald sam/drivers/tc \ 997d0ceef1SMatthias Ringwald sam/drivers/uart \ 1007d0ceef1SMatthias Ringwald sam/drivers/usart \ 1017d0ceef1SMatthias Ringwald sam/drivers/xdmac \ 1027d0ceef1SMatthias Ringwald sam/utils \ 1037d0ceef1SMatthias Ringwald sam/utils/cmsis/samv71/include \ 1047d0ceef1SMatthias Ringwald sam/utils/cmsis/samv71/source/templates \ 1057d0ceef1SMatthias Ringwald sam/utils/fpu \ 1067d0ceef1SMatthias Ringwald sam/utils/header_files \ 1077d0ceef1SMatthias Ringwald sam/utils/preprocessor \ 1087d0ceef1SMatthias Ringwald thirdparty/CMSIS/Include \ 1097d0ceef1SMatthias Ringwald thirdparty/CMSIS/Lib/GCC \ 1107d0ceef1SMatthias Ringwald .. 1117d0ceef1SMatthias Ringwald 112*0af04ee4SMatthias RingwaldBTSTACK_ROOT = ../../../ 1137d0ceef1SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/src/ble 1147d0ceef1SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/src/ble/gatt-service 1157d0ceef1SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/src/classic 1167d0ceef1SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/src 1177d0ceef1SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/3rd-party/micro-ecc 1187d0ceef1SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/platform/embedded 1197d0ceef1SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/chipset/atwilc3000 120*0af04ee4SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/port/samv71-xplained-atwilc3000/example/le_counter 121*0af04ee4SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/3rd-party/hxcmod-player 122*0af04ee4SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/3rd-party/hxcmod-player/mods 123*0af04ee4SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/include 124*0af04ee4SMatthias RingwaldINC_PATH += ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/include 125*0af04ee4SMatthias Ringwald 1267d0ceef1SMatthias Ringwald 1277d0ceef1SMatthias Ringwald# VPATH += ${BTSTACK_ROOT}/src 1287d0ceef1SMatthias Ringwald# VPATH += ${BTSTACK_ROOT}/src/ble 1297d0ceef1SMatthias Ringwald# VPATH += ${BTSTACK_ROOT}/src/ble/gatt-service 1307d0ceef1SMatthias Ringwald# VPATH += ${BTSTACK_ROOT}/src/classic 1317d0ceef1SMatthias Ringwald# VPATH += ${BTSTACK_ROOT}/platform/embedded 1327d0ceef1SMatthias Ringwald# VPATH += ${BTSTACK_ROOT}/example 1337d0ceef1SMatthias Ringwald# VPATH += ${BTSTACK_ROOT}/3rd-party/micro-ecc 1347d0ceef1SMatthias Ringwald 1357d0ceef1SMatthias RingwaldCSRCS += \ 136*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/hxcmod-player/hxcmod.c \ 137*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/hxcmod-player/mods/nao-deceased_by_disease.c \ 138*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/chipset/atwilc3000/btstack_chipset_atwilc3000.c \ 139*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/chipset/atwilc3000/wilc3000_bt_firmware.c \ 140*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/example/sco_demo_util.c \ 141*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/platform/embedded/btstack_run_loop_embedded.c \ 142*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/platform/embedded/btstack_uart_block_embedded.c \ 1437d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/ad_parser.c \ 1447d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/ancs_client.c \ 1457d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/att_db.c \ 1467d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/att_dispatch.c \ 1477d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/att_server.c \ 1487d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/gatt-service/battery_service_server.c \ 149*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/gatt-service/device_information_service_server.c \ 150*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/gatt_client.c \ 151*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/le_device_db_memory.c \ 152*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/ble/sm.c \ 1537d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/btstack_linked_list.c \ 1547d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/btstack_memory.c \ 1557d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/btstack_memory_pool.c \ 1567d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/btstack_ring_buffer.c \ 1577d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/btstack_run_loop.c \ 1587d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/btstack_util.c \ 159*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/a2dp_sink.c \ 160*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/a2dp_source.c \ 161*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avdtp.c \ 162*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avdtp_acceptor.c \ 163*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avdtp_initiator.c \ 164*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avdtp_sink.c \ 165*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avdtp_source.c \ 166*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avdtp_util.c \ 167*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avrcp.c \ 168*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avrcp_controller.c \ 169*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/avrcp_target.c \ 170*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/btstack_sbc_bludroid.c \ 171*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/btstack_sbc_plc.c \ 172*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/hfp.c \ 173*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/hfp_ag.c \ 174*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/hfp_hf.c \ 175*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/hfp_msbc.c \ 176*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/hfp_gsm_model.c \ 177*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/hsp_hs.c \ 178*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/hsp_ag.c \ 179*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/goep_client.c \ 180*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/obex_iterator.c \ 181*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/pbap_client.c \ 182*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/rfcomm.c \ 183*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/sdp_client.c \ 184*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/sdp_client_rfcomm.c \ 185*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/sdp_server.c \ 186*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/sdp_util.c \ 187*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/src/classic/spp_server.c \ 1887d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/hci.c \ 1897d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/hci_cmd.c \ 1907d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/hci_dump.c \ 1917d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/hci_transport_h4.c \ 1927d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/l2cap.c \ 1937d0ceef1SMatthias Ringwald ${BTSTACK_ROOT}/src/l2cap_signaling.c \ 194*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/alloc.c \ 195*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/bitalloc-sbc.c \ 196*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/bitalloc.c \ 197*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/bitstream-decode.c \ 198*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/decoder-oina.c \ 199*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/decoder-private.c \ 200*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/decoder-sbc.c \ 201*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/dequant.c \ 202*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/framing-sbc.c \ 203*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/framing.c \ 204*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/oi_codec_version.c \ 205*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/synthesis-8-generated.c \ 206*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/synthesis-dct8.c \ 207*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/srce/synthesis-sbc.c \ 208*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_analysis.c \ 209*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_dct.c \ 210*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_dct_coeffs.c \ 211*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_enc_bit_alloc_mono.c \ 212*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_enc_bit_alloc_ste.c \ 213*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_enc_coeffs.c \ 214*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_encoder.c \ 215*0af04ee4SMatthias Ringwald ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/srce/sbc_packing.c \ 2167d0ceef1SMatthias Ringwald 2177d0ceef1SMatthias Ringwald# Additional search paths for libraries. 2187d0ceef1SMatthias RingwaldLIB_PATH = \ 2197d0ceef1SMatthias Ringwald thirdparty/CMSIS/Lib/GCC 2207d0ceef1SMatthias Ringwald 2217d0ceef1SMatthias Ringwald# List of libraries to use during linking. 2227d0ceef1SMatthias RingwaldLIBS = \ 2237d0ceef1SMatthias Ringwald arm_cortexM7lfsp_math_softfp \ 2247d0ceef1SMatthias Ringwald m 2257d0ceef1SMatthias Ringwald 2267d0ceef1SMatthias Ringwald# Path relative to top level directory pointing to a linker script. 2277d0ceef1SMatthias RingwaldLINKER_SCRIPT_FLASH = sam/utils/linker_scripts/samv71/samv71q21/gcc/flash.ld 2287d0ceef1SMatthias RingwaldLINKER_SCRIPT_SRAM = sam/utils/linker_scripts/samv71/samv71q21/gcc/sram.ld 2297d0ceef1SMatthias Ringwald 2307d0ceef1SMatthias Ringwald# Path relative to top level directory pointing to a linker script. 2317d0ceef1SMatthias RingwaldDEBUG_SCRIPT_FLASH = sam/boards/samv71_xplained_ultra/debug_scripts/gcc/samv71_xplained_ultra_flash.gdb 2327d0ceef1SMatthias RingwaldDEBUG_SCRIPT_SRAM = sam/boards/samv71_xplained_ultra/debug_scripts/gcc/samv71_xplained_ultra_sram.gdb 2337d0ceef1SMatthias Ringwald 2347d0ceef1SMatthias Ringwald# Project type parameter: all, sram or flash 2357d0ceef1SMatthias RingwaldPROJECT_TYPE = flash 2367d0ceef1SMatthias Ringwald 2377d0ceef1SMatthias Ringwald# Additional options for debugging. By default the common Makefile.in will 2387d0ceef1SMatthias Ringwald# add -g3. 2397d0ceef1SMatthias RingwaldDBGFLAGS = 2407d0ceef1SMatthias Ringwald 2417d0ceef1SMatthias Ringwald# Application optimization used during compilation and linking: 2427d0ceef1SMatthias Ringwald# -O0, -O1, -O2, -O3 or -Os 2437d0ceef1SMatthias RingwaldOPTIMIZATION = -O1 2447d0ceef1SMatthias Ringwald 2457d0ceef1SMatthias Ringwald# Extra flags to use when archiving. 2467d0ceef1SMatthias RingwaldARFLAGS = 2477d0ceef1SMatthias Ringwald 2487d0ceef1SMatthias Ringwald# Extra flags to use when assembling. 2497d0ceef1SMatthias RingwaldASFLAGS = \ 2507d0ceef1SMatthias Ringwald -mfloat-abi=softfp \ 2517d0ceef1SMatthias Ringwald -mfpu=fpv5-sp-d16 2527d0ceef1SMatthias Ringwald 2537d0ceef1SMatthias Ringwald# Extra flags to use when compiling. 2547d0ceef1SMatthias RingwaldCFLAGS = \ 2557d0ceef1SMatthias Ringwald -mfloat-abi=softfp \ 2567d0ceef1SMatthias Ringwald -mfpu=fpv5-sp-d16 2577d0ceef1SMatthias Ringwald 2587d0ceef1SMatthias Ringwald# Extra flags to use when preprocessing. 2597d0ceef1SMatthias Ringwald# 2607d0ceef1SMatthias Ringwald# Preprocessor symbol definitions 2617d0ceef1SMatthias Ringwald# To add a definition use the format "-D name[=definition]". 2627d0ceef1SMatthias Ringwald# To cancel a definition use the format "-U name". 2637d0ceef1SMatthias Ringwald# 2647d0ceef1SMatthias Ringwald# The most relevant symbols to define for the preprocessor are: 2657d0ceef1SMatthias Ringwald# BOARD Target board in use, see boards/board.h for a list. 2667d0ceef1SMatthias Ringwald# EXT_BOARD Optional extension board in use, see boards/board.h for a list. 2677d0ceef1SMatthias RingwaldCPPFLAGS = \ 2687d0ceef1SMatthias Ringwald -D ARM_MATH_CM7=true \ 2697d0ceef1SMatthias Ringwald -D BOARD=SAMV71_XPLAINED_ULTRA \ 2707d0ceef1SMatthias Ringwald -D __SAMV71Q21__ \ 2717d0ceef1SMatthias Ringwald -D printf=iprintf \ 2727d0ceef1SMatthias Ringwald -D scanf=iscanf 2737d0ceef1SMatthias Ringwald 2747d0ceef1SMatthias Ringwald# Extra flags to use when linking 2757d0ceef1SMatthias RingwaldLDFLAGS = \ 2767d0ceef1SMatthias Ringwald 2777d0ceef1SMatthias Ringwald# Pre- and post-build commands 2787d0ceef1SMatthias RingwaldPREBUILD_CMD = 2797d0ceef1SMatthias RingwaldPOSTBUILD_CMD = 280*0af04ee4SMatthias Ringwald 281