This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS570LS0232
When does this issue occur:
First, the Notification is configured:
Then, the header file containing the correpsonding declaration is configured:
A) The content of the generated files Spi_PBcfg.c and Fls_30_Spi01_Cbk.h do not fit together which leads to the compiler error:
Compiling file: GenData/src/Spi_PBCfg.c "GenData/src/Spi_PBcfg.c", line 118: error: declaration is incompatible with "void Fls_30_Spi01_DrvSequenceCbk(void)" (declared at line 37 of "../coremsr/bsw/fls_30_spi01/Fls_30_Spi01_Cbk.h")
B) Not configuring the Notification Header leads to the warning
Compiling file: GenData/src/Spi_PBCfg.c "GenData/src/Spi_PBcfg.c", line 1234: warning: a value of type "int (*)()" cannot be used to initialize an entity of type "void (*)(void)"
Two possible solutions for this issue:
1. Optionally configuring the notifications header Fls_30_Spi01_Cbk.h and manually adapting the generated declaration. This is not a good solution because, after regenerating the file, the adaption must be done again.
2. Configuring the header and deleting the unnecessary declaration from Spi_PBcfg.c
Would you please comment on that?
Please find the results of the two different configuration options A) and B) as well as the two solution options 1. and 2. in the attachment:
Thanks and Regards,QJ Wang
For more information: Hercules FAQ
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to chetan.ks@PP:
We will check, then come back to you. Thanks
In reply to QJ Wang:
If my reply answers your question, please click on Verify Answer.
In reply to Vishwanath Reddy:
In reply to Josef Noebauer:
Your understand is correct. This issue will be fixed in upcoming release.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.