Skip to content

Conversation

korneliuszo
Copy link

Removes rodata not always needed strings
Fixes: #1770

Removes rodata not always needed strings
@@ -276,6 +276,7 @@ void __attribute__((noreturn)) panic_unsupported(void) {
panic("not supported");
}

#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
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
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
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