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=
52
52
# this can be overriden in boards.txt
53
53
build.extra_flags=
54
54
build.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}
56
56
build.bootloader.file=tools/none_bootloader.hex
57
57
build.flags.usb= -DUSBCON -DUSE_TINYUSB -DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
58
58
59
59
nrfutil.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"
60
60
adafruit-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
61
64
62
65
nordic.path={build.core.path}/nordic
63
66
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