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
639b38d7
authored
Feb 03, 2015
by
Tobias Schuele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added section on platform specific code to README.md
parent
67cdb095
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
README.md
+26
-0
No files found.
README.md
View file @
639b38d7
...
@@ -319,6 +319,32 @@ The EMB² team welcomes all kinds of contributions, preferably as pull requests
...
@@ -319,6 +319,32 @@ The EMB² team welcomes all kinds of contributions, preferably as pull requests
or patches via the development mailing lists (see above). If possible, please
or patches via the development mailing lists (see above). If possible, please
refer to a current snapshot of the development branch.
refer to a current snapshot of the development branch.
EMB² is supposed to be easily portable to platforms unsupported so far. Almost
all platform specific code is located in the base_c and base_cpp modules. All
existing platform specific code is fenced by EMBB_PLATFORM_
*
defines.
To distinguish between compilers, EMB² currently uses the following defines:
-
EMBB_PLATFORM_COMPILER_GNUC
-
EMBB_PLATFORM_COMPILER_MSVC
-
EMBB_PLATFORM_COMPILER_UNKNOWN
Different architectures are distinguished using:
-
EMBB_PLATFORM_ARCH_X86
-
EMBB_PLATFORM_ARCH_X86_32
-
EMBB_PLATFORM_ARCH_X86_64
-
EMBB_PLATFORM_ARCH_ARM
-
EMBB_PLATFORM_ARCH_UNKNOWN
Threading APIs are switched by:
-
EMBB_PLATFORM_THREADING_WINTHREADS
-
EMBB_PLATFORM_THREADING_POSIXTHREADS
Please use these defines for new platform specific code. If additional defines
are needed, they can be defined in the config.h or cmake_config.h.in files.
Links
Links
-----
-----
...
...
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