googlecreativelab / teachablemachine-community

Example code snippets and machine learning code for Teachable Machine
https://g.co/teachablemachine
Apache License 2.0
1.5k stars 669 forks source link

linker_script.ld:138 cannot move location counter backwards (from 200532b0 to 2003fc00) #368

Open alessandroree opened 7 months ago

alessandroree commented 7 months ago

I tried to upload the sketch into the arduino, and I received this error: linker_script.ld:138 cannot move location counter backwards (from 200532b0 to 2003fc00) collect2.exe: error: ld returned 1 exit status Searching around internet, I understood is a problem of heap and/or RAM storage. Someone modified sl_memory_config.h file that I didn't find, i tried with linker_script file but everytime I compile, the file change with the default values. I'm using Arduino 33 BLE Sense, Arduino_TensorFlowLite2.4.0ALPHA library, Arduino IDE 2.3.0, Arduino_OV767X 0.0.2 and tinyml converted folder from teachable machine. <img width="1017" alt="error cannot move location counter backwarfds" src="https://github.com/googlecreativelab/teachablemachine-community/assets/74153606/bbbbd320-4f73-4b11-bb29-3d2e63bb0277">