I found a solution by installing version 1.58.2 and simply changing the folder name to 1.58.1, it works.
Unable to install Third-Party Software for Arduino Compatible Teensy Hardware in the version 1.58.1
1 次查看(过去 30 天)
显示 更早的评论
Hello
I'm having a problem installing Teensy Core. The documentation suggests installing version 1.58.1, but this is no longer proposed in the https://www.pjrc.com/teensy/package_teensy_index.json file and the command :
arduino-cli core install teensy:avr@1.58.1 --config-file "C:\aCLI\arduino-cli.yaml"
returns an error :
Error during install: Platform 'teensy:avr@1.58.1' not found: required version 1.58.1 not found for platform teensy:avr
The available versions are 1.58.2 and 1.59.0. It is possible to install the latter, but compiling the simulink model returns an error because it is looking for version 1.58.1 (see the 5th line)
"### Generating static library."
"C:/Program Files/MATLAB/R2024a/bin/win64/gmake" -j5 -C "C:/PROGRA~3/MATLAB/SUPPOR~1/R2024a/toolbox/target/SUPPOR~1/ARDUIN~1/STATIC~1" SHELL="%SystemRoot%/system32/cmd.exe" -f teensycore.mk all
gmake[1]: Entering directory `C:/PROGRA~3/MATLAB/SUPPOR~1/R2024a/toolbox/target/SUPPOR~1/ARDUIN~1/STATIC~1'
gmake[1]: Leaving directory `C:/PROGRA~3/MATLAB/SUPPOR~1/R2024a/toolbox/target/SUPPOR~1/ARDUIN~1/STATIC~1'
gmake[1]: *** No rule to make target `C:/ProgramData/MATLAB/SupportPackages/R2024a/aCLI/data/packages/teensy/hardware/avr/1.58.1/cores/teensy4/memcpy-armv7m.S', needed by `C:/Users/judic/DOCUME~1/MATLAB/R2024a/ARDUIN~1/TEENSY~1.0AR/FASTER~1/memcpy-armv7m.S.o'. Stop.
gmake: *** [all] Error 2
In fact, at the beginning of the compilation messages, there are some pre-registered variables
TEENSY_LIB_VERSION = 1.58.1
TEENSY_GCC_VERSION = 11.3.1
TEENSY_TOOLS_VERSION = 1.58.0
TEENSY_CPU_FREQ = 600000000
Is it possible to modify these variables? Would this allow the compilation to finish if the expected version matches the installed one? Or should we ask the Teensy designer to make version 1.58.1 still available?
Many thanks
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!