I've tried this on:
- Intel MacBook Pro w/ Big Sur and Arduino 1.8.?.
- M1 Mac Mini w/ Big Sur 11.4 and Arduino 1.8.15
- M1 Mac Mini w/ Big Sur 11.4 and Arduino IDE 2.0.0-beta7
When I try to compile a sketch that had worked for me on my MacBook Pro in January, I now get a compiler error reporting "recipe.c.o.pattern pattern is missing"
I think I've tracked this down to $HOME/Library/Arduino15/packages/Z-Uno-hardware/zw8051/2.1.7/platform.txt having nothing for that key:
Code: Select all
recipe.c.o.pattern=
Code: Select all
recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {compiler.arm.cmsis.c.flags} "-I{build.core.path}/api/deprecated" "-I{build.core.path}/api/deprecated-avr-comp" {includes} "{source_file}" -o "{object_file}"
2.1.7 - "recipe.c.o.pattern pattern is missing"
2.1.6 - "recipe.c.o.pattern pattern is missing"
2.1.5 - "Bad CPU type in executablePreprocessor"
2.1.4 - "Bad CPU type in executablePreprocessor"
2.1.3 - "Bad CPU type in executablePreprocessor"
2.1.1 - "Bad CPU type in executablePreprocessor"
2.0.5 - "recipe.preproc.macros pattern is missing"
I am able to compile something with
Code: Select all
"$HOME/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.82/zuno_toolchain/compiler build $HOME/the_sketch.ino -r $HOME/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.7 -p $HOME/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.82/zuno_toolchain/sdcc"
Commenting out the "recipe.c.o.pattern=" line in platform.txt gave the same error.
Assigning some dummy program (like "recipe.c.o.pattern=/bin/echo") allows the compilation to think that it succeeded, and I can upload the sketch, but I just get a blinking LED, which I'm figuring is a fail-over default sketch when the uploaded sketch doesn't have the right format.
This is very disappointing, as I had been planning on making a YouTube video about how to make interesting Z-Wave devices with the Z-Uno, but, as things stand now, I can't do anything with it.