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
5acdebb6
Verified
Commit
5acdebb6
authored
1 year ago
by
dos
Browse files
Options
Downloads
Patches
Plain Diff
py,st3m: Don't try to yeet local changed in the simulator
It's not implemented there.
parent
7ac1ea0e
No related branches found
No related tags found
No related merge requests found
Pipeline
#9360
failed
1 year ago
Stage: check
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/st3m/run.py
+4
-0
4 additions, 0 deletions
python_payload/st3m/run.py
with
4 additions
and
0 deletions
python_payload/st3m/run.py
+
4
−
0
View file @
5acdebb6
...
@@ -22,6 +22,7 @@ from st3m.about import About
...
@@ -22,6 +22,7 @@ from st3m.about import About
from
st3m
import
settings_menu
as
settings
,
logging
,
processors
,
wifi
from
st3m
import
settings_menu
as
settings
,
logging
,
processors
,
wifi
from
st3m.ui
import
led_patterns
from
st3m.ui
import
led_patterns
import
st3m.wifi
import
st3m.wifi
import
st3m.utils
import
captouch
,
audio
,
leds
,
gc
,
sys_buttons
,
sys_display
,
sys_mode
,
media
,
bl00mbox
import
captouch
,
audio
,
leds
,
gc
,
sys_buttons
,
sys_display
,
sys_mode
,
media
,
bl00mbox
import
os
import
os
...
@@ -182,6 +183,9 @@ def run_app(klass, bundle_path=None):
...
@@ -182,6 +183,9 @@ def run_app(klass, bundle_path=None):
def
_yeet_local_changes
()
->
None
:
def
_yeet_local_changes
()
->
None
:
if
st3m
.
utils
.
is_simulator
():
# not implemented in simulator
return
os
.
remove
(
"
/flash/sys/.sys-installed
"
)
os
.
remove
(
"
/flash/sys/.sys-installed
"
)
machine
.
reset
()
machine
.
reset
()
...
...
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