Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: add upload_file.py that uploads a file under the same path #268

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

josuah
Copy link
Member

@josuah josuah commented Sep 29, 2023

Here is the behavior:

$ python upload_file.py README.md
uuids=['00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '6e400001-b5a3-f393-e0a9-e50e24dcca9e', 'e5700001-7bac-429a-b4ce-57ff900f479d']
Connected to the Monocle
MicroPython v1.20.0-261-g813d559bc on 2023-07-06; Monocle on nRF52832
Type "help()" for more information.
>>>
>>>
>>> switching the terminal to raw mode
>>> opening a file to write to
>>> writing the data to the file
>>> closing the file so that the write() really take effect
>>> switch back to friendly mode
>>> upload done!

Device was disconnected.
$

@josuah josuah changed the base branch from main to dev September 29, 2023 14:02
@siliconwitch siliconwitch changed the base branch from dev to main September 29, 2023 16:00
@siliconwitch siliconwitch merged commit 2b0ea1f into main Sep 29, 2023
1 check passed
@siliconwitch siliconwitch deleted the upload_file branch September 29, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants