Hello, I'm working on a project to get an 0.96 oled working on the ATsamD11a micro processor. So far everything has been working perfectly with a few problems trying to get the i2c scanner working by defining the i2c pins.
My last tast on this processor is trying to get a 0.96oled screen working on this processor. I have tried to use the defualt adafruit library to make this work. I ran into an error message
c:/users/jjc/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: C:\Users\jJc\AppData\Local\Temp\arduino_build_357526/ssd1306_128x64_i2c.ino.elf section `.text' will not fit in region `FLASH'
c:/users/jjc/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 17616 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Generic D11D14AS.
Something I have never saw before and because this is a new processor with limit space. It looks like it will take up the whole sketch space trying to upload it. My question to the community becuase I can not find online is there a small library I can use to make this work without taking up a lot of space? Sense the micro processor only has 16k and I would like to add a thermistor for temperature sensing I'm not sure what to do for the oled?
Edit: This is the library I'm currently using https://github.com/adafruit/Adafruit_SSD1306
Joseph