remove dual bank bootloader support
This commit is contained in:
1 parent
6ddba93bd0
commit
e8dc344996
9 files changed
+21
-11104
No files matched your search
File renamed without changes.
File renamed without changes.
-11031
File diff suppressed because it is too large.
Load diff
BIN
Binary file not shown.
+19
-32
@@ -20,7 +20,7 @@ menu.softdevice=Bootloader
|
||||
menu.debug=Debug Mode
|
||||
|
||||
#**********************************************
|
||||
# Feather nrf52 Board
|
||||
# Feather nrf52832 (nrf52) Board
|
||||
#**********************************************
|
||||
feather52.name=Adafruit Bluefruit nRF52 Feather
|
||||
feather52.bootloader.tool=bootburn
|
||||
@@ -40,27 +40,15 @@ feather52.build.extra_flags=-DNRF52832_XXAA -DNRF52
|
||||
# SofDevice Menu
|
||||
# Ram & ROM size varies depending on SoftDevice (check linker script)
|
||||
|
||||
feather52.menu.softdevice.s132single=6.0.0 Single, S132 6.0.0
|
||||
feather52.menu.softdevice.s132single.build.sd_flags=-DS132 -DSD_VER=600
|
||||
feather52.menu.softdevice.s132single.build.sd_name=s132
|
||||
feather52.menu.softdevice.s132single.build.sd_version=6.0.0
|
||||
feather52.menu.softdevice.s132single.build.sd_fwid=0x00A8
|
||||
feather52.menu.softdevice.s132single.build.ldscript=nrf52832_s132_6.0.0_single.ld
|
||||
feather52.menu.softdevice.s132single.build.bootfile=single/feather52_bootloader_6.0.0_s132_single
|
||||
feather52.menu.softdevice.s132single.build.bank_flag=--singlebank
|
||||
feather52.menu.softdevice.s132single.upload.maximum_size=290816
|
||||
feather52.menu.softdevice.s132single.upload.maximum_data_size=51072
|
||||
|
||||
#feather52.menu.softdevice.s132dual=6.0.0 Dual, S132 6.0.0
|
||||
#feather52.menu.softdevice.s132dual.build.sd_flags=-DS132 -DSD_VER=600
|
||||
#feather52.menu.softdevice.s132dual.build.sd_name=s132
|
||||
#feather52.menu.softdevice.s132dual.build.sd_version=6.0.0
|
||||
#feather52.menu.softdevice.s132dual.build.sd_fwid=0x00A8
|
||||
#feather52.menu.softdevice.s132dual.build.ldscript=nrf52832_s132_6.0.0_dual.ld
|
||||
#feather52.menu.softdevice.s132dual.build.bootfile=dual/feather52_bootloader_6.0.0_s132_dual
|
||||
#feather52.menu.softdevice.s132dual.build.bank_flag=
|
||||
#feather52.menu.softdevice.s132dual.upload.maximum_size=145408
|
||||
#feather52.menu.softdevice.s132dual.upload.maximum_data_size=51072
|
||||
feather52.menu.softdevice.s132v6=v6.0.0, S132 6.0.0
|
||||
feather52.menu.softdevice.s132v6.build.sd_flags=-DS132 -DSD_VER=600
|
||||
feather52.menu.softdevice.s132v6.build.sd_name=s132
|
||||
feather52.menu.softdevice.s132v6.build.sd_version=6.0.0
|
||||
feather52.menu.softdevice.s132v6.build.sd_fwid=0x00A8
|
||||
feather52.menu.softdevice.s132v6.build.ldscript=nrf52832_s132_6.0.0.ld
|
||||
feather52.menu.softdevice.s132v6.build.bootfile=feather52_bootloader_6.0.0_s132
|
||||
feather52.menu.softdevice.s132v6.upload.maximum_size=290816
|
||||
feather52.menu.softdevice.s132v6.upload.maximum_data_size=51072
|
||||
|
||||
# Debug Menu
|
||||
feather52.menu.debug.l0=Level 0 (Release)
|
||||
@@ -104,16 +92,15 @@ feather52840.build.extra_flags=-DNRF52840_XXAA
|
||||
# SofDevice Menu
|
||||
# Ram & ROM size varies depending on SoftDevice (check linker script)
|
||||
|
||||
feather52840.menu.softdevice.s140single=6.0.0 Single, S140 6.0.0
|
||||
feather52840.menu.softdevice.s140single.build.sd_flags=-DS140 -DSD_VER=600
|
||||
feather52840.menu.softdevice.s140single.build.sd_name=s140
|
||||
feather52840.menu.softdevice.s140single.build.sd_version=6.0.0
|
||||
feather52840.menu.softdevice.s140single.build.sd_fwid=0x00A9
|
||||
feather52840.menu.softdevice.s140single.build.ldscript=nrf52840_s140_6.0.0_single.ld
|
||||
feather52840.menu.softdevice.s140single.build.bootfile=single/feather52840_bootloader_6.0.0_s140_single
|
||||
feather52840.menu.softdevice.s140single.build.bank_flag=--singlebank
|
||||
feather52840.menu.softdevice.s140single.upload.maximum_size=303104
|
||||
feather52840.menu.softdevice.s140single.upload.maximum_data_size=51072
|
||||
feather52840.menu.softdevice.s140v6=v6.0.0, S140 6.0.0
|
||||
feather52840.menu.softdevice.s140v6.build.sd_flags=-DS140 -DSD_VER=600
|
||||
feather52840.menu.softdevice.s140v6.build.sd_name=s140
|
||||
feather52840.menu.softdevice.s140v6.build.sd_version=6.0.0
|
||||
feather52840.menu.softdevice.s140v6.build.sd_fwid=0x00A9
|
||||
feather52840.menu.softdevice.s140v6.build.ldscript=nrf52840_s140_6.0.0.ld
|
||||
feather52840.menu.softdevice.s140v6.build.bootfile=feather52840_bootloader_6.0.0_s140
|
||||
feather52840.menu.softdevice.s140v6.upload.maximum_size=303104
|
||||
feather52840.menu.softdevice.s140v6.upload.maximum_data_size=51072
|
||||
|
||||
# Debug Menu
|
||||
feather52840.menu.debug.l0=Level 0 (Release)
|
||||
|
||||
File renamed without changes.
@@ -1,39 +0,0 @@
|
||||
/* Linker script to configure memory regions. */
|
||||
|
||||
SEARCH_DIR(.)
|
||||
GROUP(-lgcc -lc -lnosys)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x23800 /* Max 142 KB for dual banks */
|
||||
|
||||
/* SRAM required by S132 depend on
|
||||
* - Attribute Table Size
|
||||
* - Vendor UUID count
|
||||
* - Max ATT MTU
|
||||
* - Concurrent connection peripheral + central + secure links
|
||||
* - Event Len, HVN queue, Write CMD queue
|
||||
*/
|
||||
/* RAM (rwx) : ORIGIN = 0x20003200, LENGTH = 0x20010000 - 0x20003200 */
|
||||
RAM (rwx) : ORIGIN = 0x20003400, LENGTH = 0x20010000 - 0x20003400
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = ALIGN(4);
|
||||
.svc_data :
|
||||
{
|
||||
PROVIDE(__start_svc_data = .);
|
||||
KEEP(*(.svc_data))
|
||||
PROVIDE(__stop_svc_data = .);
|
||||
} > RAM
|
||||
|
||||
.fs_data :
|
||||
{
|
||||
PROVIDE(__start_fs_data = .);
|
||||
KEEP(*(.fs_data))
|
||||
PROVIDE(__stop_fs_data = .);
|
||||
} > RAM
|
||||
} INSERT AFTER .data;
|
||||
|
||||
INCLUDE "nrf52_common.ld"
|
||||
File renamed without changes.
+2
-2
@@ -103,7 +103,7 @@ recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf
|
||||
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"
|
||||
|
||||
## Create uf2 file
|
||||
recipe.objcopy.uf2.pattern=python "{runtime.platform.path}/tools/uf2conv/uf2conv.py" -o "{build.path}/{build.project_name}.uf2" "{build.path}/{build.project_name}.hex"
|
||||
recipe.objcopy.uf2.pattern=python "{runtime.platform.path}/tools/uf2conv/uf2conv.py" -c -o "{build.path}/{build.project_name}.uf2" "{build.path}/{build.project_name}.hex"
|
||||
|
||||
## Save bin
|
||||
recipe.output.tmp_file_bin={build.project_name}.bin
|
||||
@@ -133,7 +133,7 @@ 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 {build.bank_flag}
|
||||
tools.nrfutil.upload.pattern={cmd} {upload.verbose} dfu serial -pkg "{build.path}/{build.project_name}.zip" -p {serial.port} -b 115200 --singlebank
|
||||
|
||||
#tools.nrfutil.upload.pattern=nrfjprog --reset --program "{build.path}/{build.project_name}.hex" --sectorerase -f nrf52
|
||||
|
||||
|
||||
Reference in new issue
Block a user