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
b864e7af
Commit
b864e7af
authored
Aug 19, 2015
by
Daniel Campora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cc3200: Remove the UART0 programming pins from the smoke test.
parent
75a811a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
cc3200/tools/smoke.py
cc3200/tools/smoke.py
+12
-1
cc3200/tools/smoke.py.exp
cc3200/tools/smoke.py.exp
+2
-8
No files found.
cc3200/tools/smoke.py
View file @
b864e7af
...
...
@@ -7,7 +7,7 @@ Execute it like this:
python3 run-tests --target wipy --device 192.168.1.1 ../cc3200/tools/smoke.py
"""
pin_map
=
[
2
,
1
,
2
3
,
24
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
22
,
28
,
10
,
9
,
8
,
7
,
6
,
30
,
31
,
3
,
0
,
4
,
5
]
pin_map
=
[
23
,
24
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
22
,
28
,
10
,
9
,
8
,
7
,
6
,
30
,
31
,
3
,
0
,
4
,
5
]
test_bytes
=
os
.
urandom
(
2048
)
def
test_pin_read
(
type
):
...
...
@@ -61,3 +61,14 @@ ls = os.listdir()
print
(
'test'
not
in
ls
)
print
(
ls
)
# test the real time clock
rtc
=
pyb
.
RTC
()
while
(
rtc
.
datetime
()[
7
]
>
800
):
pass
time_1
=
rtc
.
datetime
()
pyb
.
delay
(
1000
)
time_2
=
rtc
.
datetime
()
print
(
time_2
[
6
]
-
time_1
[
6
]
==
1
)
print
(
time_2
[
7
]
-
time_1
[
7
]
<
25
)
cc3200/tools/smoke.py.exp
View file @
b864e7af
...
...
@@ -20,9 +20,6 @@
1
1
1
1
1
0
0
0
0
...
...
@@ -45,8 +42,6 @@
0
0
0
0
1
1
1
1
...
...
@@ -69,9 +64,6 @@
1
1
1
1
0
0
0
0
0
...
...
@@ -99,3 +91,5 @@ True
True
True
['main.py', 'sys', 'lib', 'cert', 'boot.py']
True
True
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