Comments (5)
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.
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.
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.
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.
Thanks, added!
from platform-atmelmegaavr.
Related Issues (20)
- Users can't upload to Uno WiFi Rev2 because of argument escaping problem HOT 3
- Fuse programming doesn't work
- problem with uart on attiny1624 HOT 1
- running upstream versions HOT 3
- DXCore uart upload with optiboot HOT 4
- DXcore bootloader burn and updi uploading HOT 5
- Include errors with ATTINY3227 HOT 3
- 2-series ATTiny support release date
- Upgrade to Avrdude 7.0 HOT 3
- socket.py import error DLL load failed (DxCore) HOT 1
- ATMega4808 and bootloader with UPDI HOT 10
- Error seen when using platform_packages
- Update MegaCoreX to the latest version HOT 1
- Upgrade framework-arduino-megaavr-megatinycore to 2.6.5 HOT 3
- Upload protocol "custom" still looks for AVRdude HOT 1
- framework-arduino-megaavr-dxcore outdated HOT 2
- tool-avrdude not installed correctly if needed HOT 1
- Updated PIO, build now fails with "KeyError: 'tool-avrdude," but I'm not even using avrdude HOT 1
- Pre-defined fuses ... can't set UPDI pin mode or MVIO mode fuses on AVR64DD28 HOT 4
- Atmelavr toolchain iom4808.h file missing USART3? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platform-atmelmegaavr.