Merge branch 'master' into develop

This commit is contained in:
hathach committed 2018-01-11 11:43:37 +07:00
commit ac7c1b4e47
6 files changed
+9 -4

No files matched your search

+2
View File
@@ -43,6 +43,7 @@ feather52.menu.softdevice.s132v510dual=5.1.0 Dual, S132 5.1.0
feather52.menu.softdevice.s132v510dual.build.sd_flags=-DS132 -DSD_VER=510
feather52.menu.softdevice.s132v510dual.build.sd_name=s132
feather52.menu.softdevice.s132v510dual.build.sd_version=5.1.0
feather52.menu.softdevice.s132v510dual.build.sd_fwid=0x00A5
feather52.menu.softdevice.s132v510dual.build.ldscript=bluefruit52_s132_5.1.0_dual.ld
feather52.menu.softdevice.s132v510dual.build.bootfile=dual/feather52_bootloader_5.1.0_s132_dual
feather52.menu.softdevice.s132v510dual.upload.maximum_size=151552
@@ -52,6 +53,7 @@ feather52.menu.softdevice.s132v510single=5.1.0 Single, S132 5.1.0
feather52.menu.softdevice.s132v510single.build.sd_flags=-DS132 -DSD_VER=510
feather52.menu.softdevice.s132v510single.build.sd_name=s132
feather52.menu.softdevice.s132v510single.build.sd_version=5.1.0
feather52.menu.softdevice.s132v510single.build.sd_fwid=0x00A5
feather52.menu.softdevice.s132v510single.build.ldscript=bluefruit52_s132_5.1.0_single.ld
feather52.menu.softdevice.s132v510single.build.bootfile=single/feather52_bootloader_5.1.0_s132_single
feather52.menu.softdevice.s132v510single.upload.maximum_size=303104
+4
View File
@@ -2,6 +2,10 @@
## 0.9.0
## 0.8.1
- Prevent sketch compiled with S132 v2 upload to device running S132 v5 and vice versa.
## 0.8.0
## Core
-1
View File
@@ -45,7 +45,6 @@
static lookup_entry_t const sd_lookup_items[] =
{
{ .key = 0x0088, .data = "S132 2.0.1" },
{ .key = 0x009D, .data = "S132 5.0.0" },
{ .key = 0x00A5, .data = "S132 5.1.0" },
};
+1 -1
View File
@@ -100,7 +100,7 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" "-L{build.path}"
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
## Creat dfu package zip file
recipe.objcopy.zip.pattern="{tools.nrfutil.cmd}" dfu genpkg --dev-type 0x0052 --application "{build.path}/{build.project_name}.hex" "{build.path}/{build.project_name}.zip"
recipe.objcopy.zip.pattern="{tools.nrfutil.cmd}" dfu genpkg --dev-type 0x0052 --sd-req {build.sd_fwid} --application "{build.path}/{build.project_name}.hex" "{build.path}/{build.project_name}.zip"
## Save bin
recipe.output.tmp_file_bin={build.project_name}.bin
Binary file not shown.
+2 -2
View File
@@ -287,8 +287,8 @@ def serial(package, port, baudrate, flowcontrol):
click.echo("Failed to upgrade target. Error is: {0}".format(e.message))
click.echo("")
click.echo("Possible causes:")
click.echo("- Bootloader, SoftDevice or Application on target "
"does not match the requirements in the DFU package.")
click.echo("- Selected Bootloader version does not match the one on Bluefruit device.")
click.echo(" Please upgrade the Bootloader or select correct version in Tools->Bootloader.")
click.echo("- Baud rate must be 115200, Flow control must be off.")
click.echo("- Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.")