embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
thief_project_settings.h
Go to the documentation of this file.
1 /*
2  * project_settings.h
3  *
4  * Created on: Apr 16, 2019
5  * Author: Michael
6  */
7 
8 #ifndef PROJECT_SETTINGS_H_
9 #define PROJECT_SETTINGS_H_
10 
11 #define FCPU 24000000
12 
13 #define USE_SPI_B0
14 #define SPI_MAX_SIZE 33
15 #define THIEF_SPI SPI_B0
16 #define THIEF_BRAINFRAME_NETWORK
17 
18 #define USE_UART1
19 #define SUBSYS_UART UART1
20 
21 #define THIS_NODE MIKE
22 #define THIS_NODE2 MASTER
23 
24 // include the library header
25 #include "library.h"
26 // let the system know which lower level modules are in use
27 // this way higher modules can selectively utilize their resources
28 #define USE_MODULE_TASK
29 #define USE_MODULE_SUBSYSTEM
30 #define USE_MODULE_BUFFER_PRINTF
31 
32 #define SUBSYSTEM_UART 1
33 
34 #define UART0_TX_BUFFER_LENGTH 512
35 
36 #define USE_UART0
37 
38 #define TASK_MAX_LENGTH 50
39 
40 #endif /* PROJECT_SETTINGS_H_ */