As an example, if my code is too big to fit on the Arduino internal storage, can I use a USB stick with the full code and just read and run the code on the Arduino? If yes, can I hot-swap the USB with another code?
Welcome to the forum
No to both questions
Which Arduino board do you have and what is it that is taking up all of the internal storage ? Is it the code itself or the data used by the code ?
If the latter then consider using external storage such as an SD card
if program is too big but of small amount then you can try to rewrite it simplier, optimized.
if big amount - you take MCU with bigger flash space.
it's an Arduino UNO, it's just a hypothetical, thought about making a modular robot that has multiple modes and just swap the USB stick for a different mode. Thanks for the insight, good to know that the data used by the code won't be a limitation.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.