File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
create-release :
7
7
env :
8
8
RPOS_UF2FILE : RPI_PICO-20241025-v1.24.0.uf2
9
- TT_RUNS_SUPPORTED : " tt04 tt05 tt06 tt07"
9
+ TT_RUNS_SUPPORTED : " unknown tt04 tt05 tt06 tt07"
10
10
runs-on : ubuntu-24.04
11
11
steps :
12
12
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ def __init__(self, project_mux):
18
18
self .project_mux = project_mux
19
19
self ._contents = None
20
20
self ._pins = project_mux .pins
21
+ self ._rom_data = None
21
22
22
23
23
24
def _send_and_rcv (self , send :int ):
@@ -58,7 +59,7 @@ def contents(self):
58
59
self .project_mux .reset_and_clock_mux (0 )
59
60
60
61
self ._contents = {
61
- 'shuttle' : 'tt04 ' ,
62
+ 'shuttle' : 'unknown ' ,
62
63
'repo' : '' ,
63
64
'commit' : ''
64
65
}
@@ -81,21 +82,20 @@ def contents(self):
81
82
if byte == 0 :
82
83
break
83
84
rom_data += chr (byte )
84
-
85
- log .info (f'Got ROM data\n { rom_data } ' )
85
+ self ._rom_data = rom_data
86
86
87
- self ._contents = {'shuttle' :'tt04' , 'commit' :'FAKEDATA' }
88
87
if not len (rom_data ):
89
88
log .warn ("ROM data empty" )
90
89
else :
90
+ log .info (f'Got ROM data\n { rom_data } ' )
91
91
for l in rom_data .splitlines ():
92
92
try :
93
93
k ,v = l .split ('=' )
94
94
self ._contents [k ] = v
95
95
except :
96
96
log .warn (f"Issue splitting { l } " )
97
97
pass
98
- log .debug (f"GOT ROM: { self ._contents } " )
98
+ log .debug (f"Parsed ROM contents : { self ._contents } " )
99
99
self .project_mux .disable ()
100
100
return self ._contents
101
101
You can’t perform that action at this time.
0 commit comments