File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -306,22 +306,9 @@ def convert(parent, efuse):
306306 "keypurpose" : EfuseKeyPurposeField ,
307307 "t_sensor" : EfuseTempSensor ,
308308 "adc_tp" : EfuseAdcPointCalibration ,
309- "wafer" : EfuseWafer ,
310309 }.get (efuse .class_type , EfuseField )(parent , efuse )
311310
312311
313- class EfuseWafer (EfuseField ):
314- def get (self , from_read = True ):
315- hi_bits = self .parent ["WAFER_VERSION_MINOR_HI" ].get (from_read )
316- assert self .parent ["WAFER_VERSION_MINOR_HI" ].bit_len == 1
317- lo_bits = self .parent ["WAFER_VERSION_MINOR_LO" ].get (from_read )
318- assert self .parent ["WAFER_VERSION_MINOR_LO" ].bit_len == 3
319- return (hi_bits << 3 ) + lo_bits
320-
321- def save (self , new_value ):
322- raise esptool .FatalError ("Burning %s is not supported" % self .name )
323-
324-
325312class EfuseTempSensor (EfuseField ):
326313 def get (self , from_read = True ):
327314 value = self .get_bitstring (from_read )
You can’t perform that action at this time.
0 commit comments