satoshinm / pill_duck

Scriptable USB HID device for STM32F103 blue pill (inspired by USB Rubber Ducky) ⛺
GNU General Public License v3.0
63 stars 17 forks source link

Support flashing larger than a flash page (1 KB) #5

Open satoshinm opened 6 years ago

satoshinm commented 6 years ago

Flash has to be erased a page (1 KB on the STM32F103 blue pill) at a time, limiting the payload size. To support larger compiled payloads, buffer up to a page and flash and write a page at a time.