Skip to content

Update PROGMEM reference page to recommend "const" #1536

Closed
@PaulStoffregen

Description

@PaulStoffregen

The old AVR toolchain Arduino uses does not require "const" together with PROGMEM, but it accept const. But newer versions do require const.

This old documentation should be updated to recommend coding practice that is forward compatible.

http://arduino.cc/en/Reference/PROGMEM

It might also be good to mention Arduino Due, which doesn't use AVR PROGMEM.

Metadata

Metadata

Assignees

Labels

Component: CoreRelated to the code for the standard Arduino APIComponent: DocumentationRelated to Arduino's documentation content

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions