Code generation

The tool generates source code that can be incorporated into an application to initialize pins routing. The source code is generated automatically on change or can be generated manually by selecting the main menu Pins > Refresh.

Figure 1. Pins > Refresh

The generated code is shown in the Code Preview tab on the right window. It shows all generated files and each file has its own tab.

Figure 2. Code preview

For multicores, the sources are generated for each core. Appropriate files are shown with @Core #1 tag.

Note: The tag name may be different depending on the selected multi-core processor family/type.

The tag name may be different depending on the selected multi-core processor family/type.

Figure 3. Generated code

The tag name may be different depending on the selected multi-core processor family/type.

Note: 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.