Skip to content

Commit b864e7a

Browse files
author
Daniel Campora
committed
cc3200: Remove the UART0 programming pins from the smoke test.
1 parent 75a811a commit b864e7a

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

cc3200/tools/smoke.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
python3 run-tests --target wipy --device 192.168.1.1 ../cc3200/tools/smoke.py
88
"""
99

10-
pin_map = [2, 1, 23, 24, 11, 12, 13, 14, 15, 16, 17, 22, 28, 10, 9, 8, 7, 6, 30, 31, 3, 0, 4, 5]
10+
pin_map = [23, 24, 11, 12, 13, 14, 15, 16, 17, 22, 28, 10, 9, 8, 7, 6, 30, 31, 3, 0, 4, 5]
1111
test_bytes = os.urandom(2048)
1212

1313
def test_pin_read (type):
@@ -61,3 +61,14 @@ def test_pin_shorts (type):
6161
print('test' not in ls)
6262
print(ls)
6363

64+
# test the real time clock
65+
rtc = pyb.RTC()
66+
while (rtc.datetime()[7] > 800):
67+
pass
68+
69+
time_1 = rtc.datetime()
70+
pyb.delay(1000)
71+
time_2 = rtc.datetime()
72+
print (time_2[6] - time_1[6] == 1)
73+
print (time_2[7] - time_1[7] < 25)
74+

cc3200/tools/smoke.py.exp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
1
2121
1
2222
1
23-
1
24-
1
25-
0
2623
0
2724
0
2825
0
@@ -45,8 +42,6 @@
4542
0
4643
0
4744
0
48-
0
49-
1
5045
1
5146
1
5247
1
@@ -69,9 +64,6 @@
6964
1
7065
1
7166
1
72-
1
73-
0
74-
0
7567
0
7668
0
7769
0
@@ -99,3 +91,5 @@ True
9991
True
10092
True
10193
['main.py', 'sys', 'lib', 'cert', 'boot.py']
94+
True
95+
True

0 commit comments

Comments
 (0)