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
0acc7334
Commit
0acc7334
authored
Apr 12, 2023
by
iabdalkader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mimxrt: Fix the build for boards without ROM API.
parent
bde222ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ports/mimxrt/Makefile
ports/mimxrt/Makefile
+2
-2
ports/mimxrt/modmachine.c
ports/mimxrt/modmachine.c
+2
-0
No files found.
ports/mimxrt/Makefile
View file @
0acc7334
...
...
@@ -136,7 +136,6 @@ SRC_HAL_IMX_C += \
$(MCU_DIR)
/drivers/fsl_lpuart.c
\
$(MCU_DIR)
/drivers/fsl_pit.c
\
$(MCU_DIR)
/drivers/fsl_pwm.c
\
$(MCU_DIR)
/drivers/fsl_romapi.c
\
$(MCU_DIR)
/drivers/fsl_sai.c
\
$(MCU_DIR)
/drivers/fsl_snvs_lp.c
\
$(MCU_DIR)
/drivers/fsl_wdog.c
\
...
...
@@ -153,7 +152,8 @@ endif
ifeq
($(MCU_SERIES),$(filter $(MCU_SERIES), MIMXRT1015 MIMXRT1021 MIMXRT1052 MIMXRT1062 MIMXRT1064 MIMXRT1176))
SRC_HAL_IMX_C
+=
\
$(MCU_DIR)
/drivers/fsl_qtmr.c
$(MCU_DIR)
/drivers/fsl_qtmr.c
\
$(MCU_DIR)
/drivers/fsl_romapi.c
endif
ifeq
($(MCU_SERIES), MIMXRT1176)
...
...
ports/mimxrt/modmachine.c
View file @
0acc7334
...
...
@@ -38,7 +38,9 @@
#include "pin.h"
#include "modmachine.h"
#include "fsl_wdog.h"
#if FSL_FEATURE_BOOT_ROM_HAS_ROMAPI
#include "fsl_romapi.h"
#endif
#if MICROPY_PY_MACHINE
...
...
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