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

Proper way to import mbed library #361

Closed
andriyadi opened this issue Dec 8, 2015 · 10 comments
Closed

Proper way to import mbed library #361

andriyadi opened this issue Dec 8, 2015 · 10 comments
Assignees
Labels
framework ldf Library Dependency Finder
Milestone

Comments

@andriyadi
Copy link

Hi again guys,

I wonder if there's a proper way to import or include libraries in mbed portal into platformio project, say using IDE CLion.

What I'm doing currently is "exporting to desktop IDE" program and libraries from mbed portal, and copy and paste to lib folder. It would be awesome if the platformio lib command is able to accommodate that, or other options.

Platformio is getting integrated deeply into my workflow. Thanks for all the efforts!

@ivankravets ivankravets self-assigned this Dec 8, 2015
@ivankravets
Copy link
Member

PlatformIO Library Registry contains the popular mbed libraries. See http://platformio.org/#!/lib/search?query=framework%253Ambed&page=1.

Is your library registered here?

@ivankravets
Copy link
Member

Please reopen if you still need help.

@andriyadi
Copy link
Author

Sorry I missed this.
I'd like to integrate HTTPClient-SSL libraries, as it seems working flawlessly with ESP8266Interface. Also VS1053Lib library or alike.

Please advice.

@ivankravets ivankravets reopened this Dec 11, 2015
@ivankravets
Copy link
Member

Please place these libraries to lib folder into your project. If them work, then we will add to PlatformIO Library registry

@andriyadi
Copy link
Author

HTTPClient-SSL libraries cannot be built by default, unless I change the file structure to be flat.
VS1053Lib is fine. I also managed to use this one, VS1053b

@andriyadi
Copy link
Author

Hi @ivankravets
I have not seen the VS1053b library when I search using platformio lib search

No pressure though :)

@ivankravets
Copy link
Member

@gandy92 could you update MBED library configs and include requested libs?

Thanks in advance!

@ivankravets ivankravets added the ldf Library Dependency Finder label Dec 29, 2015
@dh1tw
Copy link
Contributor

dh1tw commented Jan 2, 2016

+1 for a import of mbed Libraries. I'm currently working with the MQTT client and find it rather cumbersome to download, copy them in the lib directory and adopt the folder structure so that the dependency finder can actually find them.

@ivankravets
Copy link
Member

@dh1tw you can pull request to https://github.com/platformio/platformio-libmirror/tree/master/configs/mbed with required library. I'll register it.

@ivankravets
Copy link
Member

@dh1tw

I'm currently working with the MQTT client and find it rather cumbersome to download, copy them in the lib directory and adopt the folder structure so that the dependency finder can actually find them.

Could you specify the link to this library?

@ivankravets ivankravets mentioned this issue Aug 2, 2016
37 tasks
ivankravets added a commit that referenced this issue Sep 9, 2016
* develop:
  Fix incorrect line order when converting from INO to CPP and pointer is used
  Fix unit test
  Notify about `version` field when creating library
  Add support for SparkFun Blynk Board
  Return valid exit code from ``plaformio test`` command
  Disable SSL Server-Name-Indication for Python < 2.7.9
  Version bump to 3.0.1 (issue #772)
  Disable temporary SSL for PlatformIO services // Resolve #772
  Version bump to 3.0.0 (issues #770, #766, #747, #730, #765, #640, #659, #742, #459, #542, #763, #759, #753, #757, #749, #748, #745, #519, #709, #743, #413, #498, #410, #740, #361, #414, #554, #732, #588, #475, #461, #101, #719, #721, #537, #415, #522, #289, #556, #570, #456, #617, #432, #408, #479, #667, #510)
  Fix menu height for  docs
  Fix issue with multiple archives when linking firmware
  Add migration guide for PIO2 to PIO3
  Search libraries by headers/includes with ``platformio lib search --header`` option
  Update pio run command examples
  Add Unit Testing Demo
  Update PIO Plus badge title and link
  Add PlatformIO Plus badge
  Add links to PlatformIO Plus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework ldf Library Dependency Finder
Projects
None yet
Development

No branches or pull requests

3 participants