14 changed files with 23717 additions and 1 deletions
-
2examples/ble_peripheral/ble_app_buttonless_dfu/main.c
-
5831examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/arm5_no_packs/JLinkLog.txt
-
44examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/arm5_no_packs/JLinkSettings.ini
-
383examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/arm5_no_packs/RTE/Device/nRF52840_xxAA/arm_startup_nrf52840.s
-
9073examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/arm5_no_packs/ble_app_buttonless_dfu_pca10100_s140.uvprojx
-
248examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/armgcc/Makefile
-
114examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/armgcc/ble_app_buttonless_dfu_gcc_nrf52.ld
-
5275examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/config/sdk_config.h
-
43examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/iar/ble_app_buttonless_dfu_iar_nRF5x.icf
-
1350examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/iar/ble_app_buttonless_dfu_pca10056_s140.ewd
-
1150examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/iar/ble_app_buttonless_dfu_pca10056_s140.ewp
-
147examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/ses/ble_app_buttonless_dfu_pca10056_s140.emProject
-
7examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/ses/ble_app_buttonless_dfu_pca10056_s140.emSession
-
51examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/ses/flash_placement.xml
5831
examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/arm5_no_packs/JLinkLog.txt
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,44 @@ |
|||
[BREAKPOINTS] |
|||
ForceImpTypeAny = 0 |
|||
ShowInfoWin = 1 |
|||
EnableFlashBP = 2 |
|||
BPDuringExecution = 0 |
|||
[CFI] |
|||
CFISize = 0x00 |
|||
CFIAddr = 0x00 |
|||
[CPU] |
|||
MonModeVTableAddr = 0xFFFFFFFF |
|||
MonModeDebug = 0 |
|||
MaxNumAPs = 0 |
|||
LowPowerHandlingMode = 0 |
|||
OverrideMemMap = 0 |
|||
AllowSimulation = 1 |
|||
ScriptFile="" |
|||
[FLASH] |
|||
RMWThreshold = 0x400 |
|||
Loaders="" |
|||
EraseType = 0x00 |
|||
CacheExcludeSize = 0x00 |
|||
CacheExcludeAddr = 0x00 |
|||
MinNumBytesFlashDL = 0 |
|||
SkipProgOnCRCMatch = 1 |
|||
VerifyDownload = 1 |
|||
AllowCaching = 1 |
|||
EnableFlashDL = 2 |
|||
Override = 0 |
|||
Device="ARM7" |
|||
[GENERAL] |
|||
WorkRAMSize = 0x00 |
|||
WorkRAMAddr = 0x00 |
|||
RAMUsageLimit = 0x00 |
|||
[SWO] |
|||
SWOLogFile="" |
|||
[MEM] |
|||
RdOverrideOrMask = 0x00 |
|||
RdOverrideAndMask = 0xFFFFFFFF |
|||
RdOverrideAddr = 0xFFFFFFFF |
|||
WrOverrideOrMask = 0x00 |
|||
WrOverrideAndMask = 0xFFFFFFFF |
|||
WrOverrideAddr = 0xFFFFFFFF |
|||
[RAM] |
|||
VerifyDownload = 0x00 |
@ -0,0 +1,383 @@ |
|||
; Copyright (c) 2009-2021 ARM Limited. All rights reserved. |
|||
; |
|||
; SPDX-License-Identifier: Apache-2.0 |
|||
; |
|||
; Licensed under the Apache License, Version 2.0 (the License); you may |
|||
; not use this file except in compliance with the License. |
|||
; You may obtain a copy of the License at |
|||
; |
|||
; www.apache.org/licenses/LICENSE-2.0 |
|||
; |
|||
; Unless required by applicable law or agreed to in writing, software |
|||
; distributed under the License is distributed on an AS IS BASIS, WITHOUT |
|||
; WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|||
; See the License for the specific language governing permissions and |
|||
; limitations under the License. |
|||
; |
|||
; NOTICE: This file has been modified by Nordic Semiconductor ASA. |
|||
|
|||
IF :DEF: __STARTUP_CONFIG |
|||
#ifdef __STARTUP_CONFIG |
|||
#include "startup_config.h" |
|||
#ifndef __STARTUP_CONFIG_STACK_ALIGNEMENT |
|||
#define __STARTUP_CONFIG_STACK_ALIGNEMENT 3 |
|||
#endif |
|||
#endif |
|||
ENDIF |
|||
|
|||
IF :DEF: __STARTUP_CONFIG |
|||
Stack_Size EQU __STARTUP_CONFIG_STACK_SIZE |
|||
ELIF :DEF: __STACK_SIZE |
|||
Stack_Size EQU __STACK_SIZE |
|||
ELSE |
|||
Stack_Size EQU 16384 |
|||
ENDIF |
|||
|
|||
IF :DEF: __STARTUP_CONFIG |
|||
Stack_Align EQU __STARTUP_CONFIG_STACK_ALIGNEMENT |
|||
ELSE |
|||
Stack_Align EQU 3 |
|||
ENDIF |
|||
|
|||
AREA STACK, NOINIT, READWRITE, ALIGN=Stack_Align |
|||
Stack_Mem SPACE Stack_Size |
|||
__initial_sp |
|||
|
|||
IF :DEF: __STARTUP_CONFIG |
|||
Heap_Size EQU __STARTUP_CONFIG_HEAP_SIZE |
|||
ELIF :DEF: __HEAP_SIZE |
|||
Heap_Size EQU __HEAP_SIZE |
|||
ELSE |
|||
Heap_Size EQU 16384 |
|||
ENDIF |
|||
|
|||
AREA HEAP, NOINIT, READWRITE, ALIGN=3 |
|||
__heap_base |
|||
Heap_Mem SPACE Heap_Size |
|||
__heap_limit |
|||
|
|||
PRESERVE8 |
|||
THUMB |
|||
|
|||
; Vector Table Mapped to Address 0 at Reset |
|||
|
|||
AREA RESET, DATA, READONLY |
|||
EXPORT __Vectors |
|||
EXPORT __Vectors_End |
|||
EXPORT __Vectors_Size |
|||
|
|||
__Vectors DCD __initial_sp ; Top of Stack |
|||
DCD Reset_Handler |
|||
DCD NMI_Handler |
|||
DCD HardFault_Handler |
|||
DCD MemoryManagement_Handler |
|||
DCD BusFault_Handler |
|||
DCD UsageFault_Handler |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD SVC_Handler |
|||
DCD DebugMon_Handler |
|||
DCD 0 ; Reserved |
|||
DCD PendSV_Handler |
|||
DCD SysTick_Handler |
|||
|
|||
; External Interrupts |
|||
DCD POWER_CLOCK_IRQHandler |
|||
DCD RADIO_IRQHandler |
|||
DCD UARTE0_UART0_IRQHandler |
|||
DCD SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler |
|||
DCD SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler |
|||
DCD NFCT_IRQHandler |
|||
DCD GPIOTE_IRQHandler |
|||
DCD SAADC_IRQHandler |
|||
DCD TIMER0_IRQHandler |
|||
DCD TIMER1_IRQHandler |
|||
DCD TIMER2_IRQHandler |
|||
DCD RTC0_IRQHandler |
|||
DCD TEMP_IRQHandler |
|||
DCD RNG_IRQHandler |
|||
DCD ECB_IRQHandler |
|||
DCD CCM_AAR_IRQHandler |
|||
DCD WDT_IRQHandler |
|||
DCD RTC1_IRQHandler |
|||
DCD QDEC_IRQHandler |
|||
DCD COMP_LPCOMP_IRQHandler |
|||
DCD SWI0_EGU0_IRQHandler |
|||
DCD SWI1_EGU1_IRQHandler |
|||
DCD SWI2_EGU2_IRQHandler |
|||
DCD SWI3_EGU3_IRQHandler |
|||
DCD SWI4_EGU4_IRQHandler |
|||
DCD SWI5_EGU5_IRQHandler |
|||
DCD TIMER3_IRQHandler |
|||
DCD TIMER4_IRQHandler |
|||
DCD PWM0_IRQHandler |
|||
DCD PDM_IRQHandler |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD MWU_IRQHandler |
|||
DCD PWM1_IRQHandler |
|||
DCD PWM2_IRQHandler |
|||
DCD SPIM2_SPIS2_SPI2_IRQHandler |
|||
DCD RTC2_IRQHandler |
|||
DCD I2S_IRQHandler |
|||
DCD FPU_IRQHandler |
|||
DCD USBD_IRQHandler |
|||
DCD UARTE1_IRQHandler |
|||
DCD QSPI_IRQHandler |
|||
DCD CRYPTOCELL_IRQHandler |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD PWM3_IRQHandler |
|||
DCD 0 ; Reserved |
|||
DCD SPIM3_IRQHandler |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
DCD 0 ; Reserved |
|||
|
|||
__Vectors_End |
|||
|
|||
__Vectors_Size EQU __Vectors_End - __Vectors |
|||
|
|||
AREA |.text|, CODE, READONLY |
|||
|
|||
; Reset Handler |
|||
|
|||
|
|||
Reset_Handler PROC |
|||
EXPORT Reset_Handler [WEAK] |
|||
IMPORT SystemInit |
|||
IMPORT __main |
|||
|
|||
|
|||
LDR R0, =SystemInit |
|||
BLX R0 |
|||
LDR R0, =__main |
|||
BX R0 |
|||
ENDP |
|||
|
|||
; Dummy Exception Handlers (infinite loops which can be modified) |
|||
|
|||
NMI_Handler PROC |
|||
EXPORT NMI_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
HardFault_Handler\ |
|||
PROC |
|||
EXPORT HardFault_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
MemoryManagement_Handler\ |
|||
PROC |
|||
EXPORT MemoryManagement_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
BusFault_Handler\ |
|||
PROC |
|||
EXPORT BusFault_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
UsageFault_Handler\ |
|||
PROC |
|||
EXPORT UsageFault_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
SVC_Handler PROC |
|||
EXPORT SVC_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
DebugMon_Handler\ |
|||
PROC |
|||
EXPORT DebugMon_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
PendSV_Handler PROC |
|||
EXPORT PendSV_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
SysTick_Handler PROC |
|||
EXPORT SysTick_Handler [WEAK] |
|||
B . |
|||
ENDP |
|||
|
|||
Default_Handler PROC |
|||
|
|||
EXPORT POWER_CLOCK_IRQHandler [WEAK] |
|||
EXPORT RADIO_IRQHandler [WEAK] |
|||
EXPORT UARTE0_UART0_IRQHandler [WEAK] |
|||
EXPORT SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler [WEAK] |
|||
EXPORT SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler [WEAK] |
|||
EXPORT NFCT_IRQHandler [WEAK] |
|||
EXPORT GPIOTE_IRQHandler [WEAK] |
|||
EXPORT SAADC_IRQHandler [WEAK] |
|||
EXPORT TIMER0_IRQHandler [WEAK] |
|||
EXPORT TIMER1_IRQHandler [WEAK] |
|||
EXPORT TIMER2_IRQHandler [WEAK] |
|||
EXPORT RTC0_IRQHandler [WEAK] |
|||
EXPORT TEMP_IRQHandler [WEAK] |
|||
EXPORT RNG_IRQHandler [WEAK] |
|||
EXPORT ECB_IRQHandler [WEAK] |
|||
EXPORT CCM_AAR_IRQHandler [WEAK] |
|||
EXPORT WDT_IRQHandler [WEAK] |
|||
EXPORT RTC1_IRQHandler [WEAK] |
|||
EXPORT QDEC_IRQHandler [WEAK] |
|||
EXPORT COMP_LPCOMP_IRQHandler [WEAK] |
|||
EXPORT SWI0_EGU0_IRQHandler [WEAK] |
|||
EXPORT SWI1_EGU1_IRQHandler [WEAK] |
|||
EXPORT SWI2_EGU2_IRQHandler [WEAK] |
|||
EXPORT SWI3_EGU3_IRQHandler [WEAK] |
|||
EXPORT SWI4_EGU4_IRQHandler [WEAK] |
|||
EXPORT SWI5_EGU5_IRQHandler [WEAK] |
|||
EXPORT TIMER3_IRQHandler [WEAK] |
|||
EXPORT TIMER4_IRQHandler [WEAK] |
|||
EXPORT PWM0_IRQHandler [WEAK] |
|||
EXPORT PDM_IRQHandler [WEAK] |
|||
EXPORT MWU_IRQHandler [WEAK] |
|||
EXPORT PWM1_IRQHandler [WEAK] |
|||
EXPORT PWM2_IRQHandler [WEAK] |
|||
EXPORT SPIM2_SPIS2_SPI2_IRQHandler [WEAK] |
|||
EXPORT RTC2_IRQHandler [WEAK] |
|||
EXPORT I2S_IRQHandler [WEAK] |
|||
EXPORT FPU_IRQHandler [WEAK] |
|||
EXPORT USBD_IRQHandler [WEAK] |
|||
EXPORT UARTE1_IRQHandler [WEAK] |
|||
EXPORT QSPI_IRQHandler [WEAK] |
|||
EXPORT CRYPTOCELL_IRQHandler [WEAK] |
|||
EXPORT PWM3_IRQHandler [WEAK] |
|||
EXPORT SPIM3_IRQHandler [WEAK] |
|||
POWER_CLOCK_IRQHandler |
|||
RADIO_IRQHandler |
|||
UARTE0_UART0_IRQHandler |
|||
SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler |
|||
SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler |
|||
NFCT_IRQHandler |
|||
GPIOTE_IRQHandler |
|||
SAADC_IRQHandler |
|||
TIMER0_IRQHandler |
|||
TIMER1_IRQHandler |
|||
TIMER2_IRQHandler |
|||
RTC0_IRQHandler |
|||
TEMP_IRQHandler |
|||
RNG_IRQHandler |
|||
ECB_IRQHandler |
|||
CCM_AAR_IRQHandler |
|||
WDT_IRQHandler |
|||
RTC1_IRQHandler |
|||
QDEC_IRQHandler |
|||
COMP_LPCOMP_IRQHandler |
|||
SWI0_EGU0_IRQHandler |
|||
SWI1_EGU1_IRQHandler |
|||
SWI2_EGU2_IRQHandler |
|||
SWI3_EGU3_IRQHandler |
|||
SWI4_EGU4_IRQHandler |
|||
SWI5_EGU5_IRQHandler |
|||
TIMER3_IRQHandler |
|||
TIMER4_IRQHandler |
|||
PWM0_IRQHandler |
|||
PDM_IRQHandler |
|||
MWU_IRQHandler |
|||
PWM1_IRQHandler |
|||
PWM2_IRQHandler |
|||
SPIM2_SPIS2_SPI2_IRQHandler |
|||
RTC2_IRQHandler |
|||
I2S_IRQHandler |
|||
FPU_IRQHandler |
|||
USBD_IRQHandler |
|||
UARTE1_IRQHandler |
|||
QSPI_IRQHandler |
|||
CRYPTOCELL_IRQHandler |
|||
PWM3_IRQHandler |
|||
SPIM3_IRQHandler |
|||
B . |
|||
ENDP |
|||
ALIGN |
|||
|
|||
; User Initial Stack & Heap |
|||
|
|||
IF :DEF:__MICROLIB |
|||
|
|||
EXPORT __initial_sp |
|||
EXPORT __heap_base |
|||
EXPORT __heap_limit |
|||
|
|||
ELSE |
|||
|
|||
IMPORT __use_two_region_memory |
|||
EXPORT __user_initial_stackheap |
|||
|
|||
__user_initial_stackheap PROC |
|||
|
|||
LDR R0, = Heap_Mem |
|||
LDR R1, = (Stack_Mem + Stack_Size) |
|||
LDR R2, = (Heap_Mem + Heap_Size) |
|||
LDR R3, = Stack_Mem |
|||
BX LR |
|||
ENDP |
|||
|
|||
ALIGN |
|||
|
|||
ENDIF |
|||
|
|||
END |
9073
examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/arm5_no_packs/ble_app_buttonless_dfu_pca10100_s140.uvprojx
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,248 @@ |
|||
PROJECT_NAME := ble_app_buttonless_dfu_pca10056_s140 |
|||
TARGETS := nrf52840_xxaa |
|||
OUTPUT_DIRECTORY := _build |
|||
|
|||
SDK_ROOT := ../../../../../.. |
|||
PROJ_DIR := ../../.. |
|||
|
|||
$(OUTPUT_DIRECTORY)/nrf52840_xxaa.out: \ |
|||
LINKER_SCRIPT := ble_app_buttonless_dfu_gcc_nrf52.ld |
|||
|
|||
# Source files common to all targets
|
|||
SRC_FILES += \
|
|||
$(SDK_ROOT)/modules/nrfx/mdk/gcc_startup_nrf52840.S \
|
|||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_rtt.c \
|
|||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_serial.c \
|
|||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_uart.c \
|
|||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_default_backends.c \
|
|||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_frontend.c \
|
|||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_str_formatter.c \
|
|||
$(SDK_ROOT)/components/boards/boards.c \
|
|||
$(SDK_ROOT)/modules/nrfx/mdk/system_nrf52840.c \
|
|||
$(SDK_ROOT)/components/libraries/button/app_button.c \
|
|||
$(SDK_ROOT)/components/libraries/util/app_error.c \
|
|||
$(SDK_ROOT)/components/libraries/util/app_error_handler_gcc.c \
|
|||
$(SDK_ROOT)/components/libraries/util/app_error_weak.c \
|
|||
$(SDK_ROOT)/components/libraries/scheduler/app_scheduler.c \
|
|||
$(SDK_ROOT)/components/libraries/timer/app_timer2.c \
|
|||
$(SDK_ROOT)/components/libraries/util/app_util_platform.c \
|
|||
$(SDK_ROOT)/components/libraries/crc16/crc16.c \
|
|||
$(SDK_ROOT)/components/libraries/timer/drv_rtc.c \
|
|||
$(SDK_ROOT)/components/libraries/fds/fds.c \
|
|||
$(SDK_ROOT)/components/libraries/util/nrf_assert.c \
|
|||
$(SDK_ROOT)/components/libraries/atomic_fifo/nrf_atfifo.c \
|
|||
$(SDK_ROOT)/components/libraries/atomic_flags/nrf_atflags.c \
|
|||
$(SDK_ROOT)/components/libraries/atomic/nrf_atomic.c \
|
|||
$(SDK_ROOT)/components/libraries/balloc/nrf_balloc.c \
|
|||
$(SDK_ROOT)/external/fprintf/nrf_fprintf.c \
|
|||
$(SDK_ROOT)/external/fprintf/nrf_fprintf_format.c \
|
|||
$(SDK_ROOT)/components/libraries/fstorage/nrf_fstorage.c \
|
|||
$(SDK_ROOT)/components/libraries/fstorage/nrf_fstorage_sd.c \
|
|||
$(SDK_ROOT)/components/libraries/memobj/nrf_memobj.c \
|
|||
$(SDK_ROOT)/components/libraries/pwr_mgmt/nrf_pwr_mgmt.c \
|
|||
$(SDK_ROOT)/components/libraries/ringbuf/nrf_ringbuf.c \
|
|||
$(SDK_ROOT)/components/libraries/experimental_section_vars/nrf_section_iter.c \
|
|||
$(SDK_ROOT)/components/libraries/sortlist/nrf_sortlist.c \
|
|||
$(SDK_ROOT)/components/libraries/strerror/nrf_strerror.c \
|
|||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_clock.c \
|
|||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_uart.c \
|
|||
$(SDK_ROOT)/modules/nrfx/soc/nrfx_atomic.c \
|
|||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_clock.c \
|
|||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_gpiote.c \
|
|||
$(SDK_ROOT)/modules/nrfx/drivers/src/prs/nrfx_prs.c \
|
|||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_uart.c \
|
|||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_uarte.c \
|
|||
$(SDK_ROOT)/components/libraries/bsp/bsp.c \
|
|||
$(SDK_ROOT)/components/libraries/bsp/bsp_btn_ble.c \
|
|||
$(PROJ_DIR)/main.c \
|
|||
$(SDK_ROOT)/components/libraries/bootloader/dfu/nrf_dfu_svci.c \
|
|||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT.c \
|
|||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c \
|
|||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_printf.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/auth_status_tracker.c \
|
|||
$(SDK_ROOT)/components/ble/common/ble_advdata.c \
|
|||
$(SDK_ROOT)/components/ble/ble_advertising/ble_advertising.c \
|
|||
$(SDK_ROOT)/components/ble/common/ble_conn_params.c \
|
|||
$(SDK_ROOT)/components/ble/common/ble_conn_state.c \
|
|||
$(SDK_ROOT)/components/ble/common/ble_srv_common.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/gatt_cache_manager.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/gatts_cache_manager.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/id_manager.c \
|
|||
$(SDK_ROOT)/components/ble/nrf_ble_gatt/nrf_ble_gatt.c \
|
|||
$(SDK_ROOT)/components/ble/nrf_ble_qwr/nrf_ble_qwr.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/peer_data_storage.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/peer_database.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/peer_id.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/peer_manager.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/peer_manager_handler.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/pm_buffer.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/security_dispatcher.c \
|
|||
$(SDK_ROOT)/components/ble/peer_manager/security_manager.c \
|
|||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu/ble_dfu.c \
|
|||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu/ble_dfu_bonded.c \
|
|||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu/ble_dfu_unbonded.c \
|
|||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh.c \
|
|||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_ble.c \
|
|||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_soc.c \
|
|||
|
|||
# Include folders common to all targets
|
|||
INC_FOLDERS += \
|
|||
$(SDK_ROOT)/components \
|
|||
$(SDK_ROOT)/modules/nrfx/mdk \
|
|||
$(SDK_ROOT)/components/libraries/scheduler \
|
|||
$(SDK_ROOT)/modules/nrfx \
|
|||
$(SDK_ROOT)/components/libraries/pwr_mgmt \
|
|||
$(SDK_ROOT)/components/libraries/sortlist \
|
|||
$(SDK_ROOT)/components/libraries/strerror \
|
|||
$(SDK_ROOT)/components/softdevice/common \
|
|||
$(SDK_ROOT)/components/libraries/crc16 \
|
|||
$(SDK_ROOT)/components/libraries/bootloader/dfu \
|
|||
$(SDK_ROOT)/components/toolchain/cmsis/include \
|
|||
$(SDK_ROOT)/components/libraries/util \
|
|||
../config \
|
|||
$(SDK_ROOT)/components/ble/common \
|
|||
$(SDK_ROOT)/components/libraries/balloc \
|
|||
$(SDK_ROOT)/components/ble/peer_manager \
|
|||
$(SDK_ROOT)/components/libraries/ringbuf \
|
|||
$(SDK_ROOT)/modules/nrfx/hal \
|
|||
$(SDK_ROOT)/components/libraries/bsp \
|
|||
$(SDK_ROOT)/components/libraries/timer \
|
|||
$(SDK_ROOT)/external/segger_rtt \
|
|||
$(SDK_ROOT)/components/libraries/log \
|
|||
$(SDK_ROOT)/components/ble/nrf_ble_gatt \
|
|||
$(SDK_ROOT)/components/ble/nrf_ble_qwr \
|
|||
$(SDK_ROOT)/components/libraries/button \
|
|||
$(SDK_ROOT)/components/libraries/bootloader \
|
|||
$(SDK_ROOT)/components/libraries/fstorage \
|
|||
$(SDK_ROOT)/components/libraries/experimental_section_vars \
|
|||
$(SDK_ROOT)/components/softdevice/s140/headers \
|
|||
$(SDK_ROOT)/components/libraries/mutex \
|
|||
$(SDK_ROOT)/components/libraries/delay \
|
|||
$(SDK_ROOT)/components/libraries/bootloader/ble_dfu \
|
|||
$(SDK_ROOT)/components/libraries/atomic_fifo \
|
|||
$(SDK_ROOT)/components/libraries/atomic \
|
|||
$(SDK_ROOT)/components/boards \
|
|||
$(SDK_ROOT)/integration/nrfx/legacy \
|
|||
$(SDK_ROOT)/components/libraries/memobj \
|
|||
$(SDK_ROOT)/integration/nrfx \
|
|||
$(SDK_ROOT)/components/libraries/fds \
|
|||
$(SDK_ROOT)/components/ble/ble_advertising \
|
|||
$(SDK_ROOT)/components/libraries/atomic_flags \
|
|||
$(SDK_ROOT)/components/softdevice/s140/headers/nrf52 \
|
|||
$(SDK_ROOT)/modules/nrfx/drivers/include \
|
|||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu \
|
|||
$(SDK_ROOT)/external/fprintf \
|
|||
$(SDK_ROOT)/components/libraries/svc \
|
|||
$(SDK_ROOT)/components/libraries/log/src \
|
|||
|
|||
# Libraries common to all targets
|
|||
LIB_FILES += \
|
|||
|
|||
# Optimization flags
|
|||
OPT = -Os -g3 |
|||
# Uncomment the line below to enable link time optimization
|
|||
#OPT += -flto
|
|||
|
|||
# C flags common to all targets
|
|||
CFLAGS += $(OPT) |
|||
CFLAGS += -DAPP_TIMER_V2 |
|||
CFLAGS += -DAPP_TIMER_V2_RTC1_ENABLED |
|||
CFLAGS += -DBL_SETTINGS_ACCESS_ONLY |
|||
CFLAGS += -DBOARD_PCA10056 |
|||
CFLAGS += -DCONFIG_GPIO_AS_PINRESET |
|||
CFLAGS += -DFLOAT_ABI_HARD |
|||
CFLAGS += -DNRF52840_XXAA |
|||
CFLAGS += -DNRF_DFU_SVCI_ENABLED |
|||
CFLAGS += -DNRF_DFU_TRANSPORT_BLE=1 |
|||
CFLAGS += -DNRF_SD_BLE_API_VERSION=7 |
|||
CFLAGS += -DS140 |
|||
CFLAGS += -DSOFTDEVICE_PRESENT |
|||
CFLAGS += -mcpu=cortex-m4 |
|||
CFLAGS += -mthumb -mabi=aapcs |
|||
CFLAGS += -Wall -Werror |
|||
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 |
|||
# keep every function in a separate section, this allows linker to discard unused ones
|
|||
CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing |
|||
CFLAGS += -fno-builtin -fshort-enums |
|||
|
|||
# C++ flags common to all targets
|
|||
CXXFLAGS += $(OPT) |
|||
# Assembler flags common to all targets
|
|||
ASMFLAGS += -g3 |
|||
ASMFLAGS += -mcpu=cortex-m4 |
|||
ASMFLAGS += -mthumb -mabi=aapcs |
|||
ASMFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 |
|||
ASMFLAGS += -DAPP_TIMER_V2 |
|||
ASMFLAGS += -DAPP_TIMER_V2_RTC1_ENABLED |
|||
ASMFLAGS += -DBL_SETTINGS_ACCESS_ONLY |
|||
ASMFLAGS += -DBOARD_PCA10056 |
|||
ASMFLAGS += -DCONFIG_GPIO_AS_PINRESET |
|||
ASMFLAGS += -DFLOAT_ABI_HARD |
|||
ASMFLAGS += -DNRF52840_XXAA |
|||
ASMFLAGS += -DNRF_DFU_SVCI_ENABLED |
|||
ASMFLAGS += -DNRF_DFU_TRANSPORT_BLE=1 |
|||
ASMFLAGS += -DNRF_SD_BLE_API_VERSION=7 |
|||
ASMFLAGS += -DS140 |
|||
ASMFLAGS += -DSOFTDEVICE_PRESENT |
|||
|
|||
# Linker flags
|
|||
LDFLAGS += $(OPT) |
|||
LDFLAGS += -mthumb -mabi=aapcs -L$(SDK_ROOT)/modules/nrfx/mdk -T$(LINKER_SCRIPT) |
|||
LDFLAGS += -mcpu=cortex-m4 |
|||
LDFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 |
|||
# let linker dump unused sections
|
|||
LDFLAGS += -Wl,--gc-sections |
|||
# use newlib in nano version
|
|||
LDFLAGS += --specs=nano.specs |
|||
|
|||
nrf52840_xxaa: CFLAGS += -D__HEAP_SIZE=8192 |
|||
nrf52840_xxaa: CFLAGS += -D__STACK_SIZE=8192 |
|||
nrf52840_xxaa: ASMFLAGS += -D__HEAP_SIZE=8192 |
|||
nrf52840_xxaa: ASMFLAGS += -D__STACK_SIZE=8192 |
|||
|
|||
# Add standard libraries at the very end of the linker input, after all objects
|
|||
# that may need symbols provided by these libraries.
|
|||
LIB_FILES += -lc -lnosys -lm |
|||
|
|||
|
|||
.PHONY: default help |
|||
|
|||
# Default target - first one defined
|
|||
default: nrf52840_xxaa |
|||
|
|||
# Print all targets that can be built
|
|||
help: |
|||
@echo following targets are available: |
|||
@echo nrf52840_xxaa |
|||
@echo flash_softdevice |
|||
@echo sdk_config - starting external tool for editing sdk_config.h |
|||
@echo flash - flashing binary |
|||
|
|||
TEMPLATE_PATH := $(SDK_ROOT)/components/toolchain/gcc |
|||
|
|||
|
|||
include $(TEMPLATE_PATH)/Makefile.common |
|||
|
|||
$(foreach target, $(TARGETS), $(call define_target, $(target))) |
|||
|
|||
.PHONY: flash flash_softdevice erase |
|||
|
|||
# Flash the program
|
|||
flash: default |
|||
@echo Flashing: $(OUTPUT_DIRECTORY)/nrf52840_xxaa.hex |
|||
nrfjprog -f nrf52 --program $(OUTPUT_DIRECTORY)/nrf52840_xxaa.hex --sectorerase |
|||
nrfjprog -f nrf52 --reset |
|||
|
|||
# Flash softdevice
|
|||
flash_softdevice: |
|||
@echo Flashing: s140_nrf52_7.2.0_softdevice.hex |
|||
nrfjprog -f nrf52 --program $(SDK_ROOT)/components/softdevice/s140/hex/s140_nrf52_7.2.0_softdevice.hex --sectorerase |
|||
nrfjprog -f nrf52 --reset |
|||
|
|||
erase: |
|||
nrfjprog -f nrf52 --eraseall |
|||
|
|||
SDK_CONFIG_FILE := ../config/sdk_config.h |
|||
CMSIS_CONFIG_TOOL := $(SDK_ROOT)/external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar |
|||
sdk_config: |
|||
java -jar $(CMSIS_CONFIG_TOOL) $(SDK_CONFIG_FILE) |
@ -0,0 +1,114 @@ |
|||
/* Linker script to configure memory regions. */ |
|||
|
|||
SEARCH_DIR(.) |
|||
GROUP(-lgcc -lc -lnosys) |
|||
|
|||
MEMORY |
|||
{ |
|||
FLASH (rx) : ORIGIN = 0x27000, LENGTH = 0xc9000 |
|||
RAM (rwx) : ORIGIN = 0x20002270, LENGTH = 0x3dd90 |
|||
uicr_bootloader_start_address (r) : ORIGIN = 0x10001014, LENGTH = 0x4 |
|||
} |
|||
|
|||
SECTIONS |
|||
{ |
|||
. = ALIGN(4); |
|||
.uicr_bootloader_start_address : |
|||
{ |
|||
PROVIDE(__start_uicr_bootloader_start_address = .); |
|||
KEEP(*(SORT(.uicr_bootloader_start_address*))) |
|||
PROVIDE(__stop_uicr_bootloader_start_address = .); |
|||
} > uicr_bootloader_start_address |
|||
} |
|||
|
|||
SECTIONS |
|||
{ |
|||
. = ALIGN(4); |
|||
.mem_section_dummy_ram : |
|||
{ |
|||
} |
|||
.log_dynamic_data : |
|||
{ |
|||
PROVIDE(__start_log_dynamic_data = .); |
|||
KEEP(*(SORT(.log_dynamic_data*))) |
|||
PROVIDE(__stop_log_dynamic_data = .); |
|||
} > RAM |
|||
.log_filter_data : |
|||
{ |
|||
PROVIDE(__start_log_filter_data = .); |
|||
KEEP(*(SORT(.log_filter_data*))) |
|||
PROVIDE(__stop_log_filter_data = .); |
|||
} > RAM |
|||
.fs_data : |
|||
{ |
|||
PROVIDE(__start_fs_data = .); |
|||
KEEP(*(.fs_data)) |
|||
PROVIDE(__stop_fs_data = .); |
|||
} > RAM |
|||
|
|||
} INSERT AFTER .data; |
|||
|
|||
SECTIONS |
|||
{ |
|||
.mem_section_dummy_rom : |
|||
{ |
|||
} |
|||
.sdh_ble_observers : |
|||
{ |
|||
PROVIDE(__start_sdh_ble_observers = .); |
|||
KEEP(*(SORT(.sdh_ble_observers*))) |
|||
PROVIDE(__stop_sdh_ble_observers = .); |
|||
} > FLASH |
|||
.sdh_soc_observers : |
|||
{ |
|||
PROVIDE(__start_sdh_soc_observers = .); |
|||
KEEP(*(SORT(.sdh_soc_observers*))) |
|||
PROVIDE(__stop_sdh_soc_observers = .); |
|||
} > FLASH |
|||
.pwr_mgmt_data : |
|||
{ |
|||
PROVIDE(__start_pwr_mgmt_data = .); |
|||
KEEP(*(SORT(.pwr_mgmt_data*))) |
|||
PROVIDE(__stop_pwr_mgmt_data = .); |
|||
} > FLASH |
|||
.log_const_data : |
|||
{ |
|||
PROVIDE(__start_log_const_data = .); |
|||
KEEP(*(SORT(.log_const_data*))) |
|||
PROVIDE(__stop_log_const_data = .); |
|||
} > FLASH |
|||
.sdh_req_observers : |
|||
{ |
|||
PROVIDE(__start_sdh_req_observers = .); |
|||
KEEP(*(SORT(.sdh_req_observers*))) |
|||
PROVIDE(__stop_sdh_req_observers = .); |
|||
} > FLASH |
|||
.sdh_state_observers : |
|||
{ |
|||
PROVIDE(__start_sdh_state_observers = .); |
|||
KEEP(*(SORT(.sdh_state_observers*))) |
|||
PROVIDE(__stop_sdh_state_observers = .); |
|||
} > FLASH |
|||
.sdh_stack_observers : |
|||
{ |
|||
PROVIDE(__start_sdh_stack_observers = .); |
|||
KEEP(*(SORT(.sdh_stack_observers*))) |
|||
PROVIDE(__stop_sdh_stack_observers = .); |
|||
} > FLASH |
|||
.log_backends : |
|||
{ |
|||
PROVIDE(__start_log_backends = .); |
|||
KEEP(*(SORT(.log_backends*))) |
|||
PROVIDE(__stop_log_backends = .); |
|||
} > FLASH |
|||
.nrf_balloc : |
|||
{ |
|||
PROVIDE(__start_nrf_balloc = .); |
|||
KEEP(*(.nrf_balloc)) |
|||
PROVIDE(__stop_nrf_balloc = .); |
|||
} > FLASH |
|||
|
|||
} INSERT AFTER .text |
|||
|
|||
|
|||
INCLUDE "nrf_common.ld" |
5275
examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/config/sdk_config.h
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,43 @@ |
|||
/*###ICF### Section handled by ICF editor, don't touch! ****/ |
|||
/*-Editor annotation file-*/ |
|||
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
|||
/*-Specials-*/ |
|||
define symbol __ICFEDIT_intvec_start__ = 0x27000; |
|||
/*-Memory Regions-*/ |
|||
define symbol __ICFEDIT_region_ROM_start__ = 0x27000; |
|||
define symbol __ICFEDIT_region_ROM_end__ = 0xeffff; |
|||
define symbol __ICFEDIT_region_RAM_start__ = 0x20002270; |
|||
define symbol __ICFEDIT_region_RAM_end__ = 0x2003ffff; |
|||
export symbol __ICFEDIT_region_RAM_start__; |
|||
export symbol __ICFEDIT_region_RAM_end__; |
|||
/*-Sizes-*/ |
|||
define symbol __ICFEDIT_size_cstack__ = 8192; |
|||
define symbol __ICFEDIT_size_heap__ = 8192; |
|||
/**** End of ICF editor section. ###ICF###*/ |
|||
|
|||
define memory mem with size = 4G; |
|||
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
|||
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
|||
|
|||
define symbol __region_uicr_bootloader_start_address_start = 0x10001014; |
|||
define symbol __region_uicr_bootloader_start_address_length = 0x4; |
|||
define symbol __start_uicr_bootloader_start_address = __region_uicr_bootloader_start_address_start; |
|||
define symbol __stop_uicr_bootloader_start_address = __region_uicr_bootloader_start_address_start + __region_uicr_bootloader_start_address_length; |
|||
export symbol __start_uicr_bootloader_start_address; |
|||
export symbol __stop_uicr_bootloader_start_address; |
|||
|
|||
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
|||
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
|||
define block RO_END with alignment = 8, size = 0 { }; |
|||
|
|||
initialize by copy { readwrite }; |
|||
do not initialize { section .noinit }; |
|||
|
|||
keep { section .intvec }; |
|||
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
|||
place in ROM_region { readonly, |
|||
block RO_END }; |
|||
place in RAM_region { readwrite, |
|||
block CSTACK, |
|||
block HEAP }; |
|||
|
1350
examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/iar/ble_app_buttonless_dfu_pca10056_s140.ewd
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
1150
examples/ble_peripheral/ble_app_buttonless_dfu/pca10100/s140/iar/ble_app_buttonless_dfu_pca10056_s140.ewp
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,147 @@ |
|||
<!DOCTYPE CrossStudio_Project_File> |
|||
<solution Name="ble_app_buttonless_dfu_pca10056_s140" target="8" version="2"> |
|||
<project Name="ble_app_buttonless_dfu_pca10056_s140"> |
|||
<configuration |
|||
Name="Common" |
|||
arm_architecture="v7EM" |
|||
arm_core_type="Cortex-M4" |
|||
arm_endian="Little" |
|||
arm_fp_abi="Hard" |
|||
arm_fpu_type="FPv4-SP-D16" |
|||
arm_linker_heap_size="8192" |
|||
arm_linker_process_stack_size="0" |
|||
arm_linker_stack_size="8192" |
|||
arm_linker_treat_warnings_as_errors="No" |
|||
arm_simulator_memory_simulation_parameter="RWX 00000000,00100000,FFFFFFFF;RWX 20000000,00010000,CDCDCDCD" |
|||
arm_target_device_name="nRF52840_xxAA" |
|||
arm_target_interface_type="SWD" |
|||
c_user_include_directories="../../../config;../../../../../../components;../../../../../../components/ble/ble_advertising;../../../../../../components/ble/ble_services/ble_dfu;../../../../../../components/ble/common;../../../../../../components/ble/nrf_ble_gatt;../../../../../../components/ble/nrf_ble_qwr;../../../../../../components/ble/peer_manager;../../../../../../components/boards;../../../../../../components/libraries/atomic;../../../../../../components/libraries/atomic_fifo;../../../../../../components/libraries/atomic_flags;../../../../../../components/libraries/balloc;../../../../../../components/libraries/bootloader;../../../../../../components/libraries/bootloader/ble_dfu;../../../../../../components/libraries/bootloader/dfu;../../../../../../components/libraries/bsp;../../../../../../components/libraries/button;../../../../../../components/libraries/crc16;../../../../../../components/libraries/delay;../../../../../../components/libraries/experimental_section_vars;../../../../../../components/libraries/fds;../../../../../../components/libraries/fstorage;../../../../../../components/libraries/log;../../../../../../components/libraries/log/src;../../../../../../components/libraries/memobj;../../../../../../components/libraries/mutex;../../../../../../components/libraries/pwr_mgmt;../../../../../../components/libraries/ringbuf;../../../../../../components/libraries/scheduler;../../../../../../components/libraries/sortlist;../../../../../../components/libraries/strerror;../../../../../../components/libraries/svc;../../../../../../components/libraries/timer;../../../../../../components/libraries/util;../../../../../../components/softdevice/common;../../../../../../components/softdevice/s140/headers;../../../../../../components/softdevice/s140/headers/nrf52;../../../../../../components/toolchain/cmsis/include;../../../../../../external/fprintf;../../../../../../external/segger_rtt;../../../../../../integration/nrfx;../../../../../../integration/nrfx/legacy;../../../../../../modules/nrfx;../../../../../../modules/nrfx/drivers/include;../../../../../../modules/nrfx/hal;../../../../../../modules/nrfx/mdk;../config;" |
|||
c_preprocessor_definitions="APP_TIMER_V2;APP_TIMER_V2_RTC1_ENABLED;BL_SETTINGS_ACCESS_ONLY;BOARD_PCA10056;CONFIG_GPIO_AS_PINRESET;FLOAT_ABI_HARD;INITIALIZE_USER_SECTIONS;NO_VTOR_CONFIG;NRF52840_XXAA;NRF_DFU_SVCI_ENABLED;NRF_DFU_TRANSPORT_BLE=1;NRF_SD_BLE_API_VERSION=7;S140;SOFTDEVICE_PRESENT;" |
|||
debug_target_connection="J-Link" |
|||
gcc_entry_point="Reset_Handler" |
|||
macros="CMSIS_CONFIG_TOOL=../../../../../../external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar" |
|||
debug_register_definition_file="../../../../../../modules/nrfx/mdk/nrf52840.svd" |
|||
debug_additional_load_file="../../../../../../components/softdevice/s140/hex/s140_nrf52_7.2.0_softdevice.hex" |
|||
debug_start_from_entry_point_symbol="No" |
|||
gcc_debugging_level="Level 3" linker_output_format="hex" |
|||
linker_printf_width_precision_supported="Yes" |
|||
linker_printf_fmt_level="long" |
|||
linker_scanf_fmt_level="long" |
|||
linker_section_placement_file="flash_placement.xml" |
|||
linker_section_placement_macros="FLASH_PH_START=0x0;FLASH_PH_SIZE=0x100000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x40000;FLASH_START=0x27000;FLASH_SIZE=0xc9000;RAM_START=0x20002270;RAM_SIZE=0x3dd90" |
|||
|
|||
linker_section_placements_segments="FLASH1 RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000;uicr_bootloader_start_address RX 0x10001014 0x4" |
|||
project_directory="" |
|||
project_type="Executable" /> |
|||
<folder Name="Segger Startup Files"> |
|||
<file file_name="$(StudioDir)/source/thumb_crt0.s" /> |
|||
</folder> |
|||
<folder Name="nRF_Log"> |
|||
<file file_name="../../../../../../components/libraries/log/src/nrf_log_backend_rtt.c" /> |
|||
<file file_name="../../../../../../components/libraries/log/src/nrf_log_backend_serial.c" /> |
|||
<file file_name="../../../../../../components/libraries/log/src/nrf_log_backend_uart.c" /> |
|||
<file file_name="../../../../../../components/libraries/log/src/nrf_log_default_backends.c" /> |
|||
<file file_name="../../../../../../components/libraries/log/src/nrf_log_frontend.c" /> |
|||
<file file_name="../../../../../../components/libraries/log/src/nrf_log_str_formatter.c" /> |
|||
</folder> |
|||
<folder Name="Board Definition"> |
|||
<file file_name="../../../../../../components/boards/boards.c" /> |
|||
</folder> |
|||
<folder Name="None"> |
|||
<file file_name="../../../../../../modules/nrfx/mdk/ses_startup_nrf52840.s" /> |
|||
<file file_name="../../../../../../modules/nrfx/mdk/ses_startup_nrf_common.s" /> |
|||
<file file_name="../../../../../../modules/nrfx/mdk/system_nrf52840.c" /> |
|||
</folder> |
|||
<folder Name="nRF_Libraries"> |
|||
<file file_name="../../../../../../components/libraries/button/app_button.c" /> |
|||
<file file_name="../../../../../../components/libraries/util/app_error.c" /> |
|||
<file file_name="../../../../../../components/libraries/util/app_error_handler_gcc.c" /> |
|||
<file file_name="../../../../../../components/libraries/util/app_error_weak.c" /> |
|||
<file file_name="../../../../../../components/libraries/scheduler/app_scheduler.c" /> |
|||
<file file_name="../../../../../../components/libraries/timer/app_timer2.c" /> |
|||
<file file_name="../../../../../../components/libraries/util/app_util_platform.c" /> |
|||
<file file_name="../../../../../../components/libraries/crc16/crc16.c" /> |
|||
<file file_name="../../../../../../components/libraries/timer/drv_rtc.c" /> |
|||
<file file_name="../../../../../../components/libraries/fds/fds.c" /> |
|||
<file file_name="../../../../../../components/libraries/util/nrf_assert.c" /> |
|||
<file file_name="../../../../../../components/libraries/atomic_fifo/nrf_atfifo.c" /> |
|||
<file file_name="../../../../../../components/libraries/atomic_flags/nrf_atflags.c" /> |
|||
<file file_name="../../../../../../components/libraries/atomic/nrf_atomic.c" /> |
|||
<file file_name="../../../../../../components/libraries/balloc/nrf_balloc.c" /> |
|||
<file file_name="../../../../../../external/fprintf/nrf_fprintf.c" /> |
|||
<file file_name="../../../../../../external/fprintf/nrf_fprintf_format.c" /> |
|||
<file file_name="../../../../../../components/libraries/fstorage/nrf_fstorage.c" /> |
|||
<file file_name="../../../../../../components/libraries/fstorage/nrf_fstorage_sd.c" /> |
|||
<file file_name="../../../../../../components/libraries/memobj/nrf_memobj.c" /> |
|||
<file file_name="../../../../../../components/libraries/pwr_mgmt/nrf_pwr_mgmt.c" /> |
|||
<file file_name="../../../../../../components/libraries/ringbuf/nrf_ringbuf.c" /> |
|||
<file file_name="../../../../../../components/libraries/experimental_section_vars/nrf_section_iter.c" /> |
|||
<file file_name="../../../../../../components/libraries/sortlist/nrf_sortlist.c" /> |
|||
<file file_name="../../../../../../components/libraries/strerror/nrf_strerror.c" /> |
|||
</folder> |
|||
<folder Name="nRF_Drivers"> |
|||
<file file_name="../../../../../../integration/nrfx/legacy/nrf_drv_clock.c" /> |
|||
<file file_name="../../../../../../integration/nrfx/legacy/nrf_drv_uart.c" /> |
|||
<file file_name="../../../../../../modules/nrfx/soc/nrfx_atomic.c" /> |
|||
<file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_clock.c" /> |
|||
<file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_gpiote.c" /> |
|||
<file file_name="../../../../../../modules/nrfx/drivers/src/prs/nrfx_prs.c" /> |
|||
<file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_uart.c" /> |
|||
<file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_uarte.c" /> |
|||
</folder> |
|||
<folder Name="Board Support"> |
|||
<file file_name="../../../../../../components/libraries/bsp/bsp.c" /> |
|||
<file file_name="../../../../../../components/libraries/bsp/bsp_btn_ble.c" /> |
|||
</folder> |
|||
<folder Name="Application"> |
|||
<file file_name="../../../main.c" /> |
|||
<file file_name="../config/sdk_config.h" /> |
|||
</folder> |
|||
<folder Name="nRF_SVC"> |
|||
<file file_name="../../../../../../components/libraries/bootloader/dfu/nrf_dfu_svci.c" /> |
|||
</folder> |
|||
<folder Name="nRF_Segger_RTT"> |
|||
<file file_name="../../../../../../external/segger_rtt/SEGGER_RTT.c" /> |
|||
<file file_name="../../../../../../external/segger_rtt/SEGGER_RTT_Syscalls_SES.c" /> |
|||
<file file_name="../../../../../../external/segger_rtt/SEGGER_RTT_printf.c" /> |
|||
</folder> |
|||
<folder Name="nRF_BLE"> |
|||
<file file_name="../../../../../../components/ble/peer_manager/auth_status_tracker.c" /> |
|||
<file file_name="../../../../../../components/ble/common/ble_advdata.c" /> |
|||
<file file_name="../../../../../../components/ble/ble_advertising/ble_advertising.c" /> |
|||
<file file_name="../../../../../../components/ble/common/ble_conn_params.c" /> |
|||
<file file_name="../../../../../../components/ble/common/ble_conn_state.c" /> |
|||
<file file_name="../../../../../../components/ble/common/ble_srv_common.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/gatt_cache_manager.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/gatts_cache_manager.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/id_manager.c" /> |
|||
<file file_name="../../../../../../components/ble/nrf_ble_gatt/nrf_ble_gatt.c" /> |
|||
<file file_name="../../../../../../components/ble/nrf_ble_qwr/nrf_ble_qwr.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/peer_data_storage.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/peer_database.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/peer_id.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/peer_manager.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/peer_manager_handler.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/pm_buffer.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/security_dispatcher.c" /> |
|||
<file file_name="../../../../../../components/ble/peer_manager/security_manager.c" /> |
|||
</folder> |
|||
<folder Name="nRF_DFU"> |
|||
<file file_name="../../../../../../components/ble/ble_services/ble_dfu/ble_dfu.c" /> |
|||
<file file_name="../../../../../../components/ble/ble_services/ble_dfu/ble_dfu_bonded.c" /> |
|||
<file file_name="../../../../../../components/ble/ble_services/ble_dfu/ble_dfu_unbonded.c" /> |
|||
</folder> |
|||
<folder Name="nRF_SoftDevice"> |
|||
<file file_name="../../../../../../components/softdevice/common/nrf_sdh.c" /> |
|||
<file file_name="../../../../../../components/softdevice/common/nrf_sdh_ble.c" /> |
|||
<file file_name="../../../../../../components/softdevice/common/nrf_sdh_soc.c" /> |
|||
</folder> |
|||
</project> |
|||
<configuration Name="Release" |
|||
c_preprocessor_definitions="NDEBUG" |
|||
link_time_optimization="No" gcc_optimization_level="Optimize For Size" /> |
|||
<configuration Name="Debug" |
|||
c_preprocessor_definitions="DEBUG; DEBUG_NRF" |
|||
gcc_optimization_level="None"/> |
|||
|
|||
</solution> |
@ -0,0 +1,7 @@ |
|||
<!DOCTYPE CrossStudio_Session_File> |
|||
<session> |
|||
<ARMCrossStudioWindow activeProject="ble_app_buttonless_dfu_pca10056_s140" buildConfiguration="Release"/> |
|||
<Files> |
|||
<SessionOpenFile codecName="Default" debugPath="../../../main.c" left="0" name="unnamed" path="../../../main.c" selected="1" top="0" useBinaryEdit="0" useTextEdit="1" x="0" y="0"/> |
|||
</Files> |
|||
</session> |
@ -0,0 +1,51 @@ |
|||
<!DOCTYPE Linker_Placement_File> |
|||
<Root name="Flash Section Placement"> |
|||
<MemorySegment name="FLASH1" start="$(FLASH_PH_START)" size="$(FLASH_PH_SIZE)"> |
|||
<ProgramSection load="no" name=".reserved_flash" start="$(FLASH_PH_START)" size="$(FLASH_START)-$(FLASH_PH_START)" /> |
|||
<ProgramSection alignment="0x100" load="Yes" name=".vectors" start="$(FLASH_START)" /> |
|||
<ProgramSection alignment="4" load="Yes" name=".init" /> |
|||
<ProgramSection alignment="4" load="Yes" name=".init_rodata" /> |
|||
<ProgramSection alignment="4" load="Yes" name=".text" size="0x4" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".sdh_ble_observers" inputsections="*(SORT(.sdh_ble_observers*))" address_symbol="__start_sdh_ble_observers" end_symbol="__stop_sdh_ble_observers" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".sdh_soc_observers" inputsections="*(SORT(.sdh_soc_observers*))" address_symbol="__start_sdh_soc_observers" end_symbol="__stop_sdh_soc_observers" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".pwr_mgmt_data" inputsections="*(SORT(.pwr_mgmt_data*))" address_symbol="__start_pwr_mgmt_data" end_symbol="__stop_pwr_mgmt_data" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".log_const_data" inputsections="*(SORT(.log_const_data*))" address_symbol="__start_log_const_data" end_symbol="__stop_log_const_data" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".sdh_req_observers" inputsections="*(SORT(.sdh_req_observers*))" address_symbol="__start_sdh_req_observers" end_symbol="__stop_sdh_req_observers" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".sdh_state_observers" inputsections="*(SORT(.sdh_state_observers*))" address_symbol="__start_sdh_state_observers" end_symbol="__stop_sdh_state_observers" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".sdh_stack_observers" inputsections="*(SORT(.sdh_stack_observers*))" address_symbol="__start_sdh_stack_observers" end_symbol="__stop_sdh_stack_observers" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".log_backends" inputsections="*(SORT(.log_backends*))" address_symbol="__start_log_backends" end_symbol="__stop_log_backends" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".nrf_balloc" inputsections="*(.nrf_balloc*)" address_symbol="__start_nrf_balloc" end_symbol="__stop_nrf_balloc" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="No" name=".nrf_sections" address_symbol="__start_nrf_sections" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".log_dynamic_data" inputsections="*(SORT(.log_dynamic_data*))" runin=".log_dynamic_data_run"/> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".log_filter_data" inputsections="*(SORT(.log_filter_data*))" runin=".log_filter_data_run"/> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".fs_data" inputsections="*(.fs_data*)" runin=".fs_data_run"/> |
|||
<ProgramSection alignment="4" load="Yes" name=".dtors" /> |
|||
<ProgramSection alignment="4" load="Yes" name=".ctors" /> |
|||
<ProgramSection alignment="4" load="Yes" name=".rodata" size="0x4" /> |
|||
<ProgramSection alignment="4" load="Yes" name=".ARM.exidx" address_symbol="__exidx_start" end_symbol="__exidx_end" /> |
|||
<ProgramSection alignment="4" load="Yes" runin=".fast_run" name=".fast" /> |
|||
<ProgramSection alignment="4" load="Yes" runin=".data_run" name=".data" /> |
|||
<ProgramSection alignment="4" load="Yes" runin=".tdata_run" name=".tdata" /> |
|||
</MemorySegment> |
|||
<MemorySegment name="RAM1" start="$(RAM_PH_START)" size="$(RAM_PH_SIZE)"> |
|||
<ProgramSection load="no" name=".reserved_ram" start="$(RAM_PH_START)" size="$(RAM_START)-$(RAM_PH_START)" /> |
|||
<ProgramSection alignment="0x100" load="No" name=".vectors_ram" start="$(RAM_START)" address_symbol="__app_ram_start__"/> |
|||
<ProgramSection alignment="4" keep="Yes" load="No" name=".nrf_sections_run" address_symbol="__start_nrf_sections_run" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="No" name=".log_dynamic_data_run" address_symbol="__start_log_dynamic_data" end_symbol="__stop_log_dynamic_data" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="No" name=".log_filter_data_run" address_symbol="__start_log_filter_data" end_symbol="__stop_log_filter_data" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="No" name=".fs_data_run" address_symbol="__start_fs_data" end_symbol="__stop_fs_data" /> |
|||
<ProgramSection alignment="4" keep="Yes" load="No" name=".nrf_sections_run_end" address_symbol="__end_nrf_sections_run" /> |
|||
<ProgramSection alignment="4" load="No" name=".fast_run" /> |
|||
<ProgramSection alignment="4" load="No" name=".data_run" /> |
|||
<ProgramSection alignment="4" load="No" name=".tdata_run" /> |
|||
<ProgramSection alignment="4" load="No" name=".bss" /> |
|||
<ProgramSection alignment="4" load="No" name=".tbss" /> |
|||
<ProgramSection alignment="4" load="No" name=".non_init" /> |
|||
<ProgramSection alignment="4" size="__HEAPSIZE__" load="No" name=".heap" /> |
|||
<ProgramSection alignment="8" size="__STACKSIZE__" load="No" place_from_segment_end="Yes" name=".stack" address_symbol="__StackLimit" end_symbol="__StackTop"/> |
|||
<ProgramSection alignment="8" size="__STACKSIZE_PROCESS__" load="No" name=".stack_process" /> |
|||
</MemorySegment> |
|||
<MemorySegment name="uicr_bootloader_start_address" start="0x10001014" size="0x4"> |
|||
<ProgramSection alignment="4" keep="Yes" load="Yes" name=".uicr_bootloader_start_address" address_symbol="__start_uicr_bootloader_start_address" end_symbol="__stop_uicr_bootloader_start_address" start = "0x10001014" size="0x4" /> |
|||
</MemorySegment> |
|||
</Root> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue