- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used PSoC Creator4.4 to build a project named Chip Whisperer, and a build error occurred. not able to resolve it. attached is the image of the error am i am getting and project file.
How to solve this problem? Thank you!
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @niharika ,
The structure 'cryptoConfig' of type 'cy_stc_crypto_config_t' has not been defined anywhere in the program.
It is used in the function call
Cy_Crypto_Init(&cryptoConfig, &cryptoScratch);
in the file 'main_cm0p.c' as shown below.
Please define/declare this structure in the main file shown in above image to clear this error.
Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @niharika ,
The structure 'cryptoConfig' of type 'cy_stc_crypto_config_t' has not been defined anywhere in the program.
It is used in the function call
Cy_Crypto_Init(&cryptoConfig, &cryptoScratch);
in the file 'main_cm0p.c' as shown below.
Please define/declare this structure in the main file shown in above image to clear this error.
Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much! it worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @niharika
You can also refer to the code snippet present in the PDL API Reference Guide for the Cy_Crypto_Init() function that mentions how to demonstrate how to declare the structure.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much!! it worked