FirstCommit
This commit is contained in:
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# 先关闭所有
|
||||||
|
*
|
||||||
|
!/.gitignore
|
||||||
|
|
||||||
|
# 仅上传custom目录下的文件
|
||||||
|
!/custom/
|
||||||
|
!/custom/**
|
||||||
7
custom/custom.mk
Normal file
7
custom/custom.mk
Normal 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
|
||||||
6
custom/custom_main/custom_main.mk
Normal file
6
custom/custom_main/custom_main.mk
Normal 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'
|
||||||
13
custom/custom_main/inc/custom_main.h
Normal file
13
custom/custom_main/inc/custom_main.h
Normal 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
|
||||||
6
custom/custom_main/src/custom_main.c
Normal file
6
custom/custom_main/src/custom_main.c
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
int cm_opencpu_entry(char * param)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user