Skip to content

silabs: siwx917_dk2605a: Build issue in CI #93476

@erwango

Description

@erwango

Describe the bug

west build -p -b siwx917_dk2605a/siwg917m111mgtba samples/synchronization -T sample.kernel.synchronization
generates a build issue in CI.

Generating files from /__w/zephyr/zephyr/twister-out/siwx917_dk2605a_siwg917m111mgtba/zephyr/samples/synchronization/sample.kernel.synchronization/zephyr/zephyr.elf for board: siwx917_dk2605a
ROM checksum: 0x57f6fa4c
Traceback (most recent call last):
  File "/__w/zephyr/zephyr/soc/silabs/silabs_siwx91x/siwx91x_isp_prepare.py", line 193, in <module>
    main()
  File "/__w/zephyr/zephyr/soc/silabs/silabs_siwx91x/siwx91x_isp_prepare.py", line 169, in main
    fwupreq = bytearray(get_fwupreq(args.load_addr - 0x8001000, len(img)))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/__w/zephyr/zephyr/soc/silabs/silabs_siwx91x/siwx91x_isp_prepare.py", line 114, in get_fwupreq
    ret += flash_location.to_bytes(4, "little")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OverflowError: can't convert negative int to unsigned
ninja: build stopped: subcommand failed.

Regression

  • This is a regression.

Steps to reproduce

west build -p -b siwx917_dk2605a/siwg917m111mgtba samples/synchronization -T sample.kernel.synchronization

Relevant log output

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

Zephyr CI

Additional Context

No response

Metadata

Metadata

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: SilabsSilicon Labs

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions