Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
ddb81273
Unverified
Commit
ddb81273
authored
7 years ago
by
Sebastian Meiling
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #8600 from OTAkeys/pr/update_littlefs
pkg: update littlefs pkg to v1.3
parents
57e6f565
3b26d4ab
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pkg/littlefs/Makefile
+3
-7
3 additions, 7 deletions
pkg/littlefs/Makefile
pkg/littlefs/Makefile.include
+1
-1
1 addition, 1 deletion
pkg/littlefs/Makefile.include
pkg/littlefs/fs/littlefs_fs.c
+4
-0
4 additions, 0 deletions
pkg/littlefs/fs/littlefs_fs.c
with
8 additions
and
8 deletions
pkg/littlefs/Makefile
+
3
−
7
View file @
ddb81273
PKG_NAME
=
littlefs
PKG_NAME
=
littlefs
PKG_URL
=
https://github.com/geky/littlefs.git
PKG_URL
=
https://github.com/geky/littlefs.git
PKG_VERSION
=
be22d3449f23a24e7462114349ce04d751e42437
PKG_VERSION
=
v1.3
PKG_
BUILDDIR
?=
$(
PKGDIRBASE
)
/
$(
PKG_NAME
)
PKG_
LICENSE
=
Apache-2.0
.PHONY
:
all
.PHONY
:
all
all
:
git-download
all
:
git-download
@
mkdir
-p
"
$(
PKG_BUILDDIR
)
/riotbuild"
"
$(
MAKE
)
"
-C
$(
PKG_BUILDDIR
)
-f
$(
CURDIR
)
/Makefile.littlefs
@
cp
$(
PKG_BUILDDIR
)
/
*
.c
$(
PKG_BUILDDIR
)
/
*
.h
$(
PKG_BUILDDIR
)
/riotbuild
@
cp
$(
CURDIR
)
/Makefile.littlefs
$(
PKG_BUILDDIR
)
/riotbuild/Makefile
"$(MAKE)"
-C
$(PKG_BUILDDIR)/riotbuild
include
$(RIOTBASE)/pkg/pkg.mk
include
$(RIOTBASE)/pkg/pkg.mk
This diff is collapsed.
Click to expand it.
pkg/littlefs/Makefile.include
+
1
−
1
View file @
ddb81273
INCLUDES
+=
-I
$(
PKGDIRBASE
)
/littlefs
/riotbuild/
INCLUDES
+=
-I
$(
PKGDIRBASE
)
/littlefs
ifneq
(,$(filter littlefs_fs,$(USEMODULE)))
ifneq
(,$(filter littlefs_fs,$(USEMODULE)))
DIRS
+=
$(
RIOTBASE
)
/pkg/littlefs/fs
DIRS
+=
$(
RIOTBASE
)
/pkg/littlefs/fs
...
...
This diff is collapsed.
Click to expand it.
pkg/littlefs/fs/littlefs_fs.c
+
4
−
0
View file @
ddb81273
...
@@ -48,6 +48,10 @@ static int littlefs_err_to_errno(ssize_t err)
...
@@ -48,6 +48,10 @@ static int littlefs_err_to_errno(ssize_t err)
return
-
ENOTDIR
;
return
-
ENOTDIR
;
case
LFS_ERR_ISDIR
:
case
LFS_ERR_ISDIR
:
return
-
EISDIR
;
return
-
EISDIR
;
case
LFS_ERR_NOTEMPTY
:
return
-
ENOTEMPTY
;
case
LFS_ERR_BADF
:
return
-
EBADF
;
case
LFS_ERR_INVAL
:
case
LFS_ERR_INVAL
:
return
-
EINVAL
;
return
-
EINVAL
;
case
LFS_ERR_NOSPC
:
case
LFS_ERR_NOSPC
:
...
...
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