Not sure if this is the right place to report software issues with the FSP. This is with e2 Studio Version: 2021-04 (21.4.0) and FSP 3.0.0
The ISR declarations in vector.h should be wrapped with extern "C" so the project can be compiled with C++.
For example when compiling a simple C++ project with g_ether0 stack added, this error occurs:
...\cpptest\ra\fsp\inc\instances/r_ether.h:160:6: error: conflicting declaration of 'void ether_eint_isr()' with 'C' linkage 160 | void ether_eint_isr(void);
Once vector_data.h is modified to wrap the ISR prototypes like below, compilation is fine.
/* ISR prototypes */
Just an update: I was advised today by Renesas support that this issue has been resolved in FSP version 3.2.0.
You can report issues by submitting a ticket to Renesas support: https://en-support.renesas.com/dashboard
HeraldRenesasRulz Forum Moderatorhttps://renesasrulz.com/https://academy.renesas.com/en-us.knowledgebase.renesas.com/
Thanks hm for giving an update and for confirming that the issue has already been resolved. Will close this thread now. If you have another question, please create another discussion. Thank you again and have a nice day!
JBRenesasRulz Forum Moderator