Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
120368ba
Commit
120368ba
authored
Nov 14, 2019
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stm32/boards: Enable LFS2 on PYBv1.x and PYBD boards.
parent
5634a31a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
ports/stm32/boards/PYBD_SF2/mpconfigboard.h
ports/stm32/boards/PYBD_SF2/mpconfigboard.h
+1
-0
ports/stm32/boards/PYBD_SF2/mpconfigboard.mk
ports/stm32/boards/PYBD_SF2/mpconfigboard.mk
+1
-0
ports/stm32/boards/PYBV10/mpconfigboard.mk
ports/stm32/boards/PYBV10/mpconfigboard.mk
+3
-0
ports/stm32/boards/PYBV11/mpconfigboard.mk
ports/stm32/boards/PYBV11/mpconfigboard.mk
+3
-0
No files found.
ports/stm32/boards/PYBD_SF2/mpconfigboard.h
View file @
120368ba
...
...
@@ -84,6 +84,7 @@ extern struct _spi_bdev_t spi_bdev;
)
#define MICROPY_HW_BDEV_READBLOCKS(dest, bl, n) spi_bdev_readblocks(&spi_bdev, (dest), (bl), (n))
#define MICROPY_HW_BDEV_WRITEBLOCKS(src, bl, n) spi_bdev_writeblocks(&spi_bdev, (src), (bl), (n))
#define MICROPY_HW_BDEV_SPIFLASH_EXTENDED (&spi_bdev) // for extended block protocol
// SPI flash #2, to be memory mapped
#define MICROPY_HW_QSPIFLASH_SIZE_BITS_LOG2 (24)
...
...
ports/stm32/boards/PYBD_SF2/mpconfigboard.mk
View file @
120368ba
...
...
@@ -16,3 +16,4 @@ MICROPY_PY_LWIP = 1
MICROPY_PY_NETWORK_CYW43
=
1
MICROPY_PY_USSL
=
1
MICROPY_SSL_MBEDTLS
=
1
MICROPY_VFS_LFS2
=
1
ports/stm32/boards/PYBV10/mpconfigboard.mk
View file @
120368ba
...
...
@@ -11,3 +11,6 @@ LD_FILES = boards/stm32f405.ld boards/common_ifs.ld
TEXT0_ADDR
=
0x08000000
TEXT1_ADDR
=
0x08020000
endif
# MicroPython settings
MICROPY_VFS_LFS2
=
1
ports/stm32/boards/PYBV11/mpconfigboard.mk
View file @
120368ba
...
...
@@ -11,3 +11,6 @@ LD_FILES = boards/stm32f405.ld boards/common_ifs.ld
TEXT0_ADDR
=
0x08000000
TEXT1_ADDR
=
0x08020000
endif
# MicroPython settings
MICROPY_VFS_LFS2
=
1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment