Hi,
I just installed the newest ISELED driver S32K1_ISELED_BETA_3.9.0 in the same folde where S32SDK_S32K1xx_RTM_3.0.0 is installed; and used it in my project. But while building the project, I get an error:
../SDK/platform/drivers/src/iseled/gcc/libiseled_S32K14x.a(flexio_iseled_driver.o): In function `digLED_FlexIO_InitInterface':
flexio_iseled_driver.c:(.text.digLED_FlexIO_InitInterface+0x50): undefined reference to `flexIODeviceState'
I can not find any flexio_iseled_driver.c file in the directory installed. I am not sure how to solove this problem.
Would you please help me out?
Hello, I am getting an error
Ld error: undefined reference to 'flexIODeviceState'
which I am assuming is related to the original question here? I got it while porting over working code from ISELED_BETA_2.9.2 into 3.9.0 like above. Is the solution the same? If so, I'm not familiar with editing header files and where to add this line...
Hi,
Just add flexio_device_state_t flexIODeviceState; anywhere in code.
Best regards,
Razvan
Looks like I also missed including flexio.h which for some reason was not required in the 2.9 version...
thank you for the help
I found the problem.
I had forgoten to add "flexio_device_state_t flexIODeviceState;" in my project as it is described in the ISELED user guid.
Hello,
can you share the solution?
I have the same problem and can't find the solution in the ISELED user guid.
Hi,
As Leila said you must add in your application this declaration: flexio_device_state_t flexIODeviceState;.
Best regards,
Razvan
Thank you very much for the fast response, it seems to work.
But now I'm stuck on this problem:
It just stops on this point and did't finish flashing.
Do you also have a fast solution for this?
Hi,
Can you try to use openSDA?
Razvan
Hi,
This capture doesn't include any error.
Could you share more details?
Razvan
There occur no error, it just hang on this point.
I use J-link Base.
Could it be a hardware problem ?
Hi,
Just add
flexio_device_state_t flexIODeviceState;
in the header file where you are initializing ISELED.