update bootloader to 5.1.0

This commit is contained in:
hathach committed 2017-12-12 13:15:31 +07:00
1 parent ea73d76513
commit 0500104c49
17 files changed
+19937 -29983

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+9 -7
View File
@@ -41,16 +41,18 @@ feather52.build.variant=feather52
feather52.menu.softdevice.s132v201=0.5.0 dual, S132 2.0.1
feather52.menu.softdevice.s132v201.build.sd_flags=-DS132 -DSD_VER=201
feather52.menu.softdevice.s132v201.build.sd_name=s132_v201
feather52.menu.softdevice.s132v201.build.bootloader=bootloader_v050
feather52.menu.softdevice.s132v201.build.sd_version=2.0.1
feather52.menu.softdevice.s132v201.build.bootfile=0.5.0/dual/feather52_bootloader_v050_s132_v201
feather52.menu.softdevice.s132v201.upload.maximum_size=165888
feather52.menu.softdevice.s132v201.upload.maximum_data_size=51072
feather52.menu.softdevice.s132v500=5.0.0 dual, S132 5.0.0
feather52.menu.softdevice.s132v500.build.sd_flags=-DS132 -DSD_VER=500
feather52.menu.softdevice.s132v500.build.sd_name=s132_v500
feather52.menu.softdevice.s132v500.build.bootloader=bootloader_v055
feather52.menu.softdevice.s132v500.upload.maximum_size=151552
feather52.menu.softdevice.s132v500.upload.maximum_data_size=51072
feather52.menu.softdevice.s132v510=5.1.0 dual, S132 5.1.0
feather52.menu.softdevice.s132v510.build.sd_flags=-DS132 -DSD_VER=510
feather52.menu.softdevice.s132v510.build.sd_version=5.1.0
feather52.menu.softdevice.s132v510.build.sd_name=s132_v500
feather52.menu.softdevice.s132v510.build.bootfile={build.sd_version}/dual/feather52_bootloader_5.1.0_s132_dual
feather52.menu.softdevice.s132v510.upload.maximum_size=151552
feather52.menu.softdevice.s132v510.upload.maximum_data_size=51072
# Debug Menu
feather52.menu.debug.l0=Level 0 (Release)
-2
View File
@@ -17,8 +17,6 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <nrf.h>
#include "Arduino.h"
#include "nrf.h"
-1
View File
@@ -55,7 +55,6 @@ build.sd_flags=-DS132 -DSD_VER=201
build.sd_name=s132_v201
build.debug_flags=-DCFG_DEBUG=0 -Os
build.bootloader=bootloader_v050
build.ldscript=bluefruit52_{build.sd_name}.ld
# compatiable with other lib only, would remove in the future
+8 -7
View File
@@ -1,20 +1,21 @@
#**********************************************
# Jlink with nrfjprog to burn bootloader
#**********************************************
nrfjprog.name=J-Link for Bluefruit 52
nrfjprog.name=J-Link for Bluefruit nrf52
nrfjprog.program.tool=bootburn
nrfjprog.program.path={runtime.tools.nrfjprog.path}/
#nrfjprog.program.path=
#nrfjprog.program.path={runtime.tools.nrfjprog.path}/
nrfjprog.program.path=
nrfjprog.program.cmd=nrfjprog
nrfjprog.program.cmd.windows=nrfjprog.exe
nrfjprog.program.pattern="{program.path}{program.cmd}" --program "{runtime.platform.path}/bin/bootloader/{build.sd_name}/{build.variant}_{build.bootloader}_{build.sd_name}.hex" -f nrf52 --chiperase --reset
#nrfjprog.program.pattern="{program.path}{program.cmd}" --program "{runtime.platform.path}/bin/bootloader/{build.variant}/{build.sd_version}/{build.bootfile}.hex" -f nrf52 --chiperase --reset
nrfjprog.program.pattern="{program.path}{program.cmd}" --program "{runtime.platform.path}/bin/bootloader/{build.variant}/{build.bootfile}.hex" -f nrf52 --chiperase --reset
#**********************************************
# nrfutil to upgrade bootloader
#**********************************************
nrfutil_boot.name=Bootloader upgrade for Bluefruit 52
nrfutil_boot.name=Bootloader DFU for Bluefruit nrf52
nrfutil_boot.program.tool=bootburn
nrfutil_boot.program.cmd=nrfutil
nrfutil_boot.program.cmd.windows={runtime.platform.path}/tools/nrfutil-0.5.2/binaries/win32/nrfutil.exe
nrfutil_boot.program.pattern={program.cmd} --verbose dfu serial -pkg "{runtime.platform.path}/bin/bootloader/{build.sd_name}/{build.variant}_{build.bootloader}_{build.sd_name}.zip" -p {serial.port} -b 115200
#nrfutil_boot.program.pattern={program.cmd} --verbose dfu serial -pkg "{runtime.platform.path}/bin/bootloader/{build.variant}/{build.sd_version}/{build.bootfile}.zip" -p {serial.port} -b 115200
nrfutil_boot.program.pattern={program.cmd} --verbose dfu serial -pkg "{runtime.platform.path}/bin/bootloader/{build.variant}/{build.bootfile}.zip" -p {serial.port} -b 115200