ntoll / uflash

A module and command to easily flash Python onto the BBC's micro:bit device.
http://micropython.org/
MIT License
106 stars 27 forks source link

Extract hex does not depend on extended address record before script. #32

Closed carlosperate closed 7 years ago

carlosperate commented 7 years ago

Currently to extract a script from a hex file we depend on the extended address record entry (:020000040003F7) to be immediately before the script start. This PR just goes through the hex file searching for the specific address _SCRIPT_ADDR and identifies it as the begging and end of the Python script.

carlosperate commented 7 years ago

@ntoll friendly pin?