This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:fpga:xilinx:software_setup [14 Apr 2020 19:10] – Antoniu Miclaus | resources:fpga:xilinx:software_setup [14 Apr 2020 19:27] (current) – Antoniu Miclaus | ||
---|---|---|---|
Line 20: | Line 20: | ||
<note important> | <note important> | ||
* Copy the source code files into the **src** directory | * Copy the source code files into the **src** directory | ||
+ | * Make sure you uncomment the the required carrier vendor and CPU architecture from the **app_config.h** (or **config.h**) header file. | ||
+ | |||
+ | * Example for choosing the Altera carrier in the **app_config.h** header file: | ||
+ | < | ||
+ | //#define XILINX | ||
+ | #define ALTERA | ||
+ | </ | ||
+ | |||
* If there are multiple folders present in in the src one, include all the paths of the folders: go to the settings of the project and in the **C/C++ Build -> Settings -> Tool Settings -> gcc compiler -> Directories** section and add the paths of all the folders. | * If there are multiple folders present in in the src one, include all the paths of the folders: go to the settings of the project and in the **C/C++ Build -> Settings -> Tool Settings -> gcc compiler -> Directories** section and add the paths of all the folders. |