Undefined reference to `ff_convert'

Hi to all,

I get the following compilation error when trying to use WavPlayer or WaveTableLoader:

libDaisy/Middlewares/Third_Party/FatFs/src/ff.c:2698: undefined reference to `ff_convert'

libDaisy version: 5.3.0
arm-none-eabi-gcc 13.1.0-1

The issue seems to be caused by the following line of code used from the example WavPlayer.cpp:

sampler.Init(fsi.GetSDPath());

Do you have any idea on how to fix that?

Look at the Makefile for WavPlayer - you’ll see:

USE_FATFS = 1

This goes just above SYSTEM_FILES_DIR

1 Like

That was it!

Thanks for the support @tele_player

1 Like