Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
afc-ipmi-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
xtca-projects
afc-ipmi-sw
Commits
6b2a8d4f
Commit
6b2a8d4f
authored
Mar 01, 2016
by
Henrique Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include board info variables to CMake Cache
parent
206259e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
config.cmake
build_cfg/config.cmake
+4
-4
No files found.
build_cfg/config.cmake
View file @
6b2a8d4f
#Select which microcontroller and board are being used
set
(
TARGET_CONTROLLER
"LPC1764"
)
set
(
TARGET_CONTROLLER
"LPC1764"
CACHE STRING
"Target MMC Controller"
)
set
(
TARGET_BOARD_NAME
"AFC3_1"
)
set
(
TARGET_BOARD_MAJOR 3
)
set
(
TARGET_BOARD_MINOR 1
)
set
(
TARGET_BOARD_NAME
"AFC3_1"
CACHE STRING
"Board Name"
)
set
(
TARGET_BOARD_MAJOR 3
CACHE STRING
"Board Major Version"
)
set
(
TARGET_BOARD_MINOR 1
CACHE STRING
"Board Minor Version"
)
#Normalize strings to upper case
string
(
TOUPPER
"
${
TARGET_CONTROLLER
}
"
TARGET_CONTROLLER_UPPER
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment