Using PlatformIO with Mayfly

Home Forums Mayfly Data Logger Using PlatformIO with Mayfly

Tagged: , ,

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Anthony Aufdenkampe Anthony Aufdenkampe 2 months ago.

  • Author
    Posts
  • #1945
    Profile photo of Sara Damiano
    Sara Damiano
    Participant

    In case anyone else is interested in using an alternative IDE for developing sketches for the Mayfly, here is the json that should work to add the Mayfly to PlatformIO:

    To use it, create a custom boards folder if it doesn’t exist (%HOMEPATH%\.platformio\boards) and then save this there as: envirodiy_mayfly.json. Then open the platformio.ini for your project and add this to it:

    [env:envirodiy_mayfly]
    platform = atmelavr
    board = envirodiy_mayfly
    framework = arduino

  • #1967
    Profile photo of Sara Damiano
    Sara Damiano
    Participant

    The wonderful people at PlatformIO have now added native support for the Mayfly. Run “platformio update” in the PlatformIO terminal and you will then be able to find the Mayfly in the drop downs and call up the Mayfly as “mayfly” just like any other board.

  • #2057

    I also had a very positive support experience with the people from PlatformIO, and have really enjoyed using it in the last few days.

    I had issues with PlatformIO IDE installing because the way I installed Anaconda Python installation had modified the way virtual environments are accessed (which PlatformIO needs to run). After posting an “Issue” on their GitHub repo page, they followed up, worked with me to fix the problem, and merged the fix into the new IDE version 2.0.0-alpha5.
    https://github.com/platformio/platformio-atom-ide/issues/218#issuecomment-279464876
    It now works beautifully and should work for anyone with Anaconda Python (for PlatformIO IDE version version 2.0.0-alpha5 or greater).

    Another win for open-source, GitHub issues and continuous integration!

You must be logged in to reply to this topic.