Hello All.
Is there a trick for finding out where specific #define values are set while using Config Tools?
I am currently trying to find MCU_PRECOMPILE_SUPPORT, but I a more interested in growing wheat, than being offered a loaf of bread.
Thanks.
Solved! Go to Solution.
One more point, with DS, the driver (that you've already installed) will be found here:
For some action / note in DS tool, it'll link to the components of DS. So it may important to look up sometimes (as my experience)
Thank you,
Nam.
Thank you Nam! With that info, I now have it working as desired. I did not understand the association between MCU_PRECOMPILE_SUPPORT and IMPLEMENTATION_CONFIG_VARIANT. Thanks again.
Hi KevinInMadison,
Sure.
You find where the code part / macro be generated. For example, MCU_PRECOMPILE_SUPPORT is in the Mcu_Cfg.h file. Then you find where it be generated. The generate file should be located in module MCU (for example) and in generate_PC (due to the PRECOMPILE macro)
It'll take time to understand, but quite easy, i think.
Parameter "IMPLEMENTATION_CONFIG_VARIANT" needs to be 'VariantPreCompile', which configured in .xdm file of module. As the MCU module, enter the Mcu.xdm inside the "config" folder.
To understand this, please refer to EB development doc
Here is where the param IMPLEMENTATION_CONFIG_VARIANT be configured.
By reading the EB doc, you will understand about this variable, be located in the Mcu module, which in general define.
You will get familiar with it after reading a while.
Check into the EB, you will find the component of this. And try to configure it.
If you're using DS, it may have some small differences but overall it's quite the same.
Please let me know if you have further questions.
Thank you,
Nam.
One more point, with DS, the driver (that you've already installed) will be found here:
For some action / note in DS tool, it'll link to the components of DS. So it may important to look up sometimes (as my experience)
Thank you,
Nam.
Hi,
The IMPLEMENTATION_CONFIG_VARIANT being used for the tool configuration, which will decides the value of MCU_PRECOMPILE_SUPPORT is STD_ON or STD_OFF.
MCU_PRECOMPILE_SUPPORT is macro be generated from tool, impact in C source code, and will be compiled by GCC to create .elf execution file for running.
Thank you,
Nam.