A
B
Figure 23
Interrupt configuration
The next part in the development process is to generate code.
Note:
This exercise does not detail how to export your work to a target IDE. However, if you wish to use
a target IDE, this is the point in the workflow where you would ensure that the correct target IDE is
selected before you generate the source code.
4.5
Part 3: Generate source code
PSoC
™
Creator generates the source code based upon the design. The recommended workflow is to generate
code before writing firmware. PSoC
™
Creator will automatically create macros, constants, and API calls that you
may then use in your firmware.
1.
Generate the application
Choose Build > Generate Application. PSoC
™
Creator generates the source code based on the design
and puts the files in the Generated_Source folder. See
. PSoC
™
Creator will alert you to errors or
problems that may occur. If you are working from scratch and encounter errors, revisit the configuration
steps in
to ensure you have performed them correctly
Getting started with PSoC
™
6 MCU on PSoC
™
Creator
4 My first PSoC
™
6 MCU design using PSoC
™
Creator
Application Note
27
002-21774 Rev. *G
2022-07-21