max32630-ftrh: create project folder inside of exxample folder

This commit is contained in:
Matthias Ringwald 2017-07-19 12:08:03 +02:00
parent c894dca1b7
commit 6b7adbe5dd
3 changed files with 9 additions and 9 deletions

View File

@ -63,15 +63,15 @@ endif
CMSIS_ROOT=$(LIBS_DIR)/CMSIS
# Where to find source files for this test
VPATH= . ../src
VPATH= . ../../src
# Where to find header files for this test
IPATH= . ../src
IPATH= . ../../src
BOARD_DIR=$(LIBS_DIR)/Boards
IPATH += ../board/
VPATH += ../board/
IPATH += ../../board/
VPATH += ../../board/
# Source files for this test (add path to VPATH below)
SRCS = main.c
@ -91,7 +91,7 @@ VPATH += $(BOARD_DIR)/Source
IPATH += $(BOARD_DIR)/Include
# BTstack
BTSTACK_ROOT = ../../..
BTSTACK_ROOT = ../../../..
VPATH += $(BTSTACK_ROOT)/src
VPATH += $(BTSTACK_ROOT)/src/ble
VPATH += $(BTSTACK_ROOT)/src/classic

View File

@ -31,10 +31,10 @@ subprocess.call("make -f ../Makefile -C src " + cc256x_init_script, shell=True)
examples_embedded = btstack_root + 'example/'
# path to generated example projects
projects_path = script_path
projects_path = script_path + "example/"
# path to template
template_path = script_path + 'Makefile.template'
template_path = script_path + 'example/template/Makefile'
print("Creating example projects:")
@ -72,4 +72,4 @@ for file in example_files:
print("- %s" % example)
print("Projects are ready for compile. See README for details.")
print("Projects are ready for compile in example folder. See README for details.")

View File

@ -15,7 +15,7 @@ script_path = os.path.abspath(os.path.dirname(sys.argv[0]))
examples_embedded = script_path + "/../../../example/"
# path to port/esp32
apps_btstack = ""
apps_btstack = "example/"
print("Deleting examples in local folder")