forked from souliss/souliss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GetConfig.h
72 lines (59 loc) · 2.11 KB
/
GetConfig.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
/**************************************************************************
Souliss
Copyright (C) 2014 Veseo
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Originally developed by Dario Di Maio
***************************************************************************/
/*!
\file
\ingroup
*/
/**************************************************************************/
#ifndef GENCONF_H
#define GENCONF_H
// Include configuration files
#include "conf/frame/MaCacoCfg.h"
#include "conf/uIP/uIPopt.h"
#include "conf/chibi/chibiUsrCfg.h"
#include "conf/nRF24/nRF24UsrCfg.h"
#include "conf/RFM69/RFM69UsrCfg.h"
#include "conf/EspLink/espLinkUsrCfg.h"
#include "conf/usart/usartUsrCfg.h"
#include "conf/eth/ethUsrCfg.h"
#include "conf/hardware/hwBoards.h"
#include "conf/frame/SoulissCfg.h"
#include "conf/frame/vNetCfg.h"
#include "conf/cores/cores.h"
#include "user/user_config.h"
// Define to zero if not used
#ifndef VNET_MEDIA1_ENABLE
#define VNET_MEDIA1_ENABLE 0
#endif
#ifndef VNET_MEDIA2_ENABLE
#define VNET_MEDIA2_ENABLE 0
#endif
#ifndef VNET_MEDIA3_ENABLE
#define VNET_MEDIA3_ENABLE 0
#endif
#ifndef VNET_MEDIA4_ENABLE
#define VNET_MEDIA4_ENABLE 0
#endif
#ifndef VNET_MEDIA5_ENABLE
#define VNET_MEDIA5_ENABLE 0
#endif
const U16 vnet_media_en[VNET_MEDIA_NUMBER] = {VNET_MEDIA1_ENABLE, // Media 1
VNET_MEDIA2_ENABLE, // Media 2
VNET_MEDIA3_ENABLE, // Media 3
VNET_MEDIA4_ENABLE, // Media 4
VNET_MEDIA5_ENABLE // Media 5
};
#endif