Nucleo 64 can not be programmed, what have I missed? <SOLVED>

Hello

Have just got a Nucleo-64 L476RG and drivers for it from ST is installed and it seem to be communicate with the computer just fine since I can get the board info VID: 0483
PID: 374B but although not the board name. But even with the simplest blink program it won't program it with the following errors that are in the bottom:

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Kevin\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Kevin\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Kevin\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_L476RG,upload_method=MassStorage,xserial=generic,usb=none,xusb=FS,opt=osstd,rtlib=nano -ide-version=10813 -build-path C:\Users\Kevin\AppData\Local\Temp\arduino_build_390144 -warnings=all -build-cache C:\Users\Kevin\AppData\Local\Temp\arduino_cache_699755 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\9.3.1-1.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-9.3.1-1.3.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\9.3.1-1.3 -prefs=runtime.tools.STM32Tools.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.0.0 -prefs=runtime.tools.STM32Tools-2.0.0.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.0.0 -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Kevin\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Kevin\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Kevin\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_L476RG,upload_method=MassStorage,xserial=generic,usb=none,xusb=FS,opt=osstd,rtlib=nano -ide-version=10813 -build-path C:\Users\Kevin\AppData\Local\Temp\arduino_build_390144 -warnings=all -build-cache C:\Users\Kevin\AppData\Local\Temp\arduino_cache_699755 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\9.3.1-1.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-9.3.1-1.3.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\9.3.1-1.3 -prefs=runtime.tools.STM32Tools.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.0.0 -prefs=runtime.tools.STM32Tools-2.0.0.path=C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.0.0 -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
Using board 'Nucleo_64' from platform in folder: C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0
Using core 'arduino' from platform in folder: C:\Users\Kevin\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0
"C:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\STM32Tools\\2.0.0/win/busybox.exe" sh "C:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/extras/prebuild.sh" "C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144" "C:\\Program Files (x86)\\Arduino\\examples\\01.Basics\\Blink"
Detecting libraries used...
"C:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\9.3.1-1.3/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144/sketch/build_opt.h" -c -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Program Files (x86)\\Arduino\\examples\\01.Basics\\Blink" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/avr" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/STM32L4xx_HAL_Driver/Inc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/STM32L4xx_HAL_Driver/Src" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/STM32L4xx" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32L4xx -DARDUINO=10813 -DARDUINO_NUCLEO_L476RG -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_L476RG\"" "-DVARIANT_H=\"variant_NUCLEO_L476RG.h\"" -DSTM32L476xx -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\variants\\STM32L4xx\\L475R(C-E-G)T_L476R(C-E-G)T_L486RGT" "C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144\\sketch\\Blink.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\9.3.1-1.3/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144/sketch/build_opt.h" -c -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Program Files (x86)\\Arduino\\examples\\01.Basics\\Blink" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/avr" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/STM32L4xx_HAL_Driver/Inc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/STM32L4xx_HAL_Driver/Src" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/STM32L4xx" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32L4xx -DARDUINO=10813 -DARDUINO_NUCLEO_L476RG -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_L476RG\"" "-DVARIANT_H=\"variant_NUCLEO_L476RG.h\"" -DSTM32L476xx -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\variants\\STM32L4xx\\L475R(C-E-G)T_L476R(C-E-G)T_L486RGT" "C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144\\sketch\\SrcWrapper.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Error while detecting libraries included by C:\Users\Kevin\AppData\Local\Temp\arduino_build_390144\sketch\SrcWrapper.cpp
Generating function prototypes...
"C:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\9.3.1-1.3/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144/sketch/build_opt.h" -c -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Program Files (x86)\\Arduino\\examples\\01.Basics\\Blink" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/avr" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/STM32L4xx_HAL_Driver/Inc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/STM32L4xx_HAL_Driver/Src" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/STM32L4xx" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32L4xx -DARDUINO=10813 -DARDUINO_NUCLEO_L476RG -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"NUCLEO_L476RG\"" "-DVARIANT_H=\"variant_NUCLEO_L476RG.h\"" -DSTM32L476xx -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\cores\\arduino" "-IC:\\Users\\Kevin\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.0.0\\variants\\STM32L4xx\\L475R(C-E-G)T_L476R(C-E-G)T_L486RGT" "C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144\\sketch\\Blink.ino.cpp" -o "C:\\Users\\Kevin\\AppData\\Local\\Temp\\arduino_build_390144\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
open C:\Users\Kevin\AppData\Local\Temp\arduino_build_390144\preproc\ctags_target_for_gcc_minus_e.cpp: File can not be found.
Error compiling for board Nucleo-64.

(What is up with the code tagging?)

I just got the board and I guess I have missed something? The right board is selected in Arduino, and according to some videos it should be as simple to program as an Mega2560.

Anyone knows?

Regards Kevin

And what is that right board? I have no idea what controller Your controller board contains.

Well in all honesty neither do I but I expect that it will all be automatically arranged if the right board is selected in the Arduino IDE which I have.
settings

I don't use Arduino IDE for the STM32 but the "Newlib Nano" for C Runtime Library sounds wrong... What other options do you have in that dropdown?

