cli: rename test to internal-test.
by whitequark 7 years 2 months
0df640a0
applet: use well defined build, run and interact p...
by whitequark 7 years 2 months
applet: use well defined build, run and interact phases.

This commit updates applets to work in three phases:
* build: adds gateware subtarget
* run: initializes gateware, e.g. divisors, resets
* interact: processes user arguments, e.g. reads, writes

When subclassing applets, the superclass build and run phases should
be invoked, but the interact phase is overridden completely.
f2c109b7
applet.i2c_master: fix I2C reserved address range.
by whitequark 7 years 2 months
e78ff9d3
applet.i2c_master: unbreak --scan-read with --scan...
by whitequark 7 years 2 months
applet.i2c_master: unbreak --scan-read with --scan-device-id.
325d08b4
applet.selftest: unbreak after 02f390bc.
by whitequark 7 years 2 months
3fc09c2a
target: fix an issue where using only port B would...
by whitequark 7 years 2 months
target: fix an issue where using only port B would request port A.
b5e326e3
applet.i2c_master: implement bus scanning.
by whitequark 7 years 2 months
74a7e8d6
cli: use colors when logging to a TTY.
by whitequark 7 years 2 months
0294e3a7
cli: use {-style format strings.
by whitequark 7 years 2 months
89469d37
applet.i2c.eeprom_24c: rename, add proper user int...
by whitequark 7 years 2 months
applet.i2c.eeprom_24c: rename, add proper user interface.

The 24CXX EEPROM applet now supports reading and writing all EEPROMs
with 1 and 2 address byte, including 1 address byte EEPROMs larger
than 256 B, but not (yet) 2 address byte EEPROMs larger than 64 KiB.
5290d502
Report a bug