Skip to content

Add PICO_PANIC_NO_STRINGS_ON_TARGET config#1771

Open
korneliuszo wants to merge 1 commit into
raspberrypi:developfrom
korneliuszo:panic-no-strings-on-target
Open

Add PICO_PANIC_NO_STRINGS_ON_TARGET config#1771
korneliuszo wants to merge 1 commit into
raspberrypi:developfrom
korneliuszo:panic-no-strings-on-target

Conversation

@korneliuszo

Copy link
Copy Markdown

Removes rodata not always needed strings
Fixes: #1770

Removes rodata not always needed strings
#ifndef PICO_PANIC_NO_STRINGS_ON_TARGET
// PICO_CONFIG: PICO_PANIC_FUNCTION, Name of a function to use in place of the stock panic function or empty string to simply breakpoint on panic, group=pico_runtime
// note the default is not "panic" it is undefined
#ifdef PICO_PANIC_FUNCTION

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did you consider defining PICO_PANIC_FUNCTION?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Should I doxygen it here or it is more platform.h place?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I've misunderstood see #1770 (comment) for benchmarks

@kilograham kilograham self-assigned this Jul 23, 2024
@kilograham kilograham added this to the 1.6.0 milestone Jul 23, 2024
@kilograham kilograham modified the milestones: 1.6.0, 1.7.0 Jul 31, 2024
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