Hmm, yes could agree on that one, look strange.

What you see is what you see. The options to the right I cant show all of them at once, say which one you want to see and I take screen on it.

What's available under C Runtime dropdown?

Here is all anyway, and it doesn't matter what I choose at that runtime meny.

I apologize for not being of assistance any further...

You have nothing to apologize for. :slight_smile:

This looks similar:
https://www.stm32duino.com/viewtopic.php?t=245

Thanks but I actually saw that link some hours ago after a very long search and yes it was the problem, one file had been put in quarantine.

However, the topic is still valid since it now compiles, well sort of, but take hell of a long time, look at the huge compiled text file it seem like it repeatingv or something, totally abnormal, but but when its finished it say 0bytes but say upload but nothing happen and after some time it throw an error.

I couldn't put the text in code tags since it said it contained to many characters its little over a million, and thus a txt upload I thought but not allowed either so then a zip which worked.

Beware that the txt file it self is 1.5MB and little over a million chars, just so the txt program can handle it.

totally_messed_up.zip (26.0 KB)

I found this in the build attempt:

Unable to cache built core, please tell STMicroelectronics:stm32@2.0.0 maintainers to follow http://goo.gl/QdCUjo
Linking everything together...

and this at the end:

"C:\\Users\\William\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\9.3.1-1.3/bin/arm-none-eabi-objcopy" -O binary "C:\\Users\\William\\AppData\\Local\\Temp\\arduino_build_323229/Blinktesrt.ino.elf" "C:\\Users\\William\\AppData\\Local\\Temp\\arduino_build_323229/Blinktesrt.ino.bin"
"C:\\Users\\William\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\9.3.1-1.3/bin/arm-none-eabi-objcopy" -O ihex "C:\\Users\\William\\AppData\\Local\\Temp\\arduino_build_323229/Blinktesrt.ino.elf" "C:\\Users\\William\\AppData\\Local\\Temp\\arduino_build_323229/Blinktesrt.ino.hex"
Using library SrcWrapper at version 1.0.1 in folder: C:\Users\William\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper 
"C:\\Users\\William\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\9.3.1-1.3/bin/arm-none-eabi-size" -A "C:\\Users\\William\\AppData\\Local\\Temp\\arduino_build_323229/Blinktesrt.ino.elf"
Sketch uses 0 bytes (0%) of program storage space. Maximum is 1048576 bytes.
Global variables use 0 bytes (0%) of dynamic memory, leaving 98304 bytes for local variables. Maximum is 98304 bytes.
An error occurred while uploading the sketch

I'd probably try changing the board type in the IDE to STM32F103C8T6 (Blue Pill) which is much less exotic that the Nucleo-64 L476RGand use just the verify in the IDE (don't attempt to upload).

If it fails to verify with the STM32F103C8T6 board then it is likely to be an installation problem of the STM32 core. But a compatibility problem with your anti-virus program is also still possible.

Clear out that core in the Board Manager, switch off your anti-virus program, do the installation again and then try the verify/upload operation with your Nucleo-64 L476RG.

Changing the board to the mentioned one and only verify "Blink" program gave the same result: 0 bytes to upload, so something have gone really south here. I although remembered that ST had updated the core program to 2.0, will test both the new and an older 1.9.

My antivirus program normally ask if it should quarantine a files at install, but nothing was asked. I could see what files was put in quarantine but there was only one file and it was after that had been released that the verification as such started to work.

But I will get back after its done and tested and hope for the very best because something isn't right here.

I see what you mean, but keep in mind, with the STM core, some of the options do nothing because they don't pertain to the STM environment, yet they remain and don't really do anything.

After totally disabled the antivirus and a new install it now all works! :smiley:

Thanks guys for all the help!

Regards

Edit: well "blink" does but not any display program, sigh. The display is just white and I have double checked that everything is correctly set in the right files, but I make another topic for that since this one is solved.

Well that is also solved now by editing the right unknown file.

Hello. help me i'm a beginner
I connected the stm32 Xnucleo f411 to the arduino and tried to run the HC-05 bluetooth module.
(exec: "{runtime.tools.STM32Tools.path}/win/busybox.exe": file does not exist
Error compiling for board Nucleo-64.)
This is not working.

Linux OS? Mac OSX
Essentially, your PC is attempting to run the application busybox

BusyBox is a software suite that provides several Unix utilities in a single executable file. It runs in a variety of POSIX environments such as Linux, Android, and FreeBSD, although many of the tools it provides are designed to work with interfaces provided by the Linux kernel. BusyBox, is available for Mac OSWikipedia

ArduinoIDE should be installed based on the platform install instructions: https://www.arduino.cc/en/software

PS: best in future to start new inquiry than to piggy-back on an old post.

hi how many things can i ask you

I connected the STM32F411 armcortex, Mbed, wave share, board to the HC-05 bluetooth module, and programmed it to turn the lights on and off on my phone via a bluetooth connection. So where do I put my code and explode? Is it an Arduino?

Are you using Arduino IDE or STM32CubeIDE?