Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
74cbc558
authored
Nov 18, 2016
by
Michael Schmid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes for tricore
parent
53832595
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
CMakeLists.txt
+2
-1
TC_Toolchain.cmake
+1
-1
base_c/src/core_set.c
+1
-1
base_cpp/src/duration.cc
+1
-1
No files found.
CMakeLists.txt
View file @
74cbc558
...
...
@@ -76,7 +76,7 @@ endif()
# The set option will be converted to uppercase letters by cmake!! --> ON/OFF
# Note that the help string (second argument) cannot be printed by cmake.
#
option
(
BUILD_TESTS
"Specify whether tests should be built"
O
FF
)
option
(
BUILD_TESTS
"Specify whether tests should be built"
O
N
)
option
(
BUILD_EXAMPLES
"Specify whether examples should be built"
OFF
)
option
(
USE_EXCEPTIONS
"Specify whether exceptions should be activated in C++"
ON
)
option
(
INSTALL_DOCS
"Specify whether Doxygen docs should be installed"
ON
)
...
...
@@ -105,6 +105,7 @@ endif()
message
(
" (set with command line option -DUSE_AUTOMATIC_INITIALIZATION=ON/OFF)"
)
#include the directory of the FreeRTOS library
include_directories
(
${
FREE_RTOS_LIB_PATH
}
/include
)
...
...
TC_Toolchain.cmake
View file @
74cbc558
...
...
@@ -17,7 +17,7 @@ SET(CMAKE_CXX_COMPILER C:/HighTec/toolchains/tricore/v4.6.6.0-infineon-1.1/bin/t
SET
(
CMAKE_FIND_ROOT_PATH C:/HighTec/toolchains/tricore/v4.6.6.0-infineon-1.1
)
SET
(
FREE_RTOS_LIB_PATH C:/
data/projekte/freeRTOS_lib
/
)
SET
(
FREE_RTOS_LIB_PATH C:/
Data/Projekte/FreeRTOS_TC27x
/
)
# search for programs in the build host directories
SET
(
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH
)
...
...
base_c/src/core_set.c
View file @
74cbc558
...
...
@@ -149,7 +149,7 @@ void embb_core_set_init(embb_core_set_t* core_set, int initializer) { // scm3468
}
#endif
EMBB_PLATFORM_THREADING_RTOSTASKS
#endif
/* EMBB_PLATFORM_THREADING_RTOSTASKS */
void
embb_core_set_add
(
embb_core_set_t
*
core_set
,
unsigned
int
core_number
)
{
assert
(
core_set
!=
NULL
);
...
...
base_cpp/src/duration.cc
View file @
74cbc558
...
...
@@ -141,7 +141,7 @@ unsigned long long internal::Microseconds::Max() {
#if EMBB_DURATION_MAX_SECONDS < ULLONG_MAX / 1000000
return
ULLONG_MAX
;
#else
return
EMBB_DURATION_MAX_SECONDS
*
1000000
;
return
EMBB_DURATION_MAX_SECONDS
*
1000000
;
// sc: warning integer overflow
#endif
}
...
...
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