简体   繁体   中英

Save an Arduino sketch on a progmem variable

I want to save an Arduino sketch on a progmem variable, I thought about save it in the form of strings but it's going to take a lot of space but then I thought about saving the hex instead. Do you have any idea about how doing this ? the syntax to use?

There is no simple way to do this. It would require replacing the bootloader with a custom code to allow writing to flash. You could look at using an ESP8266. Or use a second arduino to reprogram the first.

There are a few projects around that can turn an ESP8266 into a IP -> Serial tunnel which will allow uploading to the board as if it were plugged into the PC, but through a Wifi connection instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM