I’m trying to compile the blink project for bluepill board.
Atmel SAM board’s software installed.
Arduino_STM32_(master) unziped to mydocument\hardware ( arduino\hardware) — both directory tried
‘board’ = maple mini
When compiling the project, it alert:
Arduino:1.6.8 (Windows 10), ејЂеЏ‘жќїпјљ"Maple Mini, Bootloader 2.0 (20k RAM,120k Flash), 72MHz (Normal), Smallest (default)"
F:\arduino-PR-4376-BUILD-479\arduino-builder -dump-prefs -logger=machine -hardware "F:\arduino-PR-4376-BUILD-479\hardware" -hardware "C:\Users\kk\AppData\Local\Arduino15\packages" -hardware "C:\Users\kk\Documents\Arduino\hardware" -tools "F:\arduino-PR-4376-BUILD-479\tools-builder" -tools "F:\arduino-PR-4376-BUILD-479\hardware\tools\avr" -tools "C:\Users\kk\AppData\Local\Arduino15\packages" -built-in-libraries "F:\arduino-PR-4376-BUILD-479\libraries" -libraries "C:\Users\kk\Documents\Arduino\libraries" -fqbn=Arduino_STM32:STM32F1:mapleMini:bootloader_version=bootloader20,cpu_speed=speed_72mhz,opt=osstd -ide-version=10608 -build-path "C:\Users\kk\AppData\Local\Temp\build34d148dc2c1afaaea8e21709f299cd64.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "F:\arduino-PR-4376-BUILD-479\examples\01.Basics\Blink\Blink.ino"
F:\arduino-PR-4376-BUILD-479\arduino-builder -compile -logger=machine -hardware "F:\arduino-PR-4376-BUILD-479\hardware" -hardware "C:\Users\kk\AppData\Local\Arduino15\packages" -hardware "C:\Users\kk\Documents\Arduino\hardware" -tools "F:\arduino-PR-4376-BUILD-479\tools-builder" -tools "F:\arduino-PR-4376-BUILD-479\hardware\tools\avr" -tools "C:\Users\kk\AppData\Local\Arduino15\packages" -built-in-libraries "F:\arduino-PR-4376-BUILD-479\libraries" -libraries "C:\Users\kk\Documents\Arduino\libraries" -fqbn=Arduino_STM32:STM32F1:mapleMini:bootloader_version=bootloader20,cpu_speed=speed_72mhz,opt=osstd -ide-version=10608 -build-path "C:\Users\kk\AppData\Local\Temp\build34d148dc2c1afaaea8e21709f299cd64.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "F:\arduino-PR-4376-BUILD-479\examples\01.Basics\Blink\Blink.ino"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_maple_mini -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -w -x c++ -E -CC -DF_CPU=72000000L -DARDUINO=10608 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32F1 -DMCU_STM32F103CB -DSERIAL_USB -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IF:\arduino-PR-4376-BUILD-479\hardware\Arduino_STM32\STM32F1\cores\maple" "-IF:\arduino-PR-4376-BUILD-479\hardware\Arduino_STM32\STM32F1\variants\maple_mini" "C:\Users\kk\AppData\Local\Temp\build34d148dc2c1afaaea8e21709f299cd64.tmp\sketch\Blink.ino.cpp" -o "nul"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_maple_mini -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -w -x c++ -E -CC -DF_CPU=72000000L -DARDUINO=10608 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32F1 -DMCU_STM32F103CB -DSERIAL_USB -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IF:\arduino-PR-4376-BUILD-479\hardware\Arduino_STM32\STM32F1\cores\maple" "-IF:\arduino-PR-4376-BUILD-479\hardware\Arduino_STM32\STM32F1\variants\maple_mini" "C:\Users\kk\AppData\Local\Temp\build34d148dc2c1afaaea8e21709f299cd64.tmp\sketch\Blink.ino.cpp" -o "C:\Users\kk\AppData\Local\Temp\build34d148dc2c1afaaea8e21709f299cd64.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from F:\arduino-PR-4376-BUILD-479\hardware\Arduino_STM32\STM32F1\cores\maple/Arduino.h:30:0,
from C:\Users\kk\AppData\Local\Temp\build34d148dc2c1afaaea8e21709f299cd64.tmp\sketch\Blink.ino.cpp:1:
F:\arduino-PR-4376-BUILD-479\hardware\Arduino_STM32\STM32F1\cores\maple/wirish.h:52:28: fatal error: libmaple/stm32.h: No such file or directory
#include <libmaple/stm32.h>
^
compilation terminated.
exit status 1
I’ve tried the option ‘Generic STM32F103Cx series’, and the error is the same as before.
In fact, the directory ‘libmaple’ has no stm32.h file. The stm32.h file is located at ‘Arduino_STM32\STM32F1\system\libmaple\include\libmaple’ -this file can’t be used at ‘\Arduino_STM32\STM32F1\cores\maple’ because it declares another h file like this:
#include “stm32f1/include/series/stm32.h” — line 71
The arm-none-eabi-g++ compiler starts from ‘\Arduino_STM32\STM32F1\cores\maple’ by the command option “-IF:\arduino-PR-4376-BUILD-479\hardware\Arduino_STM32\STM32F1\cores\maple” and miss the stm32.h file.
I’m not sure whether the compiler starts from error directory or the stm32.hпј€at \cores\mapleпј‰ file is lost.
Thanks
James
Check through this link & referenced links, especially the Known Issues for Blue Pill
Steve is correct in the board type to use.
Blue, Red, Black Pill boards are really intended for well-versed, experienced end-users as these boards often arrive from China with issues. While many of our users have this board, it is difficult to assist with problems; try going through the links I provided and use them as a check-list to check your work.
Just for grins, try compiling a “new” sketch… that is with just the setup() and loop()… using the STM32 Generic board type. This will test the compiler/linker installation and the STM32 core/Generic settings. I personally have not installed the new IDE 1.6.8 under Windows 10; I use 1.6.5 under Linux.
Good luck,
Ray
So please try to replace “-” by “_” (underscore).
And it seems that your Arduino IDE runs from a network/external device? It won’t work, only on a local drive!
Thanks for your help.
My blue pill board appears as ‘Maple DFU’, so I think the bootloader/driver has been installed correctly. ( And if you pull up PA14 at вЂslow blink ’ status , the board will work as a Serial device).
In the ‘Upload sketch’ step, IDE will compile the sketch first … and can’t pass the compiling — any new (NULL) sketch.
(following is the result of compiling — Arduino install path changed , use a NULL sketch)
The compiling and uploading are independent steps/tasks .
So I think some important file is lost or the IDE’s compiler acts in different way in Win10.
Thanks
James
—————————————————————————–
Arduino:1.6.8 (Windows 10), ејЂеЏ‘жќїпјљ"Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), STM32duino bootloader, 72Mhz (Normal), Smallest (default)"
F:\arduino_168\arduino-builder -dump-prefs -logger=machine -hardware "F:\arduino_168\hardware" -hardware "C:\Users\kk\AppData\Local\Arduino15\packages" -hardware "C:\Users\kk\Documents\Arduino\hardware" -tools "F:\arduino_168\tools-builder" -tools "F:\arduino_168\hardware\tools\avr" -tools "C:\Users\kk\AppData\Local\Arduino15\packages" -built-in-libraries "F:\arduino_168\libraries" -libraries "C:\Users\kk\Documents\Arduino\libraries" -fqbn=Arduino_STM32:STM32F1:genericSTM32F103C:device_variant=STM32F103C8,upload_method=DFUUploadMethod,cpu_speed=speed_72mhz,opt=osstd -ide-version=10608 -build-path "C:\Users\kk\AppData\Local\Temp\build1e3c050ca140b4f3b734a2a2ccb695f3.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\kk\AppData\Local\Temp\untitled1284948140.tmp\sketch_sep06a\sketch_sep06a.ino"
F:\arduino_168\arduino-builder -compile -logger=machine -hardware "F:\arduino_168\hardware" -hardware "C:\Users\kk\AppData\Local\Arduino15\packages" -hardware "C:\Users\kk\Documents\Arduino\hardware" -tools "F:\arduino_168\tools-builder" -tools "F:\arduino_168\hardware\tools\avr" -tools "C:\Users\kk\AppData\Local\Arduino15\packages" -built-in-libraries "F:\arduino_168\libraries" -libraries "C:\Users\kk\Documents\Arduino\libraries" -fqbn=Arduino_STM32:STM32F1:genericSTM32F103C:device_variant=STM32F103C8,upload_method=DFUUploadMethod,cpu_speed=speed_72mhz,opt=osstd -ide-version=10608 -build-path "C:\Users\kk\AppData\Local\Temp\build1e3c050ca140b4f3b734a2a2ccb695f3.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\kk\AppData\Local\Temp\untitled1284948140.tmp\sketch_sep06a\sketch_sep06a.ino"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOC -DERROR_LED_PIN=13 -w -x c++ -E -CC -DF_CPU=72000000L -DARDUINO=10608 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple" "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\variants\generic_stm32f103c" "C:\Users\kk\AppData\Local\Temp\build1e3c050ca140b4f3b734a2a2ccb695f3.tmp\sketch\sketch_sep06a.ino.cpp" -o "nul"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOC -DERROR_LED_PIN=13 -w -x c++ -E -CC -DF_CPU=72000000L -DARDUINO=10608 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple" "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\variants\generic_stm32f103c" "C:\Users\kk\AppData\Local\Temp\build1e3c050ca140b4f3b734a2a2ccb695f3.tmp\sketch\sketch_sep06a.ino.cpp" -o "C:\Users\kk\AppData\Local\Temp\build1e3c050ca140b4f3b734a2a2ccb695f3.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple/Arduino.h:30:0,
from C:\Users\kk\AppData\Local\Temp\build1e3c050ca140b4f3b734a2a2ccb695f3.tmp\sketch\sketch_sep06a.ino.cpp:1:
C:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple/wirish.h:52:28: fatal error: libmaple/stm32.h: No such file or directory
#include <libmaple/stm32.h>
^
compilation terminated.
exit status 1
I don’t understand what’s network device.
I have Arduino Nano board and Blue pill board (STM32), and compile the same sketch in different options: boards= Arduino Nano/ Generic STM32F103Cx series
It seems like the compiler goes wrong.
Thanks
F:\arduino_168\arduino-builder -dump-prefs ...I’ve tried to copy Arduino IDE to HD driver C, the error of compiling is the same:
Arduino:1.6.8 (Windows 10), ејЂеЏ‘жќїпјљ"Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), Serial, 72Mhz (Normal), Smallest (default)"
C:\arduino_168\arduino-builder -dump-prefs -logger=machine -hardware "C:\arduino_168\hardware" -hardware "C:\Users\kk\AppData\Local\Arduino15\packages" -hardware "C:\Users\kk\Documents\Arduino\hardware" -tools "C:\arduino_168\tools-builder" -tools "C:\arduino_168\hardware\tools\avr" -tools "C:\Users\kk\AppData\Local\Arduino15\packages" -built-in-libraries "C:\arduino_168\libraries" -libraries "C:\Users\kk\Documents\Arduino\libraries" -fqbn=Arduino_STM32:STM32F1:genericSTM32F103C:device_variant=STM32F103C8,upload_method=serialMethod,cpu_speed=speed_72mhz,opt=osstd -ide-version=10608 -build-path "C:\Users\kk\AppData\Local\Temp\buildc02c53e873c190eb8a0fed23cf68b964.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\kk\AppData\Local\Temp\untitled1962447497.tmp\sketch_sep07a\sketch_sep07a.ino"
C:\arduino_168\arduino-builder -compile -logger=machine -hardware "C:\arduino_168\hardware" -hardware "C:\Users\kk\AppData\Local\Arduino15\packages" -hardware "C:\Users\kk\Documents\Arduino\hardware" -tools "C:\arduino_168\tools-builder" -tools "C:\arduino_168\hardware\tools\avr" -tools "C:\Users\kk\AppData\Local\Arduino15\packages" -built-in-libraries "C:\arduino_168\libraries" -libraries "C:\Users\kk\Documents\Arduino\libraries" -fqbn=Arduino_STM32:STM32F1:genericSTM32F103C:device_variant=STM32F103C8,upload_method=serialMethod,cpu_speed=speed_72mhz,opt=osstd -ide-version=10608 -build-path "C:\Users\kk\AppData\Local\Temp\buildc02c53e873c190eb8a0fed23cf68b964.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\kk\AppData\Local\Temp\untitled1962447497.tmp\sketch_sep07a\sketch_sep07a.ino"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOC -DERROR_LED_PIN=13 -w -x c++ -E -CC -DF_CPU=72000000L -DARDUINO=10608 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple" "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\variants\generic_stm32f103c" "C:\Users\kk\AppData\Local\Temp\buildc02c53e873c190eb8a0fed23cf68b964.tmp\sketch\sketch_sep07a.ino.cpp" -o "nul"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOC -DERROR_LED_PIN=13 -w -x c++ -E -CC -DF_CPU=72000000L -DARDUINO=10608 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple" "-IC:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\variants\generic_stm32f103c" "C:\Users\kk\AppData\Local\Temp\buildc02c53e873c190eb8a0fed23cf68b964.tmp\sketch\sketch_sep07a.ino.cpp" -o "C:\Users\kk\AppData\Local\Temp\buildc02c53e873c190eb8a0fed23cf68b964.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple/Arduino.h:30:0,
from C:\Users\kk\AppData\Local\Temp\buildc02c53e873c190eb8a0fed23cf68b964.tmp\sketch\sketch_sep07a.ino.cpp:1:
C:\Users\kk\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple/wirish.h:52:28: fatal error: libmaple/stm32.h: No such file or directory
#include <libmaple/stm32.h>
^
compilation terminated.
exit status 1
But, if you used the ZIP version, you should be OK to move things around.
But… I have not installed the Windows version since Win8.1
Ray
Yes I use the ZIP file, not the install package.
Everything is OK for Arduino Nano board. (compiling, uploading).
I’ve tried the option board = Arduino Due (ARM cortex core), compiling is OK. The compiling parameters are :
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -DF_CPU=84000000L -DARDUINO=10608 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/libsam" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/CMSIS/CMSIS/Include/" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/CMSIS/Device/ATMEL/" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\cores\arduino" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\variants\arduino_due_x" "C:\Users\kk\AppData\Local\Temp\buildfd111bae439df74e5773e5e6e221a870.tmp\sketch\sketch_sep07a.ino.cpp" -o "nul"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -DF_CPU=84000000L -DARDUINO=10608 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/libsam" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/CMSIS/CMSIS/Include/" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/CMSIS/Device/ATMEL/" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\cores\arduino" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\variants\arduino_due_x" "C:\Users\kk\AppData\Local\Temp\buildfd111bae439df74e5773e5e6e221a870.tmp\sketch\sketch_sep07a.ino.cpp" -o "nul"
"C:\Users\kk\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -w -x c++ -E -CC -DF_CPU=84000000L -DARDUINO=10608 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Due"' "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/libsam" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/CMSIS/CMSIS/Include/" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\system/CMSIS/Device/ATMEL/" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\cores\arduino" "-IC:\Users\kk\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.11\variants\arduino_due_x" "C:\Users\kk\AppData\Local\Temp\buildfd111bae439df74e5773e5e6e221a870.tmp\sketch\sketch_sep07a.ino.cpp" -o "C:\Users\kk\AppData\Local\Temp\buildfd111bae439df74e5773e5e6e221a870.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
Install again everything new on “C:”, including the Arduino_STM32 zip version from github under the correct directory.
https://github.com/arduino/Arduino/wiki … cification
All of the compiling/uploading options (Include path, CPU speed,….) are specified in board.txt and platform.txt.
I don’t know what the keyword ‘{build.system.path}’ means.
In the case of Arduino Due board, the compiler’s include path is specified in platform.txt :
compiler.libsam.c.flags="-I{build.system.path}/libsam" "-I{build.system.path}/CMSIS/CMSIS/Include/" "-I{build.system.path}/CMSIS/Device/ATMEL/"
In the welcome post you have been directed to some links. Have you read them?
You should strictly follow the installation guide: http://wiki.stm32duino.com/index.php?title=Installation
When you delete old installation (core and IDE), you should also delete the directory /users/<user>/AppData/Local/Arduino15.
I think it’s not the install problem.
I’ve verified on Windows 8 ,64bit, the sketch pass the compiling. And, my Arduino IDE is on drive D , everything is similar to another one on Win10.
So, please check the compatibility of the Arduino_STM32.
The following is a piece of the compiling processing:
"C:\Users\John\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOC -DERROR_LED_PIN=13 -w -x c++ -E -CC -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10611 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/include" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/stm32f1/include" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/usb/stm32f1" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/usb/usb_lib" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\variants\generic_stm32f103c" "C:\Users\John\AppData\Local\Temp\build608de3bc2b24b0b06e562efe7fda847d.tmp\sketch\sketch_sep07a.ino.cpp" -o "nul"
"C:\Users\John\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOC -DERROR_LED_PIN=13 -w -x c++ -E -CC -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10611 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DSERIAL_USB -DGENERIC_BOOTLOADER -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/include" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/stm32f1/include" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/usb/stm32f1" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system/libmaple/usb/usb_lib" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\cores\maple" "-IC:\Users\John\Documents\Arduino\hardware\Arduino_STM32\STM32F1\variants\generic_stm32f103c" "C:\Users\John\AppData\Local\Temp\build608de3bc2b24b0b06e562efe7fda847d.tmp\sketch\sketch_sep07a.ino.cpp" -o "nul"
Generating function prototypes...
If it works for you, then v1.8.6 has a problem.
If it does not work, your installation/configuration has a problem (which I suspect, because the same package works on your other Win8).
Thanks for your help.
I unzip the installing packgae of Arduino1.8.6 to Win10, and the IDE do compiling fine on a simple sketch.
Best Regards
James
