Skip to content

Remove PROGMEM attributes and pgm_read_byte #55

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

Closed
wants to merge 1 commit into from
Closed

Remove PROGMEM attributes and pgm_read_byte #55

wants to merge 1 commit into from

Conversation

MCUdude
Copy link
Contributor

@MCUdude MCUdude commented Sep 16, 2019

Not needed since the megaAVR-0 series have unified memory. Content is kept in progmem as long as they are defined const. Will close #11.

Not needed since the megaAVR 0-series have a unified address space. Using pgm_read* will only increase memory usage
@facchinm
Copy link
Member

Manually merged with a small fix on https://github.com/arduino/ArduinoCore-megaavr/pull/55/files#diff-be0c0cc05a23bed9071a3a0ea0ec2822R277 .
Thank you so much for the submission!

@facchinm facchinm closed this Sep 17, 2019
@MCUdude
Copy link
Contributor Author

MCUdude commented Sep 17, 2019

You're welcome!

Manually merged with a small fix

Did I sneak in a bug or typo? looked through the latest commit, but couldn't really find anything different from my commit...

@facchinm
Copy link
Member

It was missing a pgm_read_byte removal on the linked macro 😉

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.

Eliminate pgmspace?
2 participants