Using PlatformIO with Mayfly

Home Forums Mayfly Data Logger Using PlatformIO with Mayfly

Tagged: , ,

This topic contains 1 reply, has 1 voice, and was last updated by Profile photo of Sara Damiano Sara Damiano 3 weeks, 3 days 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.

You must be logged in to reply to this topic.