Skip to content

Commit 9319336

Browse files
Add notes about optimizer setting
1 parent 372b84b commit 9319336

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

M4_Eyes/M4_Eyes.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
// "Uncanny Eyes" project (better for SAMD21 chips or Teensy 3.X and
66
// 128x128 TFT or OLED screens, single SPI bus).
77

8+
// IMPORTANT: DO NOT compile with optimizer settings exceeding -O3, else
9+
// the flash storage code may brick your board! If this happens, install
10+
// CircuitPython to reinitialize the filesystem, copy over your eye files
11+
// (keep backups!), then upload this code (compiled at -O3 or less).
12+
813
// LET'S HAVE A WORD ABOUT COORDINATE SYSTEMS before continuing. From an
914
// outside observer's point of view, looking at the display(s) on these
1015
// boards, the eyes are rendered COLUMN AT A TIME, working LEFT TO RIGHT,

0 commit comments

Comments
 (0)