grblHAL/LPC176x

Error compiling for board SKR v1.4 turbo

Closed this issue · 1 comments

I just downloaded and trying to compile grblHAL with LPCXpresso
I have my_machine.h
#define BOARD_BTT_SKR_14_TURBO
I have Build Configurations BL_0x4000

I'm getting "make: *** [src/flash.o] Error 1"

When I look at flash.c
I have an error here. It says "initializer element is not constant"
static const uint32_t flash_target = 0x1000UL * 16 + 0x8000UL * (flash_sector - 16);

Switched to MCUXpresso and build ok.