Code generation
If the settings are correct and no error is reported, the code generation engine instantly regenerates the source code. You can view the resulting code the Code Preview view of the Pins tool.
For multicores, the sources are generated for each core. Appropriate files are
shown with @Core #{number} tag.
Note: The tag name may be different depending on
the selected multi-core processor family/type.
You can also copy and paste the generated code into the source files. The view
generates code for each function. In addition to the function comments, the tool configuration
is stored in a YAML format. This comment is not intended for direct editing and can be used
later to restore the pins configuration.
YAML configuration contains configuration of each pin. It stores only non-default
values.
Tip: For multicore processors, it will generate source files
for each core. If processor is supported by SDK, it can generate BOARD_InitBootPins function
call from main by default. You can specify "Call from BOARD_InitBootPins" for each function,
in order to generate appropriate function call.