Forum Posts

ar-aya
Aug 22, 2021
In Basic Assembly and Setup
Today, I unpacked Bittle and successfully ran WriteInstinct.ino. But I failed to upload OpenCat.ino because sketch uses over 100%. How do I solve this situation? What I checked : https://www.petoi.com/forum/basic-assembly-and-setup/opencat-sketch-too-big-solved IRremote 2.6.1 installed Environment : OS : MacOSX 11.2.2(BigSur) CPU : Apple M1 Arduino IDE : 1.8.3 and 2.0.0 Error message : In file included from /Users/user_name/Dev/OpenCat/WriteInstinct/OpenCat.h:86:0, from /Users/user_name/Dev/OpenCat/OpenCat.ino:31:/Users/user_name/Library/Arduino15/packages/arduino/hardware/avr/1.8.3/libraries/Wire/src/Wire.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':/Users/user_name/Library/Arduino15/packages/arduino/hardware/avr/1.8.3/libraries/Wire/src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int) uint8_t requestFrom(int, int); ^~~/Users/user_name/Library/Arduino15/packages/arduino/hardware/avr/1.8.3/libraries/Wire/src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t) uint8_t requestFrom(uint8_t, uint8_t); ^~~Sketch uses 33328 bytes (103%) of program storage space. Maximum is 32256 bytes.Global variables use 1208 bytes (58%) of dynamic memory, leaving 840 bytes for local variables. Maximum is 2048 bytes.Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.Compilation error: Error: 2 UNKNOWN: text section exceeds available space in board
0
3
61
ar-aya
More actions