Skip to content

Mac OS OpenOCD is improperly packaged, missing libraries, AT32 support #15

@alteman

Description

@alteman

When trying to flash at421 based ESC:
Error: flash driver 'at32f421xx' not found

After removing Homebrew installed openocd:
dyld[34961]: Library not loaded: /opt/homebrew/opt/libftdi/lib/libftdi1.2.dylib
Referenced from: tools/macos/openocd/bin/openocd

OpenOCD needs to be statically linked or come with libraries bundled using relative paths (install_name_tool -add_rpath "@executable_path/../lib/"). We also need the AT32 fork to support ArteryTek ESCs

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