修复mico-sdk错误

This commit is contained in:
nhkefus
2025-03-11 15:54:45 +08:00
parent 3422912129
commit 2ccb892a1c
2152 changed files with 664341 additions and 702636 deletions

View File

@@ -1,36 +1,36 @@
#
# Copyright 2016, MXCHIP Corporation
# All Rights Reserved.
#
NAME := Lib_Bluetooth_Embedded_Low_energy_Stack_for_$(BT_CHIP)$(BT_CHIP_REVISION)
BTE_PLATFORM_DIR := ../BTE_platform
GLOBAL_INCLUDES += . \
../include
# Include BTE stack as component
#$(NAME)_COMPONENTS := libraries/bluetooth/BTE
BLUETOOTH_LIB_TYPE := low_energy
ifneq ($(wildcard $(CURDIR)BTE_$(BLUETOOTH_LIB_TYPE).$(HOST_ARCH).$(TOOLCHAIN_NAME).release.a),)
$(NAME)_PREBUILT_LIBRARY := BTE_$(BLUETOOTH_LIB_TYPE).$(HOST_ARCH).$(TOOLCHAIN_NAME).release.a
else
# Build from source (MXCHIP internal)
include $(CURDIR)$(BLUETOOTH_LIB_TYPE)_src.mk
endif
# Include appropriate firmware as component
$(NAME)_COMPONENTS += libraries/bluetooth/firmware
$(NAME)_SOURCES += $(BTE_PLATFORM_DIR)/mico_bt_bus.c \
$(BTE_PLATFORM_DIR)/mico_bt_hcd.c \
$(BTE_PLATFORM_DIR)/mico_bt_logmsg.c \
$(BTE_PLATFORM_DIR)/mico_bt_nvram_access.c \
$(BTE_PLATFORM_DIR)/mico_upio.c
VALID_PLATFORMS := MK3238 MK3239
#
# Copyright 2016, MXCHIP Corporation
# All Rights Reserved.
#
NAME := Lib_Bluetooth_Embedded_Low_energy_Stack_for_$(BT_CHIP)$(BT_CHIP_REVISION)
BTE_PLATFORM_DIR := ../BTE_platform
GLOBAL_INCLUDES += . \
../include
# Include BTE stack as component
#$(NAME)_COMPONENTS := libraries/bluetooth/BTE
BLUETOOTH_LIB_TYPE := low_energy
ifneq ($(wildcard $(CURDIR)BTE_$(BLUETOOTH_LIB_TYPE).$(HOST_ARCH).$(TOOLCHAIN_NAME).release.a),)
$(NAME)_PREBUILT_LIBRARY := BTE_$(BLUETOOTH_LIB_TYPE).$(HOST_ARCH).$(TOOLCHAIN_NAME).release.a
else
# Build from source (MXCHIP internal)
include $(CURDIR)$(BLUETOOTH_LIB_TYPE)_src.mk
endif
# Include appropriate firmware as component
$(NAME)_COMPONENTS += libraries/bluetooth/firmware
$(NAME)_SOURCES += $(BTE_PLATFORM_DIR)/mico_bt_bus.c \
$(BTE_PLATFORM_DIR)/mico_bt_hcd.c \
$(BTE_PLATFORM_DIR)/mico_bt_logmsg.c \
$(BTE_PLATFORM_DIR)/mico_bt_nvram_access.c \
$(BTE_PLATFORM_DIR)/mico_upio.c
VALID_PLATFORMS := MK3238 MK3239