Hello,
I have a problem with SDK16 setting.sdk_config.h
I have this error : error: 'old_val' undeclared (first use in this function)
I include these files and folders
# Source files common to all targets
SRC_FILES += \
$(SDK_ROOT)/modules/nrfx/mdk/gcc_startup_nrf51.S \
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_rtt.c \
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_serial.c \
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_uart.c \
$(SDK_ROOT)/components/libraries/log/src/nrf_log_default_backends.c \
$(SDK_ROOT)/components/libraries/log/src/nrf_log_frontend.c \
$(SDK_ROOT)/components/libraries/log/src/nrf_log_str_formatter.c \
$(SDK_ROOT)/components/boards/boards.c \
$(SDK_ROOT)/components/libraries/util/app_error.c \
$(SDK_ROOT)/components/libraries/util/app_error_handler_gcc.c \
$(SDK_ROOT)/components/libraries/util/app_error_weak.c \
$(SDK_ROOT)/components/libraries/util/app_util_platform.c \
$(SDK_ROOT)/components/libraries/util/nrf_assert.c \
$(SDK_ROOT)/components/libraries/atomic/nrf_atomic.c \
$(SDK_ROOT)/components/libraries/balloc/nrf_balloc.c \
$(SDK_ROOT)/external/fprintf/nrf_fprintf.c \
$(SDK_ROOT)/external/fprintf/nrf_fprintf_format.c \
$(SDK_ROOT)/components/libraries/memobj/nrf_memobj.c \
$(SDK_ROOT)/components/libraries/ringbuf/nrf_ringbuf.c \
$(SDK_ROOT)/components/libraries/strerror/nrf_strerror.c \
$(SDK_ROOT)/components/libraries/uart/app_uart_fifo.c \
$(SDK_ROOT)/components/libraries/fifo/app_fifo.c \
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_twi.c \
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_uart.c \
$(SDK_ROOT)/modules/nrfx/soc/nrfx_atomic.c \
$(SDK_ROOT)/modules/nrfx/drivers/src/prs/nrfx_prs.c \
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_twi.c \
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_twim.c \
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_uart.c \
$(PROJ_DIR)/main.c \
$(PROJ_DIR)/app_mpu.c \
$(PROJ_DIR)/nrf_drv_mpu_twi.c \
$(PROJ_DIR)/nRF51_uart_print.c \
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT.c \
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c \
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_printf.c \
$(SDK_ROOT)/modules/nrfx/mdk/system_nrf51.c \
$(SDK_ROOT)/components/softdevice/common/nrf_sdh.c \
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_soc.c \
$(SDK_ROOT)/components/libraries/experimental_section_vars/nrf_section_iter.c \
# Include folders common to all targets
INC_FOLDERS += \
$(SDK_ROOT)/components/libraries/uart \
$(SDK_ROOT)/components/libraries/fifo \
$(SDK_ROOT)/components \
$(SDK_ROOT)/modules/nrfx/mdk \
$(PROJ_DIR) \
$(SDK_ROOT)/components/libraries/strerror \
$(SDK_ROOT)/components/toolchain/cmsis/include \
$(SDK_ROOT)/components/libraries/util \
$(SDK_ROOT)/components/libraries/balloc \
$(SDK_ROOT)/components/libraries/ringbuf \
$(SDK_ROOT)/modules/nrfx/hal \
$(SDK_ROOT)/components/libraries/bsp \
$(SDK_ROOT)/components/libraries/log \
$(SDK_ROOT)/modules/nrfx \
$(SDK_ROOT)/components/libraries/experimental_section_vars \
$(SDK_ROOT)/integration/nrfx/legacy \
$(SDK_ROOT)/components/libraries/delay \
$(SDK_ROOT)/integration/nrfx \
$(SDK_ROOT)/external/segger_rtt \
$(SDK_ROOT)/components/boards \
$(SDK_ROOT)/components/libraries/memobj \
$(SDK_ROOT)/modules/nrfx/drivers/include \
$(SDK_ROOT)/components/libraries/log/src \
$(SDK_ROOT)/external/fprintf \
$(SDK_ROOT)/components/libraries/atomic \
$(PROJ_DIR) \
$(SDK_ROOT)/components \
$(SDK_ROOT)/components/proprietary_rf/esb \
$(SDK_ROOT)/components/libraries/log/src \
$(SDK_ROOT)/components/softdevice/s130/headers/nrf51 \
$(SDK_ROOT)/components/softdevice/s130/headers \
$(SDK_ROOT)/components/softdevice/common \
./config \
$(SDK_ROOT)/components \
$(SDK_ROOT)/modules/nrfx/mdk \
$(PROJ_DIR) \
$(SDK_ROOT)/components/libraries/strerror \
$(SDK_ROOT)/components/libraries/util \
Thank you for your help !
Christophe