summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-11-05 22:34:44 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-05 22:34:44 +0100
commit977a98b50fa36e710eab372f39266f4a5ead6101 (patch)
tree6c713e6231e17c0815f1fee9b4dbdada7a291aa2
parent6bb748ed31d20db013ed45acbc2086ab0efad0e3 (diff)
downloadlibsigrokdecode-977a98b50fa36e710eab372f39266f4a5ead6101.tar.gz
libsigrokdecode-977a98b50fa36e710eab372f39266f4a5ead6101.zip
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.
-rw-r--r--decoders/spiflash/pd.py6
1 files changed, 3 insertions, 3 deletions
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 = []