Go Down

Topic: upload binary file into flash memory array at compilation (Read 538 times) previous topic - next topic

davideIO

Hello,

Is it possible in the Arduino sketch to upload a binary file into flash memory array at compilation?

AdderD

I'm not entirely sure what you are asking. Do you mean "Can I compile a sketch then somehow send it to an arduino sketch that will store it into a flash array?" Yes, you could do that but there's no built-in easy way to do it. You'd have to code it all up. All the Arduino IDE can do is compile things and upload them as the main sketch.

davideIO

Hi,

I have a binary file on my PC. This binary file contains data that I want to put in a data array[] that could be use in runtime by the Arduino DUE.

Go Up