Re: debugging a NuttX linker problem

2020-04-10 Thread Adam Feuer
Thanks Greg. I found out that this resulted from an error in my Kconfig file. I was providing those functions, but they weren't getting compiled or linked due to my config settings. I corrected that Kconfig file, reran 'make menuconfig' and now my files are being compiled and linked. There's stil

Re: debugging a NuttX linker problem

2020-04-09 Thread Gregory Nutt
arm-none-eabi-ld: /home/adam/src/nuttx/nuttx-sama5d2-xult/nuttx/arch/arm/src/board/libboard.a(sam_bringup.o): in function `sam_bringup': /home/adam/src/nuttx/nuttx-sama5d2-xult/nuttx/boards/arm/sama5/sama5d2-xult/src/sam_bringup.c:149: undefined reference to `sam_sdmmc_sdio_initialize' arm-none

debugging a NuttX linker problem

2020-04-09 Thread Adam Feuer
Hi, I'm having problems debugging a linker problem. I added a new driver file (arch/arm/src/sama5/sam_sdmmc.c and and the corresponding .h) for the SAMA5D27 SDMMC peripheral. I added it to the chip/Make.defs file. nuttx compiles and I see the sam_sdmmc.o being compiled and added to libarch.a. But