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
20d9f340
Commit
20d9f340
authored
May 26, 2022
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/run-tests.py: Add rp2 test target.
Signed-off-by:
Damien George
<
damien@micropython.org
>
parent
80a86c48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
tests/run-tests.py
tests/run-tests.py
+16
-1
No files found.
tests/run-tests.py
View file @
20d9f340
...
...
@@ -897,7 +897,16 @@ the last matching regex is used:
"unix"
,
"qemu-arm"
,
)
EXTERNAL_TARGETS
=
(
"pyboard"
,
"wipy"
,
"esp8266"
,
"esp32"
,
"minimal"
,
"nrf"
,
"renesas-ra"
)
EXTERNAL_TARGETS
=
(
"pyboard"
,
"wipy"
,
"esp8266"
,
"esp32"
,
"minimal"
,
"nrf"
,
"renesas-ra"
,
"rp2"
,
)
if
args
.
target
in
LOCAL_TARGETS
or
args
.
list_tests
:
pyb
=
None
elif
args
.
target
in
EXTERNAL_TARGETS
:
...
...
@@ -910,6 +919,10 @@ the last matching regex is used:
args
.
mpy_cross_flags
=
"-march=xtensa"
elif
args
.
target
==
"esp32"
:
args
.
mpy_cross_flags
=
"-march=xtensawin"
elif
args
.
target
==
"rp2"
:
args
.
mpy_cross_flags
=
"-march=armv6m"
elif
args
.
target
==
"pyboard"
:
args
.
mpy_cross_flags
=
"-march=armv7emsp"
else
:
args
.
mpy_cross_flags
=
"-march=armv7m"
...
...
@@ -931,6 +944,8 @@ the last matching regex is used:
test_dirs
+=
(
"float"
,
"stress"
,
"pyb"
,
"pybnative"
,
"inlineasm"
)
elif
args
.
target
in
(
"renesas-ra"
):
test_dirs
+=
(
"float"
,
"inlineasm"
,
"renesas-ra"
)
elif
args
.
target
==
"rp2"
:
test_dirs
+=
(
"float"
,
"stress"
,
"inlineasm"
)
elif
args
.
target
in
(
"esp8266"
,
"esp32"
,
"minimal"
,
"nrf"
):
test_dirs
+=
(
"float"
,)
elif
args
.
target
==
"wipy"
:
...
...
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