Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
8dcce926
Commit
8dcce926
authored
9 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
esp8266/scripts: Don't try to create filesystem on 512KB devices or less.
There's no space for it.
parent
89e56a80
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
esp8266/scripts/_boot.py
+2
-1
2 additions, 1 deletion
esp8266/scripts/_boot.py
esp8266/scripts/flashbdev.py
+4
-1
4 additions, 1 deletion
esp8266/scripts/flashbdev.py
with
6 additions
and
2 deletions
esp8266/scripts/_boot.py
+
2
−
1
View file @
8dcce926
...
...
@@ -3,7 +3,8 @@ import builtins
from
flashbdev
import
bdev
try
:
vfs
=
uos
.
VfsFat
(
bdev
,
""
)
if
bdev
:
vfs
=
uos
.
VfsFat
(
bdev
,
""
)
except
OSError
:
import
inisetup
inisetup
.
check_bootsec
()
...
...
This diff is collapsed.
Click to expand it.
esp8266/scripts/flashbdev.py
+
4
−
1
View file @
8dcce926
...
...
@@ -26,4 +26,7 @@ class FlashBdev:
if
op
==
5
:
# BP_IOCTL_SEC_SIZE
return
self
.
SEC_SIZE
bdev
=
FlashBdev
()
if
esp
.
flash_size
()
<
1024
*
1024
:
bdev
=
None
else
:
bdev
=
FlashBdev
()
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