forked from nasa/PSP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault_config.cmake
More file actions
115 lines (99 loc) · 3.74 KB
/
default_config.cmake
File metadata and controls
115 lines (99 loc) · 3.74 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
##########################################################################
#
# Default configuration options for PSP
#
# This file specifies the default values for various compile-time options
# supported by PSP.
#
# NOTE:
# The defaults in this file should _not_ be directly modified for tuning.
#
# Instead, use the "PSP_CONFIGURATION_FILE" CMake variable to define
# a custom file which can override/modify the configuration for the items
# which require tuning.
#
##########################################################################
##############################################################
# Code/Feature Selection Options for the PSP implementation
##############################################################
#
# PSP_CONFIG_DEBUG_PRINTF
# ----------------------------------
#
# Controls inclusion of PSP_DEBUG statements in the code
#
# If set FALSE, all PSP_DEBUG statements are compiled out.
#
# If set TRUE, all the "PSP_DEBUG" statements will be compiled in and displayed
# on the debug console. The statements may still be suppressed at runtime.
#
set(PSP_CONFIG_DEBUG_PRINTF FALSE
CACHE BOOL "Controls inclusion of PSP_DEBUG statements in the code"
)
#
# PSP_CONFIG_RAM_DIRECT_MODE
# ----------------------------------
#
# Controls inclusion of PSP RAM_DIRECT module
#
# If set FALSE, the PSP RAM_NOTIMPL module included.
#
# If set TRUE, the PSP RAM_DIRECT module included.
#
set(PSP_CONFIG_RAM_DIRECT_MODE FALSE
CACHE BOOL "Controls inclusion of PSP RAM_DIRECT module"
)
#
# PSP_CONFIG_RAM_DEBUG_SCRATCHPAD
# ----------------------------------
#
# Controls inclusion of the RAM scratchpad in a PSP module
#
# If set FALSE, the RAM scratchpad is not included in a PSP module.
#
# If set TRUE, the RAM scratchpad is included in a PSP module.
#
set(PSP_CONFIG_RAM_DEBUG_SCRATCHPAD FALSE
CACHE BOOL "Controls inclusion of PSP RAM scratchpad module"
)
#
# PSP_CONFIG_RAM_DIRECT_STRICT_MODE
# --------------------------------------------
#
# Restrict access to CFE_PSP_MemValidateRange() address ranges
# within PSP RAM_DIRECT module
#
# If set FALSE, any addresses can be read or written.
#
# If set TRUE, only the CFE_PSP_MemValidateRange() address ranges
# can be read or written.
#
set(PSP_CONFIG_RAM_DIRECT_STRICT_MODE FALSE
CACHE BOOL "Restricts PSP RAM_DIRECT module access to CFE_PSP_MemValidateRange() address ranges"
)
#############################################
# Resource Limits for the PSP
#############################################
# The default value of debug level for PSP_DEBUG statements
set(PSP_CONFIG_DEBUG_LEVEL 1
CACHE STRING "Default value of Debug level for PSP_DEBUG"
)
##############################################################
# FS Mapping for the PSP implementation
##############################################################
# The default virtual FS mapping for the "/cf" directory, typically used for Linux and QNX
set(PSP_CONFIG_CF_VIRTUAL_MAPPING "./cf"
CACHE STRING "Default virtual FS mapping for the /cf directory"
)
# The default virtual FS mapping for the EEPROM "/cf" directory, typically used for RTEMS
set(PSP_CONFIG_CF_EEPROM_VIRTUAL_MAPPING "/mnt/eeprom"
CACHE STRING "Default virtual FS mapping for the EEPROM /cf directory"
)
# The default virtual FS mapping for the ROMFS "/cf" directory, typically used for VxWorks 7.x
set(PSP_CONFIG_CF_ROMFS_VIRTUAL_MAPPING "/romfs/cpu1/cf"
CACHE STRING "Default virtual FS mapping for the ROMFS /cf directory"
)
# The default virtual FS mapping for the physical device "/cf" directory, typically used for VxWorks 6.9 (MCP750)
set(PSP_CONFIG_CF_PHY_DEV_VIRTUAL_MAPPING "CF:0"
CACHE STRING "Default virtual FS mapping for the physical device /cf directory"
)