Comments (4)
Knock yourself out..! :-) The -k
--keepname
sounds like a good way to go. Please remember the checklist at the end of here: https://github.com/ntoll/uflash/blob/master/CONTRIBUTING.rst
(BTW.... micropython.hex
is used simply because uflash usually saves directly onto the device rather than the local FS [nobody has ever considered anyone would want to pre-create/save hex files with uflash]).
from uflash.
When I first learned about the hex format I was quite surprised that standalone compiler/hexifier program didn't exist. I wanted to demonstrate the microbit at my local makerspace and wanted to be able to just drag and drop pre-hexified files onto the microbit. Uflash almost fit the bill except for not preserving the filename.
I've completed my edits. I'll submit a pull request.
from uflash.
Great stuff... thank you! Looking forward to getting your PR. :-)
from uflash.
I'll have a second pull request soon. I wanted to have multi-input support (*.py, etc.) and finally decided that the simplest way to implement that was to create a separate script (hexify.py) that loads uflash.py as a module. I've got it working but I'll need to add tests and documentation.
from uflash.
Related Issues (20)
- Is it possible to flash several .py files simultaneously? HOT 1
- Performance penalty if firmware hex string is dropped? HOT 4
- Please tag releases
- uflash wont flash a 8176 byte script HOT 2
- uflash fails to find microbit HOT 1
- flashing a script is different from putting a main.py HOT 1
- uflash needs a --port option HOT 1
- Flashing with custom micropython is not working HOT 6
- Check .hex file burning completed in microbit HOT 3
- If my computer is plugged into two microbits, how do I know which serial port corresponds to which microbit device?Through VID PID?
- installing uflash gives an error HOT 2
- uflash cannot generate hex for microbit v2. HOT 14
- Error extracting Qtruck-BLE.hex: 'utf-8' codec can't decode byte 0x8a in position 1: invalid start byte HOT 3
- py2hex? HOT 1
- with --runtime disabled, how to upload a new hex file? HOT 4
- Next uFlash release HOT 1
- where do i put microbit.hex so uflash will use that?
- I can't import log HOT 5
- uflash : The term 'uflash' is not recognized as the name of a cmdlet HOT 2
- The 'runtime' flag is no longer supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uflash.