Jump to content


"flight" project problem in Eclipse


  • Please log in to reply
1 reply to this topic

#1 jes1111

jes1111

    Key Member

  • Members
  • PipPipPip
  • 716 posts
  • Country: flag of Portugal Portugal


Posted 26 November 2011 - 12:22 AM

I've followed all the wiki docs and José's video to set up for Windows firmware dev using Eclipse. Everything seems to be working (I can build from bash and from within Eclipse) but... I can't get Eclipse to resolve references to types like "uint16_t" and even silly stuff like "true" - so I get hundreds of red underlines from the syntax checking system. I originally had the same issue with UAVObjects, but managed to clear that by "importing" the folder containing the synthetics.

What have I done wrong or not done? :(

#2 naiiawah

naiiawah

    Core Developer

  • Members
  • PipPipPip
  • 309 posts
  • LocationNorthwest USA
  • Country: flag of United States United States


Posted 26 November 2011 - 12:44 AM

So for the flight side of things, uint16_t and true will come from the cross compilers includes.  Typically stdint.h and stdbool.h respectively.  Perhaps "importing" those two files as well?

I'd love to hear a more detailed description of your fix of the UAVObjects.  I'm not able to get Eclipse to resolve that stuff either, but I'm a Vim type, so I'm not skilled enough with Eclipse to know where to begin.