Adding Symbols or Definitions - 2023.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English
Definitions and symbols are tokenized and processed as if they have appeared during a preprocessor translation phase in a #define directive. You can add or remove symbols in the Vitis IDE with the following steps:
  1. Click your application component in the Component view and expand Settings. Open the UserConfig.cmake file under settings directory.
  2. Under Compiler Settings, select Symbols.
  3. Click the Add Item () button to add defined or undefined symbols.

Note: UserConfig.cmake supports GUI format and text format. You can click these icons </> to access the source editor to view the source code and modify the settings in text format.