Comments (3)
Use
platform = https://github.com/platformio/platform-atmelmegaavr#develop
instead
from platform-atmelmegaavr.
thanks @MCUdude its not going so well for me :(
i got this in a blank project
[env:ATtiny1624]
platform = https://github.com/platformio/platform-atmelmegaavr#develop
board = ATtiny1624
framework = arduino
i click the build button and get this
Executing task in folder test: C:\Users\tony_.platformio\penv\Scripts\platformio.exe run --environment ATtiny1624 <
Processing ATtiny1624 (platform: https://github.com/platformio/platform-atmelmegaavr#develop; board: ATtiny1624; framework: arduino)
---------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelmegaavr/ATtiny1624.html
PLATFORM: Atmel megaAVR (1.5.0+sha.abbc969) > ATtiny1624
HARDWARE: ATTINY1624 16MHz, 2KB RAM, 16KB Flash
PACKAGES:
- framework-arduino-megaavr-megatinycore 2.5.6+sha.4d045e7
- toolchain-atmelavr 3.70300.220127 (7.3.0)
ValueError: too many values to unpack (expected 3):
File "C:\Users\tony_.platformio\penv\lib\site-packages\platformio\builder\main.py",
line 181:
env.SConscript("$BUILD_SCRIPT")
when i make it print the package_version where it errors it seems package version is: 2.5.6+sha.4d045e7 and overloading the major,minor,patch = package_version.split(".")
Thanks
Tony
from platform-atmelmegaavr.
Hi,
because i hate to find problems without a resolution in google... i thought i would put my resolution here
deleting everything with avr in it under .platformio/packages .platformio/platforms and deleting all of .cache made it suddenly work, when running the build it downloaded everything into a clean environment i suspect
doing as above in platform = https://github.com/platformio/platform-atmelmegaavr#develop
and all was well
My final issue was the test blink sketch used led_builtin which is not defined in the 1624 chip so was throwing a linker error in wiring.c, but led_builtin works for the 1626 which was a bit of a red herring for me to figure out
Thanks @MCUdude for your help
I have at least learned something - not sure what it is but i did learned it :)
from platform-atmelmegaavr.
Related Issues (20)
- 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
- Upgrade framework-arduino-megaavr-megatinycore to 2.6.9 HOT 1
- millis() not working: Incorrect hardware timer defined for 14 and 20 pin devices in arduino.py
- Platform atmelmegaavr installs old gcc by default HOT 1
- Update DXCore to 1.5.11
- delay() not working on Atmega808 HOT 1
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.