jasonacox / TM1637TinyDisplay

Arduino library to display numbers and text on a 4 and 6 digit 7-segment TM1637 display modules.
GNU Lesser General Public License v3.0
69 stars 19 forks source link

Platformio shows only version 1.1.0 on M1 processors #34

Open Mir1001 opened 1 year ago

Mir1001 commented 1 year ago

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 commented 1 year ago

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

lib_deps = 
    ...
    https://github.com/jasonacox/TM1637TinyDisplay.git
        ...
jasonacox commented 1 year ago

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 commented 1 year ago

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 commented 4 months ago

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