Skip to content

MacOS, "Bad CPU type in executable" when flashing #102

@Stogas

Description

@Stogas

PineFlash installs correctly (using generic_unix_install.sh), but after opening, and clicking "Flash" Pinecil v2 to v2.23, the program crashes with the following output:

$ pineflash

thread 'main' panicked at src/submodules/flash.rs:206:18:
Could not flash soldering iron: Os { code: 86, kind: Uncategorized, message: "Bad CPU type in executable" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'main' panicked at /Users/macbook/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.29.15/src/platform_impl/macos/app_state.rs:387:33:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }

Environment info:

$ cargo --version
cargo 1.89.0 (Homebrew)

# MacOS 15.6.1 (24G90
# Apple M4 Pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions