clean up softdevice menu

This commit is contained in:
hathach committed 2016-11-28 14:19:44 +07:00
1 parent fecceda13b
commit 67298d2566
3 files changed
+14 -25

No files matched your search

+13 -14
View File
@@ -16,8 +16,8 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
menu.chip=Chip
menu.softdevice=Softdevice
menu.version=Version
#menu.softdevice=Softdevice
#menu.version=Version
menu.lfclk=Low Frequency Clock
menu.board_variant=Board Variant
@@ -45,24 +45,14 @@ feather52.build.board=FEATHER52
feather52.build.core=nRF5
feather52.build.variant=feather52
feather52.build.variant_system_lib=
feather52.build.extra_flags=-DNRF52
feather52.build.extra_flags=-DNRF52 -DS132 -DNRF51_S132
feather52.build.float_flags=-mfloat-abi=hard -mfpu=fpv4-sp-d16
feather52.build.ldscript=nrf52_xxaa.ld
feather52.build.ldscript=armgcc_s132_nrf52832_xxaa.ld
feather52.build.nrfutil=nrfutil
feather52.build.nrfutil.windows={runtime.platform.path}/tools/nrfutil-0.5.2/binaries/win32/nrfutil.exe
feather52.build.nrfutil.macosx=/usr/local/bin/nrfutil
#feather52.menu.softdevice.none=None
#feather52.menu.softdevice.none.softdevice=none
feather52.menu.softdevice.s132=S132
feather52.menu.softdevice.s132.softdevice=s132
feather52.menu.softdevice.s132.softdeviceversion=2.0.1
feather52.menu.softdevice.s132.upload.maximum_size=409600
feather52.menu.softdevice.s132.build.extra_flags=-DNRF52 -DS132 -DNRF51_S132
feather52.menu.softdevice.s132.build.ldscript=armgcc_s132_nrf52832_xxaa.ld
feather52.menu.lfclk.lfxo=Crystal Oscillator
feather52.menu.lfclk.lfxo.build.lfclk_flags=-DUSE_LFXO
feather52.menu.lfclk.lfrc=RC Oscillator
@@ -70,3 +60,12 @@ feather52.menu.lfclk.lfrc.build.lfclk_flags=-DUSE_LFRC
feather52.menu.lfclk.lfsynt=Synthesized
feather52.menu.lfclk.lfsynt.build.lfclk_flags=-DUSE_LFSYNT
#feather52.menu.softdevice.none=None
#feather52.menu.softdevice.none.softdevice=none
#feather52.menu.softdevice.s132=S132
#feather52.menu.softdevice.s132.softdevice=s132
#feather52.menu.softdevice.s132.softdeviceversion=2.0.1
#feather52.menu.softdevice.s132.upload.maximum_size=409600
#feather52.menu.softdevice.s132.build.extra_flags=-DNRF52 -DS132 -DNRF51_S132
#feather52.menu.softdevice.s132.build.ldscript=armgcc_s132_nrf52832_xxaa.ld
+1 -1
View File
@@ -82,7 +82,7 @@ recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DF_CPU=
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
## Combine gc-sections, archives, and objects
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" "-L{build.path}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} "-L{nrf.sdk.path}/components/toolchain/gcc/" "-L{nrf.sdk.path}/components/softdevice/{softdevice}/toolchain/armgcc/" "-T{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" --specs=nano.specs --specs=nosys.specs {compiler.ldflags} -o "{build.path}/{build.project_name}.elf" {object_files} -Wl,--start-group -lm "{build.path}/{archive_file}" -Wl,--end-group
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" "-L{build.path}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} "-L{nrf.sdk.path}/components/toolchain/gcc/" "-L{nrf.sdk.path}/components/softdevice/s132/toolchain/armgcc/" "-T{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" --specs=nano.specs --specs=nosys.specs {compiler.ldflags} -o "{build.path}/{build.project_name}.elf" {object_files} -Wl,--start-group -lm "{build.path}/{archive_file}" -Wl,--end-group
## Create output (bin file)
#recipe.objcopy.bin.pattern="{compiler.path}{compiler.elf2bin.cmd}" {compiler.elf2bin.flags} {compiler.elf2bin.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
-10
View File
@@ -1,10 +0,0 @@
names=s110,s130,s132
s110.url=http://www.nordicsemi.com/eng/content/download/80234/1351257/file/s110_nrf51_8.0.0.zip
s110.filename=s110_nrf51_8.0.0_softdevice.hex
s130.url=http://www.nordicsemi.com/eng/content/download/95150/1606929/file/s130_nrf51_2.0.0.zip
s130.filename=s130_nrf51_2.0.1_softdevice.hex
s132.url=http://www.nordicsemi.com/eng/content/download/95151/1606944/file/s132_nrf52_2.0.0.zip
s132.filename=s132_nrf52_2.0.1_softdevice.hex