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

Sketch won't compile if current buffer is a header (.h) #202

Closed
John-Titor opened this issue Nov 28, 2017 · 3 comments
Closed

Sketch won't compile if current buffer is a header (.h) #202

John-Titor opened this issue Nov 28, 2017 · 3 comments

Comments

@John-Titor
Copy link

If you have a sketch containing a .h file, and you ask Deviot to build your sketch while that file is current, building fails with:

[ Deviot 2.1.6 ] Starting...
20:52:57 filename.h is not an IoT File

It works correctly if any .cpp or .ino file in the sketch is selected.

@m-chichikalov
Copy link

I saw some strange behavior when .cpp file of library was chosen (was an active in ST). It starts create the pio folder structure inside 'lib' folder.

@gepd
Copy link
Owner

gepd commented Nov 30, 2017

I've added the h extension to the list of accepted files, you shouldn't have problem now

@John-Titor
Copy link
Author

Seems to work, thanks!

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

No branches or pull requests

3 participants