Hi, I’m using NuttX on a M1 MacBook Air since a couple of months. I’ve no issues to get NuttX compiled for my RP2040 based targets.
But I can confirm, that the Sim configuration sim:nsh not working. Currently, I see there are two issues: /1/ M1 „Host CPU Type“ is detected as x86_64, but not as „arm“ Workarround for this is, to set it manually in the configuration /2/ At least the following files are not compilable arch/sim/src/sim/up_vfork_arm.S <https://github.com/ptka/incubator-nuttx#diff-fd079323b0636ac4012f50afe8c5555656d7a760b0429f46188919fe7807f8a5> libs/libc/machine/sim/arch_setjmp_arm.S <https://github.com/ptka/incubator-nuttx#diff-cffded10274b4845aae8c75bd91550d140214585ea17d47f2cf01dd021a16abe> libs/libc/stdio/lib_libvsprintf.c <https://github.com/ptka/incubator-nuttx#diff-befc8e04ddb3722f024f65ffd7648aac1cb24846d2b80fff6328e3cb5862220f> The 2nd point could be related to a wrong compiler/assembler selected or the way, the compiler is invoked. In worst case, it’s there code itself. I would be very interested helping to find a solution on this topic. /Piet > Am 29.01.2022 um 17:33 schrieb Tomasz CEDRO <to...@cedro.info>: > > macOS is a BSD.. very close to FreeBSD: > 1. Use gmake. > 2. Make sure you have the right version of kconfig-frontends package > installed. If you installed it locally make sure path to your local > binary is in the first place. > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info