Automatic compilation: add I2S, SDIO, UART, USB

This commit is contained in:
Daniel Fekete 2017-05-04 17:12:32 +02:00
parent 0d74123949
commit e436878594
29 changed files with 350 additions and 258 deletions

View File

@ -0,0 +1,14 @@
//Automatic testing compilation of basic SPI API
#include "I2S.h"
I2SClass i2s(SPI1, PA0, PA1, PA2);
void setup() {
i2s.begin(I2S_PHILIPS_MODE, 44000, 16);
i2s.write(1);
}
void loop() {
}

View File

@ -0,0 +1,16 @@
//Automatic testing compilation of basic SDIO API
#include "SDIO.h"
SDIOClass sdio;
void setup() {
sdio.begin();
uint8_t data[512];
sdio.readBlocks(1, data, 1);
}
void loop() {
}

View File

@ -0,0 +1,10 @@
//Automatic testing compilation of basic SerialUART API
void setup() {
SerialUART1.begin(115200);
SerialUART1.println("test");
}
void loop() {
}

View File

@ -0,0 +1,11 @@
//Automatic testing compilation of basic SPI API
void setup() {
SerialUSB.begin(1);
SerialUSB.println("test");
}
void loop() {
}

View File

@ -1,16 +1,25 @@
import subprocess
import os
import json
projects = [
'SPI/src/',
'Wire/src/',
'I2S/src/',
'SDIO/src/',
'HardwareTest/examples/AutomaticCompilation/Basic/',
'HardwareTest/examples/AutomaticCompilation/SPI/',
'HardwareTest/examples/AutomaticCompilation/I2C/',
'HardwareTest/examples/AutomaticCompilation/UART/',
'HardwareTest/examples/AutomaticCompilation/SDIO/',
'HardwareTest/examples/AutomaticCompilation/I2S/',
'HardwareTest/examples/AutomaticCompilation/USB/',
]
variants = os.listdir('makefiles')
results = {}
for project in projects:
print 'Compiling: ' + project
subprocesses = {}
@ -30,6 +39,8 @@ for project in projects:
#for variant, p in subprocesses.iteritems():
p.wait()
results.setdefault(project, {})[variant] = (p.returncode == 0)
if p.returncode == 0:
print '.',
else:
@ -38,3 +49,8 @@ for project in projects:
print
print 'FINISH'
print results
with open('result.json', 'w') as file:
file.write(json.dumps(results))

View File

