RTLib
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
config.h
Go to the documentation of this file.
1
10
/*
11
* This file is part of RTLib.
12
*
13
* Copyright (C) 2017-2018 Derppening <david.18.19.21@gmail.com>
14
*
15
* RTLib is free software: you can redistribute it and/or modify
16
* it under the terms of the GNU Lesser General Public License as published by
17
* the Free Software Foundation, either version 3 of the License, or
18
* (at your option) any later version.
19
*
20
* RTLib is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
* GNU Lesser General Public License for more details.
24
*
25
* You should have received a copy of the GNU Lesser General Public License
26
* along with RTLib. If not, see <http://www.gnu.org/licenses/>.
27
*/
28
29
#ifndef RTLIB_CONFIG_CONFIG_H_
30
#define RTLIB_CONFIG_CONFIG_H_
31
32
#if defined(EXAMPLE_CONFIG)
33
#include "
example_config.h
"
34
#elif defined(MAINBOARD_VER4_2)
35
#include "
mainboard_ver4_2.h
"
36
#elif defined(STM32F103_DEV)
37
#include "
config/stm32f103_dev.h
"
38
#elif defined(STM32F407_DEV)
39
#include "
config/stm32f407_dev.h
"
40
#else
41
#error "No known configuration is specified. Please specify a target mainboard in CMakeLists.txt"
42
#endif
43
44
#endif // RTLIB_CONFIG_CONFIG_H_
stm32f103_dev.h
Pin configurations for STM32F103 development board.
mainboard_ver4_2.h
Pin configurations for Mainboard Version 4.2, designed by Chan Tsz Ho.
example_config.h
Example configuration.
stm32f407_dev.h
Pin configurations for STM32F407 development board.
src
config
config.h
Generated on Fri Jun 15 2018 08:44:09 for RTLib by
1.8.6