You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the list_options() function raises an Exception when using CCSv9.
Context
When using the list_options() function (tiflash options-list on CLI) raises an KeyError Exception for 'beginsWith'. This is due to a change in the device xml files. The flash_properties.py helper needs to be updated to handle this.
This is due to a change in the FlashPropertiesTranslator.xml files in CCS 9 which added FlashProperties that use a 'regex' keyword instead of 'beginsWith'. TIFlash seems to be using the entries which use 'regex' instead of 'beginsWith'.
Process
To reproduce:
CLI: tiflash -d CC1310F128 options-list
Python: tiflash.list_options(devicetype="CC1310F128")
Expected result
Should list flash options for device.
Possible Fix
TIFlash should handle the retrieve the used keyword rather than using a hardcoded one e.g. 'beginsWith'
The text was updated successfully, but these errors were encountered:
Using the
list_options()
function raises an Exception when using CCSv9.Context
When using the
list_options()
function (tiflash options-list
on CLI) raises an KeyError Exception for 'beginsWith'. This is due to a change in the device xml files. The flash_properties.py helper needs to be updated to handle this.This is due to a change in the FlashPropertiesTranslator.xml files in CCS 9 which added FlashProperties that use a 'regex' keyword instead of 'beginsWith'. TIFlash seems to be using the entries which use 'regex' instead of 'beginsWith'.
Process
To reproduce:
CLI:
tiflash -d CC1310F128 options-list
Python:
tiflash.list_options(devicetype="CC1310F128")
Expected result
Should list flash options for device.
Possible Fix
TIFlash should handle the retrieve the used keyword rather than using a hardcoded one e.g. 'beginsWith'
The text was updated successfully, but these errors were encountered: