06-27-2017 11:35 PM
Hello.
I'd like to use file i/o library like fopen, fprintf and fscanf on SDK.
Without any O/S, how can I use file i/o library?
06-27-2017 11:46 PM
@mirr82 There is no concept of files and time in a baremetal application. Even because - where are you going to read data from?
On Unix, fopen/fprintf/fscanf are all part of the GLIBC, which sits on top of the kernel.
So short answer: you cannot. On baremetal you deal directly with the devices: network, UART, and memories. Which I prefer, actually.
06-27-2017 11:46 PM
@mirr82 There is no concept of files and time in a baremetal application. Even because - where are you going to read data from?
On Unix, fopen/fprintf/fscanf are all part of the GLIBC, which sits on top of the kernel.
So short answer: you cannot. On baremetal you deal directly with the devices: network, UART, and memories. Which I prefer, actually.