Hi @igorpadykov ,
Still I unable to achieve this,
SC_P_M40_I2C0_SDA for MIMX8QM_CM4_CORE1
I tried almost all API but there is no luck,
ipc = SystemGetScfwIpcHandle();
sc_rm_get_partition(ipc,&pt_m4);
sc_rm_set_pad_movable(ipc, SC_P_M40_I2C0_SCL, SC_P_M40_I2C0_SDA, SC_TRUE);
sc_rm_assign_pad(ipc, pt_m4, SC_P_M40_I2C0_SDA);
#if defined(MIMX8QM_CM4_CORE0)
#define BOARD_INITPINS_TX SC_P_M40_I2C0_SDA /*!< Pin function id */
#define BOARD_INITPINS_RX SC_P_M40_I2C0_SCL /*!< Pin function id */
#elif defined(MIMX8QM_CM4_CORE1)
#define BOARD_INITPINS_TX SC_P_M41_I2C0_SDA /*!< Pin function id */
#define BOARD_INITPINS_RX SC_P_M41_I2C0_SCL /*!< Pin function id */
#else
#error pin config not set
#endif
Regards,
Vinothkumar Sekar