Skip to content

board_init fails when using my_machine_map on a SKR 1.x #56

@alexbarcelo

Description

@alexbarcelo

I tried to follow the recommended steps to personalize some pins, which is to set the BOARD_MY_MACHINE and then use the my_machine_map.h file in the boards folder.

However, the build started to complain about a board_init shenanigans.

I suspect that the issue is related to the btt_skr_1.x.c, that has the line #if defined(BOARD_BTT_SKR_13) || defined(BOARD_BTT_SKR_14_TURBO)

I bailed out and started changing the file btt_skr_1.3_map.h directly. It's not a big deal, just... a common pitfall to non-savy users (such as myself) that are trying to customize a SKR 1.x board to use with grblHAL.

Edit: Steps to reproduce: Install MCUXpresso, copy btt_skr_1.3_map.h to my_machine_map.h, set the BOARD_MY_MACHINE variable in the my_machine.h, try to build all. The only thing I configured I think it was the TMC2209 drivers, otherwise I had yet to change any pin or any advanced configuration.

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