@ -31,6 +31,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip"
@ -61,7 +62,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -71,8 +72,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VE -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VE -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VE -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VE -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VE -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -105,20 +106,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -31,6 +31,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip"
@ -61,7 +62,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -71,8 +72,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZE -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZE -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZE -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZE -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZE -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -105,20 +106,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -31,6 +31,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip"
@ -61,7 +62,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -71,8 +72,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZG -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZG -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZG -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZG -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F4 -DARDUINO=10802 -DARDUINO_BLACK_F407XX -DARDUINO_ARCH_STM32GENERIC -DSTM32F407ZG -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -105,20 +106,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=BluePill F103CB
upload.protocol=gdb_bmp
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=bmp_upload
build.mcu=cortex-m3
build.board=BLUEPILL
build.core=arduino
@ -9,7 +10,6 @@ build.variant=BLUEPILL
build.series=STM32F1
build.extra_flags=-DSTM32F103CB
build.f_cpu=72000000L
upload.tool=bmp_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -23,6 +23,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -53,7 +54,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -63,8 +64,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -97,20 +98,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=BluePill F103CB
upload.protocol=maple_dfu
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=maple_upload
build.mcu=cortex-m3
build.board=BLUEPILL
build.core=arduino
@ -9,7 +10,6 @@ build.variant=BLUEPILL
build.series=STM32F1
build.extra_flags=-DSTM32F103CB -DVECT_TAB_OFFSET=0x2000
build.f_cpu=72000000L
upload.tool=maple_upload
build.ldscript=ldscript_bootloader_2000.ld
upload.usbID=1EAF:0003
upload.altID=2
@ -30,6 +30,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -60,7 +61,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUSB
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -70,8 +71,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x2000 -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x2000 -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x2000 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x2000 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x2000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -104,20 +105,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=BluePill F103CB
upload.protocol=STLink
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=stlink_upload
build.mcu=cortex-m3
build.board=BLUEPILL
build.core=arduino
@ -9,7 +10,6 @@ build.variant=BLUEPILL
build.series=STM32F1
build.extra_flags=-DSTM32F103CB
build.f_cpu=72000000L
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUSB
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
@ -24,6 +24,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -54,7 +55,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUSB
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -64,8 +65,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -98,20 +99,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=BluePill F103CB
upload.protocol=maple_serial
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=serial_upload
build.mcu=cortex-m3
build.board=BLUEPILL
build.core=arduino
@ -9,7 +10,6 @@ build.variant=BLUEPILL
build.series=STM32F1
build.extra_flags=-DSTM32F103CB
build.f_cpu=72000000L
upload.tool=serial_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART1
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
@ -24,6 +24,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -54,7 +55,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART1
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART1
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -64,8 +65,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_BLUEPILL -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -98,20 +99,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -30,6 +30,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip"
@ -60,7 +61,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -70,8 +71,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F407VG -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VG -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F407VG -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VG -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F407VG -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VG -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F407VG -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VG -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=168000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F407VG -DARDUINO_ARCH_STM32GENERIC -DSTM32F407VG -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -104,20 +105,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -29,6 +29,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip"
@ -59,7 +60,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -69,8 +70,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU={build.f_cpu} -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F429ZI -DARDUINO_ARCH_STM32GENERIC -DSTM32F429ZI -DSTM32F429xx -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU={build.f_cpu} -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F429ZI -DARDUINO_ARCH_STM32GENERIC -DSTM32F429ZI -DSTM32F429xx -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU={build.f_cpu} -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F429ZI -DARDUINO_ARCH_STM32GENERIC -DSTM32F429ZI -DSTM32F429xx -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU={build.f_cpu} -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F429ZI -DARDUINO_ARCH_STM32GENERIC -DSTM32F429ZI -DSTM32F429xx -DHSE_VALUE=8000000 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU={build.f_cpu} -mthumb -c -g -x assembler-with-cpp -DSTM32F4 -DARDUINO=10802 -DARDUINO_DISCOVERY_F429ZI -DARDUINO_ARCH_STM32GENERIC -DSTM32F429ZI -DSTM32F429xx -DHSE_VALUE=8000000 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -103,20 +104,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -30,6 +30,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F7/CMSIS_Inc" "-I../../STM32/system/STM32F7/CMSIS_Src" "-I../../STM32/system/STM32F7/HAL_Inc" "-I../../STM32/system/STM32F7/HAL_Src" "-I../../STM32/system/STM32F7/stm32_chip"
@ -60,7 +61,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -70,8 +71,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -DF_CPU=218000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F7 -DARDUINO=10802 -DARDUINO_DISCOVERY_F746NG -DARDUINO_ARCH_STM32GENERIC -DSTM32F746NG "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F7/CMSIS_Inc" "-I../../STM32/system/STM32F7/CMSIS_Src" "-I../../STM32/system/STM32F7/HAL_Inc" "-I../../STM32/system/STM32F7/HAL_Src" "-I../../STM32/system/STM32F7/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -DF_CPU=218000000L -mthumb -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 -MMD -DSTM32F7 -DARDUINO=10802 -DARDUINO_DISCOVERY_F746NG -DARDUINO_ARCH_STM32GENERIC -DSTM32F746NG "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F7/CMSIS_Inc" "-I../../STM32/system/STM32F7/CMSIS_Src" "-I../../STM32/system/STM32F7/HAL_Inc" "-I../../STM32/system/STM32F7/HAL_Src" "-I../../STM32/system/STM32F7/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -DF_CPU=218000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F7 -DARDUINO=10802 -DARDUINO_DISCOVERY_F746NG -DARDUINO_ARCH_STM32GENERIC -DSTM32F746NG -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F7/CMSIS_Inc" "-I../../STM32/system/STM32F7/CMSIS_Src" "-I../../STM32/system/STM32F7/HAL_Inc" "-I../../STM32/system/STM32F7/HAL_Src" "-I../../STM32/system/STM32F7/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m7 -DF_CPU=218000000L -mthumb -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 -MMD -DSTM32F7 -DARDUINO=10802 -DARDUINO_DISCOVERY_F746NG -DARDUINO_ARCH_STM32GENERIC -DSTM32F746NG -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F7/CMSIS_Inc" "-I../../STM32/system/STM32F7/CMSIS_Src" "-I../../STM32/system/STM32F7/HAL_Inc" "-I../../STM32/system/STM32F7/HAL_Src" "-I../../STM32/system/STM32F7/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -DF_CPU=218000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F7 -DARDUINO=10802 -DARDUINO_DISCOVERY_F746NG -DARDUINO_ARCH_STM32GENERIC -DSTM32F746NG "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F7/CMSIS_Inc" "-I../../STM32/system/STM32F7/CMSIS_Src" "-I../../STM32/system/STM32F7/HAL_Inc" "-I../../STM32/system/STM32F7/HAL_Src" "-I../../STM32/system/STM32F7/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m7 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -104,20 +105,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -30,6 +30,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip"
@ -60,7 +61,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -70,8 +71,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_DISCOVERY_L053C8 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053C8 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -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 -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_DISCOVERY_L053C8 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053C8 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_DISCOVERY_L053C8 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053C8 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -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 -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_DISCOVERY_L053C8 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053C8 -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -c -g -x assembler-with-cpp -DSTM32L0 -DARDUINO=10802 -DARDUINO_DISCOVERY_L053C8 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053C8 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -104,20 +105,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=MapleMini F103CB
upload.protocol=gdb_bmp
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=bmp_upload
build.mcu=cortex-m3
build.board=MAPLE_MINI
build.core=arduino
@ -9,7 +10,6 @@ build.variant=MAPLE_MINI
build.series=STM32F1
build.extra_flags=-DSTM32F103CB
build.f_cpu=72000000L
upload.tool=bmp_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -23,6 +23,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -53,7 +54,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -63,8 +64,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -97,20 +98,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=MapleMini F103CB
upload.protocol=maple_dfu
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=maple_upload
build.mcu=cortex-m3
build.board=MAPLE_MINI
build.core=arduino
@ -9,7 +10,6 @@ build.variant=MAPLE_MINI
build.series=STM32F1
build.extra_flags=-DSTM32F103CB -DVECT_TAB_OFFSET=0x5000 -DUSB_DISC_PIN=PB9
build.f_cpu=72000000L
upload.tool=maple_upload
build.ldscript=ldscript_bootloader_5000.ld
upload.usbID=1EAF:0003
upload.altID=1
@ -30,6 +30,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -60,7 +61,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUSB
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -70,8 +71,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x5000 -DUSB_DISC_PIN=PB9 -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x5000 -DUSB_DISC_PIN=PB9 -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x5000 -DUSB_DISC_PIN=PB9 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x5000 -DUSB_DISC_PIN=PB9 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUSB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DVECT_TAB_OFFSET=0x5000 -DUSB_DISC_PIN=PB9 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -104,20 +105,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=MapleMini F103CB
upload.protocol=STLink
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=stlink_upload
build.mcu=cortex-m3
build.board=MAPLE_MINI
build.core=arduino
@ -9,7 +10,6 @@ build.variant=MAPLE_MINI
build.series=STM32F1
build.extra_flags=-DSTM32F103CB
build.f_cpu=72000000L
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART1
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
@ -24,6 +24,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -54,7 +55,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART1
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART1
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -64,8 +65,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART1 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -98,20 +99,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -2,6 +2,7 @@ name=MapleMini F103CB
upload.protocol=maple_serial
upload.maximum_size=131072
upload.maximum_data_size=20480
upload.tool=serial_upload
build.mcu=cortex-m3
build.board=MAPLE_MINI
build.core=arduino
@ -9,7 +10,6 @@ build.variant=MAPLE_MINI
build.series=STM32F1
build.extra_flags=-DSTM32F103CB
build.f_cpu=72000000L
upload.tool=serial_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -23,6 +23,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -53,7 +54,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu=
build.extra_flags_menu=-DMENU_USB_SERIAL
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -63,8 +64,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB -DMENU_USB_SERIAL "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32GENERIC -DSTM32F103CB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -97,20 +98,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -1,6 +1,7 @@
name=Nucleo-64 boards
build.core=arduino
build.board=NUCLEO_64
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART2
upload.maximum_size=65536
upload.maximum_data_size=8192
@ -11,7 +12,6 @@ build.extra_flags=-DSTM32F030R8
massstorage_drive=NODE_F030R8
build.f_cpu=48000000L
upload.protocol=STLink
upload.tool=stlink_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -25,6 +25,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F0/CMSIS_Inc" "-I../../STM32/system/STM32F0/CMSIS_Src" "-I../../STM32/system/STM32F0/HAL_Inc" "-I../../STM32/system/STM32F0/HAL_Src" "-I../../STM32/system/STM32F0/stm32_chip"
@ -55,7 +56,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART2
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -65,8 +66,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=48000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F030R8 -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F0/CMSIS_Inc" "-I../../STM32/system/STM32F0/CMSIS_Src" "-I../../STM32/system/STM32F0/HAL_Inc" "-I../../STM32/system/STM32F0/HAL_Src" "-I../../STM32/system/STM32F0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m0 -DF_CPU=48000000L -mthumb -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 -MMD -DSTM32F0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F030R8 -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F0/CMSIS_Inc" "-I../../STM32/system/STM32F0/CMSIS_Src" "-I../../STM32/system/STM32F0/HAL_Inc" "-I../../STM32/system/STM32F0/HAL_Src" "-I../../STM32/system/STM32F0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=48000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F030R8 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F0/CMSIS_Inc" "-I../../STM32/system/STM32F0/CMSIS_Src" "-I../../STM32/system/STM32F0/HAL_Inc" "-I../../STM32/system/STM32F0/HAL_Src" "-I../../STM32/system/STM32F0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m0 -DF_CPU=48000000L -mthumb -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 -MMD -DSTM32F0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F030R8 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F0/CMSIS_Inc" "-I../../STM32/system/STM32F0/CMSIS_Src" "-I../../STM32/system/STM32F0/HAL_Inc" "-I../../STM32/system/STM32F0/HAL_Src" "-I../../STM32/system/STM32F0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=48000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F030R8 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F0/CMSIS_Inc" "-I../../STM32/system/STM32F0/CMSIS_Src" "-I../../STM32/system/STM32F0/HAL_Inc" "-I../../STM32/system/STM32F0/HAL_Src" "-I../../STM32/system/STM32F0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -99,20 +100,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -1,6 +1,7 @@
name=Nucleo-64 boards
build.core=arduino
build.board=NUCLEO_64
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART2
upload.maximum_size=131072
upload.maximum_data_size=20480
@ -11,7 +12,6 @@ build.extra_flags=-DSTM32F103RB
massstorage_drive=NODE_F103RB
build.f_cpu=64000000L
upload.protocol=STLink
upload.tool=stlink_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -25,6 +25,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip"
@ -55,7 +56,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART2
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -65,8 +66,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=64000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F103RB -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=64000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F103RB -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=64000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F103RB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=64000000L -mthumb -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 -MMD -DSTM32F1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F103RB -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=64000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F103RB "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F1/CMSIS_Inc" "-I../../STM32/system/STM32F1/CMSIS_Src" "-I../../STM32/system/STM32F1/HAL_Inc" "-I../../STM32/system/STM32F1/HAL_Src" "-I../../STM32/system/STM32F1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -99,20 +100,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -1,6 +1,7 @@
name=Nucleo-64 boards
build.core=arduino
build.board=NUCLEO_64
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART2
upload.maximum_size=524288
upload.maximum_data_size=81920
@ -11,7 +12,6 @@ build.extra_flags=-DSTM32F303RE
massstorage_drive=NODE_F303RE
build.f_cpu=72000000L
upload.protocol=STLink
upload.tool=stlink_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -25,6 +25,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F3/CMSIS_Inc" "-I../../STM32/system/STM32F3/CMSIS_Src" "-I../../STM32/system/STM32F3/HAL_Inc" "-I../../STM32/system/STM32F3/HAL_Src" "-I../../STM32/system/STM32F3/stm32_chip"
@ -55,7 +56,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART2
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -65,8 +66,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F3 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F303RE -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F3/CMSIS_Inc" "-I../../STM32/system/STM32F3/CMSIS_Src" "-I../../STM32/system/STM32F3/HAL_Inc" "-I../../STM32/system/STM32F3/HAL_Src" "-I../../STM32/system/STM32F3/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F3 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F303RE -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F3/CMSIS_Inc" "-I../../STM32/system/STM32F3/CMSIS_Src" "-I../../STM32/system/STM32F3/HAL_Inc" "-I../../STM32/system/STM32F3/HAL_Src" "-I../../STM32/system/STM32F3/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=72000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F3 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F303RE -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F3/CMSIS_Inc" "-I../../STM32/system/STM32F3/CMSIS_Src" "-I../../STM32/system/STM32F3/HAL_Inc" "-I../../STM32/system/STM32F3/HAL_Src" "-I../../STM32/system/STM32F3/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=72000000L -mthumb -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 -MMD -DSTM32F3 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F303RE -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F3/CMSIS_Inc" "-I../../STM32/system/STM32F3/CMSIS_Src" "-I../../STM32/system/STM32F3/HAL_Inc" "-I../../STM32/system/STM32F3/HAL_Src" "-I../../STM32/system/STM32F3/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=72000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F3 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F303RE "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F3/CMSIS_Inc" "-I../../STM32/system/STM32F3/CMSIS_Src" "-I../../STM32/system/STM32F3/HAL_Inc" "-I../../STM32/system/STM32F3/HAL_Src" "-I../../STM32/system/STM32F3/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -99,20 +100,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -1,6 +1,7 @@
name=Nucleo-64 boards
build.core=arduino
build.board=NUCLEO_64
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART2
upload.maximum_size=524288
upload.maximum_data_size=131072
@ -11,7 +12,6 @@ build.extra_flags=-DSTM32F411RE
massstorage_drive=NODE_F411RE
build.f_cpu=100000000L
upload.protocol=STLink
upload.tool=stlink_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -25,6 +25,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip"
@ -55,7 +56,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART2
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -65,8 +66,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=100000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F411RE -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=100000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F411RE -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=100000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F411RE -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=100000000L -mthumb -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 -MMD -DSTM32F4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F411RE -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=100000000L -mthumb -c -g -x assembler-with-cpp -DSTM32F4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32F411RE "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32F4/CMSIS_Inc" "-I../../STM32/system/STM32F4/CMSIS_Src" "-I../../STM32/system/STM32F4/HAL_Inc" "-I../../STM32/system/STM32F4/HAL_Src" "-I../../STM32/system/STM32F4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -99,20 +100,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -1,6 +1,7 @@
name=Nucleo-64 boards
build.core=arduino
build.board=NUCLEO_64
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART2
upload.maximum_size=65536
upload.maximum_data_size=8192
@ -11,7 +12,6 @@ build.extra_flags=-DSTM32L053R8
massstorage_drive=NODE_L053R8
build.f_cpu=32000000L
upload.protocol=STLink
upload.tool=stlink_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -25,6 +25,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip"
@ -55,7 +56,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART2
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -65,8 +66,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053R8 -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -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 -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053R8 -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053R8 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -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 -MMD -DSTM32L0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053R8 -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -DF_CPU=32000000L -mthumb -c -g -x assembler-with-cpp -DSTM32L0 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L053R8 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L0/CMSIS_Inc" "-I../../STM32/system/STM32L0/CMSIS_Src" "-I../../STM32/system/STM32L0/HAL_Inc" "-I../../STM32/system/STM32L0/HAL_Src" "-I../../STM32/system/STM32L0/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m0 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -99,20 +100,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -1,6 +1,7 @@
name=Nucleo-64 boards
build.core=arduino
build.board=NUCLEO_64
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART2
upload.maximum_size=524288
upload.maximum_data_size=81920
@ -11,7 +12,6 @@ build.extra_flags=-DSTM32L152RE
massstorage_drive=NODE_L152RE
build.f_cpu=32000000L
upload.protocol=STLink
upload.tool=stlink_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -25,6 +25,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L1/CMSIS_Inc" "-I../../STM32/system/STM32L1/CMSIS_Src" "-I../../STM32/system/STM32L1/HAL_Inc" "-I../../STM32/system/STM32L1/HAL_Src" "-I../../STM32/system/STM32L1/stm32_chip"
@ -55,7 +56,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART2
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -65,8 +66,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=32000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L152RE -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L1/CMSIS_Inc" "-I../../STM32/system/STM32L1/CMSIS_Src" "-I../../STM32/system/STM32L1/HAL_Inc" "-I../../STM32/system/STM32L1/HAL_Src" "-I../../STM32/system/STM32L1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=32000000L -mthumb -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 -MMD -DSTM32L1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L152RE -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L1/CMSIS_Inc" "-I../../STM32/system/STM32L1/CMSIS_Src" "-I../../STM32/system/STM32L1/HAL_Inc" "-I../../STM32/system/STM32L1/HAL_Src" "-I../../STM32/system/STM32L1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=32000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L152RE -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L1/CMSIS_Inc" "-I../../STM32/system/STM32L1/CMSIS_Src" "-I../../STM32/system/STM32L1/HAL_Inc" "-I../../STM32/system/STM32L1/HAL_Src" "-I../../STM32/system/STM32L1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DF_CPU=32000000L -mthumb -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 -MMD -DSTM32L1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L152RE -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L1/CMSIS_Inc" "-I../../STM32/system/STM32L1/CMSIS_Src" "-I../../STM32/system/STM32L1/HAL_Inc" "-I../../STM32/system/STM32L1/HAL_Src" "-I../../STM32/system/STM32L1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=32000000L -mthumb -c -g -x assembler-with-cpp -DSTM32L1 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L152RE "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L1/CMSIS_Inc" "-I../../STM32/system/STM32L1/CMSIS_Src" "-I../../STM32/system/STM32L1/HAL_Inc" "-I../../STM32/system/STM32L1/HAL_Src" "-I../../STM32/system/STM32L1/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -99,20 +100,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -1,8 +1,9 @@
name=Nucleo-64 boards
build.core=arduino
build.board=NUCLEO_64
upload.tool=stlink_upload
build.extra_flags_serial_auto=-DMENU_SERIAL_AUTO=SerialUART2
upload.maximum_size=1024
upload.maximum_size=1048576
upload.maximum_data_size=131072
build.mcu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
build.series=STM32L4
@ -11,7 +12,6 @@ build.extra_flags=-DSTM32L476RG
massstorage_drive=NODE_L476RG
build.f_cpu=80000000L
upload.protocol=STLink
upload.tool=stlink_upload
build.project_name=$(VARIANT)/$(PROJECT)/out
object_file=$@
source_file=$<
@ -25,6 +25,7 @@ runtime.hardware.path=../../STM32
build.system.path=../../STM32/system
build.core.path=../../STM32/cores/arduino
build.variant.path=$(PATH_VARIANT)
build.extra_flags_usb=-DMENU_USB_SERIAL
name=STM32GENERIC for STM32 boards
version=1.0.0
compiler.extra_includes="-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L4/CMSIS_Inc" "-I../../STM32/system/STM32L4/CMSIS_Src" "-I../../STM32/system/STM32L4/HAL_Inc" "-I../../STM32/system/STM32L4/HAL_Src" "-I../../STM32/system/STM32L4/stm32_chip"
@ -55,7 +56,7 @@ build.extra_flags=
build.extra_flags_usb=
build.extra_flags_serial=
build.extra_flags_serial_auto=
build.extra_flags_menu= -DMENU_SERIAL_AUTO=SerialUART2
build.extra_flags_menu=-DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2
build.ldscript=ldscript.ld
compiler.c.extra_flags=
compiler.c.elf.extra_flags=
@ -65,8 +66,8 @@ compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Unknown"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=80000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L476RG -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L4/CMSIS_Inc" "-I../../STM32/system/STM32L4/CMSIS_Src" "-I../../STM32/system/STM32L4/HAL_Inc" "-I../../STM32/system/STM32L4/HAL_Src" "-I../../STM32/system/STM32L4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=80000000L -mthumb -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 -MMD -DSTM32L4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L476RG -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L4/CMSIS_Inc" "-I../../STM32/system/STM32L4/CMSIS_Src" "-I../../STM32/system/STM32L4/HAL_Inc" "-I../../STM32/system/STM32L4/HAL_Src" "-I../../STM32/system/STM32L4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.c.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=80000000L -mthumb -c -g -MMD -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD -DSTM32L4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L476RG -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L4/CMSIS_Inc" "-I../../STM32/system/STM32L4/CMSIS_Src" "-I../../STM32/system/STM32L4/HAL_Inc" "-I../../STM32/system/STM32L4/HAL_Src" "-I../../STM32/system/STM32L4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.cpp.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=80000000L -mthumb -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 -MMD -DSTM32L4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L476RG -DMENU_USB_SERIAL -DMENU_SERIAL_AUTO=SerialUART2 "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L4/CMSIS_Inc" "-I../../STM32/system/STM32L4/CMSIS_Src" "-I../../STM32/system/STM32L4/HAL_Inc" "-I../../STM32/system/STM32L4/HAL_Src" "-I../../STM32/system/STM32L4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.S.o.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DF_CPU=80000000L -mthumb -c -g -x assembler-with-cpp -DSTM32L4 -DARDUINO=10802 -DARDUINO_NUCLEO_64 -DARDUINO_ARCH_STM32GENERIC -DSTM32L476RG "-I../../STM32/cores/arduino/stm32" "-I../../STM32/cores/arduino/usb" "-I../../STM32/system/CMSIS" "-I../../STM32/system/STM32L4/CMSIS_Inc" "-I../../STM32/system/STM32L4/CMSIS_Src" "-I../../STM32/system/STM32L4/HAL_Inc" "-I../../STM32/system/STM32L4/HAL_Src" "-I../../STM32/system/STM32L4/stm32_chip" $(INCLUDES) "$<" -o "$@"
recipe.ar.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-ar" rcs "{archive_file_path}" "$@"
recipe.c.combine.pattern="$(PATH_COMPILER)/bin/arm-none-eabi-gcc" -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Os -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align "-T$(PATH_VARIANT)/ldscript.ld" "-Wl,-Map,build/$(VARIANT)/$(PROJECT)/out.map" -o "build/$(VARIANT)/$(PROJECT)/out.elf" "-Lbuild" -Wl,--start-group $(OBJECTS) -lc -Wl,--end-group -lm -lgcc --specs=nano.specs
@ -99,20 +100,20 @@ tools.stlink_upload.upload.params.quiet=
tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.maple_upload.cmd=maple_upload
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.maple_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.maple_upload.path=../../STM32/tools/win
tools.maple_upload.path.macosx={runtime.hardware.path.path}/tools/macosx
tools.maple_upload.path.linux=../../STM32/tools/linux
tools.maple_upload.path.linux64=../../STM32/tools/linux64
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"
tools.serial_upload.cmd=serial_upload
tools.serial_upload.cmd.windows=serial_upload.bat
tools.serial_upload.cmd.macosx=serial_upload
tools.serial_upload.path={runtime.tools.STM32Tools.path}/tools/win
tools.serial_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
tools.serial_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
tools.serial_upload.path.linux64={runtime.tools.STM32Tools.path}/tools/linux64
tools.serial_upload.path=../../STM32/tools/win
tools.serial_upload.path.macosx=../../STM32/tools/macosx
tools.serial_upload.path.linux=../../STM32/tools/linux
tools.serial_upload.path.linux64=../../STM32/tools/linux64
tools.serial_upload.upload.params.verbose=-d
tools.serial_upload.upload.params.quiet=n
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} unknown unknown "build/$(VARIANT)/$(PROJECT)/out.bin"

View File

@ -77,6 +77,8 @@ for (variant, replaces) in variant_uploads.iteritems():
replaces['build.core.path'] = root + '/cores/arduino'
replaces['build.variant.path'] = '$(PATH_VARIANT)'
replaces['build.extra_flags_usb'] = '-DMENU_USB_SERIAL'
with open('makefiles/' + variant, 'w') as file:
for key, value in replaces.iteritems():

1
tools/test/result.json Normal file

File diff suppressed because one or more lines are too long