summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-11adxl345: Shorten/simplify self.putbs() invocations.Uwe Hermann
2020-04-11adxl345: Shorten/simplify a few code snippets.Uwe Hermann
2020-04-11Add ADXL345 decoder.Teo Perisanu
Signed-off-by: Teo Perisanu <Teo.Perisanu@analog.com>
2020-01-13sdcard_sd: Automatically generate token field annotation classes.Uwe Hermann
2020-01-13sdcard_sd: Put 0/1 bits in different annotation classes.Uwe Hermann
This will allow for usage of different colors in UIs, and for showing/hiding them independently in UIs.
2020-01-13sdcard_sd: Put card status fields in their own annotation classes.Uwe Hermann
This also fixes the CURRENT_STATE and RSVD_TESTMODE fields, which are not single-bit fields.
2020-01-12sdcard_sd: Add basic support for CSD register fields.Uwe Hermann
2020-01-12sdcard_sd: Add basic support for CID register fields.Uwe Hermann
2020-01-12sdcard_sd: Rename some annotation classes.Uwe Hermann
The responses were simply named "R1" etc., but this becomes inconvenient when Ann.prefixeѕ('R') is used and other annotation classes also have names that start with 'R'. Hence, rename respose annotation classes to "RESPONSE_R1" etc.
2020-01-11sdcard_sd: Use a Bit class to improve readability.Uwe Hermann
Usually we'd use namedtuple(), but in this case we need to retro-actively modify the items, so that's not possible.
2020-01-11sdcard_sd: Replace a hardcoded number for better readability.Uwe Hermann
2020-01-11sdcard_sd: Clarify some variable/argument names.Uwe Hermann
Differentiate cmd (e.g. 55 or CMD55) vs. cmd_pin (the value of the CMD pin).
2020-01-11sdcard_sd: Remove a list that needs manual maintenance.Uwe Hermann
Instead of checking if a command is in a fixed list/tuple (that needs to be manually updated every time a new command becomes supported), simply check if the respective handling method for the command exists. This fixes the bug of the CMD16 handler not being called, and will prevent similar bugs in the future.
2020-01-10sdcard_sd: Use correct annotation class for R2.Uwe Hermann
2020-01-10cjtag: Use SrdIntEnum for cJTAG states.Uwe Hermann
2020-01-10sda2506: Use SrdIntEnum for pins.Uwe Hermann
2020-01-10tlc5620: Use SrdIntEnum for pins.Uwe Hermann
2020-01-10maple_bus: Use SrdIntEnum for pins.Uwe Hermann
2020-01-10sdcard_sd: Use SrdIntEnum for pins.Uwe Hermann
2020-01-10sdcard_sd: Simplify self.putr() invocations.Uwe Hermann
2020-01-10sdcard_sd: Put responses in their own annotation classes.Uwe Hermann
Also, rename "reply" to "response" to use the wording from the spec.
2020-01-10sdcard_sd: Use SrdIntEnum for annotation classes.Uwe Hermann
2020-01-10cjtag: Use SrdStrEnum for the state machine.Uwe Hermann
2020-01-10jtag: Use SrdStrEnum for the state machine.Uwe Hermann
2020-01-10edid: Use SrdIntEnum for the state machine.Uwe Hermann
2020-01-10sdcard_sd: Use SrdStrEnum for the state machine.Uwe Hermann
2020-01-10srdhelper: Add SrdStrEnum with various helper methods.Uwe Hermann
2020-01-10usb_signalling: Use SrdIntEnum for the state machine.Uwe Hermann
2020-01-10jtag_ejtag: Use SrdIntEnum for annotation classes.Uwe Hermann
2020-01-10mcs48: Use SrdIntEnum for annotation classes.Uwe Hermann
2020-01-10ac97: Rename Pins class to Pin.Uwe Hermann
2020-01-10ac97: Use SrdIntEnum for annotation/binary/pin classes.Uwe Hermann
2020-01-10spiflash: Use SrdIntEnum for annotation classes.Uwe Hermann
Also, automate construction of the Ann SrdIntEnum. This avoids having to remember to manually keep two lists in sync.
2020-01-10sdcard_spi: Use ternary operator where possible.Uwe Hermann
2020-01-10sdcard_spi: Use SrdIntEnum for annotation classes.Uwe Hermann
This also fixes incorrect annotation classes for bit, bit warning, and R1. Also, auto-generate some more parts of the annotation class listing.
2020-01-10ds1307: Use SrdIntEnum for annotation classes.Uwe Hermann
2020-01-10ds1307: Consistently use _ instead of - for various IDs.Uwe Hermann
2020-01-10cc1101: Use SrdIntEnum for annotation classes.Uwe Hermann
2020-01-10amulet_ascii: Use SrdIntEnum for annotation classes.Uwe Hermann
Also, automate construction of the Ann SrdIntEnum. This avoids having to remember to manually keep two lists in sync.
2020-01-10srdhelper: Add SrdIntEnum with various helper methods.Uwe Hermann
2020-01-09cjtag: Drop no longer needed _real variable name suffix.Uwe Hermann
2020-01-09cjtag: Give each cJTAG state its own annotation class.Uwe Hermann
2020-01-09cjtag: Use correct TCKC/TMSC channel names.Uwe Hermann
2020-01-09cjtag: Drop some unused method arguments.Uwe Hermann
2020-01-09cjtag: Drop non-existing channels from the decoder.Uwe Hermann
cJTAG only has two wires/channels.
2020-01-09cjtag: Use ternary operator where possible.Uwe Hermann
2020-01-09cjtag: Use += operator where possible.Uwe Hermann
2020-01-09cjtag: Drop various unneeded parenthesis.Uwe Hermann
2020-01-09cjtag: Use plural for annotation row IDs/names.Uwe Hermann
2020-01-09cjtag: Add cJTAG OSCAN1 decoder.Kongou Hikari
[Note: This is a commit from Kongou Hikari ("diodep" on GitHub) that was "rebased" by Uwe Hermann on top of the current libsigrokdecode mainline JTAG decoder. There are various reasons for this, including avoiding non-mainline or outdated decoder changes, as well as making it easily visible what the changes vs. the current JTAG decoder are, in case we later need to apply some changes to both decoders or in case both decoders might be merged later on. Minor cosmetic and naming changes were also squashed in (no functional changes, though).]