All notable changes to this project will be documented in this file.
The format is based on CHANGELOG.md and this project adheres to Semantic Versioning.
- Added udev rule for CY7C65211A default PID
- Fixed scanning/reconfiguring devices in UART_CDC mode with no serial number (warning is printed instead of crashing)
- Fixed
default_frequency
missing from ConfigurationBlock string conversion - Config block version 2 (observed on CY7C65211A) is now permitted for the driver, and seems to work OK
- Work around tiangolo/typer#463 by explicitly declaring a dependency on Click >=8.0
- Fix minimum Python version dependency
First (hopefully) stable release!
- SPI and UART APIs are now documented
- Added new
cy_serial_cli serial-term
command which opens a miniterm instance on the SCB device - Added new
cy_serial_cli spi-transaction
command which allows doing SPI transactions from the command line - README now contains a section about MacOS usage.
- Scanning for and opening devices is now done using a CyScbContext object rather than using global functions. This allows one process to open multiple serial bridge devices.
- Check has been added for the issue that causes changing the type of a UART_CDC device to fail on MacOS. Cannot completely fix the issue but can at least notify the user and ask them to rerun the command with sudo.
I2C and CLI update!
- I2C API is now documented
- Added new
cy_serial_cli i2c-write
andcy_serial_cli i2c-read
commands, which allow doing simple I2C transactions directly from the command line
- CLI now uses typer instead of argparse. Besides making it look cooler, this improves type safety and adds some much more understandable exception handlers for the CLI.
Initial release.
- Support for I2C controller, SPI controller, and UART CDC mode via a pure Python driver.
- Support for changing the VID, PID, and serial number of a device
- Support for changing the type of a device
- Device scanning
- open_device() functiion which automatically changes the type of a device as needed