So you are actually trying to run on Espruino on the Mac itself, rather than cross-compiling it for another target?
I'd suggest commenting out the TENSORFLOW line in boards/LINUX.py for starters - just to make sure you're not building that in initially and causing yourself more trouble.
I can't say I've ever actually built it for the M1 (or even to run under Mac OS - I deal mainly with Linux) but it doesn't generally have issues with running under 64 bit x86 (or ARM, obviously) so I wouldn't have thought there'd be big issues.
... you could maybe try and build for 32 bit ARM with -m32 as a command to the compiler - since obviously we know 32 bit ARM builds work fine.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
So you are actually trying to run on Espruino on the Mac itself, rather than cross-compiling it for another target?
I'd suggest commenting out the
TENSORFLOW
line inboards/LINUX.py
for starters - just to make sure you're not building that in initially and causing yourself more trouble.I can't say I've ever actually built it for the M1 (or even to run under Mac OS - I deal mainly with Linux) but it doesn't generally have issues with running under 64 bit x86 (or ARM, obviously) so I wouldn't have thought there'd be big issues.
... you could maybe try and build for 32 bit ARM with
-m32
as a command to the compiler - since obviously we know 32 bit ARM builds work fine.