Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

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  Anthony Aufdenkampe 1 year, 2 months ago.

  • Author
  • #1945

    Sara Damiano

    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:

    platform = atmelavr
    board = envirodiy_mayfly
    framework = arduino

  • #1967

    Sara Damiano

    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.
    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.