Giter Site home page Giter Site logo

Comments (3)

MCUdude avatar MCUdude commented on June 20, 2024

Use

platform = https://github.com/platformio/platform-atmelmegaavr#develop

instead

from platform-atmelmegaavr.

br74649 avatar br74649 commented on June 20, 2024

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.

br74649 avatar br74649 commented on June 20, 2024

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)

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.