mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-09-15 15:14:03 +00:00
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
|
#
|
||
|
#compiler flag config domain
|
||
|
#
|
||
|
#CONFIG_TOOLPREFIX :=
|
||
|
#CONFIG_OPTIMIZATION_LEVEL_RELEASE := 1
|
||
|
#CONFIG_M4_SOFTFP := 1
|
||
|
|
||
|
#
|
||
|
#board config domain
|
||
|
#
|
||
|
CONFIG_BOARD_FLASH_SIZE := 2
|
||
|
|
||
|
#firmware config domain
|
||
|
#
|
||
|
|
||
|
#set CONFIG_ENABLE_ACP to 1 to enable ACP, set to 0 or comment this line to disable
|
||
|
#CONFIG_ENABLE_ACP:=1
|
||
|
CONFIG_BL_IOT_FW_AP:=1
|
||
|
CONFIG_BL_IOT_FW_AMPDU:=0
|
||
|
CONFIG_BL_IOT_FW_AMSDU:=0
|
||
|
CONFIG_BL_IOT_FW_P2P:=0
|
||
|
CONFIG_ENABLE_PSM_RAM:=1
|
||
|
#CONFIG_ENABLE_CAMERA:=1
|
||
|
#CONFIG_ENABLE_BLSYNC:=1
|
||
|
#CONFIG_ENABLE_VFS_SPI:=1
|
||
|
CONFIG_ENABLE_VFS_ROMFS:=1
|
||
|
|
||
|
# set easyflash env psm size, only support 4K、8K、16K options
|
||
|
CONFIG_ENABLE_PSM_EF_SIZE:=4K
|
||
|
|
||
|
CONFIG_FREERTOS_TICKLESS_MODE:=0
|
||
|
|
||
|
CONFIG_BT:=0
|
||
|
CONFIG_BT_CENTRAL:=1
|
||
|
CONFIG_BT_OBSERVER:=1
|
||
|
CONFIG_BT_PERIPHERAL:=1
|
||
|
CONFIG_BT_STACK_CLI:=1
|
||
|
CONFIG_BT_WIFIPROV_SERVER:=1
|
||
|
CONFIG_BT_MESH := 0
|
||
|
ifeq ($(CONFIG_BT_MESH),1)
|
||
|
CONFIG_BT_MESH_PB_ADV := 1
|
||
|
CONFIG_BT_MESH_PB_GATT := 1
|
||
|
CONFIG_BT_MESH_FRIEND := 1
|
||
|
CONFIG_BT_MESH_LOW_POWER := 1
|
||
|
CONFIG_BT_MESH_PROXY := 1
|
||
|
CONFIG_BT_MESH_GATT_PROXY := 1
|
||
|
endif
|
||
|
|
||
|
#blog enable components format :=blog_testc cli vfs helper
|
||
|
LOG_ENABLED_COMPONENTS:=blog_testc hal_drv loopset looprt bloop
|