Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platformio shows only version 1.1.0 on M1 processors #34

Open
Mir1001 opened this issue Jul 1, 2023 · 4 comments
Open

Platformio shows only version 1.1.0 on M1 processors #34

Mir1001 opened this issue Jul 1, 2023 · 4 comments

Comments

@Mir1001
Copy link

Mir1001 commented Jul 1, 2023

Searching for the library in Platformio PIO Home (Mac with M1 processor, VC) shows only the 1.1.0 version (the changelog in VC shows all versions). If I try to update it manually (platformio.ini), I get a following error:

Library Manager: Removing TM1637TinyDisplay @ 1.1.0
Library Manager: TM1637TinyDisplay@1.1.0 has been removed!
Library Manager: Installing jasonacox/TM1637TinyDisplay @ ^1.10.0
Error: Could not find the package with 'jasonacox/TM1637TinyDisplay @ ^1.10.0' requirements for your system 'darwin_arm64'
@Mir1001
Copy link
Author

Mir1001 commented Jul 1, 2023

Workaround to use latest version of the lib
Import lib with git repro in platformio.ini:

lib_deps = 
	...
	https://github.com/jasonacox/TM1637TinyDisplay.git
        ...

@Mir1001 Mir1001 changed the title Platform.io. shows only version 1.1.0 on M1 processors Platformio shows only version 1.1.0 on M1 processors Jul 1, 2023
@jasonacox
Copy link
Owner

Hi @Mir1001 !

A quick search and I find a similar (and old) thread for another package: https://community.platformio.org/t/apple-silicon-m1-chip-darwin-arm64-problem-with-xtensa32-toolchain/19270/3 - It seems the solution was to have a PlatformIO team member update the pacakge. I'm not familiar enough with the PlatformIO stack to know how to request them to compile the newer version.

I see our library in the registry here: https://registry.platformio.org/libraries/jasonacox/TM1637TinyDisplay - I'll hunt around to see how we can request that they update to latest.

Thanks for opening this!

jasonacox added a commit that referenced this issue Jul 1, 2023
PlatformIO may need "version" element to pull latest version, as shown in https://docs.platformio.org/en/latest/librarymanager/creating.html.
@jasonacox
Copy link
Owner

I found https://docs.platformio.org/en/latest/librarymanager/creating.html which indicates that a version element in the manifest. I added that in hopes that it will cause the PlatformIO scanner to pick up and build the latest.

@jimb-cc
Copy link

jimb-cc commented Mar 18, 2024

I'm seeing this problem too in windows11 but the workaround to pull in the .git library is working fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants