mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-16 15:08:15 +08:00
修改了Web后台的部分界面,增加了HAmqtt中的总电量传感器,后台新增mqtt上报频率设置
This commit is contained in:
42
mico-os/MiCO/net/LwIP/LwIP.mk
Normal file
42
mico-os/MiCO/net/LwIP/LwIP.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
#
|
||||
# UNPUBLISHED PROPRIETARY SOURCE CODE
|
||||
# Copyright (c) 2016 MXCHIP Inc.
|
||||
#
|
||||
# The contents of this file may not be disclosed to third parties, copied or
|
||||
# duplicated in any form, in whole or in part, without the prior written
|
||||
# permission of MXCHIP Corporation.
|
||||
#
|
||||
|
||||
NAME := LwIP
|
||||
|
||||
ifneq ($(filter $(HOST_MCU_FAMILY),MOC108),)
|
||||
VERSION := 2.0.2
|
||||
else
|
||||
ifneq ($(filter $(HOST_MCU_FAMILY),MTK7697),)
|
||||
VERSION := 1.5.0
|
||||
else
|
||||
VERSION := 1.4.0.rc1
|
||||
endif
|
||||
endif
|
||||
|
||||
VERSION_MAJOR = $(word 1, $(subst ., ,$(VERSION)))
|
||||
VERSION_MINOR = $(word 2, $(subst ., ,$(VERSION)))
|
||||
VERSION_REVISION = $(word 3, $(subst ., ,$(VERSION)))
|
||||
|
||||
$(NAME)_COMPONENTS += MiCO/net/LwIP/mico
|
||||
|
||||
VALID_RTOS_LIST:= FreeRTOS
|
||||
|
||||
# Define some macros to allow for some network-specific checks
|
||||
GLOBAL_DEFINES += NETWORK_$(NAME)=1
|
||||
GLOBAL_DEFINES += MXCHIP
|
||||
GLOBAL_DEFINES += $(NAME)_VERSION_MAJOR=$(VERSION_MAJOR)
|
||||
GLOBAL_DEFINES += $(NAME)_VERSION_MINOR=$(VERSION_MINOR)
|
||||
GLOBAL_DEFINES += $(NAME)_VERSION_REVISION=$(VERSION_REVISION)
|
||||
|
||||
|
||||
$(NAME)_INCLUDES := ver$(VERSION) \
|
||||
ver$(VERSION)/src/include \
|
||||
ver$(VERSION)/src/include/ipv4
|
||||
|
||||
$(NAME)_SOURCES := mico/mico_socket.c
|
||||
Reference in New Issue
Block a user