migrating to adafruit-nrfutil

This commit is contained in:
hathach committed 2018-08-17 13:30:12 +07:00
1 parent 22b111adb4
commit c6ebbf5d2f
3 files changed
+8 -41

No files matched your search

-33
View File
@@ -66,36 +66,3 @@ feather52.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2 -Os
feather52.menu.debug.l3=Level 3 (Segger SystemView)
feather52.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 -Os
# required if using native usb ( for reference )
#feather52.upload.use_1200bps_touch=false
#feather52.upload.wait_for_upload_port=false
#feather52.upload.native_usb=false
#**********************************************
# Metro nrf52 Board
#**********************************************
#metro52.name=Adafruit Bluefruit nRF52 Metro
#metro52.bootloader.tool=nrfjprog
# Upload
#metro52.upload.tool=nrfutil
#metro52.upload.protocol=nrfutil
#metro52.upload.maximum_size=167936
#metro52.upload.maximum_data_size=51072
# Build
#metro52.build.mcu=cortex-m4
#metro52.build.f_cpu=64000000
#metro52.build.board=NRF52_METRO
#metro52.build.core=nRF5
#metro52.build.variant=metro52
# Debug Menu
#metro52.menu.debug.l0=Level 0 (Release)
#metro52.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0 -Os
#metro52.menu.debug.l1=Level 1 (Error Message)
#metro52.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1 -Os
#metro52.menu.debug.l2=Level 2 (Full Debug)
#metro52.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2 -Os
#metro52.menu.debug.l3=Level 3 (Segger SystemView)
#metro52.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 -Og
+8 -8
View File
@@ -121,22 +121,22 @@ recipe.size.regex.data=(\.data|\.bss|\.stack)\s+([0-9]+).*
recipe.output.tmp_file={build.project_name}.hex
recipe.output.save_file={build.project_name}.{build.variant}.hex
#**********************************************
# nrfutil for uploading
# Note : For MacOS, make a symlink to /usr/local/bin/nrfutil if installed to other location
#**********************************************
#***************************************************
# adafruit-nrfutil for uploading
# https://github.com/adafruit/Adafruit_nRF52_nrfutil
#***************************************************
tools.nrfutil.cmd=nrfutil
tools.nrfutil.cmd.windows={runtime.platform.path}/tools/nrfutil-0.5.2/binaries/win32/nrfutil.exe
tools.nrfutil.cmd=adafruit-nrfutil
tools.nrfutil.cmd.windows={runtime.platform.path}/tools/adafruit-nrfutil/win32/adafruit-nrfutil.exe
tools.nrfutil.cmd.macosx=/usr/local/bin/nrfutil
tools.nrfutil.upload.params.verbose=--verbose
tools.nrfutil.upload.params.quiet=
tools.nrfutil.upload.pattern="{cmd}" {upload.verbose} dfu serial -pkg "{build.path}/{build.project_name}.zip" -p {serial.port} -b 115200
#**********************************************
#***************************************************
# Burning bootloader with either jlink or nrfutil
#**********************************************
#***************************************************
tools.bootburn.bootloader.params.verbose=
tools.bootburn.bootloader.params.quiet=
tools.bootburn.bootloader.pattern={program.pattern}
Binary file not shown.