diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-07-30 10:45:44 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-07-30 10:45:44 +0200 |
commit | acb3df6d4398e1df2e350cd5e8f1d742bee97316 (patch) | |
tree | e5e17a3863fbc97e6d4d93254670a9924df67c86 /platform.txt | |
parent | 1895d696b1fd11488e469fb17549263c24548d0d (diff) | |
parent | 99bb4a573fa71a4e6c30cad144284d12b3f7edd0 (diff) |
Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts:
hardware/arduino/avr/cores/arduino/USBCore.cpp
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform.txt b/platform.txt index eaf9469..6bf3cdb 100644 --- a/platform.txt +++ b/platform.txt @@ -86,3 +86,9 @@ tools.avrdude.bootloader.params.verbose=-v -v -v -v tools.avrdude.bootloader.params.quiet=-q -q tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.ide.path}/hardware/arduino/avr/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m + +# USB Default Flags +# Default blank usb manufacturer will be filled it at compile time +# - from numeric vendor ID, set to Unknown otherwise +build.usb_manufacturer= +build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSB_MANUFACTURER={build.usb_manufacturer} '-DUSB_PRODUCT={build.usb_product}' |