Build Issue in atmel studio 7

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello

 I created a gcc c executable project in studio 7 and added the product atsam4e8c. Please find the code. I have added printing function in bmi160.h. Even though I comment the include of bmi160.h, I donot get any build errors.Please help me in understanding this issue.

Is the main function able to see the include file through the project structure.

#include "sam.h"
//#include "bmi160.h"
//#include "bmi170.h"
int main(void)
{
    /* Initialize the SAM system */
    SystemInit();
    printing();
    /* Replace with your application code */
    while (1)
    {
        
    }
}

Aditya

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

stadkama wrote:

Hello

 I created a gcc c executable project in studio 7 and added the product atsam4e8c. Please find the code. I have added printing function in bmi160.h. Even though I comment the include of bmi160.h, I donot get any build errors.Please help me in understanding this issue.

Is the main function able to see the include file through the project structure.

#include "sam.h"
//#include "bmi160.h"
//#include "bmi170.h"
int main(void)
{
    /* Initialize the SAM system */
    SystemInit();
    printing();
    /* Replace with your application code */
    while (1)
    {
        
    }
}

  Sorry this post was a mistake.

Aditya