Is there a way to retrieve and use the Arduino code stored in an external device?

I am a student who is trying to make a project using the sd card module.
To create a project I'm planning, I have to write a code that far exceeds Arduino's code storage capacity.
To solve this problem, I want to save the code in the SD card module and use the method of importing and executing the code in the SD card to the code in Arduino.
However, even if I looked for a lot of information, I couldn't find a way to retrieve the code stored in text format in the SD card.

Is there a way to import the code in the text file into Arduino and then execute the code in Arduino?
You don't have to use the SD card module, so please let me know if there is a way.

Use a bigger Arduino.

Because then you'd need somewhere to store and execute the compiler, and that's whole other problem.

You’d be surprised how much code can fit into even the smallest arduino. the problem starts to occurs if you have tonnes of static data included in code, that can be offloaded to SD. What board you are writing for?

Really? You have a project that needs more than 256kB of compiled C++ code (code not data)? Can you give us more information about that project? Maybe the Arduino platform isn't suited for the project. There are other platforms on the market that better fits storage-intensive applications (p.e. Raspberry Pi).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.