update segger project for SD 6.1.1

This commit is contained in:
hathach 2018-11-09 22:29:59 +07:00
parent 87103fe834
commit 37690823ac
3 changed files with 8 additions and 36 deletions

View File

@ -372,10 +372,10 @@ all-release:
help: help:
@echo To flash (with jlink) a pre-built binary with a specific version to a board @echo To flash (with jlink) a pre-built binary with a specific version to a board
@echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.0r0 flash @echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.1r0 flash
@echo @echo
@echo To flash (with dfu) a pre-built binary with a specific version to a board @echo To flash (with dfu) a pre-built binary with a specific version to a board
@echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.0r0 SERIAL=/dev/ttyACM0 dfu0-flash @echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.1r0 SERIAL=/dev/ttyACM0 dfu0-flash
@echo @echo
@echo To compile and build the current code for a board @echo To compile and build the current code for a board
@echo $$ make BOARD=feather_nrf52840_express all @echo $$ make BOARD=feather_nrf52840_express all

View File

@ -72,16 +72,16 @@ You can burn and/or upgrade the bootloader with either a J-link or DFU (serial)
without the hassle of installing a toolchain and compiling the code. without the hassle of installing a toolchain and compiling the code.
This is preferred if you are not developing/customizing the bootloader. This is preferred if you are not developing/customizing the bootloader.
To flash version `6.1.0r0` using J-Link: To flash version `6.1.1r0` using J-Link:
``` ```
make BOARD=feather_nrf52840_express VERSION=6.1.0r0 flash make BOARD=feather_nrf52840_express VERSION=6.1.1r0 flash
``` ```
To upgrade with dfu serial To upgrade with dfu serial
``` ```
make BOARD=feather_nrf52840_express VERSION=6.1.0r0 dfu-flash make BOARD=feather_nrf52840_express VERSION=6.1.1r0 dfu-flash
``` ```
Pre-builtin binaries are in the `bin` directory: Pre-builtin binaries are in the `bin` directory:

View File

@ -25,7 +25,7 @@
gcc_entry_point="Reset_Handler" gcc_entry_point="Reset_Handler"
linker_memory_map_file="$(ProjectDir)/nRF52840_xxAA_MemoryMap.xml" linker_memory_map_file="$(ProjectDir)/nRF52840_xxAA_MemoryMap.xml"
linker_section_placement_file="$(ProjectDir)/flash_placement.xml" linker_section_placement_file="$(ProjectDir)/flash_placement.xml"
macros="DeviceHeaderFile=$(PackagesDir)/nRF/CMSIS/Device/Include/nrf.h;DeviceLibraryIdentifier=M4lf;DeviceSystemFile=$(PackagesDir)/nRF/CMSIS/Device/Source/system_nrf52840.c;DeviceVectorsFile=$(PackagesDir)/nRF/Source/ses_nrf52840_Vectors.s;DeviceFamily=nRF;Target=nRF52840_xxAA;Placement=Flash;sdkDir=../../lib/sdk/components;sdk11Dir=../../lib/sdk11/components;sdDir=../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API;tusbDir=../../lib/tinyusb/src;nrfxDir=../../lib/nrfx" macros="DeviceHeaderFile=$(PackagesDir)/nRF/CMSIS/Device/Include/nrf.h;DeviceLibraryIdentifier=M4lf;DeviceSystemFile=$(PackagesDir)/nRF/CMSIS/Device/Source/system_nrf52840.c;DeviceVectorsFile=$(PackagesDir)/nRF/Source/ses_nrf52840_Vectors.s;DeviceFamily=nRF;Target=nRF52840_xxAA;Placement=Flash;sdkDir=../../lib/sdk/components;sdk11Dir=../../lib/sdk11/components;sdDir=../../lib/softdevice/s140_nrf52_6.1.1/s140_nrf52_6.1.1_API;tusbDir=../../lib/tinyusb/src;nrfxDir=../../lib/nrfx"
project_directory="" project_directory=""
project_type="Executable" project_type="Executable"
target_reset_script="Reset();" target_reset_script="Reset();"
@ -231,34 +231,6 @@
</folder> </folder>
<configuration Name="Feather52832" build_exclude_from_build="Yes" /> <configuration Name="Feather52832" build_exclude_from_build="Yes" />
</folder> </folder>
<folder Name="softdevice">
<folder Name="s140_nrf52_6.1.0">
<folder Name="s140_nrf52_6.1.0_API">
<folder Name="include">
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_err.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_gap.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_gatt.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_gattc.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_gatts.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_hci.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_l2cap.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_ranges.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/ble_types.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf_error.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf_error_sdm.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf_error_soc.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf_nvic.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf_sdm.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf_soc.h" />
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf_svc.h" />
<folder Name="nrf52">
<file file_name="../../lib/softdevice/s140_nrf52_6.1.0/s140_nrf52_6.1.0_API/include/nrf52/nrf_mbr.h" />
</folder>
</folder>
</folder>
</folder>
</folder>
<folder Name="nrfx"> <folder Name="nrfx">
<file file_name="../../lib/nrfx/nrfx.h" /> <file file_name="../../lib/nrfx/nrfx.h" />
<folder Name="drivers"> <folder Name="drivers">
@ -397,11 +369,11 @@
</folder> </folder>
<configuration <configuration
Name="Feather52840" Name="Feather52840"
c_preprocessor_definitions="NRF52840_XXAA;MK_DIS_FIRMWARE=&quot;s140 6.1.0 r0&quot;;S140;BOARD_PCA10056" c_preprocessor_definitions="NRF52840_XXAA;MK_DIS_FIRMWARE=&quot;s140 6.1.1 r0&quot;;S140;BOARD_PCA10056"
linker_memory_map_file="nRF52840_xxAA_MemoryMap.xml" /> linker_memory_map_file="nRF52840_xxAA_MemoryMap.xml" />
<configuration <configuration
Name="Feather52832" Name="Feather52832"
c_preprocessor_definitions="NRF52832_XXAA;MK_DIS_FIRMWARE=&quot;s132 6.1.0 r0&quot;;S132;BOARD_FEATHER_NRF52832" c_preprocessor_definitions="NRF52832_XXAA;MK_DIS_FIRMWARE=&quot;s132 6.1.1 r0&quot;;S132;BOARD_FEATHER_NRF52832"
linker_memory_map_file="nRF52832_xxAA_MemoryMap.xml" /> linker_memory_map_file="nRF52832_xxAA_MemoryMap.xml" />
</project> </project>
<configuration <configuration