To compile with lilygo-micropython you need to get the following packages. The command to run depends on which distribution of Linux you are using:
sudo apt-get install git make python3 python3-pip cmake quilt
$ cp config_T-SIM7000G config
$ make
$ cp config_T5-4.7 config
$ make
$ cp config_T-CALL config
$ make
$ cp config_T-PicoC3 config
$ sudo apt install gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
$ make
$ cp config_T5-4.7-Plus config
$ make
$ cp config_T-Echo config
$ make
Use circuitpython by default
To use micropython, you need to modify the config file:
--- config_T-Echo 2022-07-13 17:11:04.374660308 +0800
+++ config 2022-07-13 17:11:00.694565940 +0800
@@ -1,3 +1,3 @@
CONFIG_TARGET=nrf
CONFIG_BOARD=LILYGO_T-Echo
-CONFIG_MICROPYTHON_CORE=circuitpython
+# CONFIG_MICROPYTHON_CORE=circuitpython
$ cp config_T-Display config
$ make
$ cp config_T-DisplayS3 config
$ make
$ cp config_T-RGB config
$ make
$ cp config_T7-S3 config
$ make
$ cp config_T-DisplayS3-AMOLED config
$ make
LilyGo-EPD-4-7-OWM-Weather-Display: Using the LilyGo EPD 4.7" display to show OWM Weather Data
Compilation gives the following error:
```
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
make[1]: *** [Makefile:42: all] Error 2
make[1]: Leaving directory '/home/scruss/c/lilygo-micropython/build_dir/esp32s3/micropython/ports/esp32'
make: *** [Makefile:36: all] Error 2
```
Please uninstall ninja and try to compile again
```shell
sudo apt remove ninja-build
rm build_dir -rf
```