SSCMA-Micro CPP SDK
v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_config_internal.h
Go to the documentation of this file.
1
#ifndef _MA_CONFIG_INTERNAL_H_
2
#define _MA_CONFIG_INTERNAL_H_
3
4
#if __has_include(<ma_config.h>)
5
#include <ma_config.h>
6
#endif
7
8
#if __has_include(<ma_config_board.h>)
9
#include <ma_config_board.h>
10
#endif
11
12
#ifndef MA_DEBUG_LEVEL
13
// Level:
14
// 0: no debug
15
// 1: print error
16
// 2: print warning
17
// 3: print info
18
// 4: print debug
19
// 5: print verbose
20
#define MA_DEBUG_LEVEL 5
21
#endif
22
23
#ifndef MA_USE_DEBUG_MORE_INFO
24
#define MA_USE_DEBUG_MORE_INFO 0
25
#endif
26
27
#ifndef MA_USE_ASSERT
28
#if MA_DEBUG_LEVEL == 0
29
#define MA_USE_ASSERT 0
30
#else
31
#define MA_USE_ASSERT 1
32
#endif
33
#endif
34
35
#ifndef MA_ENGINE_SHAPE_MAX_DIM
36
#define MA_ENGINE_SHAPE_MAX_DIM 6
37
#endif
38
39
#ifndef MA_MAX_WIFI_SSID_LENGTH
40
#define MA_MAX_WIFI_SSID_LENGTH 32
41
#endif
42
43
#ifndef MA_MAX_WIFI_BSSID_LENGTH
44
#define MA_MAX_WIFI_BSSID_LENGTH 32
45
#endif
46
47
#ifndef MA_MAX_WIFI_PASSWORD_LENGTH
48
#define MA_MAX_WIFI_PASSWORD_LENGTH 64
49
#endif
50
51
#ifndef MA_MQTT_MAX_BROKER_LENGTH
52
#define MA_MQTT_MAX_BROKER_LENGTH 128
53
#endif
54
55
#ifndef MA_MQTT_MAX_CLIENT_ID_LENGTH
56
#define MA_MQTT_MAX_CLIENT_ID_LENGTH 128
57
#endif
58
59
#ifndef MA_MQTT_MAX_TOPIC_LENGTH
60
#define MA_MQTT_MAX_TOPIC_LENGTH 128
61
#endif
62
63
#ifndef MA_MQTT_MAX_USERNAME_LENGTH
64
#define MA_MQTT_MAX_USERNAME_LENGTH 128
65
#endif
66
67
#ifndef MA_MQTT_MAX_PASSWORD_LENGTH
68
#define MA_MQTT_MAX_PASSWORD_LENGTH 256
69
#endif
70
71
#ifndef MA_MODEL_MAX_PATH_LENGTH
72
#define MA_MODEL_MAX_PATH_LENGTH 256
73
#endif
74
75
#ifndef MA_USE_TRANSPORT_MQTT
76
#define MA_USE_TRANSPORT_MQTT 0
77
#endif
78
79
#endif
// MA_CONFIG_INTERNAL_H
sscma
core
ma_config_internal.h
Generated by
1.9.1