Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
3b3da2dc
Commit
3b3da2dc
authored
1 year ago
by
TheNewCivilian
Committed by
q3k
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: Add USB access instructions
parent
46b0eab8
No related branches found
No related tags found
1 merge request
!139
docs: Add USB access instructions
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/badge/firmware.rst
+17
-1
17 additions, 1 deletion
docs/badge/firmware.rst
with
17 additions
and
1 deletion
docs/badge/firmware.rst
+
17
−
1
View file @
3b3da2dc
...
@@ -75,9 +75,25 @@ This is the SPI flash partition layout we use:
...
@@ -75,9 +75,25 @@ This is the SPI flash partition layout we use:
| ``vfs`` | 12MiB | FAT32 filesystem (with [#WL]_ layer). |
| ``vfs`` | 12MiB | FAT32 filesystem (with [#WL]_ layer). |
+--------------+--------+---------------------------------------+
+--------------+--------+---------------------------------------+
Accessing files from a PC
Setup USB access rules
-------------------------
-------------------------
.. warning::
**Did you set up USB access rules already?**
To let ``mpremote`` to work properly your user needs to have access rights to ttyACM.
Quick fix: ``sudo chmod a+rw /dev/ttyACM[Your Device Id here]```
More sustainable fix: Setup an systemd rule to automatically allow the logged in user to access ttyUSB
1. To use this, add the following to /etc/udev/rules.d/60-extra-acl.rules: ``KERNEL=="ttyACM[0-9]*", TAG+="udev-acl", TAG+="uaccess"``
2. Reload ``udevadm control --reload-rules && udevadm trigger``
If the badge is running correctly, you can access the filesystem over the micropython REPL, using tools like mpremote.
If the badge is running correctly, you can access the filesystem over the micropython REPL, using tools like mpremote.
::
::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment