Skip to content

Unused enum value seems to be breaking generated binary #40

Open
@brychanrobot

Description

@brychanrobot

I was trying to update firmware and got a warning that https://github.com/probe-rs/hs-probe-firmware/blob/master/firmware/src/usb/winusb.rs#L31 is unused. The build seemed to still work and it was only a warning so I forged ahead, but I found that when I flashed the firmware the probe became unresponsive including its ability to load new firmware. I shorted the appropriate leads to get it into the fallback stm32 bootloader and tried removing the unused line. This time everything worked perfectly. I'm not sure why a warning would break everything, but thought it was an issue worth raising.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions