|
1 | | -# |
2 | | -# This is a project Makefile. It is assumed the directory this Makefile resides in is a |
3 | | -# project subdirectory. |
4 | | -# |
5 | | - |
6 | | -PROJECT_NAME := bl602_demo_blemeshnode |
7 | | -PROJECT_PATH := $(abspath .) |
8 | | -PROJECT_BOARD := evb |
9 | | -export PROJECT_PATH PROJECT_BOARD |
10 | | -#CONFIG_TOOLPREFIX := |
11 | | - |
12 | | --include ./proj_config.mk |
13 | | - |
14 | | -ifeq ($(origin BL60X_SDK_PATH), undefined) |
15 | | -BL60X_SDK_PATH_GUESS ?= $(shell pwd) |
16 | | -BL60X_SDK_PATH ?= $(BL60X_SDK_PATH_GUESS)/../.. |
17 | | -$(info ****** Please SET BL60X_SDK_PATH ******) |
18 | | -$(info ****** Trying SDK PATH [$(BL60X_SDK_PATH)]) |
19 | | -endif |
20 | | - |
21 | | -COMPONENTS_NETWORK := sntp dns_server |
22 | | -COMPONENTS_BLSYS := bltime blfdt blmtd blota bloop loopadc looprt loopset |
23 | | -COMPONENTS_VFS := romfs atcmd cjson |
24 | | -ifeq ($(CONFIG_BT_TL),1) |
25 | | -COMPONENTS_BLE := blecontroller |
26 | | -else |
27 | | -COMPONENTS_BLE := blecontroller blestack |
28 | | -endif |
29 | | - |
30 | | -INCLUDE_COMPONENTS += freertos_riscv_ram bl602 bl602_std bl602_wifi bl602_wifidrv hal_drv lwip lwip_dhcpd mbedtls vfs yloop utils cli httpc netutils blog blog_testc |
31 | | -INCLUDE_COMPONENTS += easyflash4 lwip_altcp_tls_mbedtls |
32 | | -INCLUDE_COMPONENTS += $(COMPONENTS_NETWORK) |
33 | | -INCLUDE_COMPONENTS += $(COMPONENTS_BLSYS) |
34 | | -INCLUDE_COMPONENTS += $(COMPONENTS_VFS) |
35 | | -INCLUDE_COMPONENTS += $(PROJECT_NAME) |
36 | | - |
37 | | -ifeq ($(CONFIG_BT),1) |
38 | | -INCLUDE_COMPONENTS += $(COMPONENTS_BLE) |
39 | | -ifeq ($(CONFIG_BT_MESH),1) |
40 | | -INCLUDE_COMPONENTS += blemesh |
41 | | -endif |
42 | | -ifeq ($(CONFIG_BT_MESH_MODEL),1) |
43 | | -INCLUDE_COMPONENTS += blemesh_model |
44 | | -endif |
45 | | -ifeq ($(CONFIG_BT_MESH_SYNC),1) |
46 | | -INCLUDE_COMPONENTS += blsync_ble |
47 | | -endif |
48 | | -endif |
49 | | -include $(BL60X_SDK_PATH)/make_scripts_riscv/project.mk |
| 1 | +# |
| 2 | +# This is a project Makefile. It is assumed the directory this Makefile resides in is a |
| 3 | +# project subdirectory. |
| 4 | +# |
| 5 | + |
| 6 | +PROJECT_NAME := bl602_demo_blemeshnode |
| 7 | +PROJECT_PATH := $(abspath .) |
| 8 | +PROJECT_BOARD := evb |
| 9 | +export PROJECT_PATH PROJECT_BOARD |
| 10 | +#CONFIG_TOOLPREFIX := |
| 11 | + |
| 12 | +-include ./proj_config.mk |
| 13 | + |
| 14 | +ifeq ($(origin BL60X_SDK_PATH), undefined) |
| 15 | +BL60X_SDK_PATH_GUESS ?= $(shell pwd) |
| 16 | +BL60X_SDK_PATH ?= $(BL60X_SDK_PATH_GUESS)/../.. |
| 17 | +$(info ****** Please SET BL60X_SDK_PATH ******) |
| 18 | +$(info ****** Trying SDK PATH [$(BL60X_SDK_PATH)]) |
| 19 | +endif |
| 20 | + |
| 21 | + |
| 22 | +COMPONENTS_BLSYS := bltime blfdt blmtd bloop loopadc looprt loopset |
| 23 | +COMPONENTS_VFS := romfs atcmd cjson |
| 24 | +ifeq ($(CONFIG_BT_TL),1) |
| 25 | +COMPONENTS_BLE := blecontroller |
| 26 | +else |
| 27 | +COMPONENTS_BLE := blecontroller blestack |
| 28 | +endif |
| 29 | + |
| 30 | +INCLUDE_COMPONENTS += freertos_riscv_ram bl602 bl602_std bl602_wifi hal_drv vfs yloop utils cli blog blog_testc |
| 31 | +INCLUDE_COMPONENTS += easyflash4 |
| 32 | +INCLUDE_COMPONENTS += $(COMPONENTS_BLSYS) |
| 33 | +INCLUDE_COMPONENTS += $(COMPONENTS_VFS) |
| 34 | +INCLUDE_COMPONENTS += $(PROJECT_NAME) |
| 35 | + |
| 36 | +ifeq ($(CONFIG_BT),1) |
| 37 | +INCLUDE_COMPONENTS += $(COMPONENTS_BLE) |
| 38 | +ifeq ($(CONFIG_BT_MESH),1) |
| 39 | +INCLUDE_COMPONENTS += blemesh |
| 40 | +endif |
| 41 | +ifeq ($(CONFIG_BT_MESH_MODEL),1) |
| 42 | +INCLUDE_COMPONENTS += blemesh_model |
| 43 | +endif |
| 44 | +ifeq ($(CONFIG_BT_MESH_SYNC),1) |
| 45 | +INCLUDE_COMPONENTS += blsync_ble |
| 46 | +endif |
| 47 | +endif |
| 48 | +include $(BL60X_SDK_PATH)/make_scripts_riscv/project.mk |
0 commit comments