I am using Mbed Studio 1.4.5 on a MacBook Air with M1 chip running OS 14.1.1
I am able to successfully compile the Bare Metal Blinky example but I am not able to run it. It appears to load to the board but the following error is printed in the output pane:
OSError: dlopen(/var/folders/v_/kzjm79_93rq10tyg34wf7v900000gn/T/tmpslpj4rud.dylib, 0x0006): tried: ‘/var/folders/v_/kzjm79_93rq10tyg34wf7v900000gn/T/tmpslpj4rud.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/var/folders/v_/kzjm79_93rq10tyg34wf7v900000gn/T/tmpslpj4rud.dylib’ (no such file), ‘/var/folders/v_/kzjm79_93rq10tyg34wf7v900000gn/T/tmpslpj4rud.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/private/var/folders/v_/kzjm79_93rq10tyg34wf7v900000gn/T/tmpslpj4rud.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/v_/kzjm79_93rq10tyg34wf7v900000gn/T/tmpslpj4rud.dylib’ (no such file), ‘/private/var/folders/v_/kzjm79_93rq10tyg34wf7v900000gn/T/tmpslpj4rud.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’))
Any suggestions would be appreciated.