xmos / sw_usb_audio

XMOS USB Audio reference design
Other
32 stars 16 forks source link

Dfu upgrade from one XTC version to another #269

Closed shuchitak closed 3 weeks ago

shuchitak commented 3 weeks ago

Added a test to have a device flashed with a factory image compiled with tools 15.2.1 do a DFU upgrade to an upgrade image compiled with tools 15.3.0

The test has a limitation that the factory image, even though compiled with tools 15.2.1, is xflashed with xflash version 15.3.0, which is the tools version under which the DFU test runs. This is because all tests run under a common tools environment set in the Jenkinsfile ( withTools("${env.TOOLS_VERSION}") ). It would be tricky to run the DFU test such that the factory image is flashed with an older tools version xflash but the upgrade binary is created with a new xflash version. It's not straightforward to switch between tools versions within the test.