Giter Site home page Giter Site logo

Comments (5)

valeros avatar valeros commented on June 18, 2024

It seems that their device names differ a bit from ours, so you probably won't be able to use the $BOARD_MCU variable. Anyway, just install the pyudpi package via pip pip install https://github.com/mraardvark/pyupdi/archive/master.zip and it should work with your slightly modified configuration:

...
upload_speed = 115200
upload_flags =
    -d
    mega3209
    -c
    $UPLOAD_PORT
    -b
    $UPLOAD_SPEED
upload_command = pyupdi $UPLOAD_FLAGS -f $SOURCE

from platform-atmelmegaavr.

MCUdude avatar MCUdude commented on June 18, 2024

Cool, I'll give it a try a little later. So it wouldn't make sense to include it in the atmelmegaavr toolchain? It's easy to install pyupdi on a Mac/Linux computer, but on Windows, you'll probably have to install the whole python/pip package first, so the bar is a little higher.

Could pyupdi be installed automatically by PlatformIO if called?

from platform-atmelmegaavr.

valeros avatar valeros commented on June 18, 2024

If someone uses PlatformIO they already have Python and pip installed, so you can type directly in the IDE terminal python -m pip install https://github.com/mraardvark/pyupdi/archive/master.zip

from platform-atmelmegaavr.

MCUdude avatar MCUdude commented on June 18, 2024

It would be great if you could document this in your docs as an option for a custom upload command. I will also document it in the MegaCoreX repo

from platform-atmelmegaavr.

valeros avatar valeros commented on June 18, 2024

Thanks, added!

from platform-atmelmegaavr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.