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
GitLab 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
46a0ac02
Commit
46a0ac02
authored
Feb 14, 2016
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
extmod/vfs_fat_ffconf: Reusable FatFs module, move from stmhal/ffconf.
TODO: Probably merge into vfs_fat_diskio.
parent
6b0c8825
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
extmod/vfs_fat_ffconf.c
+5
-0
5 additions, 0 deletions
extmod/vfs_fat_ffconf.c
py/py.mk
+1
-0
1 addition, 0 deletions
py/py.mk
stmhal/Makefile
+0
-1
0 additions, 1 deletion
stmhal/Makefile
unix/Makefile
+0
-3
0 additions, 3 deletions
unix/Makefile
with
6 additions
and
4 deletions
stmhal/
ffconf.c
→
extmod/vfs_fat_
ffconf.c
+
5
−
0
View file @
46a0ac02
...
...
@@ -24,6 +24,9 @@
* THE SOFTWARE.
*/
#include
"py/mpconfig.h"
#if MICROPY_FSUSERMOUNT
#include
<string.h>
#include
"py/mpstate.h"
...
...
@@ -75,3 +78,5 @@ void ff_get_volname(BYTE vol, TCHAR **dest) {
memcpy
(
*
dest
,
vfs
->
str
,
vfs
->
len
);
*
dest
+=
vfs
->
len
;
}
#endif // MICROPY_FSUSERMOUNT
This diff is collapsed.
Click to expand it.
py/py.mk
+
1
−
0
View file @
46a0ac02
...
...
@@ -171,6 +171,7 @@ PY_O_BASENAME = \
../extmod/modurandom.o
\
../extmod/fsusermount.o
\
../extmod/vfs_fat.o
\
../extmod/vfs_fat_ffconf.o
\
../extmod/vfs_fat_diskio.o
\
../extmod/vfs_fat_file.o
\
../extmod/moduos_dupterm.o
\
...
...
This diff is collapsed.
Click to expand it.
stmhal/Makefile
+
0
−
1
View file @
46a0ac02
...
...
@@ -156,7 +156,6 @@ SRC_C = \
builtin_open.c
\
sdcard.c
\
fatfs_port.c
\
ffconf.c
\
lcd.c
\
accel.c
\
servo.c
\
...
...
This diff is collapsed.
Click to expand it.
unix/Makefile
+
0
−
3
View file @
46a0ac02
...
...
@@ -147,9 +147,6 @@ SRC_C = \
fatfs_port.c
\
$(
SRC_MOD
)
STMHAL_SRC_C
=
\
stmhal/ffconf.c
# Include builtin package manager in the standard build (and coverage)
ifeq
($(PROG),micropython)
SRC_C
+=
$(
BUILD
)
/_frozen_upip.c
...
...
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