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
802ef271
Commit
802ef271
authored
Dec 16, 2021
by
Chris Boudacoff
Committed by
Damien George
Jan 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mimxrt/hal: Allow readSampleClkSrc to be configured by a board.
Via the MICROPY_HW_FLASH_DQS flag.
parent
3f167198
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ports/mimxrt/hal/qspi_nor_flash_config.c
ports/mimxrt/hal/qspi_nor_flash_config.c
+5
-1
No files found.
ports/mimxrt/hal/qspi_nor_flash_config.c
View file @
802ef271
...
...
@@ -24,12 +24,16 @@ __attribute__((section(".boot_hdr.conf")))
#pragma location = ".boot_hdr.conf"
#endif
#ifndef MICROPY_HW_FLASH_DQS
#define MICROPY_HW_FLASH_DQS kFlexSPIReadSampleClk_LoopbackFromDqsPad
#endif
const
flexspi_nor_config_t
qspiflash_config
=
{
.
memConfig
=
{
.
tag
=
FLEXSPI_CFG_BLK_TAG
,
.
version
=
FLEXSPI_CFG_BLK_VERSION
,
.
readSampleClkSrc
=
kFlexSPIReadSampleClk_LoopbackFromDqsPad
,
.
readSampleClkSrc
=
MICROPY_HW_FLASH_DQS
,
.
csHoldTime
=
3u
,
.
csSetupTime
=
3u
,
.
busyOffset
=
FLASH_BUSY_STATUS_OFFSET
,
// Status bit 0 indicates busy.
...
...
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