-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.h
27 lines (21 loc) · 897 Bytes
/
Config.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
////////////////////////////
// Z-OS Configuration //
////////////////////////////
// Edit these configuration options to control how Z-OS functions.
// The number of system worker threads in the system to
// be used for asynchronous delegates.
#define SystemWorkerThreadCount 3
// The priority of the timer interrupt used to preempt threads.
// This must not only be changed here, but must be changed
// in the ThreadManager.c assembly section.
#define PreemptInterruptPriority 1
// The size of the stack for each thread. Stack overflows are
// not usually detected, so it must be large enough to contain
// the maximum amount of stack and small enough to fit once per
// thread in the heap.
#define DefaultStackSize 0x300
// The size of the stack space left for trap handlers.
#define TrapStackSize 0x20
// Devices
#define UseSerial
#define UseSPI