Hi,
I have been create a simple microblaze project with only a 32 bit gpio prepheral. and when I start the sdk, using export w/o bit stream , and creat a new application project, this error occured when trying to build it : make all
'Building file: ../src/main.cc'
'Invoking: MicroBlaze g++ compiler'
mb-g++ -Wall -O0 -g3 -c -fm-length=0 -I../../processor_sdk_bsp/microblaze_0/include -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.c -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.cc"
mb-g++: fatal error: '-c' is not a valid option to the preprocessor
compilation terminated.
make: *** [src/main.o] Error 1
First, create a new source of microblaze in the ise/vivado.
Then you should specify the processor(s) and its peripherals in the XPS environment.
After generating netlist you may export the design into SDK directly or closing XPS and export the design from ise/vivado.
Using MBLAZE is so interesting, however you will face many issues like what I have asked to solve.
First, create a new source of microblaze in the ise/vivado.
Then you should specify the processor(s) and its peripherals in the XPS environment.
After generating netlist you may export the design into SDK directly or closing XPS and export the design from ise/vivado.
Using MBLAZE is so interesting, however you will face many issues like what I have asked to solve.