1 of 1 people found this helpful
resource_map.h is a file in the Code Example (CE) to ensure that the right pins are selected for all target BSPs. It is not a generated file.
Furthermore if I open device configurator, these pins are not configured
Yes, these pins are not configured using the Device Configurator. The CE uses Hardware Abstraction Layer (HAL). Most HAL drivers do not require you to enable the pins/resources in Device Configurator and the init API takes care of that. You can refer to this thread to know about some of the features of HAL - Issues starting with ModusToolbox IDE on Mac
HAL Documentation link - Hardware Abstraction Layer (HAL)
In this case, the cyhal_i2c_init configures these pins and you need not explicitly enable/configure them.
Thanks and Regards,
Rakshith M B
Edit: Added expansion of CE
Thanks Rakshith! Could you tell me what you mean by CE and if there is something I can read other than what you already recommended regarding "CE" please let me know.
I am sorry. I missed adding the expansion of CE when I first used it in my response. CE stands for Code Example in my response.
To make it easier for others who might be referring to this thread, I will add this to my previous response as well.
Thanks a lot for pointing this out!
Rakshith M B
LOL LOL LOL but of course! I work at NASA so we live acronyms... Have a great day!