I try to assign customer name for MCU pins,
for example (P001 ==> AN001, is for Temperature sensor 1 analogue, I would like set its name to "AN_TempSensor"),
(P002==>AN002, is for Pressure sensor analogue input, I would like set its name to "AN_PresureSensor").
It will be easy to read the code if with customer name.
But I can't set it in "configuration.xml", any suggestion?
Regards
Sam
Hello Sam,
Can you please clarify your issue? What MCU are you using? How are you trying to set the custom names, are you using the visual configurator for this?
Kind regards,
Sergey
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!
Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
Hi Sergey,
I try several MCU, the same problem, I can't assign label name to pins. For example in the attached image, I can't assign other label name to "P100".
To see the Custom names you need to select the Symbolic Name from the drop-down list in the FSP Visualization view
To set the Custom name to the pin, you need to switch to the "Pins" tab of the FSP Configurator and write it in the "Symbolic Name" of the corresponding pin
I can switch to "Symbolic Name" to view Custom names, but when I "Generate Project Content", the generated code in "pin_data.c" doesn't have the "Symbolic Name".
For example, the pin P503 has custom name of "LED1_Blue", how can "LED1_Blue" in the "pin_data.c" source code?
I can find the "Custom name" "LED1_Blue" is in this file "ra_cfg\fsp_cfg\bsp\bsp_pin_cfg.h".
My question solved, thanks.