Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Multiple definitions of read and write in nrf_fstorage_nvmc.c

Ran in to a build error when using nrf_fstorage_nvmc.c:
\components\libraries\fstorage\nrf_fstorage_nvmc.c(128,19): error : conflicting types for 'write'

nrf_fstorage_nvmc.c
-> declares static read() and static write()
-> includes \modules\nrfx\hal\nrf_nvmc.h
-> includes \modules\nrfx\nrfx.h
-> includes \integration\nrfx\nrfx_glue.h
-> includes \components\libraries\util\app_util_platform.h
-> includes \components\libraries\util\app_error.h
-> includes \arm-eabi\sys-include\stdio.h
-> includes \arm-eabi\sys-include\sys\types.h
  -> includes \components\iot\socket\api\sys\select.h
-> includes \components\iot\socket\api\socket_api.h
-> declares read() and write()

I installed 15.3 yesterday and this is the second build error I've run in to in as many days.  Disappointed

Parents Reply Children
No Data
Related