arduino / arduino/ArduinoCore-avr

Improve F macro to avoid string duplication in Flash

Open
#472 0 comments 0 reactions 0 assignees Claimed by @Orace View on GitHub
enhancement
Dominant language
C
Stars
1.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Based on [this](http://michael-buschbeck.github.io/arduino/2013/10/20/string-merging-pstr/) blog post, one can improve the `F` so it avoid string duplication in Flash.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked pull request #473 and the referenced blog post about merging PSTR strings. Trace the existing F macro and its Flash-string behavior in the Arduino AVR core. Done means the proposed F improvement avoids string duplication in Flash and is covered by the pull request's validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.