-
Notifications
You must be signed in to change notification settings - Fork 0
/
fp_sdk.h
74 lines (63 loc) · 2.49 KB
/
fp_sdk.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*MIT License
Copyright (c) 2023 Lu Xianfan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/*
* Copyright (c) 2023 by Moorgen Tech. Co, Ltd.
* @FilePath : fp_sdk.h
* @Author : lxf
* @Date : 2023-12-27 18:29:53
* @LastEditors : FlyyingPiggy2020 [email protected]
* @LastEditTime : 2023-12-27 18:29:54
* @Brief : fp-sdk头文件
*/
#ifndef __FP_SDK_H__
#define __FP_SDK_H__
/*---------- includes ----------*/
/**
* @brief 是否使用SHELL
* @return {*}
*/
#define FP_USE_SHELL 0
#if (USE_ESP == 1)
#include "utilities/clists/inc/clists.h" //这条需要放到前面因为后面的文件里用到了链表
#include "utilities/common/inc/fp_def.h"
#include "device/core/inc/device_manager.h"
#include "utilities/log/inc/log.h"
#include "utilities/export/inc/export.h"
#else
//#include "utilities/clists/inc/clists.h"
// #include "utilities/common/inc/fp_def.h"
// #include "device/core/inc/device_manager.h"
//#include "utilities/log/log.h"
//#include "driver/si446x/fp_si446x.h"
//#include "driver/simulator_spi/simulator_spi.h"
// #include "utilities/export/inc/export.h"
// #include "utilities/pingpong/inc/pingpong.h"
// #include "utilities/heap/TLSF-2.4.6/src/tlsf.h"
//#include "utilities/soft_timer/fp_soft_timer.h"
#if (FP_USE_SHELL == 1)
#include "utilities/shell/inc/shell.h"
#endif
#endif
/*---------- macro ----------*/
/*---------- type define ----------*/
/*---------- variable prototype ----------*/
/*---------- function prototype ----------*/
int heap_init(void);
/*---------- end of file ----------*/
#endif