Hello.
I want to integrate UART and SPI ,I am using SDK15.2. The problem here is i am not able to add app_uart.h to main.c(spi).
My question here is how to add it to main,c?
I am using Keil uVision.
Thanks in Advance.
Hello.
I want to integrate UART and SPI ,I am using SDK15.2. The problem here is i am not able to add app_uart.h to main.c(spi).
My question here is how to add it to main,c?
I am using Keil uVision.
Thanks in Advance.
Hello Rafiq,
If you are asking how one adds a header file to a project you need to follow the following steps:
1) Right click on project and select options.
2) You'll see the a debug option, which can be dropped down to common (Private configurations).
3) Click on preprocessor and click on User include directories.
4) using the same format shown in the window, add a path to the header file you want to add. Here it is app_uart.h for you.
PS:- This is how Segger Embedded studio (SES) will look like. It will be something similar for other IDEs.
Best Regards,
Shrinidhi Bhat
Hello Rafiq,
If you are asking how one adds a header file to a project you need to follow the following steps:
1) Right click on project and select options.
2) You'll see the a debug option, which can be dropped down to common (Private configurations).
3) Click on preprocessor and click on User include directories.
4) using the same format shown in the window, add a path to the header file you want to add. Here it is app_uart.h for you.
PS:- This is how Segger Embedded studio (SES) will look like. It will be something similar for other IDEs.
Best Regards,
Shrinidhi Bhat
Thanks for the reply.
Actually I am using Keil uvison.
I'll try this method.