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

platformio exclusion of examples #281

Closed
ifilko opened this issue Aug 25, 2016 · 12 comments
Closed

platformio exclusion of examples #281

ifilko opened this issue Aug 25, 2016 · 12 comments
Labels

Comments

@ifilko
Copy link

ifilko commented Aug 25, 2016

/examples
/examples_linux
/pyRF24
/tests
should be in exclude section in library.json

@zgoda
Copy link

zgoda commented Aug 26, 2016

Most libraries include examples in exported code. Moreover, this has any impact on package size only.

@andreibosco
Copy link

@zgoda actually platformIO builds everything by default, including the examples, and right now examples_linux is causing build errors

@jeanmatthieud
Copy link

Even without those folders, platformio still includes all /utility/* files, causing build errors

@Avamander
Copy link
Member

Pretty sure that was fixed in the last release?

@andreibosco
Copy link

andreibosco commented Sep 4, 2016

Tried yesterday and I'm still getting build errors on platformio.

@jeanmatthieud
Copy link

jeanmatthieud commented Sep 4, 2016

Tried today with the last release (pio update)

@TMRh20
Copy link
Member

TMRh20 commented Sep 5, 2016

It seems these issues came up since #263

Per https:/TMRh20/RF24/pull/263/files it looks like the library.json should be reverted to:

-    "arch/ATTiny/*",
-    "arch/Due/*",
-    "arch/Teensy/*", 

instead of

+    "utility/*",

????

@Avamander Avamander reopened this Sep 5, 2016
@Avamander
Copy link
Member

I'd go and ask for assistance from the platformio people, as it seems platformio has issues with compiling everything it gets it's hands onto.

@zgoda
Copy link

zgoda commented Sep 5, 2016

CC @ivankravets @valeros

@ivankravets
Copy link
Contributor

PlatformIO 2.0 has a problem with Arduino libraries v1.0 (where utility folder is used).

  1. This issue is fixed in PlatformIO 3.0 (will be released this week)
  2. Please switch to development version of PlatformIO. It should work http://docs.platformio.org/en/stable/installation.html#development-version

@jeanmatthieud
Copy link

jeanmatthieud commented Sep 5, 2016

Thanks. I will wait next week.

@ivankravets
Copy link
Contributor

@jeanmatthieud Please follow us on Twitter https://twitter.com/PlatformIO_Org and you will be notified about new releases.

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

No branches or pull requests

7 participants