Rob B
Full Member level 4
xdefine_config_file
I've started using the EDK 9.1i for the Microblaze IP core.
The hardware synthesises but I have a problem building the software for it. A section of the end of the console output is shown below.
I'm only trying to build the built in test applications for the peripherals (just LEDs and switches) but I get the following error. Debug is to be via the UART and RS232 and that seems to something to do with the error.
Or is it just a path problem?
~Edit~
That was my error, the toolchain does not like whitespace in project paths .
Now I am exiting with:
Switched to a default linker script rather then the generated one and it built.
I've started using the EDK 9.1i for the Microblaze IP core.
The hardware synthesises but I have a problem building the software for it. A section of the end of the console output is shown below.
I'm only trying to build the built in test applications for the peripherals (just LEDs and switches) but I get the following error. Debug is to be via the UART and RS232 and that seems to something to do with the error.
Or is it just a path problem?
Code:
ERROR:MDT - uartlite () - couldn't open "src/xuartlite_g.c": no such file or
directory
while executing
"open $filename w"
(procedure "xdefine_config_file" line 4)
invoked from within
"xdefine_config_file $drv_handle "xuartlite_g.c" "XUartLite" "DEVICE_ID"
"C_BASEADDR" "C_BAUDRATE" "C_USE_PARITY" "C_ODD_PARITY" "C_DATA_BITS""
(procedure "::sw_uartlite_v1_01_a::generate" line 3)
invoked from within
"::sw_uartlite_v1_01_a::generate 37526856"
ERROR:MDT - gpio () - couldn't open "src/xgpio_g.c": no such file or directory
while executing
"open $filename w"
(procedure "xdefine_config_file" line 4)
invoked from within
"xdefine_config_file $drv_handle "xgpio_g.c" "XGpio" "DEVICE_ID"
"C_BASEADDR" "C_INTERRUPT_PRESENT" "C_IS_DUAL""
(procedure "::sw_gpio_v2_01_a::generate" line 4)
invoked from within
"::sw_gpio_v2_01_a::generate 37538364"
Copying Library Files ...
ERROR:MDT - Error while running "generate" for processor microblaze_0...
make: *** [microblaze_0/lib/libxil.a] Error 2
Done!
~Edit~
That was my error, the toolchain does not like whitespace in project paths .
Now I am exiting with:
Code:
collect2: ld returned 1 exit status
make: *** [TestApp_Peripheral/executable.elf] Error 1
Switched to a default linker script rather then the generated one and it built.