Hi,I got some Trouble in use function PINS_DRV_Init().
I opened a example Project called freertos_s32k144, when i configued pin mux and generate code automaticly,Then i called function PINS_DRV_Init() and debug the program , there are a assert occured:
It seems not none in the structure
There is my code:
void rtos_start( void )
{
CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,
g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);
CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);
CLOCK_DRV_Init(&clockMan1_InitConfig0);
PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);
vTaskStartScheduler();
/* If all is well, the scheduler will now be running, and the following line
will never be reached. If the following line does execute, then there was
insufficient FreeRTOS heap memory available for the idle and/or timer tasks
to be created. See the memory management section on the FreeRTOS web site
for more details. */
for( ;; );
}
Hi @geekfuns,
The g_pin_mux_InitConfigArr0 struct is generated by the CT.
Is it set correctly in the GUI?
BR, Daniel