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
8f69064b
authored
8 years ago
by
Michael Schmid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes
parent
2236e99e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
base_c/src/core_set.c
+1
-1
base_c/src/log.c
+4
-0
base_c/src/mutex.c
+2
-2
base_c/src/thread.c
+1
-1
partest.tar
+0
-0
No files found.
base_c/src/core_set.c
View file @
8f69064b
...
...
@@ -127,7 +127,7 @@ void embb_core_set_init(embb_core_set_t* core_set, int initializer) {
#ifdef EMBB_PLATFORM_THREADING_RTOSTASKS
#ifdef __TriCore__
#define CORE_COUNT 3
//scm34681: 3
#define CORE_COUNT 3
#endif
...
...
This diff is collapsed.
Click to expand it.
base_c/src/log.c
View file @
8f69064b
...
...
@@ -32,6 +32,7 @@
#include <embb/base/c/log.h>
#include <embb/base/c/internal/config.h>
#include <embb/base/c/internal/unused.h>
void
embb_log_write_file
(
void
*
context
,
...
...
@@ -103,6 +104,9 @@ void embb_log_write_internal(
embb_log_global_log_function
(
log_context
,
buffer
);
#elif defined(EMBB_PLATFORM_COMPILER_GNUC)
#if defined(EMBB_OS_FREERTOS)
EMBB_UNUSED
(
log_level_str
);
EMBB_UNUSED
(
message
);
EMBB_UNUSED
(
argp
);
#else
char
msg_buffer
[
400
];
char
buffer
[
500
];
...
...
This diff is collapsed.
Click to expand it.
base_c/src/mutex.c
View file @
8f69064b
...
...
@@ -163,7 +163,7 @@ int embb_mutex_init(embb_mutex_t* mutex, int type) {
* but queue.c...
*/
/*if(type == EMBB_MUTEX_PLAIN) {
mutex = xSemaphoreCreateMutex();
*
mutex = xSemaphoreCreateMutex();
}
else {
assert(type == EMBB_MUTEX_RECURSIVE);*/
...
...
@@ -209,7 +209,7 @@ int embb_mutex_unlock(embb_mutex_t* mutex) {
void
embb_mutex_destroy
(
embb_mutex_t
*
mutex
)
{
assert
(
NULL
!=
mutex
);
vSemaphoreDelete
(
mutex
);
vSemaphoreDelete
(
*
mutex
);
}
...
...
This diff is collapsed.
Click to expand it.
base_c/src/thread.c
View file @
8f69064b
...
...
@@ -364,7 +364,7 @@ embb_thread_start_t func, void *arg) {
thread
->
embb_internal_arg
->
func
=
func
;
thread
->
embb_internal_arg
->
arg
=
arg
;
status
=
TaskCreateWithCoreSet
(
status
=
core_set_create_task
(
(
TaskFunction_t
)
embb_internal_thread_start
,
// entry function
500
,
// stack depth
rtos_core_set
,
// core set
...
...
This diff is collapsed.
Click to expand it.
partest.tar
View file @
8f69064b
No preview for this file type
This diff is collapsed.
Click to expand it.
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