X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fspiflash%2Fpd.py;h=33fe2298040740af3b8812d983c6d2644176ea9b;hb=9bbfff99dc56be9e69522ffe744b3197f54007db;hp=bbdf3fb113080fde58dcd7e73bf726d824cf706c;hpb=16d2031b149ff67be83b5600bdf5ad561add312d;p=libsigrokdecode.git diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index bbdf3fb..33fe229 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -22,7 +22,7 @@ from .lists import * L = len(cmds) -# Don't forget to keep this in sync with 'cmds' is lists.py. +# Don't forget to keep this in sync with 'cmds' in lists.py. class Ann: WRSR, PP, READ, WRDI, RDSR, WREN, FAST_READ, SE, RDSCUR, WRSCUR, \ RDSR2, CE, ESRY, DSRY, WRITE1, WRITE2, REMS, RDID, RDP_RES, CP, ENSO, DP, \ @@ -73,12 +73,13 @@ def decode_status_reg(data): class Decoder(srd.Decoder): api_version = 3 id = 'spiflash' - name = 'SPI flash' - longname = 'SPI flash chips' - desc = 'xx25 series SPI (NOR) flash chip protocol.' + name = 'SPI flash/EEPROM' + longname = 'SPI flash/EEPROM chips' + desc = 'xx25 series SPI (NOR) flash/EEPROM chip protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['spiflash'] + outputs = [] + tags = ['IC', 'Memory'] annotations = cmd_annotation_classes() + ( ('bit', 'Bit'), ('field', 'Field'),