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
a90a444d
Commit
a90a444d
authored
7 years ago
by
Joakim Nohlgård
Browse files
Options
Downloads
Patches
Plain Diff
tests/pkg_fatfs: Fix native configuration flags for #8272
parent
b39f6708
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/pkg_fatfs/Makefile
+3
-3
3 additions, 3 deletions
tests/pkg_fatfs/Makefile
with
3 additions
and
3 deletions
tests/pkg_fatfs/Makefile
+
3
−
3
View file @
a90a444d
...
@@ -32,10 +32,10 @@ FATFS_IMAGE_FILE_SIZE_MIB ?= 128
...
@@ -32,10 +32,10 @@ FATFS_IMAGE_FILE_SIZE_MIB ?= 128
ifeq
($(BOARD),native)
ifeq
($(BOARD),native)
#overwrite default mtd_native-config to use fat image as flash device
#overwrite default mtd_native-config to use fat image as flash device
CFLAGS
+=
-DMTD_NATIVE_FILENAME
=
\"
./bin/riot_fatfs_disk.img
\"
CFLAGS
+=
-DMTD_NATIVE_FILENAME
=
\"
./bin/riot_fatfs_disk.img
\"
CFLAGS
+=
-DMTD_
NATIVE_
PAGE_SIZE
=
512
CFLAGS
+=
-DMTD_PAGE_SIZE
=
512
CFLAGS
+=
-DMTD_
NATIVE_
SECTOR_SIZE
=
512
CFLAGS
+=
-DMTD_SECTOR_SIZE
=
512
CFLAGS
+=
-DFATFS_IMAGE_FILE_SIZE_MIB
=
$(
FATFS_IMAGE_FILE_SIZE_MIB
)
CFLAGS
+=
-DFATFS_IMAGE_FILE_SIZE_MIB
=
$(
FATFS_IMAGE_FILE_SIZE_MIB
)
CFLAGS
+=
-DMTD_
NATIVE_
SECTOR_NUM
=
\(\(\(
FATFS_IMAGE_FILE_SIZE_MIB
\)
*
1024
*
1024
\)
/MTD_
NATIVE_
SECTOR_SIZE
\)
CFLAGS
+=
-DMTD_SECTOR_NUM
=
\(\(\(
FATFS_IMAGE_FILE_SIZE_MIB
\)
*
1024
*
1024
\)
/MTD_SECTOR_SIZE
\)
else
else
# for actual hardware use mtd_sdcard as storage device
# for actual hardware use mtd_sdcard as storage device
USEMODULE
+=
mtd_sdcard
USEMODULE
+=
mtd_sdcard
...
...
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