Hi
I am studying calibration process in crazyflie. For this I wanted to compile magnetometer's driver. But I have a lot of error messages.
Thanks for help
Jean-Claude
[SOLVED] hmc5883l compilation
[SOLVED] hmc5883l compilation
Last edited by Mitteau on Wed Sep 13, 2017 6:36 am, edited 1 time in total.
Re: hmc5883l compilation
Is that straight from git or have modified any files?
From the error is seems that at least includes are missing. Maybe there is a missing semicolon in one header file?
From the error is seems that at least includes are missing. Maybe there is a missing semicolon in one header file?
[SOLVED] Re: hmc5883l compilation
HI
My compiler said:
"conflicting types"
between line 56 of hmc5883l.c and line 113 of hmc5883l.h
So I put I2C_Dev place of I2C_TypeDef in header file and compilation is OK...
I apologize.
Jean-Claude
My compiler said:
"conflicting types"
between line 56 of hmc5883l.c and line 113 of hmc5883l.h
So I put I2C_Dev place of I2C_TypeDef in header file and compilation is OK...
I apologize.
Jean-Claude
Re: hmc5883l compilation
Hi,
Nice that it worked . I recognize this avalanche of error as header files problems, C is pretty bad at catching this kind of errors...
Nice that it worked . I recognize this avalanche of error as header files problems, C is pretty bad at catching this kind of errors...
Re: hmc5883l compilation
Hi
In C language, the first error is often the banana skin.
Jean-Claude
In C language, the first error is often the banana skin.
Jean-Claude