CC ../../extmod/machine_i2c.c
CC ../../extmod/machine_mem.c
CC ../../extmod/machine_pinbase.c
CC ../../extmod/machine_pulse.c
CC ../../extmod/machine_pwm.c
In file included from ../../py/mphal.h:33,
from ../../py/mpprint.c:33:
./esp_mphal.h:27:10: fatal error: user_interface.h: No such file or directory
#include "user_interface.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
The header file user_interface.h (that is present at xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/user_interface.h on Linux toolchain) is nowhere to be found in MACOS.
If you build ESP8266 micropython (any version) on MACOS (any version) using toolchain downloaded from https://dl.espressif.com/dl/xtensa-lx106-elf-gcc8_4_0-esp-2020r3-macos.tar.gz , you will get the following error:
The header file
user_interface.h
(that is present atxtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/user_interface.h
on Linux toolchain) is nowhere to be found in MACOS.