Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys/auto_init: fix stack size for encx24j600 stack #4208

Merged
merged 1 commit into from
Nov 3, 2015

Conversation

haukepetersen
Copy link
Contributor

I think THREAD_STACKSIZE_DEFAULT should be sufficient here. But it is definitely not default + 2*extra...

@haukepetersen haukepetersen added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation labels Nov 2, 2015
@haukepetersen haukepetersen added this to the Release 2015.12 milestone Nov 2, 2015
@kaspar030
Copy link
Contributor

@haukepetersen Are you aware that DEBUG_EXTRA_STACKSIZE evaluates to 0 if ENABLE_DEBUG==0?

@haukepetersen
Copy link
Contributor Author

nope :-)

But adding it to the stack twice, was that intentional?

@kaspar030
Copy link
Contributor

no, not at all. ;)

@haukepetersen
Copy link
Contributor Author

Alright then, are you willing to merge this as-is or should I revert the first change?

@kaspar030
Copy link
Contributor

should I revert the first change?

Yes, please. The extra_stacksize is there so that it gets added when someone sets enable_debug, it is completely intentional. Only adding it twice was not.

@haukepetersen haukepetersen added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Nov 2, 2015
@haukepetersen
Copy link
Contributor Author

I see -> adapted

@kaspar030
Copy link
Contributor

ACK.

kaspar030 added a commit that referenced this pull request Nov 3, 2015
sys/auto_init: fix stack size for encx24j600 stack
@kaspar030 kaspar030 merged commit 77b5814 into RIOT-OS:master Nov 3, 2015
@haukepetersen haukepetersen deleted the fix_ainit_encx24 branch November 3, 2015 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants