This commit is contained in:
chain40
2023-09-25 23:07:56 +08:00
parent f265f053a5
commit 2ddba93842
20 changed files with 8735 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
# Node artifact files
node_modules/
dist/
# Compiled Java class files
*.class
# Compiled Python bytecode
*.py[cod]
# Log files
*.log
# Package files
*.jar
# Maven
target/
# JetBrains IDE
.idea/
# Unit test reports
TEST*.xml
# Generated by MacOS
.DS_Store
# Generated by Windows
Thumbs.db
# Applications
*.app
*.exe
*.war
# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv
/VisualGDB/
/.visualgdb/
/.vs/
+120
View File
@@ -0,0 +1,120 @@
#pragma once
#ifndef __APP_CONFIG_H__
#define __APP_CONFIG_H__
#define COUNTOF(x) (sizeof(x)/sizeof(x[0]))
// LOG
#define NRF_LOG_DEFAULT_LEVEL 4
#define NRF_LOG_BACKEND_RTT_ENABLED 1
#define NRF_LOG_BACKEND_UART_ENABLED 0
#define NRF_LOG_DEFERRED 0
#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0
// SEGGER-RTT
#define SEGGER_RTT_SECTION ".segger_rtt"
#define SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 1
#define SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS 1
#define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 4000
#define SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN 16
#define NRF_SDH_CLOCK_LF_SRC 0
#define NRF_SDH_CLOCK_LF_RC_CTIV 12
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#define NRF_SDH_CLOCK_LF_ACCURACY 1
// DFU
#define NRF_BL_DFU_ENTER_METHOD_BUTTON 0
#define NRF_BL_DFU_ENTER_METHOD_BUTTONLESS 1
#define NRF_BL_DFU_ALLOW_UPDATE_FROM_APP 1
#define NRF_DFU_SETTINGS_COMPATIBILITY_MODE 0
#define NRF_DFU_APP_DOWNGRADE_PREVENTION 0
#define NRF_DFU_APP_DATA_AREA_SIZE (CODE_PAGE_SIZE*4)
// DFU over BLE
#define NRF_DFU_TRANSPORT_BLE 1
// DFU over USBD
#define SLIP_ENABLED 1
#define NRF_DFU_SERIAL_USB_RX_BUFFERS 3
// USBD
#define NRFX_USBD_ENABLED 1
#define NRFX_USBD_CONFIG_IRQ_PRIORITY 6
#define NRFX_USBD_CONFIG_DMASCHEDULER_MODE 0
#define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
#define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
#define NRFX_USBD_USE_WORKAROUND_FOR_ANOMALY_211 0
#define USBD_ENABLED 1
#define USBD_CONFIG_IRQ_PRIORITY 6
#define USBD_CONFIG_DMASCHEDULER_MODE 0
#define USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
#define USBD_CONFIG_ISO_IN_ZLP 0
// USBD CDC
#define APP_USBD_CDC_ACM_ENABLED 1
#define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
#define APP_USBD_ENABLED 1
#define APP_USBD_VID 0x1915
#define APP_USBD_PID 0x521F
#define APP_USBD_DEVICE_VER_MAJOR 1
#define APP_USBD_DEVICE_VER_MINOR 0
#define APP_USBD_DEVICE_VER_SUB 0
#define APP_USBD_CONFIG_SELF_POWERED 1
#define APP_USBD_CONFIG_MAX_POWER 100
#define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 1
#define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 0
#define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32
#define APP_USBD_CONFIG_SOF_HANDLING_MODE 1
#define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 0
#define APP_USBD_CONFIG_DESC_STRING_SIZE 31
#define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 0
#define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
#define APP_USBD_STRING_ID_MANUFACTURER 1
#define APP_USBD_STRINGS_MANUFACTURER_EXTERN 0
#define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
#define APP_USBD_STRING_ID_PRODUCT 2
#define APP_USBD_STRINGS_PRODUCT_EXTERN 0
#define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("Secure DFU Bootloader")
#define APP_USBD_STRING_ID_SERIAL 3
#define APP_USBD_STRING_SERIAL_EXTERN 1
#define APP_USBD_STRING_SERIAL g_extern_serial_number
#define APP_USBD_STRING_ID_CONFIGURATION 4
#define APP_USBD_STRING_CONFIGURATION_EXTERN 0
#define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
#define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
// Power & Clock
#define NRFX_POWER_ENABLED 1
#define NRFX_POWER_CONFIG_IRQ_PRIORITY 6
#define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0
#define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0
#define POWER_ENABLED 1
#define POWER_CONFIG_IRQ_PRIORITY 6
#define POWER_CONFIG_DEFAULT_DCDCEN 0
#define POWER_CONFIG_DEFAULT_DCDCENHV 0
#define NRFX_CLOCK_CONFIG_LF_SRC 0
#define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
#define NRF_CLOCK_ENABLED 1
#define CLOCK_CONFIG_IRQ_PRIORITY 6
#define LED_SOFTBLINK_ENABLED 1
#define NRF_SORTLIST_ENABLED 1
#define LOW_POWER_PWM_ENABLED 1
#define APP_TIMER_V2_RTC1_ENABLED 1
#define APP_TIMER_WITH_PROFILER 0
#define APP_TIMER_CONFIG_USE_SCHEDULER 0
#define APP_TIMER_CONFIG_IRQ_PRIORITY 6
#define APP_TIMER_CONFIG_RTC_FREQUENCY 0
#define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10
#define APP_TIMER_SAFE_WINDOW_MS (30 * 1000)
#define APP_TIMER_KEEPS_RTC_ACTIVE 1
#define DFU_LED_CONFIG_TRANSPORT_ACTIVE_BREATH_MS 300
#define DFU_LED_CONFIG_TRANSPORT_INACTIVE_BREATH_MS 600
#define DFU_LED_CONFIG_PROGRESS_BLINK_MS 100
#endif // !__APP_CONFIG_H__
+199
View File
@@ -0,0 +1,199 @@
@echo off
REM Run this file to build the project outside of the IDE.
REM WARNING: if using a different machine, copy the .rsp files together with this script.
echo led_softblink.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/led_softblink/led_softblink.gcc.rsp" || exit 1
echo low_power_pwm.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/low_power_pwm/low_power_pwm.gcc.rsp" || exit 1
echo slip.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/slip/slip.gcc.rsp" || exit 1
echo nrf_sortlist.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/sortlist/nrf_sortlist.gcc.rsp" || exit 1
echo app_timer2.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/timer/app_timer2.gcc.rsp" || exit 1
echo drv_rtc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/timer/drv_rtc.gcc.rsp" || exit 1
echo nrf_drv_clock.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/integration/nrfx/legacy/nrf_drv_clock.gcc.rsp" || exit 1
echo nrf_drv_power.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/integration/nrfx/legacy/nrf_drv_power.gcc.rsp" || exit 1
echo nrf_dfu_serial.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/serial_dfu/nrf_dfu_serial.gcc.rsp" || exit 1
echo nrf_dfu_serial_usb.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/serial_dfu/nrf_dfu_serial_usb.gcc.rsp" || exit 1
echo app_usbd.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/usbd/app_usbd.gcc.rsp" || exit 1
echo app_usbd_core.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/usbd/app_usbd_core.gcc.rsp" || exit 1
echo app_usbd_serial_num.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/usbd/app_usbd_serial_num.gcc.rsp" || exit 1
echo app_usbd_string_desc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/usbd/app_usbd_string_desc.gcc.rsp" || exit 1
echo app_usbd_cdc_acm.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/usbd/class/cdc/acm/app_usbd_cdc_acm.gcc.rsp" || exit 1
echo nrfx_clock.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/modules/nrfx/drivers/src/nrfx_clock.gcc.rsp" || exit 1
echo nrfx_power.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/modules/nrfx/drivers/src/nrfx_power.gcc.rsp" || exit 1
echo nrfx_usbd.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/modules/nrfx/drivers/src/nrfx_usbd.gcc.rsp" || exit 1
echo dfu_public_key.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/dfu_public_key.gcc.rsp" || exit 1
echo main.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/main.gcc.rsp" || exit 1
echo nrf_log_backend_rtt.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/log/src/nrf_log_backend_rtt.gcc.rsp" || exit 1
echo nrf_log_backend_serial.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/log/src/nrf_log_backend_serial.gcc.rsp" || exit 1
echo nrf_log_default_backends.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/log/src/nrf_log_default_backends.gcc.rsp" || exit 1
echo nrf_log_frontend.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/log/src/nrf_log_frontend.gcc.rsp" || exit 1
echo nrf_log_str_formatter.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/log/src/nrf_log_str_formatter.gcc.rsp" || exit 1
echo app_error_weak.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/util/app_error_weak.gcc.rsp" || exit 1
echo app_scheduler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/scheduler/app_scheduler.gcc.rsp" || exit 1
echo app_util_platform.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/util/app_util_platform.gcc.rsp" || exit 1
echo crc32.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crc32/crc32.gcc.rsp" || exit 1
echo mem_manager.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/mem_manager/mem_manager.gcc.rsp" || exit 1
echo nrf_assert.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/util/nrf_assert.gcc.rsp" || exit 1
echo nrf_atfifo.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/atomic_fifo/nrf_atfifo.gcc.rsp" || exit 1
echo nrf_atomic.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/atomic/nrf_atomic.gcc.rsp" || exit 1
echo nrf_balloc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/balloc/nrf_balloc.gcc.rsp" || exit 1
echo nrf_fprintf.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/external/fprintf/nrf_fprintf.gcc.rsp" || exit 1
echo nrf_fprintf_format.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/external/fprintf/nrf_fprintf_format.gcc.rsp" || exit 1
echo nrf_fstorage.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/fstorage/nrf_fstorage.gcc.rsp" || exit 1
echo nrf_fstorage_nvmc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/fstorage/nrf_fstorage_nvmc.gcc.rsp" || exit 1
echo nrf_fstorage_sd.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/fstorage/nrf_fstorage_sd.gcc.rsp" || exit 1
echo nrf_memobj.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/memobj/nrf_memobj.gcc.rsp" || exit 1
echo nrf_queue.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/queue/nrf_queue.gcc.rsp" || exit 1
echo nrf_ringbuf.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/ringbuf/nrf_ringbuf.gcc.rsp" || exit 1
echo nrf_section_iter.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/experimental_section_vars/nrf_section_iter.gcc.rsp" || exit 1
echo nrf_strerror.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/strerror/nrf_strerror.gcc.rsp" || exit 1
echo cc310_bl_backend_ecc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_ecc.gcc.rsp" || exit 1
echo cc310_bl_backend_ecdsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_ecdsa.gcc.rsp" || exit 1
echo cc310_bl_backend_hash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_hash.gcc.rsp" || exit 1
echo cc310_bl_backend_init.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_init.gcc.rsp" || exit 1
echo cc310_bl_backend_shared.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_shared.gcc.rsp" || exit 1
echo boards.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/boards/boards.gcc.rsp" || exit 1
echo nrf_sdh.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/softdevice/common/nrf_sdh.gcc.rsp" || exit 1
echo nrf_sdh_ble.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/softdevice/common/nrf_sdh_ble.gcc.rsp" || exit 1
echo nrf_sdh_soc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/softdevice/common/nrf_sdh_soc.gcc.rsp" || exit 1
echo nrf_nvmc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/modules/nrfx/hal/nrf_nvmc.gcc.rsp" || exit 1
echo nrfx_atomic.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/modules/nrfx/soc/nrfx_atomic.gcc.rsp" || exit 1
echo nrf_crypto_ecc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/nrf_crypto_ecc.gcc.rsp" || exit 1
echo nrf_crypto_ecdsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/nrf_crypto_ecdsa.gcc.rsp" || exit 1
echo nrf_crypto_hash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/nrf_crypto_hash.gcc.rsp" || exit 1
echo nrf_crypto_init.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/nrf_crypto_init.gcc.rsp" || exit 1
echo nrf_crypto_shared.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/nrf_crypto_shared.gcc.rsp" || exit 1
echo nrf_dfu_svci.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_svci.gcc.rsp" || exit 1
echo nrf_dfu_svci_handler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_svci_handler.gcc.rsp" || exit 1
echo nrf_svc_handler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/svc/nrf_svc_handler.gcc.rsp" || exit 1
echo SEGGER_RTT.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/external/segger_rtt/SEGGER_RTT.gcc.rsp" || exit 1
echo nrf_bootloader.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/nrf_bootloader.gcc.rsp" || exit 1
echo nrf_bootloader_app_start.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/nrf_bootloader_app_start.gcc.rsp" || exit 1
echo nrf_bootloader_app_start_final.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/nrf_bootloader_app_start_final.gcc.rsp" || exit 1
echo nrf_bootloader_dfu_timers.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/nrf_bootloader_dfu_timers.gcc.rsp" || exit 1
echo nrf_bootloader_fw_activation.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/nrf_bootloader_fw_activation.gcc.rsp" || exit 1
echo nrf_bootloader_info.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/nrf_bootloader_info.gcc.rsp" || exit 1
echo nrf_bootloader_wdt.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/nrf_bootloader_wdt.gcc.rsp" || exit 1
echo pb_common.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/external/nano-pb/pb_common.gcc.rsp" || exit 1
echo pb_decode.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/external/nano-pb/pb_decode.gcc.rsp" || exit 1
echo dfu-cc.pb.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/dfu-cc.pb.gcc.rsp" || exit 1
echo nrf_dfu.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu.gcc.rsp" || exit 1
echo nrf_dfu_ble.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/ble_dfu/nrf_dfu_ble.gcc.rsp" || exit 1
echo nrf_dfu_flash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_flash.gcc.rsp" || exit 1
echo nrf_dfu_handling_error.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_handling_error.gcc.rsp" || exit 1
echo nrf_dfu_mbr.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_mbr.gcc.rsp" || exit 1
echo nrf_dfu_req_handler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_req_handler.gcc.rsp" || exit 1
echo nrf_dfu_settings.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_settings.gcc.rsp" || exit 1
echo nrf_dfu_settings_svci.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_settings_svci.gcc.rsp" || exit 1
echo nrf_dfu_transport.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_transport.gcc.rsp" || exit 1
echo nrf_dfu_utils.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_utils.gcc.rsp" || exit 1
echo nrf_dfu_validation.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_validation.gcc.rsp" || exit 1
echo nrf_dfu_ver_validation.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/bootloader/dfu/nrf_dfu_ver_validation.gcc.rsp" || exit 1
echo ble_srv_common.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/ble/common/ble_srv_common.gcc.rsp" || exit 1
echo oberon_backend_chacha_poly_aead.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/oberon/oberon_backend_chacha_poly_aead.gcc.rsp" || exit 1
echo oberon_backend_ecc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/oberon/oberon_backend_ecc.gcc.rsp" || exit 1
echo oberon_backend_ecdh.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/oberon/oberon_backend_ecdh.gcc.rsp" || exit 1
echo oberon_backend_ecdsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/oberon/oberon_backend_ecdsa.gcc.rsp" || exit 1
echo oberon_backend_eddsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/oberon/oberon_backend_eddsa.gcc.rsp" || exit 1
echo oberon_backend_hash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/oberon/oberon_backend_hash.gcc.rsp" || exit 1
echo oberon_backend_hmac.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/components/libraries/crypto/backend/oberon/oberon_backend_hmac.gcc.rsp" || exit 1
echo system_nrf52840.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/modules/nrfx/mdk/system_nrf52840.gcc.rsp" || exit 1
echo gcc_startup_nrf52840.S
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/sysgcc/arm-eabi/bin/arm-none-eabi-g++.exe" @"VisualGDB/Debug/_1_/bmd380_sdk/modules/nrfx/mdk/gcc_startup_nrf52840.gcc.rsp" || exit 1
echo Linking VisualGDB/Debug/bmd380_bootloader...
c:\sysgcc\arm-eabi\bin\arm-none-eabi-g++.exe @VisualGDB/Debug/bmd380_bootloader.link.rsp || exit 1
c:\sysgcc\arm-eabi\bin\arm-none-eabi-objcopy.exe @VisualGDB/Debug/bmd380_bootloader.mkbin.rsp || exit 1
c:\sysgcc\arm-eabi\bin\arm-none-eabi-objcopy.exe @VisualGDB/Debug/bmd380_bootloader.mkihex.rsp || exit 1
+156
View File
@@ -0,0 +1,156 @@
<?xml version="1.0"?>
<VisualGDBProjectSettings2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfigurationName>Debug</ConfigurationName>
<Project xsi:type="com.visualgdb.project.embedded">
<CustomSourceDirectories>
<Directories />
<PathStyle>MinGWUnixSlash</PathStyle>
<LocalDirForAbsolutePaths>$(ToolchainDir)</LocalDirForAbsolutePaths>
</CustomSourceDirectories>
<AutoProgramSPIFFSPartition>true</AutoProgramSPIFFSPartition>
<MainSourceDirectory>$(ProjectDir)</MainSourceDirectory>
<ExportAdvancedBuildVariables>false</ExportAdvancedBuildVariables>
<SkipImportedProjectChecks>false</SkipImportedProjectChecks>
<EmbeddedProfileFile>nrf5x.xml</EmbeddedProfileFile>
<MemoryListSource>LinkerScript</MemoryListSource>
<LinkerScriptIncludeSearchPath>
<string>X:\Github\ble_intelligent_bracelet\ble_intelligent_bracelet\bootloader</string>
</LinkerScriptIncludeSearchPath>
<TroubleshootGeneratedConfigurationFiles>false</TroubleshootGeneratedConfigurationFiles>
</Project>
<Build xsi:type="com.visualgdb.build.msbuild">
<BuildLogMode xsi:nil="true" />
<ToolchainID>
<Version>
<Revision>0</Revision>
</Version>
</ToolchainID>
<ProjectFile>neulive_boot.vcxproj</ProjectFile>
<RemoteBuildEnvironment>
<Records />
<EnvironmentSetupFiles />
</RemoteBuildEnvironment>
<ParallelJobCount>1</ParallelJobCount>
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
<BuildAsRoot>false</BuildAsRoot>
</Build>
<CustomBuild>
<PreSyncActions />
<PreBuildActions />
<PostBuildActions />
<PreCleanActions />
<PostCleanActions />
</CustomBuild>
<CustomDebug>
<PreDebugActions />
<PostDebugActions />
<DebugStopActions />
<BreakMode>Default</BreakMode>
</CustomDebug>
<CustomShortcuts>
<Shortcuts />
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
</CustomShortcuts>
<UserDefinedVariables />
<ImportedPropertySheets />
<CodeSense>
<Enabled>Unknown</Enabled>
<ExtraSettings>
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
<SupportLightweightReferenceAnalysis>true</SupportLightweightReferenceAnalysis>
<CheckForClangFormatFiles>true</CheckForClangFormatFiles>
<FormattingEngine xsi:nil="true" />
</ExtraSettings>
<CodeAnalyzerSettings>
<Enabled>false</Enabled>
</CodeAnalyzerSettings>
</CodeSense>
<Configurations />
<ProgramArgumentsSuggestions />
<Debug xsi:type="com.visualgdb.debug.embedded">
<AdditionalStartupCommands />
<AdditionalGDBSettings>
<Features>
<DisableAutoDetection>false</DisableAutoDetection>
<UseFrameParameter>false</UseFrameParameter>
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
<ListLocalsSupported>false</ListLocalsSupported>
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
<ThreadInfoSupported>false</ThreadInfoSupported>
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
<SupportTargetCommand>false</SupportTargetCommand>
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
</Features>
<EnableSmartStepping>false</EnableSmartStepping>
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
<UseAppleExtensions>false</UseAppleExtensions>
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
<MakeLogFile>false</MakeLogFile>
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
<UseRelativePathsOnly>false</UseRelativePathsOnly>
<ExitAction>None</ExitAction>
<DisableDisassembly>false</DisableDisassembly>
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
<DisableSignals>false</DisableSignals>
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
<AsyncModeSupportsBreakpoints>true</AsyncModeSupportsBreakpoints>
<TemporaryBreakConsolidationTimeout>0</TemporaryBreakConsolidationTimeout>
<EnableNonStopMode>false</EnableNonStopMode>
<MaxBreakpointLimit>0</MaxBreakpointLimit>
<EnableVerboseMode>true</EnableVerboseMode>
<EnablePrettyPrinters>false</EnablePrettyPrinters>
</AdditionalGDBSettings>
<DebugMethod>
<ID>jlink-jtag</ID>
<Configuration xsi:type="com.visualgdb.edp.segger.settings">
<CommandLine>-select USB -device $$SYS:MCU_ID$$ -speed auto -if SWD</CommandLine>
<ProgramMode>Enabled</ProgramMode>
<StartupCommands>
<string>target remote :$$SYS:GDB_PORT$$</string>
<string>mon reset</string>
<string>load</string>
<string>mon reset</string>
</StartupCommands>
<UseUnreliableLiveMemoryEngine>false</UseUnreliableLiveMemoryEngine>
<ProgramFLASHUsingExternalTool>false</ProgramFLASHUsingExternalTool>
<PreferredGDBPort>0</PreferredGDBPort>
</Configuration>
</DebugMethod>
<AutoDetectRTOS>true</AutoDetectRTOS>
<SemihostingSupport>Auto</SemihostingSupport>
<SemihostingPollingDelay>0</SemihostingPollingDelay>
<StepIntoEntryPoint>false</StepIntoEntryPoint>
<ReloadFirmwareOnReset>false</ReloadFirmwareOnReset>
<ValidateEndOfStackAddress>true</ValidateEndOfStackAddress>
<StopAtEntryPoint>false</StopAtEntryPoint>
<EnableVirtualHalts>false</EnableVirtualHalts>
<DynamicAnalysisSettings>
<StackVerifier>
<VerifyStackBounds>false</VerifyStackBounds>
<AutoStepOutOfHook>true</AutoStepOutOfHook>
<StackLimitControlledByUser>false</StackLimitControlledByUser>
<ExplicitSizeLimit>0</ExplicitSizeLimit>
<ExplicitStackBase>0</ExplicitStackBase>
<Mode>Auto</Mode>
</StackVerifier>
<RealTimeWatch>
<SupportRTOSAnalysis>false</SupportRTOSAnalysis>
<SupportFunctionInstrumentation>false</SupportFunctionInstrumentation>
<MeasureOverhead>true</MeasureOverhead>
</RealTimeWatch>
<InstrumentedFunctions>
<InstrumentNewFunctions>true</InstrumentNewFunctions>
<ExplicitEndOfFLASH>0</ExplicitEndOfFLASH>
<ExplicitEndOfRAM>0</ExplicitEndOfRAM>
</InstrumentedFunctions>
</DynamicAnalysisSettings>
<EndOfStackSymbol>_estack</EndOfStackSymbol>
<TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond>
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
<UnusedStackFillPattern xsi:nil="true" />
<CheckInterfaceDrivers>true</CheckInterfaceDrivers>
</Debug>
</VisualGDBProjectSettings2>
@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<VisualGDBUserPreferences xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserDefinedVariableValues />
<DebugPreferences xsi:type="com.visualgdb.debug.embedded.preferences">
<CatchpointConfiguration>
<Exec>false</Exec>
<Fork>false</Fork>
<Vfork>false</Vfork>
<Syscalls />
<CXXCatchpoints />
</CatchpointConfiguration>
<MaskInterruptsWhileStepping>false</MaskInterruptsWhileStepping>
<MemoryWindowPreferences />
<e />
<b>
<a>
<a>com.sysprogs.AllGlobals</a>
<b />
</a>
<a>
<a>com.sysprogs.SpecificVariables</a>
<b />
</a>
<a>
<a>com.sysprogs.Custom</a>
<b />
</a>
</b>
<c>
<b>SpecificVariables</b>
<a>false</a>
</c>
<Suggestions />
<HardwareRegisters />
</DebugPreferences>
</VisualGDBUserPreferences>
+197
View File
@@ -0,0 +1,197 @@
@echo off
REM Run this file to build the project outside of the IDE.
REM WARNING: if using a different machine, copy the .rsp files together with this script.
echo dfu_public_key.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/_1_/tools/dfu_public_key.gcc.rsp" || exit 1
echo nrf_dfu_serial.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/serial_dfu/nrf_dfu_serial.gcc.rsp" || exit 1
echo nrf_dfu_serial_usb.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/serial_dfu/nrf_dfu_serial_usb.gcc.rsp" || exit 1
echo slip.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/slip/slip.gcc.rsp" || exit 1
echo app_usbd.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/usbd/app_usbd.gcc.rsp" || exit 1
echo app_usbd_core.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/usbd/app_usbd_core.gcc.rsp" || exit 1
echo app_usbd_serial_num.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/usbd/app_usbd_serial_num.gcc.rsp" || exit 1
echo app_usbd_string_desc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/usbd/app_usbd_string_desc.gcc.rsp" || exit 1
echo app_usbd_cdc_acm.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/usbd/class/cdc/acm/app_usbd_cdc_acm.gcc.rsp" || exit 1
echo utf.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/utf_converter/utf.gcc.rsp" || exit 1
echo nrf_drv_clock.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/integration/nrfx/legacy/nrf_drv_clock.gcc.rsp" || exit 1
echo nrfx_clock.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/modules/nrfx/drivers/src/nrfx_clock.gcc.rsp" || exit 1
echo nrfx_power.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/modules/nrfx/drivers/src/nrfx_power.gcc.rsp" || exit 1
echo nrfx_usbd.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/modules/nrfx/drivers/src/nrfx_usbd.gcc.rsp" || exit 1
echo main.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/main.gcc.rsp" || exit 1
echo nrf_log_backend_rtt.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/log/src/nrf_log_backend_rtt.gcc.rsp" || exit 1
echo nrf_log_backend_serial.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/log/src/nrf_log_backend_serial.gcc.rsp" || exit 1
echo nrf_log_default_backends.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/log/src/nrf_log_default_backends.gcc.rsp" || exit 1
echo nrf_log_frontend.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/log/src/nrf_log_frontend.gcc.rsp" || exit 1
echo nrf_log_str_formatter.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/log/src/nrf_log_str_formatter.gcc.rsp" || exit 1
echo app_error_weak.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/util/app_error_weak.gcc.rsp" || exit 1
echo app_scheduler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/scheduler/app_scheduler.gcc.rsp" || exit 1
echo app_util_platform.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/util/app_util_platform.gcc.rsp" || exit 1
echo crc32.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crc32/crc32.gcc.rsp" || exit 1
echo mem_manager.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/mem_manager/mem_manager.gcc.rsp" || exit 1
echo nrf_assert.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/util/nrf_assert.gcc.rsp" || exit 1
echo nrf_atfifo.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/atomic_fifo/nrf_atfifo.gcc.rsp" || exit 1
echo nrf_atomic.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/atomic/nrf_atomic.gcc.rsp" || exit 1
echo nrf_balloc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/balloc/nrf_balloc.gcc.rsp" || exit 1
echo nrf_fprintf.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/fprintf/nrf_fprintf.gcc.rsp" || exit 1
echo nrf_fprintf_format.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/fprintf/nrf_fprintf_format.gcc.rsp" || exit 1
echo nrf_fstorage.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/fstorage/nrf_fstorage.gcc.rsp" || exit 1
echo nrf_fstorage_nvmc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/fstorage/nrf_fstorage_nvmc.gcc.rsp" || exit 1
echo nrf_fstorage_sd.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/fstorage/nrf_fstorage_sd.gcc.rsp" || exit 1
echo nrf_memobj.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/memobj/nrf_memobj.gcc.rsp" || exit 1
echo nrf_queue.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/queue/nrf_queue.gcc.rsp" || exit 1
echo nrf_ringbuf.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/ringbuf/nrf_ringbuf.gcc.rsp" || exit 1
echo nrf_section_iter.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/experimental_section_vars/nrf_section_iter.gcc.rsp" || exit 1
echo nrf_strerror.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/strerror/nrf_strerror.gcc.rsp" || exit 1
echo cc310_bl_backend_ecc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_ecc.gcc.rsp" || exit 1
echo cc310_bl_backend_ecdsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_ecdsa.gcc.rsp" || exit 1
echo cc310_bl_backend_hash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_hash.gcc.rsp" || exit 1
echo cc310_bl_backend_init.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_init.gcc.rsp" || exit 1
echo cc310_bl_backend_shared.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/cc310_bl/cc310_bl_backend_shared.gcc.rsp" || exit 1
echo boards.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/boards/boards.gcc.rsp" || exit 1
echo nrf_sdh.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/softdevice/common/nrf_sdh.gcc.rsp" || exit 1
echo nrf_sdh_ble.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/softdevice/common/nrf_sdh_ble.gcc.rsp" || exit 1
echo nrf_sdh_soc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/softdevice/common/nrf_sdh_soc.gcc.rsp" || exit 1
echo nrf_nvmc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/modules/nrfx/hal/nrf_nvmc.gcc.rsp" || exit 1
echo nrfx_atomic.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/modules/nrfx/soc/nrfx_atomic.gcc.rsp" || exit 1
echo nrf_crypto_ecc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/nrf_crypto_ecc.gcc.rsp" || exit 1
echo nrf_crypto_ecdsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/nrf_crypto_ecdsa.gcc.rsp" || exit 1
echo nrf_crypto_hash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/nrf_crypto_hash.gcc.rsp" || exit 1
echo nrf_crypto_init.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/nrf_crypto_init.gcc.rsp" || exit 1
echo nrf_crypto_shared.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/nrf_crypto_shared.gcc.rsp" || exit 1
echo nrf_dfu_svci.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_svci.gcc.rsp" || exit 1
echo nrf_dfu_svci_handler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_svci_handler.gcc.rsp" || exit 1
echo nrf_svc_handler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/svc/nrf_svc_handler.gcc.rsp" || exit 1
echo SEGGER_RTT.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/segger_rtt/SEGGER_RTT.gcc.rsp" || exit 1
echo SEGGER_RTT_Syscalls_GCC.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/segger_rtt/SEGGER_RTT_Syscalls_GCC.gcc.rsp" || exit 1
echo SEGGER_RTT_printf.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/segger_rtt/SEGGER_RTT_printf.gcc.rsp" || exit 1
echo nrf_bootloader.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/nrf_bootloader.gcc.rsp" || exit 1
echo nrf_bootloader_app_start.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/nrf_bootloader_app_start.gcc.rsp" || exit 1
echo nrf_bootloader_app_start_final.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/nrf_bootloader_app_start_final.gcc.rsp" || exit 1
echo nrf_bootloader_dfu_timers.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/nrf_bootloader_dfu_timers.gcc.rsp" || exit 1
echo nrf_bootloader_fw_activation.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/nrf_bootloader_fw_activation.gcc.rsp" || exit 1
echo nrf_bootloader_info.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/nrf_bootloader_info.gcc.rsp" || exit 1
echo nrf_bootloader_wdt.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/nrf_bootloader_wdt.gcc.rsp" || exit 1
echo pb_common.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/nano-pb/pb_common.gcc.rsp" || exit 1
echo pb_decode.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/external/nano-pb/pb_decode.gcc.rsp" || exit 1
echo dfu-cc.pb.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/dfu-cc.pb.gcc.rsp" || exit 1
echo nrf_dfu.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu.gcc.rsp" || exit 1
echo nrf_dfu_ble.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/ble_dfu/nrf_dfu_ble.gcc.rsp" || exit 1
echo nrf_dfu_flash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_flash.gcc.rsp" || exit 1
echo nrf_dfu_handling_error.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_handling_error.gcc.rsp" || exit 1
echo nrf_dfu_mbr.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_mbr.gcc.rsp" || exit 1
echo nrf_dfu_req_handler.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_req_handler.gcc.rsp" || exit 1
echo nrf_dfu_settings.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_settings.gcc.rsp" || exit 1
echo nrf_dfu_settings_svci.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_settings_svci.gcc.rsp" || exit 1
echo nrf_dfu_transport.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_transport.gcc.rsp" || exit 1
echo nrf_dfu_utils.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_utils.gcc.rsp" || exit 1
echo nrf_dfu_validation.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_validation.gcc.rsp" || exit 1
echo nrf_dfu_ver_validation.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/bootloader/dfu/nrf_dfu_ver_validation.gcc.rsp" || exit 1
echo ble_srv_common.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/ble/common/ble_srv_common.gcc.rsp" || exit 1
echo oberon_backend_chacha_poly_aead.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/oberon/oberon_backend_chacha_poly_aead.gcc.rsp" || exit 1
echo oberon_backend_ecc.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/oberon/oberon_backend_ecc.gcc.rsp" || exit 1
echo oberon_backend_ecdh.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/oberon/oberon_backend_ecdh.gcc.rsp" || exit 1
echo oberon_backend_ecdsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/oberon/oberon_backend_ecdsa.gcc.rsp" || exit 1
echo oberon_backend_eddsa.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/oberon/oberon_backend_eddsa.gcc.rsp" || exit 1
echo oberon_backend_hash.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/oberon/oberon_backend_hash.gcc.rsp" || exit 1
echo oberon_backend_hmac.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/components/libraries/crypto/backend/oberon/oberon_backend_hmac.gcc.rsp" || exit 1
echo system_nrf52840.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/modules/nrfx/mdk/system_nrf52840.gcc.rsp" || exit 1
echo nrf_drv_power.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/integration/nrfx/legacy/nrf_drv_power.gcc.rsp" || exit 1
echo nrf_drv_rng.c
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/integration/nrfx/legacy/nrf_drv_rng.gcc.rsp" || exit 1
echo gcc_startup_nrf52840.S
C:\Users\chain40\AppData\Local\VisualGDB\CCache\ccache.exe "c:/SysGCC/arm-eabi/bin/arm-none-eabi-g++.exe" @"VisualGDB/Release/__BSP_ROOT__/nRF5x/modules/nrfx/mdk/gcc_startup_nrf52840.gcc.rsp" || exit 1
echo Linking ../VisualGDB/Release/neulive_boot...
c:\SysGCC\arm-eabi\bin\arm-none-eabi-g++.exe @../VisualGDB/Release/neulive_boot.link.rsp || exit 1
c:\SysGCC\arm-eabi\bin\arm-none-eabi-objcopy.exe @../VisualGDB/Release/neulive_boot.mkbin.rsp || exit 1
c:\SysGCC\arm-eabi\bin\arm-none-eabi-objcopy.exe @../VisualGDB/Release/neulive_boot.mkihex.rsp || exit 1
+129
View File
@@ -0,0 +1,129 @@
<?xml version="1.0"?>
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ConfigurationName>Release</ConfigurationName>
<Project xsi:type="com.visualgdb.project.embedded">
<CustomSourceDirectories>
<Directories />
<PathStyle>MinGWUnixSlash</PathStyle>
<LocalDirForAbsolutePaths>$(ToolchainDir)</LocalDirForAbsolutePaths>
</CustomSourceDirectories>
<AutoProgramSPIFFSPartition>true</AutoProgramSPIFFSPartition>
<MainSourceDirectory>$(ProjectDir)</MainSourceDirectory>
<ExportAdvancedBuildVariables>false</ExportAdvancedBuildVariables>
<SkipImportedProjectChecks>false</SkipImportedProjectChecks>
<EmbeddedProfileFile>nrf5x.xml</EmbeddedProfileFile>
<MemoryListSource>DeviceDefinition</MemoryListSource>
</Project>
<Build xsi:type="com.visualgdb.build.msbuild">
<BuildLogMode xsi:nil="true" />
<ToolchainID>
<Version>
<Revision>0</Revision>
</Version>
</ToolchainID>
<ProjectFile>neulive_boot.vcxproj</ProjectFile>
<RemoteBuildEnvironment>
<Records />
</RemoteBuildEnvironment>
<ParallelJobCount>1</ParallelJobCount>
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
<BuildAsRoot>false</BuildAsRoot>
</Build>
<CustomBuild>
<PreSyncActions />
<PreBuildActions />
<PostBuildActions />
<PreCleanActions />
<PostCleanActions />
</CustomBuild>
<CustomDebug>
<PreDebugActions />
<PostDebugActions />
<DebugStopActions />
<BreakMode>Default</BreakMode>
</CustomDebug>
<CustomShortcuts>
<Shortcuts />
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
</CustomShortcuts>
<UserDefinedVariables />
<ImportedPropertySheets />
<CodeSense>
<Enabled>Unknown</Enabled>
<ExtraSettings>
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
<SupportLightweightReferenceAnalysis>true</SupportLightweightReferenceAnalysis>
<CheckForClangFormatFiles>true</CheckForClangFormatFiles>
<FormattingEngine xsi:nil="true" />
</ExtraSettings>
<CodeAnalyzerSettings>
<Enabled>false</Enabled>
</CodeAnalyzerSettings>
</CodeSense>
<Configurations />
<ProgramArgumentsSuggestions />
<Debug xsi:type="com.visualgdb.debug.embedded">
<AdditionalStartupCommands />
<AdditionalGDBSettings>
<Features>
<DisableAutoDetection>false</DisableAutoDetection>
<UseFrameParameter>false</UseFrameParameter>
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
<ListLocalsSupported>false</ListLocalsSupported>
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
<ThreadInfoSupported>false</ThreadInfoSupported>
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
<SupportTargetCommand>false</SupportTargetCommand>
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
</Features>
<EnableSmartStepping>false</EnableSmartStepping>
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
<UseAppleExtensions>false</UseAppleExtensions>
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
<MakeLogFile>false</MakeLogFile>
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
<UseRelativePathsOnly>false</UseRelativePathsOnly>
<ExitAction>None</ExitAction>
<DisableDisassembly>false</DisableDisassembly>
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
<DisableSignals>false</DisableSignals>
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
<EnableNonStopMode>false</EnableNonStopMode>
<MaxBreakpointLimit>0</MaxBreakpointLimit>
<EnableVerboseMode>true</EnableVerboseMode>
</AdditionalGDBSettings>
<DebugMethod>
<ID>jlink-jtag</ID>
<Configuration xsi:type="com.visualgdb.edp.segger.settings">
<CommandLine>-select USB -device $$SYS:MCU_ID$$ -speed auto -if SWD</CommandLine>
<ProgramMode>Enabled</ProgramMode>
<StartupCommands>
<string>target remote :$$SYS:GDB_PORT$$</string>
<string>mon reset</string>
<string>load</string>
<string>mon reset</string>
</StartupCommands>
<UseUnreliableLiveMemoryEngine>false</UseUnreliableLiveMemoryEngine>
<ProgramFLASHUsingExternalTool>false</ProgramFLASHUsingExternalTool>
<PreferredGDBPort>0</PreferredGDBPort>
</Configuration>
</DebugMethod>
<AutoDetectRTOS>true</AutoDetectRTOS>
<SemihostingSupport>Auto</SemihostingSupport>
<SemihostingPollingDelay>0</SemihostingPollingDelay>
<StepIntoEntryPoint>false</StepIntoEntryPoint>
<ReloadFirmwareOnReset>false</ReloadFirmwareOnReset>
<ValidateEndOfStackAddress>true</ValidateEndOfStackAddress>
<StopAtEntryPoint>false</StopAtEntryPoint>
<EnableVirtualHalts>false</EnableVirtualHalts>
<DynamicAnalysisSettings />
<EndOfStackSymbol>_estack</EndOfStackSymbol>
<TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond>
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
<UnusedStackFillPattern xsi:nil="true" />
<CheckInterfaceDrivers>true</CheckInterfaceDrivers>
</Debug>
</VisualGDBProjectSettings2>
+25
View File
@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34031.279
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bmd380_bootloader", "bmd380_bootloader.vcxproj", "{0F7FC068-F35C-4CCB-9333-FABECCA529B5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|VisualGDB = Debug|VisualGDB
Release|VisualGDB = Release|VisualGDB
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0F7FC068-F35C-4CCB-9333-FABECCA529B5}.Debug|VisualGDB.ActiveCfg = Debug|VisualGDB
{0F7FC068-F35C-4CCB-9333-FABECCA529B5}.Debug|VisualGDB.Build.0 = Debug|VisualGDB
{0F7FC068-F35C-4CCB-9333-FABECCA529B5}.Release|VisualGDB.ActiveCfg = Release|VisualGDB
{0F7FC068-F35C-4CCB-9333-FABECCA529B5}.Release|VisualGDB.Build.0 = Release|VisualGDB
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D74BA592-403C-4451-83FA-8930B8B09765}
EndGlobalSection
EndGlobal
+402
View File
@@ -0,0 +1,402 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|VisualGDB">
<Configuration>Debug</Configuration>
<Platform>VisualGDB</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|VisualGDB">
<Configuration>Release</Configuration>
<Platform>VisualGDB</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<ProjectGuid>{0F7FC068-F35C-4CCB-9333-FABECCA529B5}</ProjectGuid>
<BSP_ID>com.sysprogs.arm.nordic.nrf5x</BSP_ID>
<BSP_VERSION>17.0</BSP_VERSION>
<InPlaceBSPSubdir />
<RelativeBSPPath />
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
<GNUConfigurationType>Debug</GNUConfigurationType>
<ToolchainID>com.visualgdb.arm-eabi</ToolchainID>
<ToolchainVersion>12.3.1/13.2/r1</ToolchainVersion>
<GenerateHexFile>true</GenerateHexFile>
<GenerateBuildScript>true</GenerateBuildScript>
<MCUPropertyListFile>$(ProjectDir)nrf5x.props</MCUPropertyListFile>
<UseCCache>true</UseCCache>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
<ToolchainID>com.visualgdb.arm-eabi</ToolchainID>
<ToolchainVersion>12.3.1/13.2/r1</ToolchainVersion>
<GenerateHexFile>true</GenerateHexFile>
<GenerateBuildScript>true</GenerateBuildScript>
<MCUPropertyListFile>$(ProjectDir)nrf5x.props</MCUPropertyListFile>
<UseCCache>true</UseCCache>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
<ClCompile>
<CLanguageStandard>C99</CLanguageStandard>
<AdditionalIncludeDirectories>.;../bmd380_sdk/components/boards;../bmd380_sdk/components/softdevice/mbr/headers;../bmd380_sdk/components/softdevice/s113/headers;../bmd380_sdk/components/libraries/experimental_section_vars;../bmd380_sdk/components/libraries/log;../bmd380_sdk/components/libraries/log/src;../bmd380_sdk/components/libraries/strerror;../bmd380_sdk/components/libraries/usbd;../bmd380_sdk/components/libraries/usbd/class/cdc;../bmd380_sdk/components/libraries/util;../bmd380_sdk/integration/nrfx;../bmd380_sdk/integration/nrfx/legacy;../bmd380_sdk/external/fprintf;../bmd380_sdk/components/libraries/bootloader/dfu;../bmd380_sdk/components/libraries/memobj;../bmd380_sdk/components/libraries/slip;../bmd380_sdk/components/libraries/balloc;../bmd380_sdk/external/segger_rtt;../bmd380_sdk/components/libraries/delay;../bmd380_sdk/components/libraries/atomic;../bmd380_sdk/external/nrf_cc310_bl/include;../bmd380_sdk/components/libraries/ringbuf;../bmd380_sdk/components/libraries/bootloader;../bmd380_sdk/components/libraries/atomic_fifo;../bmd380_sdk/components/softdevice/common;../bmd380_sdk/components/libraries/crypto;../bmd380_sdk/components/libraries/crypto/backend/cc310;../bmd380_sdk/components/libraries/crypto/backend/cc310_bl;../bmd380_sdk/components/libraries/crypto/backend/mbedtls;../bmd380_sdk/components/libraries/crypto/backend/micro_ecc;../bmd380_sdk/components/libraries/crypto/backend/oberon;../bmd380_sdk/components/libraries/crypto/backend/optiga;../bmd380_sdk/external/utf_converter;../bmd380_sdk/components/libraries/mutex;../bmd380_sdk/components/libraries/crypto/backend/nrf_sw;../bmd380_sdk/external/nano-pb;../bmd380_sdk/components/libraries/bootloader/ble_dfu;../bmd380_sdk/components/libraries/svc;../bmd380_sdk/components/libraries/fstorage;../bmd380_sdk/components/libraries/crc32;../bmd380_sdk/components/ble/common;../bmd380_sdk/components/libraries/crypto/backend/cifra;../bmd380_sdk/components/libraries/crypto/backend/nrf_hw;../bmd380_sdk/components/libraries/scheduler;../bmd380_sdk/components/libraries/usbd/class/cdc/acm;../bmd380_sdk/components/toolchain/cmsis/include;../bmd380_sdk/modules/nrfx;../bmd380_sdk/modules/nrfx/hal;../bmd380_sdk/modules/nrfx/mdk;../bmd380_sdk/components/libraries/led_softblink;../bmd380_sdk/components/libraries/timer;../bmd380_sdk/modules/nrfx/drivers/include;../bmd380_sdk/components/libraries/sortlist;../bmd380_sdk/components/libraries/low_power_pwm;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DEBUG=1;BLE_STACK_SUPPORT_REQD;BOARD_CUSTOM;DEBUG_NRF;FLOAT_ABI_HARD;NRF52840_XXAA;NRF_DFU_SETTINGS_VERSION=2;NRF_DFU_SVCI_ENABLED;NRF_SD_BLE_API_VERSION=7;S113;SOFTDEVICE_PRESENT;SVC_INTERFACE_CALL_AS_NORMAL_FUNCTION;USE_APP_CONFIG;APP_TIMER_V2;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization>Os</Optimization>
<AdditionalOptions />
<CPPLanguageStandard />
</ClCompile>
<Link>
<LinkerScript>secure_bootloader_gcc_nrf52.ld</LinkerScript>
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
<AdditionalOptions />
<GenerateMapFile>true</GenerateMapFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
<ClCompile>
<CLanguageStandard>C99</CLanguageStandard>
<AdditionalIncludeDirectories>.;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/micro_ecc;$(BSP_ROOT)/nRF5x/components/libraries/memobj;$(BSP_ROOT)/nRF5x/components/softdevice/s113/headers/nrf52;$(BSP_ROOT)/nRF5x/components/libraries/crc32;$(BSP_ROOT)/nRF5x/components/libraries/experimental_section_vars;$(BSP_ROOT)/nRF5x/components/libraries/mem_manager;$(BSP_ROOT)/nRF5x/components/libraries/fstorage;$(BSP_ROOT)/nRF5x/components/libraries/util;$(BSP_ROOT)/nRF5x/modules/nrfx;$(BSP_ROOT)/nRF5x/external/nrf_oberon/include;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/oberon;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/cifra;$(BSP_ROOT)/nRF5x/components/libraries/atomic;$(BSP_ROOT)/nRF5x/integration/nrfx;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/cc310_bl;$(BSP_ROOT)/nRF5x/external/nrf_cc310/include;$(BSP_ROOT)/nRF5x/components/libraries/log/src;$(BSP_ROOT)/nRF5x/components/libraries/bootloader/dfu;$(BSP_ROOT)/nRF5x/components/ble/common;$(BSP_ROOT)/nRF5x/external/segger_rtt;$(BSP_ROOT)/nRF5x/components/libraries/delay;$(BSP_ROOT)/nRF5x/components/libraries/svc;$(BSP_ROOT)/nRF5x/components/libraries/stack_info;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/nrf_hw;$(BSP_ROOT)/nRF5x/components/libraries/log;$(BSP_ROOT)/nRF5x/external/nrf_oberon;$(BSP_ROOT)/nRF5x/components/libraries/strerror;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/mbedtls;$(BSP_ROOT)/nRF5x/components/boards;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/cc310;$(BSP_ROOT)/nRF5x/components/libraries/bootloader;$(BSP_ROOT)/nRF5x/components/softdevice/s113/headers;$(BSP_ROOT)/nRF5x/components/libraries/crypto;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/optiga;$(BSP_ROOT)/nRF5x/components/libraries/scheduler;$(BSP_ROOT)/nRF5x/external/nrf_cc310_bl/include;$(BSP_ROOT)/nRF5x/modules/nrfx/hal;$(BSP_ROOT)/nRF5x/external/fprintf;$(BSP_ROOT)/nRF5x/components/toolchain/cmsis/include;$(BSP_ROOT)/nRF5x/components/libraries/balloc;$(BSP_ROOT)/nRF5x/components/libraries/atomic_fifo;$(BSP_ROOT)/nRF5x/components/libraries/crypto/backend/nrf_sw;$(BSP_ROOT)/nRF5x/modules/nrfx/mdk;$(BSP_ROOT)/nRF5x/components/libraries/bootloader/ble_dfu;$(BSP_ROOT)/nRF5x/components/softdevice/common;$(BSP_ROOT)/nRF5x/external/nano-pb;$(BSP_ROOT)/nRF5x/components/libraries/queue;$(BSP_ROOT)/nRF5x/components/libraries/mutex;$(BSP_ROOT)/nRF5x/external/utf_converter;$(BSP_ROOT)/nRF5x/components/libraries/ringbuf;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG=1;RELEASE=1;BLE_STACK_SUPPORT_REQD;BOARD_CUSTOM;CONFIG_GPIO_AS_PINRESET;DEBUG_NRF;FLOAT_ABI_HARD;NRF52840_XXAA;NRF_DFU_DEBUG_VERSION;NRF_DFU_SETTINGS_VERSION=2;NRF_DFU_SVCI_ENABLED;NRF_SD_BLE_API_VERSION=7;S113;SOFTDEVICE_PRESENT;SVC_INTERFACE_CALL_AS_NORMAL_FUNCTION;USE_APP_CONFIG;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
<Optimization>Os</Optimization>
</ClCompile>
<Link>
<LinkerScript>secure_bootloader_gcc_nrf52.ld</LinkerScript>
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<LinkerScript Include="secure_bootloader_gcc_nrf52.ld" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ItemGroup>
<ClCompile Include="..\bmd380_sdk\components\libraries\led_softblink\led_softblink.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\low_power_pwm\low_power_pwm.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\slip\slip.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\sortlist\nrf_sortlist.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\timer\app_timer2.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\timer\drv_rtc.c" />
<ClCompile Include="..\bmd380_sdk\integration\nrfx\legacy\nrf_drv_clock.c" />
<ClCompile Include="..\bmd380_sdk\integration\nrfx\legacy\nrf_drv_power.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\serial_dfu\nrf_dfu_serial.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\serial_dfu\nrf_dfu_serial_usb.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\usbd\app_usbd.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_core.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_serial_num.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_string_desc.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\usbd\class\cdc\acm\app_usbd_cdc_acm.c" />
<ClCompile Include="..\bmd380_sdk\modules\nrfx\drivers\src\nrfx_clock.c" />
<ClCompile Include="..\bmd380_sdk\modules\nrfx\drivers\src\nrfx_power.c" />
<ClCompile Include="..\bmd380_sdk\modules\nrfx\drivers\src\nrfx_usbd.c" />
<ClCompile Include="dfu_public_key.c" />
<ClCompile Include="main.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_backend_rtt.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_backend_serial.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_default_backends.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_frontend.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_str_formatter.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\util\app_error_weak.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\scheduler\app_scheduler.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\util\app_util_platform.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crc32\crc32.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\mem_manager\mem_manager.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\util\nrf_assert.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\atomic_fifo\nrf_atfifo.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\atomic\nrf_atomic.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\balloc\nrf_balloc.c" />
<ClCompile Include="..\bmd380_sdk\external\fprintf\nrf_fprintf.c" />
<ClCompile Include="..\bmd380_sdk\external\fprintf\nrf_fprintf_format.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\fstorage\nrf_fstorage.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\fstorage\nrf_fstorage_nvmc.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\fstorage\nrf_fstorage_sd.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\memobj\nrf_memobj.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\queue\nrf_queue.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\ringbuf\nrf_ringbuf.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\experimental_section_vars\nrf_section_iter.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\strerror\nrf_strerror.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_ecc.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_ecdsa.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_hash.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_init.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_shared.c" />
<ClCompile Include="..\bmd380_sdk\components\boards\boards.c" />
<ClCompile Include="..\bmd380_sdk\components\softdevice\common\nrf_sdh.c" />
<ClCompile Include="..\bmd380_sdk\components\softdevice\common\nrf_sdh_ble.c" />
<ClCompile Include="..\bmd380_sdk\components\softdevice\common\nrf_sdh_soc.c" />
<ClCompile Include="..\bmd380_sdk\modules\nrfx\hal\nrf_nvmc.c" />
<ClCompile Include="..\bmd380_sdk\modules\nrfx\soc\nrfx_atomic.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecc.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecdsa.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hash.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_init.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_shared.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_svci.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_svci_handler.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\svc\nrf_svc_handler.c" />
<ClCompile Include="..\bmd380_sdk\external\segger_rtt\SEGGER_RTT.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_app_start.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_app_start_final.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_dfu_timers.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_fw_activation.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_info.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_wdt.c" />
<ClCompile Include="..\bmd380_sdk\external\nano-pb\pb_common.c" />
<ClCompile Include="..\bmd380_sdk\external\nano-pb\pb_decode.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\dfu-cc.pb.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\ble_dfu\nrf_dfu_ble.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_flash.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_handling_error.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_mbr.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_req_handler.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_settings.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_settings_svci.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_transport.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_utils.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_validation.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_ver_validation.c" />
<ClCompile Include="..\bmd380_sdk\components\ble\common\ble_srv_common.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_chacha_poly_aead.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_ecc.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_ecdh.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_ecdsa.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_eddsa.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_hash.c" />
<ClCompile Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_hmac.c" />
<ClInclude Include="..\bmd380_sdk\components\ble\common\ble_srv_common.h" />
<ClInclude Include="..\bmd380_sdk\components\boards\boards.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\atomic\nrf_atomic.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\atomic\nrf_atomic_internal.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\atomic\nrf_atomic_sanity_check.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\atomic_fifo\nrf_atfifo.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\atomic_fifo\nrf_atfifo_internal.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\balloc\nrf_balloc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\ble_dfu\nrf_dfu_ble.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\ble_dfu\nrf_dfu_ble_svci_bond_sharing.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\dfu-cc.pb.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_flash.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_handling_error.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_mbr.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_req_handler.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_settings.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_transport.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_trigger_usb.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_types.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_utils.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_validation.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\dfu\nrf_dfu_ver_validation.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_app_start.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_dfu_timers.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_fw_activation.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_info.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\bootloader\nrf_bootloader_wdt.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crc32\crc32.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_ecc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_ecdh.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_ecdsa.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_hash.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\cc310_bl\cc310_bl_backend_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_chacha_poly_aead.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_ecc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_ecdh.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_ecdsa.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_eddsa.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_hash.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\backend\oberon\oberon_backend_hmac.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_aead.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_aead_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_aead_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_aes.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_aes_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_aes_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecc_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecc_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecdh.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecdh_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecdh_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecdsa.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecdsa_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_ecdsa_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_eddsa.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_eddsa_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_eddsa_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_error.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hash.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hash_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hash_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hkdf.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hmac.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hmac_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_hmac_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_init.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_mem.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_rng.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_rng_backend.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_rng_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_shared.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\crypto\nrf_crypto_types.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\experimental_section_vars\nrf_section.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\experimental_section_vars\nrf_section_iter.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\fstorage\nrf_fstorage.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\fstorage\nrf_fstorage_nvmc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\fstorage\nrf_fstorage_sd.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\led_softblink\led_softblink.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_backend_flash.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_backend_interface.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_backend_rtt.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_backend_uart.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_ctrl.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_default_backends.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_instance.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_str_formatter.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\nrf_log_types.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_backend_serial.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_ctrl_internal.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\log\src\nrf_log_internal.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\low_power_pwm\low_power_pwm.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\memobj\nrf_memobj.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\mem_manager\mem_manager.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\scheduler\app_scheduler.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\slip\slip.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\sortlist\nrf_sortlist.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\strerror\nrf_strerror.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\svc\nrf_svci.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\svc\nrf_svci_async_function.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\svc\nrf_svci_async_handler.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\svc\nrf_svc_function.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\timer\app_timer.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\timer\drv_rtc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_class_base.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_core.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_descriptor.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_langid.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_request.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_serial_num.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_string_desc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\app_usbd_types.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\class\cdc\acm\app_usbd_cdc_acm.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\class\cdc\acm\app_usbd_cdc_acm_internal.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\class\cdc\app_usbd_cdc_desc.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\usbd\class\cdc\app_usbd_cdc_types.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\util\app_error_weak.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\util\app_util_platform.h" />
<ClInclude Include="..\bmd380_sdk\components\libraries\util\nrf_assert.h" />
<ClInclude Include="..\bmd380_sdk\components\softdevice\common\nrf_sdh.h" />
<ClInclude Include="..\bmd380_sdk\components\softdevice\common\nrf_sdh_ble.h" />
<ClInclude Include="..\bmd380_sdk\components\softdevice\common\nrf_sdh_soc.h" />
<ClInclude Include="..\bmd380_sdk\external\fprintf\nrf_fprintf.h" />
<ClInclude Include="..\bmd380_sdk\external\fprintf\nrf_fprintf_format.h" />
<ClInclude Include="..\bmd380_sdk\external\nano-pb\pb.h" />
<ClInclude Include="..\bmd380_sdk\external\nano-pb\pb_common.h" />
<ClInclude Include="..\bmd380_sdk\external\nano-pb\pb_decode.h" />
<ClInclude Include="..\bmd380_sdk\external\nano-pb\pb_encode.h" />
<ClInclude Include="..\bmd380_sdk\external\segger_rtt\SEGGER_RTT.h" />
<ClInclude Include="..\bmd380_sdk\external\segger_rtt\SEGGER_RTT_Conf.h" />
<ClInclude Include="..\bmd380_sdk\integration\nrfx\legacy\nrf_drv_clock.h" />
<ClInclude Include="..\bmd380_sdk\integration\nrfx\legacy\nrf_drv_power.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_adc.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_clock.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_comp.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_dppi.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_gpiote.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_i2s.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_lpcomp.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_nfct.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_nvmc.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_pdm.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_power.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_power_clock.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_ppi.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_pwm.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_qdec.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_qspi.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_rng.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_rtc.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_saadc.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_saadc_v2.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_spi.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_spim.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_spis.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_swi.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_systick.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_temp.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_timer.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_twi.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_twim.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_twis.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_twi_twim.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_uart.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_uarte.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_usbd.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrfx_wdt.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\include\nrf_bitmask.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\drivers\src\nrfx_usbd_errata.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\hal\nrf_nvmc.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\soc\nrfx_atomic.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\soc\nrfx_atomic_internal.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\soc\nrfx_coredep.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\soc\nrfx_irqs.h" />
<ClInclude Include="..\bmd380_sdk\modules\nrfx\soc\nrfx_irqs_nrf52840.h" />
<ClInclude Include="app_config.h" />
<ClInclude Include="sdk_config.h" />
<None Include="nrf5x.props" />
<ClCompile Include="..\bmd380_sdk\modules\nrfx\mdk\system_nrf52840.c" />
<ClCompile Include="..\bmd380_sdk\modules\nrfx\mdk\gcc_startup_nrf52840.S" />
<None Include="neulive_boot-Debug.vgdbsettings" />
<None Include="neulive_boot-Release.vgdbsettings" />
<None Include="nrf5x.xml" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\dsp\Include\arm_common_tables.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\dsp\Include\arm_const_structs.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\dsp\Include\arm_math.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\cmsis_armcc.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\cmsis_armclang.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\cmsis_armclang_ltm.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\cmsis_compiler.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\cmsis_gcc.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\cmsis_iccarm.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\cmsis_version.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_armv81mml.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_armv8mbl.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_armv8mml.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm0.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm0plus.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm1.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm23.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm3.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm33.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm35p.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm4.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_cm7.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_sc000.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\core_sc300.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\mpu_armv7.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\mpu_armv8.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\components\toolchain\cmsis\include\tz_context.h" />
<ClInclude Include="$(BSP_ROOT)\nRF5x\modules\nrfx\mdk\system_nrf52840.h" />
</ItemGroup>
<ItemGroup>
<Library Include="..\bmd380_sdk\external\nrf_cc310_bl\lib\cortex-m4\hard-float\libnrf_cc310_bl_0.9.13.a" />
</ItemGroup>
</Project>
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>
+76
View File
@@ -0,0 +1,76 @@
#pragma once
/**
* Copyright (c) 2014 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* 4. This software, with or without modification, must only be used with a
* Nordic Semiconductor ASA integrated circuit.
*
* 5. Any software provided in binary form under this license must not be reverse
* engineered, decompiled, modified and/or disassembled.
*
* THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef __CUSTOM_BOARD_H__
#define __CUSTOM_BOARD_H__
#ifdef __cplusplus
extern "C" {
#endif
#include "nrf_gpio.h"
#define LEDS_NUMBER 3
#define BLE_LED_R NRF_GPIO_PIN_MAP(1, 1)
#define BLE_LED_G NRF_GPIO_PIN_MAP(1, 3)
#define BLE_LED_B NRF_GPIO_PIN_MAP(1, 5)
#define LED_1 BLE_LED_R
#define LED_2 BLE_LED_G
#define LED_3 BLE_LED_B
#define LEDS_ACTIVE_STATE 0
#define LEDS_LIST { LED_1, LED_2, LED_3 }
#define LEDS_INV_MASK LEDS_MASK
#define BSP_LED_0 LED_1
#define BSP_LED_1 LED_2
#define BSP_LED_2 LED_3
#define BUTTONS_NUMBER 0
#ifdef __cplusplus
}
#endif
#endif // __CUSTOM_BOARD_H__
+11
View File
@@ -0,0 +1,11 @@
/* This file was automatically generated by nrfutil on 2023-09-25 (YY-MM-DD) at 23:00:35 */
#include "stdint.h"
#include "compiler_abstraction.h"
/** @brief Public key used to verify DFU images */
__ALIGN(4) const uint8_t pk[64] =
{
0xb3, 0xc2, 0xde, 0xcd, 0xbd, 0x64, 0xc0, 0x94, 0x7d, 0x38, 0x53, 0x12, 0xc4, 0x46, 0xf1, 0x11, 0xe2, 0xee, 0xe7, 0x4a, 0x98, 0xcb, 0x7e, 0x84, 0x63, 0xc2, 0x90, 0x63, 0x54, 0x11, 0x42, 0x61,
0x00, 0x89, 0x13, 0x47, 0xf9, 0x08, 0x8e, 0xd1, 0x15, 0x11, 0x85, 0x5c, 0xf8, 0x7d, 0xec, 0x9a, 0x5e, 0x62, 0x63, 0xc0, 0xc1, 0x33, 0x88, 0x6c, 0xbc, 0xbf, 0xf6, 0x5d, 0xe2, 0xb7, 0xa5, 0xe4
};
+231
View File
@@ -0,0 +1,231 @@
/**
* Copyright (c) 2016 - 2020, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* 4. This software, with or without modification, must only be used with a
* Nordic Semiconductor ASA integrated circuit.
*
* 5. Any software provided in binary form under this license must not be reverse
* engineered, decompiled, modified and/or disassembled.
*
* THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/** @file
*
* @defgroup bootloader_secure_ble main.c
* @{
* @ingroup dfu_bootloader_api
* @brief Bootloader project main file for secure DFU.
*
*/
#include <stdint.h>
#include "boards.h"
#include "nrf_mbr.h"
#include "nrf_bootloader.h"
#include "nrf_bootloader_app_start.h"
#include "nrf_bootloader_dfu_timers.h"
#include "nrf_dfu.h"
#include "nrf_log.h"
#include "nrf_log_ctrl.h"
#include "nrf_log_default_backends.h"
#include "app_error.h"
#include "app_error_weak.h"
#include "nrf_bootloader_info.h"
#include "nrf_dfu_utils.h"
#include "led_softblink.h"
#include "app_timer.h"
#include "nrf_delay.h"
#include "nrf_clock.h"
/* Timer used to blink LED on DFU progress. */
APP_TIMER_DEF(m_dfu_progress_led_timer);
static void on_error(void)
{
NRF_LOG_FINAL_FLUSH();
#if NRF_MODULE_ENABLED(NRF_LOG_BACKEND_RTT)
// To allow the buffer to be flushed by the host.
nrf_delay_ms(100);
#endif
#ifdef NRF_DFU_DEBUG_VERSION
NRF_BREAKPOINT_COND;
#endif
NVIC_SystemReset();
}
void app_error_handler(uint32_t error_code, uint32_t line_num, const uint8_t * p_file_name)
{
NRF_LOG_ERROR("%s:%d", p_file_name, line_num);
on_error();
}
void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
{
NRF_LOG_ERROR("Received a fault! id: 0x%08x, pc: 0x%08x, info: 0x%08x", id, pc, info);
on_error();
}
void app_error_handler_bare(uint32_t error_code)
{
NRF_LOG_ERROR("Received an error: 0x%08x!", error_code);
on_error();
}
static void dfu_progress_led_timeout_handler(void * p_context)
{
app_timer_id_t timer = (app_timer_id_t)p_context;
uint32_t err_code = app_timer_start(timer,
APP_TIMER_TICKS(DFU_LED_CONFIG_PROGRESS_BLINK_MS),
p_context);
APP_ERROR_CHECK(err_code);
bsp_board_led_invert(BSP_BOARD_LED_1);
}
/**
* @brief Function notifies certain events in DFU process.
*/
static void dfu_observer(nrf_dfu_evt_type_t evt_type)
{
static bool timer_created = false;
uint32_t err_code;
if (!timer_created)
{
err_code = app_timer_create(&m_dfu_progress_led_timer,
APP_TIMER_MODE_SINGLE_SHOT,
dfu_progress_led_timeout_handler);
APP_ERROR_CHECK(err_code);
timer_created = true;
}
switch (evt_type)
{
case NRF_DFU_EVT_DFU_FAILED:
case NRF_DFU_EVT_DFU_ABORTED:
err_code = led_softblink_stop();
APP_ERROR_CHECK(err_code);
err_code = app_timer_stop(m_dfu_progress_led_timer);
APP_ERROR_CHECK(err_code);
err_code = led_softblink_start(BSP_LED_0_MASK | BSP_LED_1_MASK);
APP_ERROR_CHECK(err_code);
break;
case NRF_DFU_EVT_DFU_INITIALIZED:
{
bsp_board_init(BSP_INIT_LEDS);
if (!nrf_clock_lf_is_running())
{
nrf_clock_task_trigger(NRF_CLOCK_TASK_LFCLKSTART);
}
err_code = app_timer_init();
APP_ERROR_CHECK(err_code);
led_sb_init_params_t led_sb_init_param = LED_SB_INIT_DEFAULT_PARAMS(BSP_LED_0_MASK | BSP_LED_1_MASK);
uint32_t ticks = APP_TIMER_TICKS(DFU_LED_CONFIG_TRANSPORT_INACTIVE_BREATH_MS);
led_sb_init_param.p_leds_port = BSP_LED_1_PORT;
led_sb_init_param.on_time_ticks = ticks;
led_sb_init_param.off_time_ticks = ticks;
led_sb_init_param.duty_cycle_max = 255;
err_code = led_softblink_init(&led_sb_init_param);
APP_ERROR_CHECK(err_code);
err_code = led_softblink_start(BSP_LED_0_MASK | BSP_LED_1_MASK);
APP_ERROR_CHECK(err_code);
break;
}
case NRF_DFU_EVT_TRANSPORT_ACTIVATED:
{
uint32_t ticks = APP_TIMER_TICKS(DFU_LED_CONFIG_TRANSPORT_ACTIVE_BREATH_MS);
led_softblink_off_time_set(ticks);
led_softblink_on_time_set(ticks);
break;
}
case NRF_DFU_EVT_TRANSPORT_DEACTIVATED:
{
uint32_t ticks = APP_TIMER_TICKS(DFU_LED_CONFIG_PROGRESS_BLINK_MS);
err_code = led_softblink_stop();
APP_ERROR_CHECK(err_code);
err_code = app_timer_start(m_dfu_progress_led_timer, ticks, m_dfu_progress_led_timer);
APP_ERROR_CHECK(err_code);
break;
}
default:
break;
}
}
/**@brief Function for application main entry. */
int main(void)
{
uint32_t ret_val;
// Must happen before flash protection is applied, since it edits a protected page.
nrf_bootloader_mbr_addrs_populate();
// Protect MBR and bootloader code from being overwritten.
ret_val = nrf_bootloader_flash_protect(0, MBR_SIZE);
APP_ERROR_CHECK(ret_val);
ret_val = nrf_bootloader_flash_protect(BOOTLOADER_START_ADDR, BOOTLOADER_SIZE);
APP_ERROR_CHECK(ret_val);
(void) NRF_LOG_INIT(nrf_bootloader_dfu_timer_counter_get);
NRF_LOG_DEFAULT_BACKENDS_INIT();
NRF_LOG_INFO("Inside main");
ret_val = nrf_bootloader_init(dfu_observer);
APP_ERROR_CHECK(ret_val);
NRF_LOG_FLUSH();
NRF_LOG_ERROR("After main, should never be reached.");
NRF_LOG_FLUSH();
APP_ERROR_CHECK_BOOL(false);
}
/**
* @}
*/
+42
View File
@@ -0,0 +1,42 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
This file is generated by VisualGDB.
It contains GCC settings automatically derived from the board support package (BSP).
DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN.
Use VisualGDB Project Properties dialog or modify Makefile or per-configuration .mak files instead.
-->
<!-- In order to build this project manually (outside VisualGDB), please provide TOOLCHAIN_ROOT, BSP_ROOT, EFP_BASE and TESTFW_BASE variables via Environment or Make command line -->
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>NRF52840_XXAA;S140_reserve;CONFIG_GPIO_AS_PINRESET;NRF_DFU_SETTINGS_VERSION=2;NRF_SD_BLE_API_VERSION=7;__STACK_SIZE=1024;__HEAP_SIZE=0;ARM_MATH_CM4;SOFTDEVICE_PRESENT;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>%(ClCompile.AdditionalIncludeDirectories);$(ProjectDir);$(BSP_ROOT)/nRF5x/components/softdevice/S140_reserve/headers;$(BSP_ROOT)/nRF5x/components/softdevice/S140_reserve/headers/nrf52;$(BSP_ROOT)/nRF5x/modules/nrfx;$(BSP_ROOT)/nRF5x/modules/nrfx/hal;$(BSP_ROOT)/nRF5x/modules/nrfx/drivers/include;$(BSP_ROOT)/nRF5x/modules/nrfx/drivers;$(BSP_ROOT)/nRF5x/external/nrf_oberon;$(BSP_ROOT)/nRF5x/modules/nrfx/mdk;$(BSP_ROOT)/nRF5x/components/toolchain/cmsis/dsp/Include;$(BSP_ROOT)/nRF5x/components/toolchain/cmsis/include</AdditionalIncludeDirectories>
<AdditionalOptions>-mabi=aapcs %(ClCompile.AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<Link>
<LinkerScript Condition="'%(Link.LinkerScript)' == ''">$(BSP_ROOT)/nRF5x/LinkerScripts/nRF52840_XXAA_S140_reserve.lds</LinkerScript>
<LibrarySearchDirectories>$(BSP_ROOT)/nRF5x/SoftdeviceLibraries/hard;$(BSP_ROOT)/nRF5x/LinkerScripts;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
<AdditionalOptions>--specs=nano.specs --specs=nosys.specs -Wl,--no-warn-rwx-segments -mabi=aapcs %(Link.AdditionalOptions)</AdditionalOptions>
</Link>
</ItemDefinitionGroup>
<PropertyGroup>
<DefaultLinkerScript>$(BSP_ROOT)/nRF5x/LinkerScripts/nRF52840_XXAA_S140_reserve.lds</DefaultLinkerScript>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<CLanguageStandard Condition="'%(ClCompile.CLanguageStandard)' == ''">C99</CLanguageStandard>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<ToolchainSettingsContainer>
<ARMCPU Condition="'%(ToolchainSettingsContainer.ARMCPU)' == ''">cortex-m4</ARMCPU>
<InstructionSet Condition="'%(ToolchainSettingsContainer.InstructionSet)' == ''">THUMB</InstructionSet>
<ARMFPU Condition="'%(ToolchainSettingsContainer.ARMFPU)' == ''">fpv4-sp-d16</ARMFPU>
<FloatABI Condition="'%(ToolchainSettingsContainer.FloatABI)' == ''">hard</FloatABI>
</ToolchainSettingsContainer>
</ItemDefinitionGroup>
</Project>
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0"?>
<EmbeddedProfile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ToolchainID>com.visualgdb.arm-eabi</ToolchainID>
<ToolchainVersion>
<GCC>12.3.1</GCC>
<GDB>13.2</GDB>
<Revision>1</Revision>
</ToolchainVersion>
<BspID>com.sysprogs.arm.nordic.nrf5x</BspID>
<BspVersion>17.0</BspVersion>
<McuID>nRF52840_XXAA</McuID>
<MCUDefinitionFile>nRF5x/DeviceDefinitions/NRF52840.xml</MCUDefinitionFile>
<MCUProperties>
<Entries>
<KeyValue>
<Key>com.sysprogs.bspoptions.nrf5x.wchar</Key>
<Value />
</KeyValue>
<KeyValue>
<Key>com.sysprogs.bspoptions.nrf5x.pinreset</Key>
<Value>CONFIG_GPIO_AS_PINRESET</Value>
</KeyValue>
<KeyValue>
<Key>com.sysprogs.bspoptions.primary_memory</Key>
<Value>flash</Value>
</KeyValue>
<KeyValue>
<Key>com.sysprogs.bspoptions.arm.floatmode.short</Key>
<Value>hard</Value>
</KeyValue>
<KeyValue>
<Key>com.sysprogs.bspoptions.nrf5x.softdevice</Key>
<Value>S140_reserve</Value>
</KeyValue>
<KeyValue>
<Key>com.sysprogs.toolchainoptions.arm.libctype</Key>
<Value>--specs=nano.specs</Value>
</KeyValue>
<KeyValue>
<Key>com.sysprogs.toolchainoptions.arm.syscallspecs</Key>
<Value>--specs=nosys.specs</Value>
</KeyValue>
<KeyValue>
<Key>com.sysprogs.bspoptions.stackheap.stacksize</Key>
<Value>1024</Value>
</KeyValue>
<KeyValue>
<Key>com.sysprogs.bspoptions.stackheap.heapsize</Key>
<Value>0</Value>
</KeyValue>
</Entries>
</MCUProperties>
<BSPSourceFolderName>Device-specific files</BSPSourceFolderName>
<MCUMakFile>nrf5x.mak</MCUMakFile>
<ReferencedFrameworks />
<FrameworkProperties>
<Entries />
</FrameworkProperties>
<TestFrameworkProperties>
<Entries />
</TestFrameworkProperties>
</EmbeddedProfile>
+58
View File
@@ -0,0 +1,58 @@
/**
* Copyright (c) 2019 - 2020, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* 4. This software, with or without modification, must only be used with a
* Nordic Semiconductor ASA integrated circuit.
*
* 5. Any software provided in binary form under this license must not be reverse
* engineered, decompiled, modified and/or disassembled.
*
* THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef NRF_CRYPTO_ALLOCATOR_H__
#define NRF_CRYPTO_ALLOCATOR_H__
#include "nrf_assert.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Crypto library in bootloader case does not use dynamic allocation */
#define NRF_CRYPTO_ALLOC(size) NULL; ASSERT(0)
#define NRF_CRYPTO_ALLOC_ON_STACK(size) NULL; ASSERT(0)
#define NRF_CRYPTO_FREE(ptr) (void)ptr;
#ifdef __cplusplus
}
#endif
#endif /* NRF_CRYPTO_ALLOCATOR_H__ */
+5
View File
@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIEM6TVi/ofxCYEb2O9OYK4sNHlpwd0ZrW3yFOIeRJKqKoAoGCCqGSM49
AwEHoUQDQgAEYUIRVGOQwmOEfsuYSufu4hHxRsQSUzh9lMBkvc3ewrPkpbfiXfa/
vGyIM8HAY2Jemux9+FyFERXRjgj5RxOJAA==
-----END EC PRIVATE KEY-----
+5479
View File
File diff suppressed because it is too large Load Diff
+167
View File
@@ -0,0 +1,167 @@
/* Linker script to configure memory regions. */
SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x000DE000, LENGTH = 0x00020000
mbr_params_page (r) : ORIGIN = 0x000FE000, LENGTH = 0x00001000
bootloader_settings_page (r) : ORIGIN = 0x000FF000, LENGTH = 0x00001000
uicr_bootloader_start_address (r) : ORIGIN = 0x10001014, LENGTH = 0x4
uicr_mbr_params_page (r) : ORIGIN = 0x10001018, LENGTH = 0x4
RAM (rwx) : ORIGIN = 0x20010000, LENGTH = 0x0002F000
RTT (rwx) : ORIGIN = 0x2003F000, LENGTH = 0x00001000
}
SECTIONS
{
. = ALIGN(4);
.segger_rtt (NOLOAD) :
{
KEEP(*(.segger_rtt))
} > RTT
}
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
.uicr_mbr_params_page :
{
PROVIDE(__start_uicr_mbr_params_page = .);
KEEP(*(SORT(.uicr_mbr_params_page*)))
PROVIDE(__stop_uicr_mbr_params_page = .);
} > uicr_mbr_params_page
. = ALIGN(4);
.mbr_params_page :
{
PROVIDE(__start_mbr_params_page = .);
KEEP(*(SORT(.mbr_params_page*)))
PROVIDE(__stop_mbr_params_page = .);
} > mbr_params_page
. = ALIGN(4);
.bootloader_settings_page :
{
PROVIDE(__start_bootloader_settings_page = .);
KEEP(*(SORT(.bootloader_settings_page*)))
PROVIDE(__stop_bootloader_settings_page = .);
} > bootloader_settings_page
}
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 :
{
}
.crypto_data :
{
PROVIDE(__start_crypto_data = .);
KEEP(*(SORT(.crypto_data*)))
PROVIDE(__stop_crypto_data = .);
} > FLASH
.nrf_queue :
{
PROVIDE(__start_nrf_queue = .);
KEEP(*(.nrf_queue))
PROVIDE(__stop_nrf_queue = .);
} > FLASH
.dfu_trans :
{
PROVIDE(__start_dfu_trans = .);
KEEP(*(SORT(.dfu_trans*)))
PROVIDE(__stop_dfu_trans = .);
} > FLASH
.svc_data :
{
PROVIDE(__start_svc_data = .);
KEEP(*(.svc_data))
PROVIDE(__stop_svc_data = .);
} > FLASH
.log_const_data :
{
PROVIDE(__start_log_const_data = .);
KEEP(*(SORT(.log_const_data*)))
PROVIDE(__stop_log_const_data = .);
} > FLASH
.nrf_balloc :
{
PROVIDE(__start_nrf_balloc = .);
KEEP(*(.nrf_balloc))
PROVIDE(__stop_nrf_balloc = .);
} > FLASH
.log_backends :
{
PROVIDE(__start_log_backends = .);
KEEP(*(SORT(.log_backends*)))
PROVIDE(__stop_log_backends = .);
} > FLASH
.sdh_ble_observers :
{
PROVIDE(__start_sdh_ble_observers = .);
KEEP(*(SORT(.sdh_ble_observers*)))
PROVIDE(__stop_sdh_ble_observers = .);
} > 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
.sdh_soc_observers :
{
PROVIDE(__start_sdh_soc_observers = .);
KEEP(*(SORT(.sdh_soc_observers*)))
PROVIDE(__stop_sdh_soc_observers = .);
} > FLASH
} INSERT AFTER .text
INCLUDE "nrf_common.ld"