Simulator on M1/M2 MacOS seems not working:
Create version.h
Register: gpio
Register: hello
Register: dumpstack
Register: nsh
Register: sh
...
'g_reg_offs'
.basic_num = nitems(g_reg_offs),
^
sim/sim_tcbinfo.c:96:28: error: use of undeclared identifier 'g_reg_offs'
sim/sim_tcbinfo.c:97:28: error: use of undeclared identifier 'g_reg_offs'
.total_num = nitems(g_reg_offs),
^
sim/sim_tcbinfo.c:97:28: error: use of undeclared identifier 'g_reg_offs'
sim/sim_tcbinfo.c:99:10: error: use of undeclared identifier 'g_reg_offs'
.p = g_reg_offs,
^
5 errors generated.
make[1]: *** [sim_tcbinfo.o] Error 1
make: *** [arch/sim/src/libarch.a] Error 2
Looking at the sim_tcbinfo.c, it seems that there are only g_reg_offs defined for CONFIG_HOST_X86, CONFIG_HOST_X86_64, and CONFIG_SIM_M32, but sounds that there's no g_reg_offs defined for CONFIG_HOST_ARM64.
Simulator on M1/M2 MacOS seems not working:
Looking at the
sim_tcbinfo.c, it seems that there are onlyg_reg_offsdefined forCONFIG_HOST_X86,CONFIG_HOST_X86_64, andCONFIG_SIM_M32, but sounds that there's nog_reg_offsdefined forCONFIG_HOST_ARM64.