Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RTEMS-build-workflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
c4151473
Commit
c4151473
authored
Jul 14, 2017
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In RTEMS4.12, some names have changed and/or become deprecated...
parent
54a22acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
OAR/src/system.h
OAR/src/system.h
+19
-0
No files found.
OAR/src/system.h
View file @
c4151473
// Comment this to skip memory checks at startup
#define MEMCHECK
#include <rtems/score/cpuopts.h>
#include <rtems/score/types.h>
#include <rtems/rtems/types.h>
#include <rtems/rtems/tasks.h>
...
...
@@ -18,12 +19,30 @@ void memcheck(void);
#define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
// In RTEMS master (i.e. the future 4.12) some names have changed...
#if __RTEMS_MAJOR__ == 4 && \
( __RTEMS_MINOR__ > 11 || \
( __RTEMS_MINOR__ == 11 && __RTEMS_REVISION__ >= 99))
#ifdef BSP_leon2
#define CONFIGURE_MAXIMUM_PROCESSORS 1
#else
#define CONFIGURE_MAXIMUM_PROCESSORS 4
#endif
#else // __RTEMS_MAJOR__ == 4 && __RTEMS_MINOR__ > 11
#define CONFIGURE_SMP_APPLICATION
#ifdef BSP_leon2
#define CONFIGURE_SMP_MAXIMUM_PROCESSORS 1
#else
#define CONFIGURE_SMP_MAXIMUM_PROCESSORS 4
#endif
#endif
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#ifndef DEFINE_VARS
#define GLOBAL
...
...
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