Skip to content

esp32s3: Fix faulty esp32s3-devkit:stack example#13563

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
tmedicci:bugfix/esp32s3_stack_halt
Sep 21, 2024
Merged

esp32s3: Fix faulty esp32s3-devkit:stack example#13563
xiaoxiang781216 merged 1 commit into
apache:masterfrom
tmedicci:bugfix/esp32s3_stack_halt

Conversation

@tmedicci
Copy link
Copy Markdown
Contributor

@tmedicci tmedicci commented Sep 20, 2024

Jira Task ID: _ NUT-1183_

Summary

  • esp32s3: Fix faulty esp32s3-devkit:stack example

This defconfig is an example of the recorded stack and it became faulty recently after the implementation of the up_current_regs functions (#13423). The noinstrument_function directive must be used to prevent it from being looped when instrumentation is enabled. Also, this commit places sched/instrument/stack_record.c in IRAM.

Impact

Make esp32s3-devkit:stack example work again.

Testing

Internal CI testing + ESP32-S3-DevKitC-1 v1.0

Just build it and run cat /proc/0/stack.

This defconfig is an example of the recorded stack and it became
faulty recently after the implementation of the `up_current_regs`
functions. The `noinstrument_function` directive must be used for
preventing it from being looped when instrumentation is enabled.
Also, this commit places `sched/instrument/stack_record.c` in IRAM.
@github-actions github-actions Bot added Arch: xtensa Issues related to the Xtensa architecture Area: Board support Board support issues Size: XS The size of the change in this PR is very small labels Sep 20, 2024
@xiaoxiang781216 xiaoxiang781216 merged commit 72acec7 into apache:master Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: xtensa Issues related to the Xtensa architecture Area: Board support Board support issues Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants