I was trying to use ip integrator and vitis to examine how to write and read to an SD card.
I have used the ip integrator with PmodMTDS and PmodKYBD successfully using the example codes supplied.
I assume the code is written in c++ and that is what I set the vitis project for.
However, with PmodSD the example code in main.cc is not building.
After examination, there is one line of code in the example main.cc that is a syntax error, sqiggly lines on the code and when I run the mouse over it, it tells me syntax error.
DFATFS::fsmount(disk, szDriveNbr, 1);
There are also many syntax error in the #include "DXSPISDVOL.h".
practically half of it has the squiggly lines.
Below is what I get when trying to build the project.
Description Resource Path Location Type
make: *** [makefile:50: sdtest.elf] Error 1 sdtest C/C++ Problem
region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem' overflowed by 63000 bytes sdtest C/C++ Problem
sdtest.elf section `.text' will not fit in region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem' sdtest C/C++ Problem
So if the syntax errors are causing this, what is the fix?
Question
ejc
I was trying to use ip integrator and vitis to examine how to write and read to an SD card.
I have used the ip integrator with PmodMTDS and PmodKYBD successfully using the example codes supplied.
I assume the code is written in c++ and that is what I set the vitis project for.
However, with PmodSD the example code in main.cc is not building.
After examination, there is one line of code in the example main.cc that is a syntax error, sqiggly lines on the code and when I run the mouse over it, it tells me syntax error.
DFATFS::fsmount(disk, szDriveNbr, 1);
There are also many syntax error in the #include "DXSPISDVOL.h".
practically half of it has the squiggly lines.
Below is what I get when trying to build the project.
Description Resource Path Location Type
make: *** [makefile:50: sdtest.elf] Error 1 sdtest C/C++ Problem
region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem' overflowed by 63000 bytes sdtest C/C++ Problem
sdtest.elf section `.text' will not fit in region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem' sdtest C/C++ Problem
So if the syntax errors are causing this, what is the fix?
I am using ARTY A7 with 35T csg324 board.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.