adafruit / adafruit/HT1632

Error compiling library in Arduino 1.6.4

Open
#7 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
37
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Error when compiling:

```
/Users/tguidon/Documents/Arduino/libraries/HT1632/glcdfont.c:15:23: error: variable 'font' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
static unsigned char font[] PROGMEM = {
^
Error compiling
```

Sketch compiles fine on Arduino 1.0.5

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the compilation failure with Arduino 1.6.4 using the library and inspect glcdfont.c around line 15, where the font declaration is reported. Compare the behavior with Arduino 1.0.5; done means the library compiles successfully on the newer Arduino version without regressing the older case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.