Quite embarrassed for asking this, but i literally don't understand why i'm having this VERY trivial problem for programming my 8051 based MCU (CC2430) on IAR:
I want to use the stdio.h to access I/O functions, obviosuly- namely sprintf. But when i include it using:
#include <stdio.h>
or even:
#include "stdio.h" (incorrect inclusion i know)
The IAR compiler complains: could not open source file "stdio.h".
Now i've tried to see all the possible problems by making sure i'm using the CLIB library (lagacy C) and have all the other setting done.
I know for SURE that i'm allowed to use stdio.h and it is compatible with MCU programming, but what setting do i need to change/include/configure to use stdio.h.
Please tell me this is a little silly problem that can be sorted out!!
I want to use the stdio.h to access I/O functions, obviosuly- namely sprintf. But when i include it using:
#include <stdio.h>
or even:
#include "stdio.h" (incorrect inclusion i know)
The IAR compiler complains: could not open source file "stdio.h".
Now i've tried to see all the possible problems by making sure i'm using the CLIB library (lagacy C) and have all the other setting done.
I know for SURE that i'm allowed to use stdio.h and it is compatible with MCU programming, but what setting do i need to change/include/configure to use stdio.h.
Please tell me this is a little silly problem that can be sorted out!!