Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

Unable to output the API for the source code generated by Code Generator tool

Last Updated:03/22/2017

Question:

I cannot output the API for the source code although I’ve set the peripheral function by code generator plug-in or AP4 to execute code generation.

Answer:

For some of the API functions, you can set the source code output by selecting, resulting in reducing code size.
You can determine whether or not to generate source code in units of API functions in the context menu of the [Code preview].

1.    Go to the Project Tree panel and select [Project name (Project)] >> [Code Generator (Design Tool)] >> [Code Preview] >> Peripheral function node>> Source code node >> API function node. Then right click the mouse and select “Generate Code” in the context menu.

*1: Some devices do not have the [Code Preview] in the Project Tree panel. In case of that, see the [Code Generator Preview] by following the instructions here
*2: The above screen shot is from CS+, but you can take the same way to set the source code output for e² studio, AP4, and Applilet3, too.

2.    The API function set by the instructions in the above “1“ has been set to output the source code. You can confirm the output settings by icon of API function.

Suitable Products
e² studio
CS+ (formerly CubeSuite+)
Code Generator
  • Was this article helpful?