so i am trying to use the NDK and FATFS using the eDMA on the MMCSD peripheral
i found the SDK projects that do this separately but they are GNU compiler projects and i want to use TI compilers.
when i try to follow as closely as i can with the linker options i come up short. it seems like the folders/files that are explicitly linked it are GNU specific (makes sense) but i don't seem to be able to find the ti compiler equivalent.
here are my linking errors:
Description Resource Path Location Type
unresolved symbol _DebugP_assert, first referenced in C:/ti/pdk_am335x_1_0_3/packages/ti/fs/fatfs/lib/a8/release/ti.fs.fatfs.aa8fg<FATFS_drv.oa8fg> Model840i 3352 C/C++ Problem
unresolved symbol CpswEmacInit, first referenced in ./UTI_Nimu.obj Model840i 3352 C/C++ Problem
unresolved symbol edma3init, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol f_mkfs, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol MMCSD_close, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol MMCSD_config, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol MMCSD_control, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol MMCSD_init, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol MMCSD_open, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol MMCSD_read, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol MMCSD_write, first referenced in ./SDCard.obj Model840i 3352 C/C++ Problem
unresolved symbol SOCCtrlCpswPortMacModeSelect, first referenced in ./UTI_Nimu.obj Model840i 3352 C/C++ Problem
i have tried to find libraries that would solve these issues but i can't seem to find the right ones or i am not looking in the right places
in addition i get these warnings that seem to refer to sections that need to be defined (which don't seem to be defined in the example project) along with some other warnings that i am not 100% familiar with:
Description Resource Path Location Type
#10229-D output section ".data" refers to load symbol "MMCSD_close" and hence cannot be compressed; compression "rle" is ignored Model840i 3352 C/C++ Problem
#10247-D creating output section ".bss.drive_fxn_table" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".bss.FatFs" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".bss.Fsid" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".bss.LfnBuf" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".data.FATFS_count" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".rodata.LfnOfs" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".rodata.str1.4" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.check_fs" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.create_chain" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.dir_find" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.dir_next" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.dir_read.constprop.10" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.dir_register" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.dir_remove" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.dir_sdi" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.disk_initialize" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.disk_ioctl" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.disk_read" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.disk_register" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.disk_status" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.disk_unregister" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.disk_write" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_close" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_lseek" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_mkdir" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_mount" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_open" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_opendir" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_putc" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_puts" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_read" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_readdir" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_rename" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_stat" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_sync" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_unlink" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.f_write" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_close" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_diskInitialize" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_diskIOctrl" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_diskRead" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_diskStatus" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_diskWrite" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_init" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.FATFS_open" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.find_volume" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.follow_path" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.get_fat.isra.5" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.get_fattime" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.get_fileinfo.part.7" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.get_ldnumber" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.mem_cpy.part.0" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.move_window" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.put_fat.part.6" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.putc_bfd" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.remove_chain" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.sync_fs" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.sync_window.part.3" without a SECTIONS specification Model840i 3352 C/C++ Problem
#10247-D creating output section ".text.validate" without a SECTIONS specification Model840i 3352 C/C++ Problem
#16032-D object files have incompatible wchar_t types ("C:/ti/pdk_am335x_1_0_3/packages/ti/fs/fatfs/lib/a8/release/ti.fs.fatfs.aa8fg<diskio.oa8fg>" = --wchar_t=32, "./AM3352_Clock.obj" = --wchar_t=16) Model840i 3352 C/C++ Problem
#16032-D object files have incompatible wchar_t types ("C:/ti/pdk_am335x_1_0_3/packages/ti/fs/fatfs/lib/a8/release/ti.fs.fatfs.aa8fg<FATFS_drv.oa8fg>" = --wchar_t=32, "./AM3352_Clock.obj" = --wchar_t=16) Model840i 3352 C/C++ Problem
#16032-D object files have incompatible wchar_t types ("C:/ti/pdk_am335x_1_0_3/packages/ti/fs/fatfs/lib/a8/release/ti.fs.fatfs.aa8fg<ff.oa8fg>" = --wchar_t=32, "./AM3352_Clock.obj" = --wchar_t=16) Model840i 3352 C/C++ Problem