osMutexWait() function before the RTX osKernelInitialize()

Hi.

If I call the osMutexWait() function before the RTX osKernelInitialize() function is executed, an error is returned naturally.
After that, I call the osKernelInitialize() function. Is there any adverse effect of reading the osMutexWait() function?
What kind of scene is, the two devices (EEPROM and ADC) accessed by SPI I/F are exclusively controlled by MUTEX,
but it is necessary to read the EEPROM before starting the thread when the power is turned on.
Thank you.

jun

Parents Reply Children
No data
More questions in this forum