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

Both ChRt.c and ChRt.cpp in src ? (makes Atmel Studio failing) #5

Closed
PhiJu5 opened this issue Dec 13, 2017 · 1 comment
Closed

Both ChRt.c and ChRt.cpp in src ? (makes Atmel Studio failing) #5

PhiJu5 opened this issue Dec 13, 2017 · 1 comment

Comments

@PhiJu5
Copy link

PhiJu5 commented Dec 13, 2017

In Arduino world, a .c file is ignored. Removing ChRt.c from src, ChBlink builds and run in Arduino IDE.
Import ChBlink in Atmel Studio works only if the (not usefull ?) ChRt.c is removed before import (because Atmel sutdio does handle both .c and .c++ files).
Regards.

@greiman
Copy link
Owner

greiman commented Dec 13, 2017

ChRt.c is not ignored by the Arduino IDE. Any program will run without ChRt.c since it only provides LED blink codes for Hard faults, Bus erors, and Usage faults.

It is mostly helpful during my debug.

I may rename it in the future.

@greiman greiman closed this as completed Dec 13, 2017
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

2 participants