FirstCommit

This commit is contained in:
2025-12-22 15:13:55 +08:00
commit b643e4d821
5 changed files with 39 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
# 先关闭所有
*
!/.gitignore
# 仅上传custom目录下的文件
!/custom/
!/custom/**

7
custom/custom.mk Normal file
View File

@@ -0,0 +1,7 @@
include tools/scripts/config.mk
CUSTOM_DIR := custom
ifeq ($(strip $(DEMO_SUPPORT)),n)
include $(CUSTOM_DIR)/custom_main/custom_main.mk
endif

View File

@@ -0,0 +1,6 @@
CUSTOM_MAIN_DIR := custom/custom_main
OC_FILES += $(CUSTOM_MAIN_DIR)/src/custom_main.c
INC += -I'$(CUSTOM_MAIN_DIR)/inc'

View File

@@ -0,0 +1,13 @@
/*********************************************************
* @file cm_main.h
* @brief ML302 OpenCPU main header file
* Copyright (c) 2019 China Mobile IOT.
* All rights reserved.
* created by XieGangLiang 2019/10/08
********************************************************/
#ifndef __CM_MAIN_H__
#define __CM_MAIN_H__
#endif

View File

@@ -0,0 +1,6 @@
int cm_opencpu_entry(char * param)
{
return 0;
}