1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #16956 from fjmolinas/pr_native_relative_stacksize

cpu/native/include: other stacksizes based on default
This commit is contained in:
Francisco 2021-10-26 09:04:16 +02:00 committed by GitHub
commit 96e2ad1f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ extern "C" {
#define THREAD_STACKSIZE_DEFAULT (163840)
#endif
#ifndef THREAD_STACKSIZE_IDLE
#define THREAD_STACKSIZE_IDLE (163840)
#define THREAD_STACKSIZE_IDLE (THREAD_STACKSIZE_DEFAULT)
#endif
#ifndef THREAD_EXTRA_STACKSIZE_PRINTF
#define THREAD_EXTRA_STACKSIZE_PRINTF (81920)
@ -42,10 +42,10 @@ extern "C" {
#endif
/* for core/include/thread.h */
#ifndef THREAD_STACKSIZE_MINIMUM
#define THREAD_STACKSIZE_MINIMUM (163840)
#define THREAD_STACKSIZE_MINIMUM (THREAD_STACKSIZE_DEFAULT)
#endif
#ifndef ISR_STACKSIZE
#define ISR_STACKSIZE (163840)
#define ISR_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
#endif
#else /* Linux etc. */
@ -53,7 +53,7 @@ extern "C" {
#define THREAD_STACKSIZE_DEFAULT (8192)
#endif
#ifndef THREAD_STACKSIZE_IDLE
#define THREAD_STACKSIZE_IDLE (8192)
#define THREAD_STACKSIZE_IDLE (THREAD_STACKSIZE_DEFAULT)
#endif
#ifndef THREAD_EXTRA_STACKSIZE_PRINTF
#define THREAD_EXTRA_STACKSIZE_PRINTF (4096)
@ -63,11 +63,11 @@ extern "C" {
#endif
/* for core/include/thread.h */
#ifndef THREAD_STACKSIZE_MINIMUM
#define THREAD_STACKSIZE_MINIMUM (8192)
#define THREAD_STACKSIZE_MINIMUM (THREAD_STACKSIZE_DEFAULT)
#endif
/* native internal */
#ifndef ISR_STACKSIZE
#define ISR_STACKSIZE (8192)
#define ISR_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
#endif
#endif /* OS */
/** @} */