File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,15 @@ compiler.define=-DARDUINO=
5252# this can be overriden in boards.txt
5353build.extra_flags=
5454build.lfclk_flags=-DUSE_LFRC
55- build.dfu_pattern=echo Not building DFU package
55+ build.dfu_pattern={none.dfu_pattern.path}/{none.dfu_pattern.cmd}
5656build.bootloader.file=tools/none_bootloader.hex
5757build.flags.usb= -DUSBCON -DUSE_TINYUSB -DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
5858
5959nrfutil.dfu_pattern="{tools.nrfutil.cmd}" pkg generate --hw-version 52 --debug-mode --sd-req 0 --application "{build.path}/{build.project_name}.hex" "{build.path}/{build.project_name}.zip"
6060adafruit-nrfutil.dfu_pattern="{tools.adafruit-nrfutil.cmd}" dfu genpkg --dev-type 0x0052 --application "{build.path}/{build.project_name}.hex" "{build.path}/{build.project_name}.zip"
61+ none.dfu_pattern.cmd=no_dfu
62+ none.dfu_pattern.cmd.windows=no_dfu.bat
63+ none.dfu_pattern.path={runtime.platform.path}/tools
6164
6265nordic.path={build.core.path}/nordic
6366
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ echo " Not building DFU file"
Original file line number Diff line number Diff line change 1+ @ echo off
2+ echo " Not building DFU file"
3+
You can’t perform that action at this time.
0 commit comments