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

Fix crash in network driver by increasing threads stack size #1087

Merged

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Mar 2, 2024

Closes #1059

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@bettio bettio changed the base branch from main to release-0.6 March 2, 2024 13:26
@bettio bettio force-pushed the scheduler-threads-main-stack-size branch from 49bf858 to 970da27 Compare March 2, 2024 13:32
Change scheduler threads stack size to be the same as main thread stack size.
So functions such as `esp_wifi_init()` work regardless of the used thread.

Signed-off-by: Davide Bettio <davide@uninstall.it>
@bettio bettio force-pushed the scheduler-threads-main-stack-size branch from 970da27 to 80944f5 Compare March 2, 2024 13:32
@@ -20,6 +20,8 @@

#include "smp.h"

#include <sdkconfig.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This include could be on line 33 below.

@bettio bettio merged commit deda6cd into atomvm:release-0.6 Mar 2, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants