Skip to content

feat(stl): per-target FL_SCRATCH_STACK_BYTES defaults for small-stack boards (follow-up #5305) #5326

Closed

Description

@zackees

Follow-up of #5305 / PR #5311. FL_SCRATCH_STACK_BYTES defaults to 0 (opt-in) on AVR, LPC804, Teensy LC, nRF51, STM32G03x and low-density STM32F1, so these targets gain nothing unless a sketch sets -DFL_SCRATCH_STACK_BYTES=N.

To do: size per-target defaults individually. This matters for the boards with a small stack but more SRAM, such as nRF51, Teensy LC and STM32G03x. Alternatively, document the opt-in clearly in the board-facing docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions