Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atmel Studio 7 Serialloopback error USART.H #35

Open
igonine opened this issue May 2, 2018 · 2 comments
Open

Atmel Studio 7 Serialloopback error USART.H #35

igonine opened this issue May 2, 2018 · 2 comments

Comments

@igonine
Copy link

igonine commented May 2, 2018

Hi:

I known that this issue has already been discussed in previous posts, but after reading all of the posts, i still can´t find an answer to this problem.
The project recognizes the USART.H and pinDefines.h, but when i compile, it gives many error. I checked all the code and can't find what i'm doing wrong.
The errors are in the attached file.

if someone has manged to compile and make it work with atmel studio, please help me so i can progress in the book.

Thanks
João Ferreira
error.xlsx

@n4n0b1t3
Copy link

n4n0b1t3 commented May 30, 2018

This might fix your problem.

I had probably the same problem with AS7 and I solved it the following way.

  1. Copy the makefile from Elliots example (https://github.com/hexagon5un/AVR-Programming/tree/master/Chapter05_Serial-IO/serialLoopback) into the directory you are working in.
  2. open the makefile with a text editor and change LIBDIR according to your setup
  3. I use mk2 so I just commentet out the lines PROGRAMMER_TYPE = usbtiny
    and PROGRAMMER_ARGS =
  4. AS7 in the solution explorer right click on the project name and select "properties"
  5. in properties select the left tab "build" and here check the box "Use external Makefile"
  6. Browse to the makefile and save (ctrl+s)

Next time please do not use infection prone file types to post build messages.

Cheers,
Peter
p.s. I noticed that AS7 automatically sets possibly the wrong relative path, this might be one issue when using linked files.

@athulsnair
Copy link

@igonine I could compile the code on Atmel Studio 7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants