I just noticed that SITL on my M1 Mac is being compiled as a x86-64 (i.e. Intel) architecture exe.
file /Users/tim/ArduPilot/master/build/sitl/bin/arduplane
/Users/tim/ArduPilot/master/build/sitl/bin/arduplane: Mach-O 64-bit executable x86_64
It think this might be causing some problems with autotest, but in any case, I’d like to be able to compile and run a native ARM exe. waf seems like a big black box to me, but I do know how make works, so if someone could point me in the right direction, I’d like to try to get SITL to compile as a native M1 binary. Can someone tell me where to look?