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

Increase emac_rx stack size #535

Merged
merged 1 commit into from
Dec 26, 2024
Merged

Increase emac_rx stack size #535

merged 1 commit into from
Dec 26, 2024

Conversation

indexds
Copy link
Contributor

@indexds indexds commented Dec 25, 2024

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • I have used cargo fmt command to ensure that all changed code is formatted correctly.
  • I have used cargo clippy command to ensure that all changed code passes latest Clippy nightly lints.
  • My changes were added to the CHANGELOG.md in the proper section.

Pull Request Details 📖

Description

Currently, on my end, increasing log verbosity beyond info with ethernet enabled crashes with a stack overflow in the emac_rx task. This simply increases the stack size of the task to prevent the crash.

Additionally, this reflects the default for the esp-idf project.

Unless i'm mistaken there is no kconfig setting that can be set to move this value.

Testing

Tested on my end with log set to debug level, crashes don't occur anymore.

@ivmarkov ivmarkov merged commit 617113e into esp-rs:master Dec 26, 2024
15 checks passed
ivmarkov pushed a commit that referenced this pull request Jan 1, 2025
* gatekeep mdns ipv6 behind feature flag

* fix feature flag typo

* format

* requested changes

* erratum

* add ipv4 feature flag

* add wrapper for promiscuous mode

* change warn->info

* add changes

* add changes

* &mut self -> &self

* add documentation, switch to &mut self

* format

* double emac_rx stack size

* Revert "double emac_rx stack size"

This reverts commit 54b89b1.

* changelog
@indexds indexds deleted the patch-1 branch January 2, 2025 13:59
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.

2 participants