add c libraries (#include <stdint.h> "stdint.h file not found")

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ratr_665886
Level 1
Level 1
First question asked First reply posted First like received

 I'm working on a project for a mobile robot, and I use the accelerometer MPU-6050. I am basing in the project

   

http://www.cypress.com/?app=forum&id=4749&rID=110482

   

this project  uses a custom libraries (Madgwick.h, mpu6050.h) and custom functions (i2cFunctions.c, Madgwick.c, mpu6050.c) in wich they add <stdint.h> and <stdbool.h>  This project is made for Psoc4

   

I'm tring to migrate this project to Psoc3 but it doesnt compile because it can't add the libraries <stdint.h>  <stdbool.h>  

   

I made attemps to add another libraries like <time.h> , <math.h> or <stdio.h> and there is no problem.

   

Any advice?

1 Reply
Anonymous
Not applicable

 Hi,

   

Can you post your project here so that we can see the errors ? There are stdint.h and stdbool.h files included in the ARM GCC compiler. You can see these in below directory. 

   

 

   

C:\Program Files (x86)\Cypress\PSoC Creator\3.1\PSoC Creator\import\gnu_cs\arm\4.8.4\lib\gcc\arm-none-eabi\4.8.4\include

0 Likes