Unicode.type gives `text section exceeds available space in board`

Hi,

So I am using the Unicode plugin example of Kaleidoscope here

And if I comment out the line starting with Unicode.type, compiles, otherwise not.

Read the linked Arduino tips, didn’t make much sense to me, any insights/ideas? Thanks in advance :slight_smile:

Here is the error:

Sketch uses 29278 bytes (102%) of program storage space. Maximum is 28672 bytes.
Global variables use 1483 bytes (57%) of dynamic memory, leaving 1077 bytes for local variables. Maximum is 2560 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.

Error during build: text section exceeds available space in board
make: *** [compile] Error 1

The “text section” is where the compiled binary is stored in “program memory” (aka “PROGMEM”). The sketch you’ve got is, unfortunately too big to fit on the processor in your keyboard. You can fix this by removing plugins that you don’t need (or want less than you want Unicode). If you’re using a Model01, the most obvious thing to start with is LED modes. If it’s an Atreus, check for plugins you’re not actually using first.

2 Likes