Running SAML21 BOARD ON ECLIPSE

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

Currently im working on atsaml21 board. I'm working in UBUNTU platform.

When i added the code for USB CDC in the eclipse it is showing many errors

case SYSTEM_CLOCK_SOURCE_XOSC32K:
		OSC32KCTRL->XOSC32K.reg &= ~OSC32KCTRL_XOSC32K_ENABLE;
		break;

Here all flags are showing could not be resolved .  I'm not clear whats causing the problem.

Please help me with this.

 

Last Edited: Thu. Nov 15, 2018 - 03:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Eclipse probably does not know of the files where they are defined. Does the code compile? Point being that just because Eclipse shows an error, it is not necessarily so. This is a common issue, so you should be able to Google the solution.

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

ITS not a single error some files entirely its showing errors. I googled and i couldn't find a solution. Code is compiling.  Is it possible to run this on eclipse?

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

krishna28 wrote:

 on atsaml21 board.

Wrong set of forums -- belongs with other ARM discussions.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

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

How can I run this on eclipse?. The issue I'm facing is the error which are showing throughout some files.
How to solve this errors. The code is building without any problems. But it is showing the errors.

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

You don’t ‘run’ the code on Eclipse! Eclipse is only the IDE. The problem is Eclipse doesn’t know about some of those files - this is a common problem, so Google is your friend.