Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ivan Kravets
@ivankravets
@tzapu no problems, please check "Use Arduino IDE library manager". In this case, you will share libs between to IDEs
tzapu
@tzapu
ok, thank you very much
if i don t use the arduino ide, does it put libs in subfolders of the project?
Ivan Kravets
@ivankravets
@d-anders Please upgrade to PlatformIO IDE 1.1.0. It is huge update since the first release (1 month ago)
d-anders
@d-anders
i have 1.0.5 now
tzapu
@tzapu
sorry, library manager, if i don t use that, and use platform io lib manager, does it make subfolders, or does it have a separate folder somewhere to keep libs for all projects?
Ivan Kravets
@ivankravets
@d-anders :) please upgrade
d-anders
@d-anders
i will upgrade
thought i did yesterday
tzapu
@tzapu
anywya, i will play with it. thanks very much for your answers, much appreciated
Ivan Kravets
@ivankravets
@tzapu if we talk about PlatformIO 2.0 it install libs by default globally to http://docs.platformio.org/en/latest/projectconf.html#lib-dir
tzapu
@tzapu
ok, so couldn t i make that folder the same as arduino lob folder?
Ivan Kravets
@ivankravets
@tzapu but we are working on PlatformIO 3.0 and it will receive huge updates to Library Manager.
d-anders
@d-anders
trying now, chose "upgrade platformio" from the menu but it seems nothing is happening
tzapu
@tzapu
i assume i can also install manually for that folder, and it will pick the lib up?
Ivan Kravets
@ivankravets
@tzapu of course, just place you library in the lib folder of the project. See https://github.com/platformio/platformio/tree/develop/examples/atmelavr-and-arduino/arduino-external-libs
tzapu
@tzapu
ok, thank you , thank you :D
tzapu
@tzapu
i ve taken too much of your time already :D
thanks
Ivan Kravets
@ivankravets
@d-anders go to Menu: PlatformIO > Settings > platformio-ide and check that version is 1.1.0
d-anders
@d-anders
it is not
must go soon
will download later
Ivan Kravets
@ivankravets
@d-anders click on update button
d-anders
@d-anders
upgrading from the menu doesnt work for me, nothing happens
Ivan Kravets
@ivankravets
@d-anders there are two instances in PlatformIO IDE: 1. platformio-ide package for Atom; 2. PlatformIO CLI
@d-anders ok, click on Settings (gear) icon on tool bar and follow to Community Packages. Here you will see platformio-ide package
@d-anders PlatformIO IDE this is GUI around PlatformIO CLI. Of course, it has own built-in PlatformIO CLI version.
d-anders
@d-anders
thanks, updating now
d-anders
@d-anders
still doesnt show any tipss after i write dig
created a new project and added a source file with cpp extension
Ivan Kravets
@ivankravets
@d-anders do you have clang installed in your system? PlatformIO IDE uses it for code completion. See step 3 from http://docs.platformio.org/en/latest/ide/atom.html#installation
d-anders
@d-anders
yeah, but im not sure it is working :)
i will look into it
i get completion for "if, for" etc though
d-anders
@d-anders
installed clang and it started working. really thought i had installed it two days ago
d-anders
@d-anders
wow, platformio is sweet. time to ditch arduino ide
Michael Miller
@Makuna
How does it compare to Visual Studio Community?
d-anders
@d-anders
hm
different
i have been using visual studio since forever, so for me nothing compares to it
havent used it for arduino/esp8266 though
but platformio looks nice
integrated cli library manager
and working code completion
Michael Miller
@Makuna
There is a VS plugin for Arduino (free for prototypes) that gives you all that also. But I guess that's for Windows only.
d-anders
@d-anders
yeah i use windows
Michael Miller
@Makuna
Have you tried Visual Micro then?
d-anders
@d-anders
i think i tried that plugin a long time ago