mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
max32630-ftrh: create project folder inside of exxample folder
This commit is contained in:
parent
c894dca1b7
commit
6b7adbe5dd
@ -63,15 +63,15 @@ endif
|
|||||||
CMSIS_ROOT=$(LIBS_DIR)/CMSIS
|
CMSIS_ROOT=$(LIBS_DIR)/CMSIS
|
||||||
|
|
||||||
# Where to find source files for this test
|
# Where to find source files for this test
|
||||||
VPATH= . ../src
|
VPATH= . ../../src
|
||||||
|
|
||||||
# Where to find header files for this test
|
# Where to find header files for this test
|
||||||
IPATH= . ../src
|
IPATH= . ../../src
|
||||||
|
|
||||||
BOARD_DIR=$(LIBS_DIR)/Boards
|
BOARD_DIR=$(LIBS_DIR)/Boards
|
||||||
|
|
||||||
IPATH += ../board/
|
IPATH += ../../board/
|
||||||
VPATH += ../board/
|
VPATH += ../../board/
|
||||||
|
|
||||||
# Source files for this test (add path to VPATH below)
|
# Source files for this test (add path to VPATH below)
|
||||||
SRCS = main.c
|
SRCS = main.c
|
||||||
@ -91,7 +91,7 @@ VPATH += $(BOARD_DIR)/Source
|
|||||||
IPATH += $(BOARD_DIR)/Include
|
IPATH += $(BOARD_DIR)/Include
|
||||||
|
|
||||||
# BTstack
|
# BTstack
|
||||||
BTSTACK_ROOT = ../../..
|
BTSTACK_ROOT = ../../../..
|
||||||
VPATH += $(BTSTACK_ROOT)/src
|
VPATH += $(BTSTACK_ROOT)/src
|
||||||
VPATH += $(BTSTACK_ROOT)/src/ble
|
VPATH += $(BTSTACK_ROOT)/src/ble
|
||||||
VPATH += $(BTSTACK_ROOT)/src/classic
|
VPATH += $(BTSTACK_ROOT)/src/classic
|
@ -31,10 +31,10 @@ subprocess.call("make -f ../Makefile -C src " + cc256x_init_script, shell=True)
|
|||||||
examples_embedded = btstack_root + 'example/'
|
examples_embedded = btstack_root + 'example/'
|
||||||
|
|
||||||
# path to generated example projects
|
# path to generated example projects
|
||||||
projects_path = script_path
|
projects_path = script_path + "example/"
|
||||||
|
|
||||||
# path to template
|
# path to template
|
||||||
template_path = script_path + 'Makefile.template'
|
template_path = script_path + 'example/template/Makefile'
|
||||||
|
|
||||||
print("Creating example projects:")
|
print("Creating example projects:")
|
||||||
|
|
||||||
@ -72,4 +72,4 @@ for file in example_files:
|
|||||||
|
|
||||||
print("- %s" % example)
|
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.")
|
||||||
|
@ -15,7 +15,7 @@ script_path = os.path.abspath(os.path.dirname(sys.argv[0]))
|
|||||||
examples_embedded = script_path + "/../../../example/"
|
examples_embedded = script_path + "/../../../example/"
|
||||||
|
|
||||||
# path to port/esp32
|
# path to port/esp32
|
||||||
apps_btstack = ""
|
apps_btstack = "example/"
|
||||||
|
|
||||||
print("Deleting examples in local folder")
|
print("Deleting examples in local folder")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user