summaryrefslogtreecommitdiffstatshomepage
path: root/py/parsehelper.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-16 11:45:52 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-16 11:45:52 +0100
commitecdf6cdc5bdbb51451604df0713f1b24476f0714 (patch)
tree9a6e6e9a792325097ded2efdba3e6dfad8d1568d /py/parsehelper.h
parentbda2f709646f80dc82e52cd664d17cd41e8b2b6a (diff)
downloadmicropython-ecdf6cdc5bdbb51451604df0713f1b24476f0714.tar.gz
micropython-ecdf6cdc5bdbb51451604df0713f1b24476f0714.zip
tools: Fix up pybcdc.inf generation: new lines and hex digits.
Using Python's file open in 'r' mode opens it for text reading, which converts all new lines to \n. Could use 'rb' binary mode, but then don't have access to the string Template replacement functions. Thus, force the output to have '\\r\\n' ending. Also fix regex to match hex digits.
Diffstat (limited to 'py/parsehelper.h')
0 files changed, 0 insertions, 0 deletions