I am trying to use the sample MBox code in data/embeddedsw/XilinxProcessorIPLib/drivers/mbox_v4_6 but encountered a lot of compilation errors.
I built my block design as shown below, generated an XSA file, and then used that to build my software application. I found that the resultant xparameters.h file wasn't compatible with the sample MBox code though. For example, xmbox_example.c is looking for XPAR_MBOX_4_DEVICE_ID, but my xparameters.h file only has XPAR_MBOX_0_DEVICE_ID and XPAR_MBOX_1_DEVICE_ID. None of the macros in my XMbox_ConfigTable[] can be found in xparameters.h either.
Any tips on what I should be doing?