[nRF52] linker error: lib/oofatfs/option/unicode.o: No such file or directory

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
FoldedToad
Posts: 8
Joined: Sat Feb 23, 2019 11:50 pm

[nRF52] linker error: lib/oofatfs/option/unicode.o: No such file or directory

Post by FoldedToad » Fri Mar 29, 2019 12:05 am

I pulled from master branch yesterday and upon rebuilding receive the following linker error.

Code: Select all

LINK build-pca10040/firmware.elf
arm-none-eabi-gcc: error: build-pca10040/lib/oofatfs/option/unicode.o: No such file or directory
Makefile:302: recipe for target 'build-pca10040/firmware.elf' failed
make: *** [build-pca10040/firmware.elf] Error 1
The issue is related to filename changes/merger in the ./lib/oofatfs.
Below is a change to the nRF52 Makefile which specifies the new file: ffunicode.c

Code: Select all

diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile
index 6ca83f1..80110f9 100644
--- a/ports/nrf/Makefile
+++ b/ports/nrf/Makefile
@@ -163,7 +163,7 @@ SRC_LIB += $(addprefix lib/,\
 ifeq ($(MICROPY_FATFS), 1)
 SRC_LIB += $(addprefix lib/,\
         oofatfs/ff.c \
-        oofatfs/option/unicode.c \
+        oofatfs/ffunicode.c \
         )
 endif
 


Post Reply