Adapt project's Makefile

If you want your project to use the NoC configuration that you've created, you'll need to adapt the Makefile to point to the correct generated configuration file, generated from your .noccfg file.

The default Makefile uses some source files, listed in the C_SRC variable, that you need to adapt, adding the Noc generated file from its output folder.

Figure 1. Name of the folder to be used

Here are the two modifications, illustrated in the window below.

Figure 2. Adapt C_SRCS and C_INCS

Now that the Makefile is updated, you can compile your project.

Of course you'll need to call the Noc initialization function from the main.c file.

Figure 3. One function to initialize the Noc

Figure 4. Call NoC init function from main.c