Releases: mbed-ce/cy_serial_bridge
Releases · mbed-ce/cy_serial_bridge
v0.4.1
Release v0.4.0
[0.4.0] - 2026-03-25
Added
ConfigurationBlocklearned some new attributes:uart_type,vbus_is_3v3,is_self_poweredCyMfgrIface.change_type()now allows configuring the UART type when modifying a device, rather than always setting it to 6 wire- The old behavior was causing bugs in my application due to the flow control pins being used by the serial bridge when they were not connected in HW
OpenModenow includes the UART type. The existingOpenMode.UARTnow sets 2 wire mode, while a newOpenMode.USARTconstant allows opening it in 4-wire mode
Changed
CyScbContext.scan_for_device()no longer needs the open mode as an argument (this was not really being used and didn't make sense)
Release v0.3.2
[0.3.2] - 2024-04-28
Fixed
- 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_frequencymissing from ConfigurationBlock string conversion - Config block version 2 (observed on CY7C65211A) is now permitted for the driver, and seems to work OK
Release v0.3.1
[0.3.1] - 2024-03-19
Fixed
- Work around tiangolo/typer#463 by explicitly declaring a dependency on Click >=8.0
- Fix minimum Python version dependency
Release v0.3.0
[0.3.0] - 2024-03-18
First (hopefully) stable release!
Added
- SPI and UART APIs are now documented
- Added new
cy_serial_cli serial-termcommand which opens a miniterm instance on the SCB device - Added new
cy_serial_cli spi-transactioncommand which allows doing SPI transactions from the command line - README now contains a section about MacOS usage.
Changed
- 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.
Fixed
- 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.
Release v0.2.0
[0.2.0] - 2024-03-03
I2C and CLI update!
Added
- I2C API is now documented
- Added new
cy_serial_cli i2c-writeandcy_serial_cli i2c-readcommands, which allow doing simple I2C transactions directly from the command line
Changed
- 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.
Release v0.1.0
[0.1.0] - 2024-02-25
Initial release.
Added
- 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