2024-01-25 12:57 PM
Hello community,
I have went around the latest X-CUBE-AZRTOS packs of several MCU series to do some benchmarking and started to install a few software examples to use them in STM32CubeIDE 1.14.0.
I found out that for some of them, the tool fails to copy through the Target Example Selector and therefore they are impossible to build. I digged a little what could be wrong and discovered that all these examples need some files that are not present in the X-CUBE-AZRTOS pack itself, whereas they are present in the related STM32Cube_FW pack !
This problem exists for the following packs / examples:
The easy workaround for me is to copy these 2 folders from STM32Cube_FW to X-CUBE-AZRTOS, but it obviously needs correction from ST to add what is missing.
Can you confirm it will be done in next pack deliveries ?
2024-01-26 02:02 AM
Hello @Oskar_H
It is mentioned in Azure RTOS packages:
The scope of this package covers the following Azure RTOS middleware: RTOS (ThreadX), USB Device and Host (USBX), File System including NOR/NAND memories support (FileX and LevelX) and Networking including Ethernet and WiFi media (NetXDuo).
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.
2024-01-26 04:38 AM - edited 2024-01-26 10:18 AM
Hello @FBL
yes of course, I already know that, and precisely because I wanted to build some examples using FileX, ThreadX, NetXDuo and USBX included in these packs, I faced the copy/build issues I mentionned in this other post : https://community.st.com/t5/stm32cubeide-mcus/fail-to-perform-local-copy/m-p/622589#M22991
None of these examples work when installing with Example Selector of STM32CubeIDE 1.14.0 !
These 3 X-CUBE packs are incomplete, please fix them.
2024-01-26 05:48 AM
Hello @Oskar_H
I have tried to reproduce on my side but the build is successful for the example :
If possible, to share steps to reproduce the issue. On my side I downloaded x cube package from MX tool without issues.
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.
2024-01-26 10:27 AM
Yes, sure !
Here are the steps to reproduce the issue in STM32CubeIDE 1.14.0:
Open menu File > New > STM32 Project
In Target Selection window, click Example Selector tab
In Board Name, type STM32WB5MM-DK
In Examples list, select Ux_Device_CDC_ACM and click Next >
In STM32 Project popup, click Finish
Then after a while there is an error as shown in the screenshot below.
At the same time this error is output in execution log:
2024-01-26 18:27:04,899 [ERROR] com.st.microxplorer.mcufinder.util.ExampleToolKit.processExtraFiles(ExampleToolKit.java:1585) - File not found: ../../../Utilities/Fonts/fonts.h
2024-01-26 18:27:04,903 [INFO] com.st.microxplorer.mcufinder.util.ExampleToolKit.copy_engine(ExampleToolKit.java:887) - [WARNING] Project 'Ux_Device_CDC_ACM' installed with Warning(s)/Error(s)
2024-01-26 18:27:04,903 [INFO] com.st.microxplorer.mcufinder.util.ExampleToolKit.copy_engine(ExampleToolKit.java:908) - [info] 2024/01/26 18:27:04
2024-01-26 18:27:04,925 [INFO] com.st.microxplorer.mcufinder.util.ExampleToolKit.elapsedTime(ExampleToolKit.java:1027) - [info] Elapsed time: 0h 1m 41s 874ms
Then I click Finish but it just does nothing and there is still the error.
The only way to continue is to click Cancel, it closes the popup and the example is gone ! Then I cannot even build it...
2024-01-26 12:06 PM
Hello @Oskar_H
Thank you for your quick response.
I confirm I have faced the same issue (local copy) as you detailed. This issue is under investigation by our colleagues.
However, according to Utilities, they are not included in the x cube package and should be included by the user.
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.