Closed dontsovcmc closed 3 years ago
Hi @dontsovcmc ! Your log seems a bit outdated, the latest framework-arduinoavr
package is no longer contains external cores, please run pio platform update atmelavr
.
@valeros I use platformio extension for VSCode. VSCode: Core 5.1.0·Home 3.3.4 platformio.ini platform = atmelavr@3.1.0
How I can understand what source files platformio use when compiling?
VSCode terminal output:
pio platform update atmelavr
***********************************************************************************************************************
Obsolete PIO Core v4.0.3 is used (previous was 5.1.0)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system
***********************************************************************************************************************
Platform atmelavr
--------
Updating atmelavr @ 3.1.0 [Off-line]
Updating toolchain-atmelavr @ 1.50400.190710 [Off-line]
Updating framework-arduino-avr-attiny @ 1.3.2 [Off-line]
Mac:Attiny85 user$ pio --version
PlatformIO, version 4.0.3
Mac:Attiny85 user$ which pio
/Library/Frameworks/Python.framework/Versions/2.7/bin/pio
You locked your platform version specifically to v3.1.0. It means that you won't get any package updates except patch fixes. If you want to pull the latest changes, you need to the delete version requirement @3.1.0
and update your platform.
Besides, you have multiple PlatformIO Cores installed installed in your system, so please read https://docs.platformio.org/en/latest/faq.html#multiple-platformio-cores-in-a-system
Of course! atmelavr 3.1.0 is the latest. So, I can't understand where I can find you dependencies to ATTinyCore
atmelavr 3.1.0 is the latest
The latest is 3.2.0, but anyway, it looks better now. Does that i2c error still bother you taking into account hat the package version is now 1.3.2
?
Wow, it's good.
So, if I remove version from platformio.ini, i need upgrade library manually before compiling, yes?
Do you mean library or framework package? When you remove a version requirement then PlatformIO will update the package automatically if the auto_update_platforms
setting is not disabled.
Where I can find what framework commit is used?
The version of the package it the same as in the upstream repository.
I know where is atmelavr releases https://github.com/platformio/platform-atmelavr/releases/tag/v3.2.0 But, I can't find tinycore repo... Where is it?
Where I can find "what ATTinyCore version is inside platform-atmelavr 3.2.0"?
Ok "~1.3.2", where is a link to ATTinyCore?
There's no direct link, the package is uploaded to PlatformIO Registry and then delivered to users via our CDN.
Ok, I'm nubbie, I know nothing about ATTinyCore. How can I understand, that platform.json downloads ATTinyCore for framework-arduino-avr-attiny?
In what local folder I can find any property file from ATTinyCore?
Ok, I'm nubbie, I know nothing about ATTinyCore. How can I understand, that platform.json downloads ATTinyCore for framework-arduino-avr-attiny?
I'm not sure I understand the question. The package is downloaded when you first run a project that uses one of the boards supported by ATTinyCore.
In what local folder I can find any property file from ATTinyCore?
The package is located here ~/.platformio/packages/framework-arduino-avr-attiny
I see framework-arduino-avr-attiny version: /Users/dontsov/.platformio/packages/framework-arduino-avr-attiny/package.json - 1.3.2, ok. But current SpenceKonde version is 1.5.2. Where is this number?
It means that the latest supported version is 1.3.2 and there is no package for 1.5.2 at the moment.
WOW! I'm confused. You have hidden relation with SpenceKonde/ATTinyCore repo without any information in the source code. You have 1.3.2 version of somewhere in platform.json.
p.s. I spend some days debugging code and can't understand what source downloaded.
You have hidden relation with SpenceKonde/ATTinyCore
It's not hidden, you can open ~/.platformio/packages/framework-arduino-avr-attiny/package.json
and see what version and repository are used.
p.s. I spend some days debugging code and can't understand what source downloaded.
What do you mean? It's explicitly printed when you compile your project:
PACKAGES:
...
- framework-arduino-avr-attiny 1.3.2
...
Sorry, I don't see
"repository": {
"type": "git",
"url": "https://github.com/SpenceKonde/ATTinyCore"
}
Is it possible to use latest ATTinyCore without upgrading framework-arduino-avr-attiny?
1.3.2 - SpenceKonde released this on 25 Aug 2019
Does that i2c error still bother you taking into account hat the package version is now
1.3.2
?
The bug was solved in 1.5.0. https://github.com/SpenceKonde/ATTinyCore/commit/4b9d184d5f1a75cdcc3d87aa9c412058e3ac5e4c
Is it possible to upgrade ATTinyCore version or I can link last ATTinyCore version manually?
Thanks and sorry for long talk!
The ATTinyCore has been updated to the latest v1.5.2 in the dev branch, please test it with the upstream platform:
[env:envname]
platform = https://github.com/platformio/platform-atmelavr.git
framework = ...
board = ...
Thanks a lot!
Current version 1.5.2: https://github.com/SpenceKonde/ATTinyCore/releases
I see in output:
It's hidden core version. Your version is 1.2.0:
Where is framework-arduinoavr downloads 1.2.0 ATTinyCore?
How I can use another ATTinyCore version safety?
Remark: I love platformio, opensourse and library management. BUT I can't understand how Platformio framework management works! It wastes a lot of time for debugging framework errors!