Open JM6502 opened 2 months ago
I fixed the problem. To fix the follow these steps.
set(LCD_DIR ${CMAKE_BINARY_DIR}/../lcd_binding_micropython) set(LCD_DIR "/home/Storage-drive/FIRM/lilygo-micropython-master/build_dir/esp32s3/build-LILYGO_T-DisplayS3-AMOLED/lcd_binding_micropython") message(STATUS "LCD_DIR is set to ${LCD_DIR}") include(${LCD_DIR}/lcd/micropython.cmake)
Dont forget to change the path to the path to the lilygo-micropython-master/build_dir/esp32s3/build-LILYGO_T-DisplayS3-AMOLED/lcd_binding_micropython
Save the file
Go back to lilygo-micropython-master and run "make"
while building i get the error:
CMake Error at /home/Storage-drive/FIRM/lilygo-micropython-master/extmod/display/lcd/src/micropython.cmake:3 (include): include could not find requested file:
Call Stack (most recent call first): /home/Storage-drive/FIRM/lilygo-micropython-master/extmod/micropython.cmake:19 (include) /home/Storage-drive/FIRM/lilygo-micropython-master/build_dir/esp32s3/micropython/py/usermod.cmake:42 (include) main/CMakeLists.txt:14 (include)
And yes i have deleted Ninja, also in the bottom i get the message:
-- Configuring incomplete, errors occurred! See also "/home/Storage-drive/FIRM/lilygo-micropython-master/build_dir/esp32s3/build-LILYGO_T-DisplayS3-AMOLED/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1 make[1]: [Makefile:42: all] Error 2 make[1]: Leaving directory '/home/Storage-drive/FIRM/lilygo-micropython-master/build_dir/esp32s3/micropython/ports/esp32' make: [Makefile:36: all] Error 2