To import source code files:
- Select File > Import... from the Main Menu.
- Click Next.
- You can select one or more C files to import using the Browse button in the Import Pins Source
Files
dialog.
- Select how to import the files:
- Rename – All files are merged into the current configuration. It
imports all the functions only. If the imported function has the same name as as an
existing one, it is automatically renamed to the indexed one. For example, if
BOARD_InitPins already exists in the configuration then the imported function is renamed
to BOARD_InitPins1.
- Overwrite – All files are merged into the current configuration.
It imports all the functions only. If the imported function has the same name as as an
existing one, then the existing one is replaced with the imported one.
- Click Finish.
Note: Only C files with valid YAML configuration can be imported. It imports the
configuration only, then the whole C file is re-created based on this setting. The rest of
the *.c and *.dtsi files are ignored.