You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(gfx): drawPolygon Exact at 16x16 overflows the stack on Uno #5328
On an Arduino Uno, drawPolygon with the Exact kernel on a 16x16 CRGB canvas overflows the stack: Exact needs about 1.2 KB and the sketch leaves about 950 B free, which was verified in simavr. ABuffer, or Exact at 16x8, works. fl::scratch doesn't help, because SRAM is the same either way.
To do: explore a smaller Exact working set at the 8/16 tier, an automatic fall back to ABuffer when the canvas is large on 2 KB parts, or a static check or warning. At minimum, keep the limit documented in canvas.h and the Polygon example.
Activity
docs(gfx): state reference build for the ~950 B Uno stack figure, tel…
docs(gfx): document drawPolygon Exact stack limit on 2 KB AVR and why…
docs(gfx): state reference build for the ~950 B Uno stack figure, tel…
docs(gfx): document drawPolygon Exact stack limit on 2 KB AVR and why…
docs(gfx): state reference build for the ~950 B Uno stack figure, tel…
docs(gfx): document drawPolygon Exact stack limit on 2 KB AVR (FastLE…