cancel
Showing results for 
Search instead for 
Did you mean: 

cannot import and build STSW-IOM001

MOTREN
Associate II

Hello,

I bought a NUCLEO-F401RE and the STEVAL-IOM001V1 evaluation board to experiment with the IO-Link protocol. I’m having trouble importing STSW-IOM001 into my project. According to the documentation, it’s supposed to be opened in SW4STM32, which is an older tool. I’ve followed all the instructions I could find for importing it into STM32CubeIDE, but nothing has worked. Do you have any suggestions?

7 REPLIES 7
AScha.3
Super User

Hi,

did you try the P-NUCLEO-IOM01M1 ? 

If you feel a post has answered your question, please click "Accept as Solution".

I haven’t tried it, but it seems to run with the NUCLEO-F446RE board

 

And what about the ->

AScha3_0-1755884307074.png

You tried to use it ?

 

If you feel a post has answered your question, please click "Accept as Solution".

That’s my actual problem: I can’t import or build the example project and its directories

see:

https://community.st.com/t5/stm32cubemx-mcus/cubemx-not-showing-sw4stm32-as-tool-chain-even-after-instalation/m-p/76331#

 

So maybe you can use the source and copy the specific parts to a new project, you generate for the F401.

If you feel a post has answered your question, please click "Accept as Solution".
KDJEM.1
ST Employee

Hello @MOTREN and welcome to the community;

 

Thank you for bringing this issue to our attention.

I reported internally.

Could you try using an older version of STM32CubeIDE such as 1.11.0 or 1.16.0?

KDJEM1_0-1756284645296.png

Internal ticket number: 216360 (This is an internal tracking number and is not accessible or usable by customers).

 

Thank you.

Kaouthar 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

KDJEM.1
ST Employee

Hello @MOTREN ,

 

To solve this issue, I suggest that you add this instruction under main.c:

__attribute__((weak)) void _close(void){} 
__attribute__((weak)) void _lseek(void){} 
__attribute__((weak)) void _read(void){} 
__attribute__((weak)) void _write(void){}

 

Please let me know if the issue is solved or not?

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.