17d0ceef1SMatthias Ringwald# List of available make goals: 27d0ceef1SMatthias Ringwald# 37d0ceef1SMatthias Ringwald# all Default target, builds the project 47d0ceef1SMatthias Ringwald# clean Clean up the project 57d0ceef1SMatthias Ringwald# rebuild Rebuild the project 67d0ceef1SMatthias Ringwald# 77d0ceef1SMatthias Ringwald# 87d0ceef1SMatthias Ringwald# doc Build the documentation 97d0ceef1SMatthias Ringwald# cleandoc Clean up the documentation 107d0ceef1SMatthias Ringwald# rebuilddoc Rebuild the documentation 117d0ceef1SMatthias Ringwald# 127d0ceef1SMatthias Ringwald# Copyright (c) 2011 Atmel Corporation. All rights reserved. 137d0ceef1SMatthias Ringwald# 147d0ceef1SMatthias Ringwald# \asf_license_start 157d0ceef1SMatthias Ringwald# 167d0ceef1SMatthias Ringwald# \page License 177d0ceef1SMatthias Ringwald# 187d0ceef1SMatthias Ringwald# Redistribution and use in source and binary forms, with or without 197d0ceef1SMatthias Ringwald# modification, are permitted provided that the following conditions are met: 207d0ceef1SMatthias Ringwald# 217d0ceef1SMatthias Ringwald# 1. Redistributions of source code must retain the above copyright notice, 227d0ceef1SMatthias Ringwald# this list of conditions and the following disclaimer. 237d0ceef1SMatthias Ringwald# 247d0ceef1SMatthias Ringwald# 2. Redistributions in binary form must reproduce the above copyright notice, 257d0ceef1SMatthias Ringwald# this list of conditions and the following disclaimer in the documentation 267d0ceef1SMatthias Ringwald# and/or other materials provided with the distribution. 277d0ceef1SMatthias Ringwald# 287d0ceef1SMatthias Ringwald# 3. The name of Atmel may not be used to endorse or promote products derived 297d0ceef1SMatthias Ringwald# from this software without specific prior written permission. 307d0ceef1SMatthias Ringwald# 317d0ceef1SMatthias Ringwald# 4. This software may only be redistributed and used in connection with an 327d0ceef1SMatthias Ringwald# Atmel microcontroller product. 337d0ceef1SMatthias Ringwald# 347d0ceef1SMatthias Ringwald# THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED 357d0ceef1SMatthias Ringwald# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 367d0ceef1SMatthias Ringwald# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 377d0ceef1SMatthias Ringwald# EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR 387d0ceef1SMatthias Ringwald# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 397d0ceef1SMatthias Ringwald# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 407d0ceef1SMatthias Ringwald# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 417d0ceef1SMatthias Ringwald# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 427d0ceef1SMatthias Ringwald# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 437d0ceef1SMatthias Ringwald# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 447d0ceef1SMatthias Ringwald# POSSIBILITY OF SUCH DAMAGE. 457d0ceef1SMatthias Ringwald# 467d0ceef1SMatthias Ringwald# \asf_license_stop 477d0ceef1SMatthias Ringwald# 487d0ceef1SMatthias Ringwald 490f165ceaSMatthias RingwaldBTSTACK_ROOT=../../../.. 500af04ee4SMatthias Ringwald 510af04ee4SMatthias Ringwald# enforce .gatt compilation if needed 52a15efc86SMatthias Ringwaldall: le_counter.h wilc3000_ble_firmware.h 530af04ee4SMatthias Ringwald 540f165ceaSMatthias Ringwaldle_counter.h: ${BTSTACK_ROOT}/example/le_counter.gatt 55*75c13281SMatthias Ringwald python3 ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@ 560af04ee4SMatthias Ringwald 570af04ee4SMatthias Ringwald 587d0ceef1SMatthias Ringwald# Include the common Makefile, which will also include the project specific 597d0ceef1SMatthias Ringwald# config.mk file. 607d0ceef1SMatthias RingwaldMAKEFILE_PATH = ../../ASF/sam/utils/make/Makefile.sam.in 617d0ceef1SMatthias Ringwaldinclude $(MAKEFILE_PATH) 627d0ceef1SMatthias Ringwald 630f165ceaSMatthias Ringwald# firmware 640f165ceaSMatthias Ringwaldinclude ${BTSTACK_ROOT}/chipset/atwilc3000/Makefile.inc 653d1bd809SMatthias Ringwald 663d1bd809SMatthias Ringwaldflash: $(TARGET_FLASH) 673d1bd809SMatthias Ringwald openocd -f interface/cmsis-dap.cfg -f board/atmel_samv71_xplained_ultra.cfg -f upload.cfg 683d1bd809SMatthias Ringwald 69