This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Warning[Pe223]: function "sd_flash_write" declared implicitly

Hello everyone

The following warnings and errors occurred
Warning[Pe223]: function "sd_flash_write" declared implicitly D:\ZIP\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\components\libraries\fstorage\nrf_fstorage_sd.c 208 
Warning[Pe223]: function "sd_flash_page_erase" declared implicitly D:\ZIP\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\components\libraries\fstorage\nrf_fstorage_sd.c 215
Error[Pe020]: identifier "NRF_EVT_FLASH_OPERATION_SUCCESS" is undefined D:\ZIP\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\components\libraries\fstorage\nrf_fstorage_sd.c 275
Error[Pe020]: identifier "NRF_EVT_FLASH_OPERATION_SUCCESS" is undefined D:\ZIP\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\components\libraries\fstorage\nrf_fstorage_sd.c 523
Error[Pe020]: identifier "NRF_EVT_FLASH_OPERATION_ERROR" is undefined D:\ZIP\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\components\libraries\fstorage\nrf_fstorage_sd.c 527

options -> C/C++ Compiler -> Preprocessor
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\fds
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\fifo
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\fstorage
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\hardfault
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\hardfault\nrf52
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\strerror
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\timer
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\uart
$PROJ_DIR$\..\..\..\..\..\..\..\components\libraries\util
$PROJ_DIR$\..\..\..\..\..\..\..\components\nfc\t4t_lib
$PROJ_DIR$\..\..\..\..\..\..\..\components\nfc\t4t_lib\hal_t4t
$PROJ_DIR$\..\..\..\..\..\..\..\components\softdevice\common
$PROJ_DIR$\..\..\..\..\..\..\..\components\softdevice\s132\headers
$PROJ_DIR$\..\..\..\..\..\..\..\components\softdevice\s132\headers\nrf52

I do not know why these warnings and errors occur.