From: Uwe Hermann Date: Tue, 5 Nov 2019 21:34:44 +0000 (+0100) Subject: spiflash: Add "EEPROM" to descriptions. X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;ds=inline;h=977a98b50fa36e710eab372f39266f4a5ead6101;p=libsigrokdecode.git spiflash: Add "EEPROM" to descriptions. There are various different names that these types of memories are being referred to in the wild: SPI flash, flash chip, flash, flash EEPROM, SPI EEPROM, serial flash, serial memory, flash memory, and various others. In order to make UI decoder selection more useful to the user, we add the "EEPROM" string to some of the decoder metadata fields, so the decoder will (for example) show up in PulseView's list of decoders when the user types "eeprom" to narrow down the listed decoders. --- diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index 5ee2274..ad92023 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -73,9 +73,9 @@ 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 = []