Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people 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: , ,

Viewing 2 reply threads
  • Author
    Posts
    • #1945
      Sara Damiano
      Moderator

        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
        Sara Damiano
        Moderator

          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
          Anthony Aufdenkampe
          Participant

            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!

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.