Skip to content

Commit 3f77766

Browse files
committed
dfu release compiles and works, still unable to update
1 parent 4e6069d commit 3f77766

10 files changed

Lines changed: 318 additions & 1458 deletions

File tree

apps/firmware/build/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ SRC_FILES += \
5858
$(PROJ_DIR)/ble_stack.c \
5959
$(PROJ_DIR)/openhaystack.c \
6060
$(PROJ_DIR)/main.c \
61-
$(PROJ_DIR)/dfu/ble_dfu_bonded.c \
62-
$(PROJ_DIR)/dfu/ble_dfu_unbonded.c \
63-
$(PROJ_DIR)/dfu/ble_dfu.c \
64-
$(PROJ_DIR)/dfu/nrf_dfu_svci.c \
6561
$(SDK_ROOT)/components/libraries/bootloader/dfu/nrf_dfu_svci.c \
6662
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT.c \
6763
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c \
@@ -91,7 +87,7 @@ SRC_FILES += \
9187
$(SDK_ROOT)/components/softdevice/common/nrf_sdh.c \
9288
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_ble.c \
9389
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_soc.c \
94-
90+
9591
# Include folders common to all targets
9692
INC_FOLDERS += \
9793
$(SDK_ROOT)/components \

apps/firmware/config/sdk_config.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454

5555
#ifndef BSP_BTN_BLE_ENABLED
56-
#define BSP_BTN_BLE_ENABLED 1
56+
#define BSP_BTN_BLE_ENABLED 0
5757
#endif
5858

5959
// </h>
@@ -5051,20 +5051,20 @@
50515051
// <2=> NRF_CLOCK_LF_SRC_SYNTH
50525052

50535053
#ifndef NRF_SDH_CLOCK_LF_SRC
5054-
#define NRF_SDH_CLOCK_LF_SRC 1
5054+
#define NRF_SDH_CLOCK_LF_SRC 0
50555055
#endif
50565056

50575057
// <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval.
50585058
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
5059-
#define NRF_SDH_CLOCK_LF_RC_CTIV 0
5059+
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
50605060
#endif
50615061

50625062
// <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature.
50635063
// <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
50645064
// <i> if the temperature has not changed.
50655065

50665066
#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
5067-
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0
5067+
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
50685068
#endif
50695069

50705070
// <o> NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.
@@ -5083,7 +5083,7 @@
50835083
// <11=> NRF_CLOCK_LF_ACCURACY_1_PPM
50845084

50855085
#ifndef NRF_SDH_CLOCK_LF_ACCURACY
5086-
#define NRF_SDH_CLOCK_LF_ACCURACY 7
5086+
#define NRF_SDH_CLOCK_LF_ACCURACY 1
50875087
#endif
50885088

50895089
// </h>

0 commit comments

Comments
 (0)