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

Is it possible to read a text file(or any specific format) into nrf52 programming?

I have started working on the external file access with NRF is it possible to read or access the data from the external file into NRF programming similar to what we do in normal c program

we call a file name NRF52 program-------->call a file-------->takes the data from text/any format file--------->process the data---------->impliment

Parents
  • If you mean can you use the stdio fopen() fread() functions, out of the box with the Nordic SDK, then the answer is No.

    These functions are only meaningful in an application running on a operating system which has a file system.

    The nRF5x SDK and API is not an operating system.

    There is however an implementation of fatfs

    See the folder examples\peripheral\fatfs in the SDK which would form a good starting point.

Reply
  • If you mean can you use the stdio fopen() fread() functions, out of the box with the Nordic SDK, then the answer is No.

    These functions are only meaningful in an application running on a operating system which has a file system.

    The nRF5x SDK and API is not an operating system.

    There is however an implementation of fatfs

    See the folder examples\peripheral\fatfs in the SDK which would form a good starting point.

Children
Related