I’m getting a bunch of linker errors when I try and compile DaisyDuino 1.4.0 with PlatformIO. It seems that it’s not linking it against ststm32 correctly, but I don’t know how to help it.
ld: .pio/build/electrosmith_daisy/lib746/libDaisyDuino.a(sdram.c.o): in function dsy_sdram_init': sdram.c:(.text.dsy_sdram_init+0x62): undefined reference to HAL_SDRAM_Init’
ld: sdram.c:(.text.dsy_sdram_init+0x84): undefined reference to HAL_SDRAM_SendCommand' ld: sdram.c:(.text.dsy_sdram_init+0xa0): undefined reference to HAL_SDRAM_SendCommand’
ld: sdram.c:(.text.dsy_sdram_init+0xb6): undefined reference to HAL_SDRAM_SendCommand' ld: sdram.c:(.text.dsy_sdram_init+0xd4): undefined reference to HAL_SDRAM_SendCommand’
ld: sdram.c:(.text.dsy_sdram_init+0xe0): undefined reference to `HAL_SDRAM_ProgramRefreshRate’
I’ve tried adding the linker defines as suggested here:
but it doesn’t anything except warn that they’re already defined, as expected.
Hi Isaac, I wish I could help but I was never able to solve this issue. I ended up moving away from Arduino/PlatformIO to the native C++ implementation of Daisy because of it. Sorry!