Hi guys ,How to support the File Operations like read and open functions for my freescale boardmpc5748g

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi guys ,How to support the File Operations like read and open functions for my freescale boardmpc5748g

288 Views
yalamandadosaky
Contributor V

Support for File operations like open , read for MPC5748G Board on S32 Design Studio

Labels (1)
0 Kudos
1 Reply

166 Views
martin_kovar
NXP Employee
NXP Employee

Hi,

please look at the functions fprintf, fscanf, fgetc, fputc, fgets and fputs. All these functions are implemented in newlib, but unfortunately, I do not have any experience with read/write data from/to file using micro and I am afraid you have to modify these functions or add some functionality manually. I found some information how to read/write to file using Arduino, so I think it should be also possible using MPC5748G, but I am not able to provide any more information.

Please look at the following URL:

Using Newlib in ARM bare metal programs | Freedom Embedded 

 

Regards,

Martin

 

PS: Do not forget correctly configure UART.

0 Kudos