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

Project doesn't build on Arduino 1.8 #4

Open
killercode opened this issue May 18, 2020 · 6 comments
Open

Project doesn't build on Arduino 1.8 #4

killercode opened this issue May 18, 2020 · 6 comments

Comments

@killercode
Copy link
Contributor

Hello

Downloaded the source code and the first issue I found is that there are 2 filenames with the same name, difference is on capitalized letters and windows doesn't accept it.

After that opening the project will give errors like:

'USISR' was not declared in this scope

@jeffmer
Copy link
Owner

jeffmer commented May 19, 2020

Don’t know how that happened. I have deleted the duplicate file. The error that you have is usually caused by having the wrong target selected.

@karimelc
Copy link

Hi @killercode, I'm having the same issue as you (USISR etc.), did you find a solution yet?

@jeffmer
Copy link
Owner

jeffmer commented May 20, 2020

Is this an issue with the Attiny85 or the Nano version? My advice would be to see if you can build the nano version which uses fairly standard Arduino libraries.

@karimelc
Copy link

Hi @jeffmer, you are correct, the nano version builds fine after reinstall/cleaning. Thanks!

@killercode
Copy link
Contributor Author

Yes, I solved it:
1- Installed the library attinycore
2- removed the duplicate file
3- renamed the folder to match the .ino file name

Also I added an ifndef on the MAX30102.h file

I will post a fix for this now

@killercode
Copy link
Contributor Author

Hello, here is a fix for the problems I found

Pull Request: #5

Hope it helps

jeffmer added a commit that referenced this issue May 21, 2020
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