[En-Nut-Discussion] GpioSpiMicroDelay defined but not used

Harald Kipp harald.kipp at egnite.de
Sun Mar 15 10:16:20 CET 2015


Trying to build the trunk for CM3 fails with

arm-none-eabi-gcc -c -I../../lisa-cm3-gcc-bld/include  -I../.././nut/include -I../.././nut/include/contrib  -DLISA  -MD -MP -mcpu=cortex-m3 -mthumb -D__CORTEX__  -ffunction-sections -fdata-sections -fomit-frame-pointer -mfix-cortex-m3-ldrd -Os -Wall -Wstrict-prototypes -Werror -Wa,-a=spibus0gpio.lst   -o spibus0gpio.o ../.././nut/dev/spibus0gpio.c
../.././nut/dev/spibus0gpio.c:91:13: error: 'GpioSpiMicroDelay' defined but not used [-Werror=unused-function]
cc1.exe: all warnings being treated as errors
make[1]: *** [spibus0gpio.o] Error 1
make[1]: Leaving directory `E:/ethernut/ethernut-5.2.6/lisa-cm3-gcc-bld/dev'
make: *** [all] Error 2

Regards,

Harald



More information about the En-Nut-Discussion mailing list