Board Properties name=Generic STM32F103C series vid.0=0x1EAF pid.0=0x0004 build.variant=generic_stm32f103c build.vect=VECT_TAB_ADDR=0x8000000 build.core=maple build.board=GENERIC_STM32F103C build.error_led_port=GPIOC build.error_led_pin=13 upload.use_1200bps_touch=false upload.file_type=bin upload.auto_reset=true upload.tool=stlink_upload upload.protocol=STLink menu.device_variant.STM32F103C8=STM32F103C8 (20k RAM. 64k Flash) menu.device_variant.STM32F103C8.build.cpu_flags=-DMCU_STM32F103C8 menu.device_variant.STM32F103C8.build.ldscript=ld/jtag_c8.ld menu.device_variant.STM32F103C8.upload.maximum_size=65536 menu.device_variant.STM32F103C8.upload.maximum_data_size=20480 menu.device_variant.STM32F103CB=STM32F103CB (20k RAM. 128k Flash) menu.device_variant.STM32F103CB.build.cpu_flags=-DMCU_STM32F103CB menu.device_variant.STM32F103CB.build.ldscript=ld/jtag.ld menu.device_variant.STM32F103CB.upload.maximum_size=131072 menu.device_variant.STM32F103CB.upload.maximum_data_size=20480 menu.upload_method.DFUUploadMethod=STM32duino bootloader menu.upload_method.DFUUploadMethod.upload.protocol=maple_dfu menu.upload_method.DFUUploadMethod.upload.tool=maple_upload menu.upload_method.DFUUploadMethod.build.upload_flags=-DSERIAL_USB -DGENERIC_BOOTLOADER menu.upload_method.DFUUploadMethod.build.vect=VECT_TAB_ADDR=0x8002000 menu.upload_method.DFUUploadMethod.build.ldscript=ld/bootloader_20.ld menu.upload_method.DFUUploadMethod.upload.usbID=1EAF:0003 menu.upload_method.DFUUploadMethod.upload.altID=2 menu.upload_method.serialMethod=Serial menu.upload_method.serialMethod.upload.protocol=maple_serial menu.upload_method.serialMethod.upload.tool=serial_upload menu.upload_method.serialMethod.build.upload_flags=-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG menu.upload_method.STLinkMethod=STLink menu.upload_method.STLinkMethod.upload.protocol=STLink menu.upload_method.STLinkMethod.upload.tool=stlink_upload menu.upload_method.STLinkMethod.build.upload_flags=-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER menu.upload_method.BMPMethod=BMP (Black Magic Probe) menu.upload_method.BMPMethod.upload.protocol=gdb_bmp menu.upload_method.BMPMethod.upload.tool=bmp_upload menu.upload_method.BMPMethod.build.upload_flags=-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG menu.upload_method.jlinkMethod=JLink menu.upload_method.jlinkMethod.upload.protocol=jlink menu.upload_method.jlinkMethod.upload.tool=jlink_upload menu.upload_method.jlinkMethod.build.upload_flags=-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER menu.upload_method.HIDUploadMethod=HID bootloader 2.0 menu.upload_method.HIDUploadMethod.upload.tool=hid_upload menu.upload_method.HIDUploadMethod.build.upload_flags=-DSERIAL_USB -DGENERIC_BOOTLOADER menu.upload_method.HIDUploadMethod.build.vect=VECT_TAB_ADDR=0x8001000 menu.upload_method.HIDUploadMethod.build.ldscript=ld/hid_bootloader.ld menu.cpu_speed.speed_72mhz=72Mhz (Normal) menu.cpu_speed.speed_72mhz.build.f_cpu=72000000L menu.cpu_speed.speed_48mhz=48Mhz (Slow - with USB) menu.cpu_speed.speed_48mhz.build.f_cpu=48000000L menu.cpu_speed.speed_128mhz=Overclocked 128Mhz NO USB SERIAL. MANUAL RESET NEEDED TO UPLOAD menu.cpu_speed.speed_128mhz.build.f_cpu=128000000L menu.opt.osstd=Smallest (default) menu.opt.o1std=Fast (-O1) menu.opt.o1std.build.flags.optimize=-O1 menu.opt.o1std.build.flags.ldspecs= menu.opt.o2std=Faster (-O2) menu.opt.o2std.build.flags.optimize=-O2 menu.opt.o2std.build.flags.ldspecs= menu.opt.o3std=Fastest (-O3) menu.opt.o3std.build.flags.optimize=-O3 menu.opt.o3std.build.flags.ldspecs= menu.opt.ogstd=Debug (-g) menu.opt.ogstd.build.flags.optimize=-Og menu.opt.ogstd.build.flags.ldspecs= vm.debug.class_type=VM_DEBUGGER_TYPE_USBSERIAL vm.debug.main_port_name=Serial tools.openocd.debug.build.openocdscript=target/stm32f1x.cfg menu.upload_method.f2232h=F2232H Dual RS232 + OpenOCD (vMicro) menu.upload_method.f2232h.upload.tool=ftdiocd menu.upload_method.f2232h.upload.openocddebugger=ftdi/minimodule-lowcost.cfg menu.upload_method.ft2232mm=JLink + OpenOCD (vMicro) menu.upload_method.ft2232mm.upload.tool=jlinkocd menu.upload_method.ft2232mm.upload.openocddebugger=jlink.cfg menu.upload_method.stlinkv2=STLink v2 + OpenOCD (vMicro) menu.upload_method.stlinkv2.upload.tool=openocd menu.upload_method.stlinkv2.upload.openocddebugger=stlink-v2.cfg menu.upload_method.stlinkv21=STLink v2.1 + OpenOCD (vMicro) menu.upload_method.stlinkv21.upload.tool=openocd menu.upload_method.stlinkv21.upload.openocddebugger=stlink-v2-1.cfg menu.upload_method.bmp=Black Magic + GDB (vMicro) menu.upload_method.bmp.upload.tool=vmbmp menu.upload_method.bmp.upload.openocddebugger= runtime.ide.path=C:\Program Files (x86)\Arduino runtime.os=windows build.system.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1\2019.6.29\system runtime.ide.version=10809 target_package=stm32duino target_platform=STM32F1 runtime.hardware.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1 originalid=genericSTM32F103C upload.8dot3=false tools.gdb.pre_init.tool=openocd tools.gdb.cmd=arm-none-eabi-gdb.exe tools.gdb.path={runtime.tools.arm-none-eabi-gcc.path}/bin tools.gdb.pattern="{path}/{cmd}" -interpreter=mi -d "{build.project_path}" tools.gdb.openocd.cmd=bin/openocd.exe tools.gdb.openocd.path={runtime.vm.ide.tools.openocd.path} tools.gdb.openocd.params.verbose=-d2 tools.gdb.openocd.params.quiet=-d0 tools.gdb.openocd.pattern="{path}/{cmd}" -l "{{build.path}/{build.project_name}_DebugOpenOCD.log}" -s "{path}/scripts/" -f "{path}/scripts/{build.openocdscript}" tools.openocd.debug.path={runtime.tools.openocd-0.10.0.1.path} tools.openocd.debug.cmd=bin/openocd.exe tools.openocd.debug.cmd.windows=bin/openocd.exe tools.openocd.debug.params.verbose=-d2 tools.openocd.debug.params.quiet=-d0 tools.openocd.debug.args={params.verbose} -l "{{build.path}/{build.project_name}_DebugOpenOCD.log}" -s"{path}/scripts/" -f "{path}/scripts/interface/{build.openocddebugger}" -f "{path}/scripts/{build.openocdscript}" -c "init" tools.openocd.debug.address=localhost:3333 tools.bmp_upload.cmd=arm-none-eabi-gdb.exe tools.bmp_upload.debug.args=-nh -b 115200 -ex "target extended-remote \\.\{serial.port}" -ex "monitor swdp_scan" -ex "attach 1" tools.f2232h.server.build.openocddebugger=ftdi/minimodule-lowcost.cfg tools.f2232h.cmd=arm-none-eabi-gdb.exe tools.f2232h.path={runtime.tools.arm-none-eabi-gcc.path}/bin tools.f2232h.pattern="{path}/{cmd}" tools.f2232h.server.tool=openocd tools.f2232h.server.args={params.verbose} -l "{{build.path}/{build.project_name}_DebugOpenOCD.log}" -s"{path}/scripts/" -f "{path}/scripts/interface/{build.openocddebugger}" -c "transport select swd" -c "ftdi_layout_signal SWD_EN -data 0" -f "{path}/scripts/{build.openocdscript}" -c "init" tools.f2232mm.server.build.openocddebugger=ftdi/minimodule.cfg tools.f2232mm.cmd=arm-none-eabi-gdb.exe tools.f2232mm.path={runtime.tools.arm-none-eabi-gcc.path}/bin tools.f2232mm.pattern="{path}/{cmd}" tools.f2232mm.server.tool=openocd tools.f2232mm.server.args={params.verbose} -l "{{build.path}/{build.project_name}_DebugOpenOCD.log}" -s"{path}/scripts/" -f "{path}/scripts/interface/{build.openocddebugger}" -c "transport select swd" -c "ftdi_layout_signal SWD_EN -data 0" -f "{path}/scripts/{build.openocdscript}" -c "init" tools.jlink.server.build.openocddebugger=jlink.cfg tools.jlink.cmd=arm-none-eabi-gdb.exe tools.jlink.path={runtime.tools.arm-none-eabi-gcc.path}/bin tools.jlink.pattern="{path}/{cmd}" tools.jlink.server.tool=openocd tools.jlink.server.args={params.verbose} -l "{{build.path}/{build.project_name}_DebugOpenOCD.log}" -s "{path}/scripts/" -f "{path}/scripts/interface/{build.openocddebugger}" -c "transport select swd" -f "{path}/scripts/{build.openocdscript}" -c "init" tools.stlinkv21.server.build.openocddebugger=stlink-v2-1.cfg tools.stlinkv21.cmd=arm-none-eabi-gdb.exe tools.stlinkv21.args=-ex "flushregs" -ex "continue" tools.stlinkv21.path={runtime.tools.arm-none-eabi-gcc.path}/bin tools.stlinkv21.pattern="{path}/{cmd}" {args} tools.stlinkv21.server.tool=openocd tools.stlinkv2.server.build.openocddebugger=stlink-v2.cfg tools.stlinkv2.cmd=arm-none-eabi-gdb.exe tools.stlinkv2.path={runtime.tools.arm-none-eabi-gcc.path}/bin tools.stlinkv2.pattern="{path}/{cmd}" tools.stlinkv2.server.tool=openocd debug_menu.hwdebugger.bmp=Black Magic (External) debug_menu.hwdebugger.bmp.debug.tool=bmp_upload meta_bmp.sentence=This debugger requires the 20-pin ribbon cable to link to your target, see connections below meta_bmp.comment=Ensure the COM Port for the Black Magic is selected before attaching the Debugger. Set vMicro > Debugger > 'Compiler Optimization' to 'No Project', 'No Project + Libraries' or 'None' when debugging. (NOTE: Changing the optimization setting for this platform might cause compilation errors with certain code such as HardwareSerial.) meta_bmp.image.connect=https://www.visualmicro.com/pics/Debug-Help-STM32-BMP-Connections.png meta_bmp.image.operation=https://www.visualmicro.com/pics/Debug-Break-STM32-BMP-VSOnly.png meta_bmp.reference.usage.url=https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html debug_menu.hwdebugger.f2232h=F2232H Dual RS232 debug_menu.hwdebugger.f2232h.debug.tool=f2232h meta_f2232h.sentence=This debugger will require some wiring to connect it to your target STM32 board meta_f2232h.comment=Wiring can be found in the below image, and the 'https://zadig.akeo.ie/' tool is required to replace the USB Driver on Interface 0 with 'WinUSB'. Set vMicro > Debugger > 'Compiler Optimization' to 'No Project', 'No Project + Libraries' or 'None' when debugging. (NOTE: Changing the optimization setting for this platform might cause compilation errors with certain code such as HardwareSerial.) meta_f2232h.image.connect=https://www.visualmicro.com/pics/Debug-Break-STM32-FT2232H-Connections.png meta_f2232h.reference.usage.url=https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html debug_menu.hwdebugger.f2232mm=F2232 MiniModule debug_menu.hwdebugger.f2232mm.debug.tool=f2232mm meta_f2232mm.sentence=This debugger will require some wiring to allow it to function, and connect to your target STM32 board meta_f2232mm.comment=Wiring can be found in the below image, and the 'https://zadig.akeo.ie/' tool is required to replace the USB Driver on Interface 0 with 'WinUSB'. Set vMicro > Debugger > 'Compiler Optimization' to 'No Project', 'No Project + Libraries' or 'None' when debugging. (NOTE: Changing the optimization setting for this platform might cause compilation errors with certain code such as HardwareSerial.) meta_f2232mm.image.connect=https://www.visualmicro.com/pics/Debug-Help-STM32-FT2232MM-Connections.png meta_f2232mm.image.operation=https://www.visualmicro.com/pics/Debug-Help-STM32-FT2232MM-VSOnly.png meta_f2232mm.reference.usage.url=https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html debug_menu.hwdebugger.jlink=Segger J-Link debug_menu.hwdebugger.jlink.debug.tool=jlink meta_jlink.sentence=This debugger will require some wiring to connect it to your target STM32 board meta_jlink.comment=Wiring can be found in the below image, and the 'https://zadig.akeo.ie/' tool is required to replace the USB Driver on Interface 0 with 'WinUSB'. Set vMicro > Debugger > 'Compiler Optimization' to 'No Project', 'No Project + Libraries' or 'None' when debugging. (NOTE: Changing the optimization setting for this platform might cause compilation errors with certain code such as HardwareSerial.) meta_jlink.image.connect=https://www.visualmicro.com/pics/Debug-Help-STM32-Jlink-Connections.png meta_jlink.image.operation=https://www.visualmicro.com/pics/Debug-Help-STM32-STM32-Jlink-VSOnly.png meta_jlink.reference.usage.url=https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html debug_menu.hwdebugger.stlinkv21=STLink v2.1 (Onboard) debug_menu.hwdebugger.stlinkv21.debug.tool=stlinkv21 meta_stlinkv21.sentence=This debugger is built onto the board, and requires both jumpers to be present on the STLINK/Board header meta_stlinkv21.comment=Wiring can be found in the below image, and the 'https://zadig.akeo.ie/' tool is required to replace the USB Driver on Interface 0 with 'WinUSB'. Set vMicro > Debugger > 'Compiler Optimization' to 'No Project', 'No Project + Libraries' or 'None' when debugging. (NOTE: Changing the optimization setting for this platform might cause compilation errors with certain code such as HardwareSerial.) meta_stlinkv21.image.connect=https://www.visualmicro.com/pics/Debug-Help-STM32-STlinkBuiltIn-Connections.png meta_stlinkv21.image.operation=https://www.visualmicro.com/pics/Debug-Break-STM32-STlinkBuiltIn-VSOnly.png meta_stlinkv21.reference.usage.url=https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html debug_menu.hwdebugger.stlinkv2=STLink v2 (External) debug_menu.hwdebugger.stlinkv2.debug.tool=stlinkv2 meta_stlinkv2.sentence=This debugger requires the 20-pin ribbon cable to link to your target. meta_stlinkv2.comment=Further info can be found in the below image, and the 'https://zadig.akeo.ie/' tool is required to replace the USB Driver on Interface 0 with 'WinUSB'. Set vMicro > Debugger > 'Compiler Optimization' to 'No Project', 'No Project + Libraries' or 'None' when debugging. (NOTE: Changing the optimization setting for this platform might cause compilation errors with certain code such as HardwareSerial.) meta_stlinkv2.image.connect=https://www.visualmicro.com/pics/Debug-Help-STM32-STlink-Connections.png meta_stlinkv2.image.operation=https://www.visualmicro.com/pics/Debug-Break-STM32-STlink-VSOnly.png meta_stlinkv2.reference.usage.url=https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html tools.openocd.upload.elf.message=****[vMicro]**** Uploading ELF : tools.openocd.upload.path={runtime.tools.openocd-0.10.0.1.path} tools.openocd.upload.cmd=bin/openocd.exe tools.openocd.upload.cmd.windows=bin/openocd.exe tools.openocd.upload.params.verbose=-d2 tools.openocd.upload.params.quiet=-d0 tools.openocd.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} -s "{upload.path}/share/openocd/scripts/" -f "interface/{upload.openocddebugger}" -f "{upload.openocdscript}" -c "echo -n {{upload.elf.message}}" -c "reset_config; telnet_port disabled; program {{{build.path}/{build.project_name}.elf}} reset;reset_config;shutdown" tools.openocd.upload.extra_params= tools.openocd.upload.protocol= tools.openocd.protocol= tools.openocd.upload.openocdscript=target/stm32f1x.cfg tools.jlinkocd.upload.elf.message=****[vMicro]**** Uploading ELF : tools.jlinkocd.upload.path={runtime.tools.openocd-0.10.0.1.path} tools.jlinkocd.upload.cmd=bin/openocd.exe tools.jlinkocd.upload.cmd.windows=bin/openocd.exe tools.jlinkocd.upload.params.verbose=-d2 tools.jlinkocd.upload.params.quiet=-d0 tools.jlinkocd.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} -s "{upload.path}/share/openocd/scripts/" -f "interface/{upload.openocddebugger}" -c "transport select swd" -f "{upload.openocdscript}" -c "echo -n {{upload.elf.message}}" -c "reset_config; telnet_port disabled; program {{{build.path}/{build.project_name}.elf}} reset;reset_config;shutdown" tools.jlinkocd.upload.extra_params= tools.jlinkocd.upload.protocol= tools.jlinkocd.protocol= tools.jlinkocd.upload.openocdscript=target/stm32f1x.cfg tools.ftdiocd.upload.elf.message=****[vMicro]**** Uploading ELF : tools.ftdiocd.upload.path={runtime.tools.openocd-0.10.0.1.path} tools.ftdiocd.upload.cmd=bin/openocd.exe tools.ftdiocd.upload.cmd.windows=bin/openocd.exe tools.ftdiocd.upload.params.verbose=-d2 tools.ftdiocd.upload.params.quiet=-d0 tools.ftdiocd.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} -s "{upload.path}/share/openocd/scripts/" -f "interface/{upload.openocddebugger}" -c "transport select swd" -c "ftdi_layout_signal SWD_EN -data 0" -f "{upload.openocdscript}" -c "echo -n {{upload.elf.message}}" -c "reset_config; telnet_port disabled; program {{{build.path}/{build.project_name}.elf}} reset;reset_config;shutdown" tools.ftdiocd.upload.extra_params= tools.ftdiocd.upload.protocol= tools.ftdiocd.protocol= tools.ftdiocd.upload.openocdscript=target/stm32f1x.cfg tools.vmbmp.upload.cmd=bin/arm-none-eabi-gdb.exe tools.vmbmp.upload.cmd.windows=bin/arm-none-eabi-gdb.exe tools.vmbmp.upload.path={runtime.tools.arm-none-eabi-gcc.path} tools.vmbmp.upload.pattern={upload.path}/{upload.cmd} -nx -b 230400 -batch -ex "set confirm off" -ex "target extended-remote \\.\{serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "load" -ex "compare-sections" -ex "kill" "{build.path}/{build.project_name}.elf" -ex "kill" version=0.1.2 compiler.warning_flags=-w -DDEBUG_LEVEL=DEBUG_NONE compiler.warning_flags.none=-w -DDEBUG_LEVEL=DEBUG_NONE compiler.warning_flags.default=-DDEBUG_LEVEL=DEBUG_NONE compiler.warning_flags.more=-Wall -DDEBUG_LEVEL=DEBUG_FAULT compiler.warning_flags.all=-Wall -Wextra -DDEBUG_LEVEL=DEBUG_ALL compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/ compiler.c.cmd=arm-none-eabi-gcc compiler.c.flags=-c -g {build.flags.optimize} {compiler.warning_flags} -std=gnu11 -MMD -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -DBOARD_{build.variant} -D{build.vect} -DERROR_LED_PORT={build.error_led_port} -DERROR_LED_PIN={build.error_led_pin} compiler.c.elf.cmd=arm-none-eabi-g++ compiler.c.elf.flags={build.flags.optimize} -Wl,--gc-sections {build.flags.ldspecs} compiler.S.cmd=arm-none-eabi-gcc compiler.S.flags=-c -g -x assembler-with-cpp -MMD compiler.cpp.cmd=arm-none-eabi-g++ compiler.cpp.flags=-c -g {build.flags.optimize} {compiler.warning_flags} -std=gnu++11 -MMD -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_{build.variant} -D{build.vect} -DERROR_LED_PORT={build.error_led_port} -DERROR_LED_PIN={build.error_led_pin} compiler.ar.cmd=arm-none-eabi-ar compiler.ar.flags=rcs compiler.objcopy.cmd=arm-none-eabi-objcopy compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 compiler.elf2hex.flags=-O binary compiler.elf2hex.cmd=arm-none-eabi-objcopy compiler.ldflags={build.flags.ldspecs} compiler.size.cmd=arm-none-eabi-size compiler.define=-DARDUINO= build.f_cpu=72000000L build.mcu=cortex-m3 build.common_flags=-mthumb -march=armv7-m -D__STM32F1__ -DARDUINO_ARCH_STM32 build.variant_system_lib=libmaple.a build.cpu_flags=-DMCU_STM32F103C8 build.hs_flag= build.upload_flags=-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB -DGENERIC_BOOTLOADER build.flags.optimize=-Os build.flags.ldspecs= build.extra_flags={build.upload_flags} {build.cpu_flags} {build.hs_flag} {build.common_flags} compiler.c.extra_flags= compiler.c.elf.extra_flags="-L{build.variant.path}/ld" compiler.cpp.extra_flags= compiler.S.extra_flags= compiler.ar.extra_flags= compiler.elf2hex.extra_flags= compiler.libs.c.flags="-I{build.system.path}/libmaple" "-I{build.system.path}/libmaple/include" "-I{build.system.path}/libmaple/stm32f1/include" "-I{build.system.path}/libmaple/usb/stm32f1" "-I{build.system.path}/libmaple/usb/usb_lib" recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {compiler.libs.c.flags} {includes} "{source_file}" -o "{object_file}" recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {build.cpu_flags} {build.hs_flag} {build.common_flags} {compiler.libs.c.flags} {includes} "{source_file}" -o "{object_file}" recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.S.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {build.cpu_flags} {build.hs_flag} {build.common_flags} {compiler.libs.c.flags} {includes} "{source_file}" -o "{object_file}" recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}" recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mcpu={build.mcu} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" -lm -lgcc -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group {object_files} "{archive_file_path}" -Wl,--end-group recipe.objcopy.eep.pattern= recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin" recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" recipe.size.regex=^(?:\.text|\.data|\.rodata|\.text.align|\.ARM.exidx)\s+([0-9]+).* recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).* recipe.output.tmp_file={build.project_name}.bin recipe.output.save_file={build.project_name}.{build.variant}.bin tools.maple_upload.cmd=maple_upload.bat tools.maple_upload.cmd.windows=maple_upload.bat tools.maple_upload.path={runtime.tools.stm32tools.path}/win tools.maple_upload.path.macosx={runtime.tools.stm32tools.path}/macosx tools.maple_upload.path.linux={runtime.tools.stm32tools.path}/linux tools.maple_upload.path.linux64={runtime.tools.stm32tools.path}/linux tools.maple_upload.upload.params.verbose=-d tools.maple_upload.upload.params.quiet= tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin" tools.serial_upload.cmd=serial_upload.bat tools.serial_upload.cmd.windows=serial_upload.bat tools.serial_upload.cmd.macosx=serial_upload tools.serial_upload.path={runtime.tools.stm32tools.path}/win tools.serial_upload.path.macosx={runtime.tools.stm32tools.path}/macosx tools.serial_upload.path.linux={runtime.tools.stm32tools.path}/linux tools.serial_upload.path.linux64={runtime.tools.stm32tools.path}/linux tools.serial_upload.upload.params.verbose=-d tools.serial_upload.upload.params.quiet=n tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin" tools.stlink_upload.cmd=stlink_upload.bat tools.stlink_upload.cmd.windows=stlink_upload.bat tools.stlink_upload.path.windows={runtime.tools.stm32tools.path}/win tools.stlink_upload.path.macosx={runtime.tools.stm32tools.path}/macosx tools.stlink_upload.path.linux={runtime.tools.stm32tools.path}/linux tools.stlink_upload.path.linux64={runtime.tools.stm32tools.path}/linux tools.stlink_upload.upload.params.verbose=-d tools.stlink_upload.upload.params.quiet= tools.stlink_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" tools.bmp_upload.path={runtime.tools.arm-none-eabi-gcc.path}/bin/ tools.bmp_upload.upload.speed=230400 tools.bmp_upload.upload.params.verbose= tools.bmp_upload.upload.params.quiet=-q --batch-silent tools.bmp_upload.upload.pattern="{path}{cmd}" -cd "{build.path}" -b {upload.speed} {upload.verbose} -ex "set debug remote 0" -ex "set target-async off" -ex "set remotetimeout 60" -ex "set mem inaccessible-by-default off" -ex "set confirm off" -ex "set height 0" -ex "target extended-remote {serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "x/wx 0x8000004" -ex "monitor erase_mass" -ex "echo 0x8000004 expect 0xffffffff after erase\n" -ex "x/wx 0x8000004" -ex "file {build.project_name}.elf" -ex "load" -ex "x/wx 0x08000004" -ex "tbreak main" -ex "run" -ex "echo \n\n\nUpload finished!" -ex "quit" tools.jlink_upload.cmd=jlink_upload.bat tools.jlink_upload.cmd.windows=jlink_upload.bat tools.jlink_upload.cmd.macosx=jlink_upload tools.jlink_upload.path={runtime.tools.stm32tools.path}/win tools.jlink_upload.path.macosx={runtime.tools.stm32tools.path}/macosx tools.jlink_upload.path.linux={runtime.tools.stm32tools.path}/linux tools.jlink_upload.path.linux64={runtime.tools.stm32tools.path}/linux tools.jlink_upload.upload.params.verbose=-d tools.jlink_upload.upload.params.quiet=n tools.jlink_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" tools.hid_upload.cmd=hid-flash.exe tools.hid_upload.cmd.windows=hid-flash.exe tools.hid_upload.cmd.macosx=hid_flash tools.hid_upload.path={runtime.tools.stm32tools.path}/win tools.hid_upload.path.macosx={runtime.tools.stm32tools.path}/macosx tools.hid_upload.path.linux={runtime.tools.stm32tools.path}/linux tools.hid_upload.path.linux64={runtime.tools.stm32tools.path}/linux tools.hid_upload.upload.params.verbose=-d tools.hid_upload.upload.params.quiet=n tools.hid_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" {serial.port.file} tools.stlink_upload.path={runtime.tools.stm32tools.path}/win vm.platform.root.path=c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\vyuwgfhs.uzp\Micro Platforms\arduino16x runtime.tools.stm32tools.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\stm32tools\2019.6.29 runtime.tools.stm32tools-2019.6.29.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\stm32tools\2019.6.29 runtime.tools.arm-none-eabi-gcc.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\arm-none-eabi-gcc\4.8.3-2014q1 runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\arm-none-eabi-gcc\4.8.3-2014q1 runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.tools-avr.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.vm.boardinfo.id=stm32duino_genericSTM32F103C runtime.vm.boardinfo.name=stm32duino_genericSTM32F103C runtime.vm.boardinfo.desc=Generic STM32F103C series runtime.vm.boardinfo.src_location=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1\2019.6.29 ide.hint=Use installed IDE. Provides built-in hardware, reference/help and libraries. ide.location.key=Arduino16x ide.location.ide.winreg=Arduino 1.6.x Application ide.location.sketchbook.winreg=Arduino 1.6.x Sketchbook ide.location.sketchbook.preferences=sketchbook.path ide.default.revision_name=1.9.0 ide.default.version=10800 ide.default.package=arduino ide.default.platform=avr ide.multiplatform=true ide.includes=Arduino.h ide.exe_name=arduino ide.recipe.preproc.defines.flags=-w -x c++ -E -dM ide.platformswithoutpackage=false ide.includes.fallback=wprogram.h ide.extension=ino ide.extension.fallback=pde ide.versionGTEQ=160 ide.exe=arduino.exe ide.builder.exe=arduinobuilder.exe ide.builder.name=Arduino Builder ide.hosts=atmel ide.url=http://arduino.cc/en/Main/Software ide.help.reference.path=reference ide.help.reference.path2=reference\www.arduino.cc\en\Reference ide.help.reference.serial=reference\www.arduino.cc\en\Serial ide.location.preferences.portable={runtime.ide.path}\portable ide.location.preferences.arduinoData={runtime.sketchbook.path}\ArduinoData ide.location.preferences=%VM_APPDATA_LOCAL%\arduino15\preferences.txt ide.location.preferences_fallback=%VM_APPDATA_ROAMING%\arduino15\preferences.txt ide.location.contributions=%VM_APPDATA_LOCAL%\arduino15 ide.location.contributions_fallback=%VM_APPDATA_ROAMING%\arduino15 ide.contributions.boards.allow=true ide.contributions.boards.ignore_unless_rewrite_found=true ide.contributions.libraries.allow=true ide.contributions.boards.support.urls.wiki=https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls ide.create_platforms_from_boardsTXT.teensy=build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.password=arduino ssh.host.wwwfiles.path=/www/sd build.working_directory={runtime.ide.path}\java\bin ide.debug_menu.debugger_type=Debug ide.debug_menu.debugger_type.none=Off ide.debug_menu.none.debug.tool=no_debug ide.debug_menu.debugger_type.universal=Serial ide.debug_menu.universal.debug.tool=auto ide.debug_menu.debugger_type.hwdebugger=Hardware ide.debug_menu.hwdebugger=Debugger ide.debug_menu.hwdebugger.custom_debugger=Manual/Custom ide.debug_menu.hwdebugger.custom_debugger.debug.tool=dbg_external ide.meta_custom_debugger.sentence=Provides a build that includes debug defines and will launch a custom debugger if one is provided. ide.meta_custom_debugger.paragraph=This is option is for advanced use. It is recommended that a pre-configured debugger be selected when available in this list. Usage: Optionally add a customer debugger to the project. A 'debugger_launch.json' file shares the same command syntax that is used by the VsCode debugger. Custom debuggers can be targeted at a board and/or variant and/or configuration name. IE: [variant].[configuration_name][.]debugger_launch.json ide.meta_custom_debugger.reference.usage.url=https://github.com/Microsoft/vscode-cpptools/blob/master/launch.md#customlaunchsetupcommands ide.meta_custom_debugger.reference.connect.url=https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2019 ide.compiler_flags_no_opt=-O0 ide.debug_menu.vm_disable_optimization=Disable Optimization ide.debug_menu.vm_disable_optimization.vm_disable_opt_default=Default Optimization ide.debug_menu.vm_disable_optimization.vm_disable_opt_proj=No Project Optimization ide.debug_menu.vm_disable_opt_proj.vm_disable_opt_project={ide.compiler_flags_no_opt} ide.debug_menu.vm_disable_optimization.vm_disable_opt_proj_libs=No Project + Libraries Optimization ide.debug_menu.vm_disable_opt_proj_libs.vm_disable_opt_project={ide.compiler_flags_no_opt} ide.debug_menu.vm_disable_opt_proj_libs.vm_disable_opt_libraries={ide.compiler_flags_no_opt} ide.debug_menu.vm_disable_optimization.vm_disable_opt_all=No Optimization ide.meta_vm_disable_opt_all.sentence=Disable compiler optimization for all sources:- Project, Library and Platform. ide.meta_vm_disable_opt_all.comment=After switching between 'No Optimization' and other optimization values, please click "Solution Clean" or switch off (or cycle) 'vMicro>Compiler>Shared Cache For Cores'. NOTE: Changing optimization settings can cause build errors or result in overly large programs. ide.debug_menu.vm_disable_opt_all.vm_disable_opt_project={ide.compiler_flags_no_opt} ide.debug_menu.vm_disable_opt_all.vm_disable_opt_libraries={ide.compiler_flags_no_opt} ide.debug_menu.vm_disable_opt_all.vm_disable_opt_core={ide.compiler_flags_no_opt} ide.appid=arduino16x location.sketchbook=C:\Users\Wilmore\Documents\Arduino build.core.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1\2019.6.29\cores\maple vm.core.include=arduino.h vm.boardsource.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1\2019.6.29 runtime.platform.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1\2019.6.29 vm.platformname.name=STM32F1 build.arch=STM32F1 vm.runtime.compiler.cached_cores_path=C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x vm.runtime.compiler.showwarnings=false vm.runtime.compiler.showwarnings_core=false vm.runtime.compiler.showwarnings_library=false vm.runtime.upload.verbose=false vm.runtime.upload.verify=false runtime.vm.ide.platforms.path=c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\vyuwgfhs.uzp\Micro Platforms runtime.vm.ide.tools.openocd.path={runtime.tools.openocd-0.9.0.path} runtime.vm.openocd.path={runtime.tools.openocd-0.9.0.path} vm.runtime.build.intermediate_output_path=C:\Users\Wilmore\Documents\Arduino\STLinkV2DebugTest\Debug\ vm.runtime.build.final_output_path=C:\Users\Wilmore\OneDrive\Documents\Arduino\STM32EthernetTest\Debug\ compiler.always_include_sketchfolder=true compiler.always_include_sharedprojectfolders=true vm.runtime.compiler.auto_discover_includes=true vm.runtime.compiler.allow_library_debugging=false serial.port.file=COM12 serial.port=COM12 serial.port.num=12 extra.time.local=1565352344 extra.time.utc=1565366744 extra.time.dst=-14400 extra.time.zone=14400 build.project_name=STLinkV2DebugTest.ino build.project_path=C:\Users\Wilmore\Documents\Arduino\STLinkV2DebugTest sketch_path=C:\Users\Wilmore\Documents\Arduino\STLinkV2DebugTest ProjectDir=C:\Users\Wilmore\Documents\Arduino\STLinkV2DebugTest\ build.path=C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug custom_debugger=Manual/Custom custom_debugger.debug.tool=dbg_external bmp=Black Magic (External) bmp.debug.tool=bmp_upload f2232h=F2232H Dual RS232 f2232h.debug.tool=f2232h f2232mm=F2232 MiniModule f2232mm.debug.tool=f2232mm jlink=Segger J-Link jlink.debug.tool=jlink stlinkv21=STLink v2.1 (Onboard) stlinkv21.debug.tool=stlinkv21 stlinkv2=STLink v2 (External) stlinkv2.debug.tool=stlinkv2 debug.tool=stlinkv2 build.ldscript=ld/jtag_c8.ld upload.maximum_size=65536 upload.maximum_data_size=20480 vm.runtime.compile.skip_library_file_if_exists_in_project=false vm.runtime.compiler.auto_discover_includes_cache=true build.vm.build.vmdebug=0 build.vm.build.isgdb=0 build.vm.build.optimised=1 build.vm.extra_flags= -g -DVM_DEBUG_GDB vm.last.buildpath=C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug build.architecture=4.8.3-2014q1 vmresolved.compiler.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\arm-none-eabi-gcc\4.8.3-2014q1\bin\ vmresolved.tools.path=C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\arm-none-eabi-gcc\4.8.3-2014q1 Debugger: STLink v2 (External) Compiling 'STLinkV2DebugTest' for 'Generic STM32F103C series' Build Folder: "file:///C:/Users/Wilmore/AppData/Local/Temp/VMBuilds/STLinkV2DebugTest/stm32duino_genericSTM32F103C/Debug" Summary: Header=1 Prototypes=3 Imports=0 Additional Defines: Architecture Tools: "file:///C:/Users/Wilmore/AppData/Local/arduino15/packages/stm32duino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/" Api: 1.1908.5-1 Sketch Book: "file:///C:/Users/Wilmore/Documents/Arduino" Sketch Include Paths Core Include Paths Include Path "file:///C:/Users/Wilmore/AppData/Local/arduino15/packages/stm32duino/hardware/STM32F1/2019.6.29/cores/maple" Include Path "file:///C:/Users/Wilmore/AppData/Local/arduino15/packages/stm32duino/hardware/STM32F1/2019.6.29/variants/generic_stm32f103c" Deep search for libraries ... Using previous search results: C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug\STLinkV2DebugTest.cpp Building variant ... Using previously compiled variant Building core ... Building project code ... Using previously compiled file: C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug\STLinkV2DebugTest.cpp.o Linking it all together ... # Coping cached core C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x\2eb189c8b2cfc21fdc4a5ff2ba0f91e7\core.a to C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug\core.a "C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -Os -Wl,--gc-sections -mcpu=cortex-m3 "-TC:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1\2019.6.29\variants\generic_stm32f103c/ld/jtag_c8.ld" "-Wl,-Map,C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug/STLinkV2DebugTest.ino.map" "-LC:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\hardware\STM32F1\2019.6.29\variants\generic_stm32f103c/ld" -o "C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug/STLinkV2DebugTest.ino.elf" "-LC:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug" -lm -lgcc -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "STLinkV2DebugTest.cpp.o" "C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x\2eb189c8b2cfc21fdc4a5ff2ba0f91e7\variant\board.cpp.o" "C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x\2eb189c8b2cfc21fdc4a5ff2ba0f91e7\variant\boards.cpp.o" "C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x\2eb189c8b2cfc21fdc4a5ff2ba0f91e7\variant\boards_setup.cpp.o" "C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x\2eb189c8b2cfc21fdc4a5ff2ba0f91e7\variant\start.S.o" "C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x\2eb189c8b2cfc21fdc4a5ff2ba0f91e7\variant\start_c.c.o" "C:\Users\Wilmore\AppData\Local\Temp\VMBCore\arduino16x\2eb189c8b2cfc21fdc4a5ff2ba0f91e7\variant\syscalls.c.o" "C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug\core.a" -Wl,--end-group ## recipe.objcopy.hex.pattern "C:\Users\Wilmore\AppData\Local\arduino15\packages\stm32duino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-objcopy" -O binary "C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug/STLinkV2DebugTest.ino.elf" "C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug/STLinkV2DebugTest.ino.bin" Program STLinkV2DebugTest size: 14,324 bytes (used 22% of a 65,536 byte maximum) (0.34 secs) Minimum Memory Usage: 3088 bytes (15% of a 20480 byte maximum) # Copy build result to 'Project>Property Pages>Intermediate Directory' # Destination: file:///C:/Users/Wilmore/Documents/Arduino/STLinkV2DebugTest/Debug/