2017-03-25 08:28 AM
Hello STM Community.
I am using the openstm32 System Workbench IDE and would like to play some of the
.Sadly, the projects for the -L4 boards spit out errors when building.
For example: The Wifi_VCOM example for STM32L4xx boards:
When the 'copy projects into workspace' option is checked, I get this error upon building:
'Description Resource Path Location Type
make: *** No rule to make target `/Middlewares/ST/STM32_SPWF0xSy/Utils/event_buffer.c', needed by `Middlewares/ST/STM32_SPWF0xSy/Utils/event_buffer.o'. Stop. STM32L0xx-Nucleo-WiFi_VCOM C/C++ Problem'When I import the project without the option, I get this error before the build even starts:
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'STM32L4xx-Nucleo-WiFi_VCOM'.
java.lang.NullPointerException
Why don't these examples work out-of-the-box?
Thanks,
Andy#x-nucleo-idw01m1 #nucleo-l476rg #spwf0-wifiSolved! Go to Solution.
2017-03-27 08:37 AM
I deleted the empty LinkerScript.ld files in all L4 examples - forcing them to be regenerated - and now they compile fine!
Please fix the issue of the empty linker files so others don't get this frustrating issue.
Greetings, Andy
2017-03-27 02:25 AM
Hi,
Please use File->Import->'Existing Projects into Workspace' option to import your projects to the System Workbench IDE.
Select root directory of the projects and you don't need to select any other option.
The build should be fine.
Are all projects giving you the same error or only the WiFi_VCOM project giving you such an error?
regards,
Mridu
2017-03-27 02:29 AM
If you are using the X-NUCLEO-IDW01M1, please also make sure you are selecting the right macro in the file wifi_conf.h in the Inc folder of the project.
The right macro combination for X-NUCLEO-IDW01M1 is SPWF01 and CONSOLE_UART_ENABLED.
2017-03-27 08:32 AM
Hello Mridu, thanks for your reply.
I imported the projects as you said, with no other options, from the root folder.
I imported all projects and when I try to build them, only the projects for the L4 boards give me the
'java.lang.NullPointerException' error. The projects for the L0, F1 and F4 boards compiles fine, without errors.
I also noticed that the LinkerScript.ld file in all L4 examples is empty!
Thanks, Andy
2017-03-27 08:37 AM
I deleted the empty LinkerScript.ld files in all L4 examples - forcing them to be regenerated - and now they compile fine!
Please fix the issue of the empty linker files so others don't get this frustrating issue.
Greetings, Andy
2017-03-27 09:11 AM
Ideally the linkerscripts should not be empty files as we see. But thanks anyway for pointing out. We will have a look.
Please download the v3.0.1 version which is to be updated soon. The vcom projects might have some other issues related to console prints.
2019-08-13 05:45 AM
I still keep getting the
"An internal error occurred during: "Build Project".
java.lang.NullPointerException"
Any Solutions ?
Trying to import: X-CUBE-SPN2, in CubeIDE.