microbit-foundation / standalone-error-program

A small, standalone (No CODAL) bit of code to display errors on the micro:bit, for use in DAPLink and as a template for BLE bootloader
MIT License
0 stars 1 forks source link

build.py: read bin as binary (!) and output \n, not \r\n, to header #15

Open martinwork opened 3 years ago

martinwork commented 3 years ago

To fix https://github.com/microbit-foundation/standalone-error-program/issues/14

Tested on Windows 10 with Python 3.9.1 and gcc-arm-none-eabi-7-2018-q2-update, the built products are the same.