Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added two missing macros to the compatibility pgmspace.h #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
aentinger merged 2 commits into arduino:master from CamelCaseName:master
Nov 28, 2023

Conversation

Copy link
Contributor

@CamelCaseName CamelCaseName commented Nov 26, 2023

These two macros were missing so i added them

Copy link

CLAassistant commented Nov 26, 2023
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link

codecov-commenter commented Nov 26, 2023
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.53%. Comparing base (1cec094) to head (1036d6c).
⚠️ Report is 17 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@
## master #227 +/- ##
=======================================
 Coverage 95.53% 95.53% 
=======================================
 Files 16 16 
 Lines 1075 1075 
=======================================
 Hits 1027 1027 
 Misses 48 48 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Missing in comparison to ... which other file? In which header file have these macros been previously included?

Copy link
Contributor Author

CamelCaseName commented Nov 28, 2023
edited
Loading

They are in the original avr/pgmspace.h included with all Arduino IDE 1.x and 2.x installs for avr boards.

ref: https://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html

Copy link
Contributor

The AVR core doesn't use ArduinoCore-API, however I've tested your change with

  • ArduinoCore-samd ✔️
  • ArduinoCore-mbed ✔️
  • ArduinoCore-megaavr ✔️
  • ArduinoCore-renesas ✔️

and I could not find a regression 👍 .

CamelCaseName reacted with thumbs up emoji

Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@aentinger aentinger merged commit 82a5055 into arduino:master Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@aentinger aentinger aentinger approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /