embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nrf_network_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 
16 #define USE_UART1
17 #define SUBSYS_UART UART1
18 
19 #define THIS_NODE SCRUM_PUN
20 #define THIS_NODE2 MASTER
21 
22 // include the library header
23 #include "library.h"
24 // let the system know which lower level modules are in use
25 // this way higher modules can selectively utilize their resources
26 #define USE_MODULE_TASK
27 #define USE_MODULE_SUBSYSTEM
28 #define USE_MODULE_BUFFER_PRINTF
29 
30 #define SUBSYSTEM_UART 1 // UART1 is the application UART
31 
32 #define UART0_TX_BUFFER_LENGTH 512
33 
34 #define USE_UART0
35 
36 #define TASK_MAX_LENGTH 50
37 
38 #endif /* PROJECT_SETTINGS_H_ */