5 Replies Latest reply on Jun 15, 2020 9:18 AM by WiWi_4702256

    What is resource_map.h

    WiWi_4702256

      resourcemap.gif

       

      I've seen it a couple times now in examples for interface to I2C and I cant seem to find it anywhere in documentation on how its generated or why you use it but it seems to work well for pointing out the pins being used in the example. Furthermore if I open device configurator, these pins are not configured. For example, this example uses P6.0 and P6.1 for SCL and SDA respectively as seen in the gifs...

      Pins.gifHighlighted.gifSlaves.gif

      If this a C++, or Python, or linux trick. I've been programming in TI environment for 10 years and C for 35+ years and I've not seen this... I feel a little ridiculous asking but I need to know because it works...

       

      Thanks,

      William