Closed SoniaZotz closed 1 year ago
Check the video in the readme for how to change the MCU for ESP-IDF. https://github.com/sukesh-ak/ESP32-TUX#watch-project-demo-walkthrough---clone-build-and-flash
If you are new to ESP-IDF, I would suggest to learn a bit more, than creating new issues on this repo.
I suggest that you try to compile this git repo using esp-idf-v5.1.1\ please run it for me and see the results
as for the little video - it would be simpler just to have a text list of steps
I appreciate your work, experience and knowledge and please be gentle we all started to walk with someone's help Thank you
git clone --recursive https://github.com/sukesh-ak/ESP32-TUX.git cd E:__test\ESP32-TUX idf.py set-target esp32s3
-- --------------Compile Info------------ -- IDF_PATH = E:/Espressif/frameworks/esp-idf-v5.1.1 -- IDF_TARGET = esp32s3 -- PROJECT_NAME = ESP32-TUX -- PROJECT_DIR = E:/test/ESP32-TUX -- BUILD_DIR = E:/test/ESP32-TUX/build -- SDKCONFIG = E:/test/ESP32-TUX/sdkconfig -- SDKCONFIG_DEFAULTS = E:/test/ESP32-TUX/sdkconfig.defaults -- CONFIG_LV_CONF_SKIP =
-- CMAKE_SOURCE_DIR = E:/test/ESP32-TUX -- CMAKE_BINARY_DIR = E:/test/ESP32-TUX/build -- ---------By Sukesh Ashok Kumar--------- -- Configuring done -- Generating done -- Build files have been written to: E:/__test/ESP32-TUX/build
======================================================================================================= idf.py menuconfig
Select the device (MakerFabs ESP32S3SPI35 - SPI - 16MB Flash) --->
Flash size (16 MB) --->
Configuration saved to 'E:/__test/ESP32-TUX/sdkconfig'
=======================================================================================================
idf.py build
-- --------------Compile Info------------ -- IDF_PATH = E:/Espressif/frameworks/esp-idf-v5.1.1 -- IDF_TARGET = esp32s3 -- PROJECT_NAME = ESP32-TUX -- PROJECT_DIR = E:/test/ESP32-TUX -- BUILD_DIR = E:/test/ESP32-TUX/build -- SDKCONFIG = E:/test/ESP32-TUX/sdkconfig -- SDKCONFIG_DEFAULTS = E:/test/ESP32-TUX/sdkconfig.defaults -- CONFIG_LV_CONF_SKIP =
-- CMAKE_SOURCE_DIR = E:/test/ESP32-TUX -- CMAKE_BINARY_DIR = E:/test/ESP32-TUX/build -- ---------By Sukesh Ashok Kumar--------- -- Configuring done -- Generating done -- Build files have been written to: E:/__test/ESP32-TUX/build [5/1213] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
nvs,data,nvs,0x9000,16K, otadata,data,ota,0xd000,8K, phy_init,data,phy,0xf000,4K, factory,app,factory,0x10000,2M, ota_0,app,ota_0,0x210000,2M, ota_1,app,ota_1,0x410000,2M, storage,data,spiffs,0x610000,512K,
======================================================================================================= E:/test/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32/common.cpp:812:14: error: 'struct i2c_dev_t' has no member named 'comd0'; did you mean 'comd'? 812 | (&dev->comd0)[index].val = cmd_val; | ^~~~~ | comd [1094/1213] Building C object esp-idf/lvgl/CMakeFiles/__idf_lvgl.dir/src/extra/libs/fsdrv/lv_fs_posix.c.objninja: build stopped: subcommand failed. ninja failed with exit code 1, output of the command is in the E:\test\
=============================================================================================================
E:/test/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:39:25: error: member 'lgfx::v1::pixelcopy_t::~~~
E:/__test/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:40:25: error: member 'lgfx::v1::pixelcopy_t::~~~
cc1plus.exe: some warnings being treated as errors
[109/110] Generating binary image from built executableesptool.py v4.7.dev2
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Generated E:/~~~~^~~
In file included from E:/test/ESP32-TUX/main/helpers/helper_sntp.hpp:27:
E:/Espressif/frameworks/esp-idf-v5.1.1/components/lwip/include/apps/esp_sntp.h:241:6: note: declared here
241 | void sntp_servermode_dhcp(int set_servers_from_dhcp)
| ^~~~~~~~
E:/test/ESP32-TUX/main/helpers/helper_sntp.hpp: In function 'void initialize_sntp()':
E:/test/ESP32-TUX/main/helpers/helper_sntp.hpp:133:26: warning: 'void sntp_setoperatingmode(u8_t)' is deprecated: use esp_sntp_setoperatingmode() instead [-Wdeprecated-declarations]
133 | sntp_setoperatingmode(SNTP_OPMODE_POLL);
| ~~~~~^~~~~~
E:/Espressif/frameworks/esp-idf-v5.1.1/components/lwip/include/apps/esp_sntp.h:235:6: note: declared here
235 | void sntp_setoperatingmode(u8_t operating_mode)
| ^~~~~
E:/__test/ESP32-TUX/main/helpers/helper_sntp.hpp:134:23: warning: 'void sntp_setservername(u8_t, const char)' is deprecated: use esp_sntp_setservername() instead [-Wdeprecated-declarations]
134 | sntp_setservername(0, "pool.ntp.org");
| ~~~~^~~~~
E:/Espressif/frameworks/esp-idf-v5.1.1/components/lwip/include/apps/esp_sntp.h:249:6: note: declared here
249 | void sntp_setservername(u8_t idx, const char server)
| ^~~~~~
E:/test/ESP32-TUX/main/helpers/helper_sntp.hpp:139:14: warning: 'void sntp_init()' is deprecated: use esp_sntp_init() instead [-Wdeprecated-declarations]
139 | sntp_init();
| ~~~~~^~
E:/Espressif/frameworks/esp-idf-v5.1.1/components/lwip/include/apps/esp_sntp.h:255:6: note: declared here
255 | void sntp_init(void)
| ^~~~~
In file included from E:/test/ESP32-TUX/components/lvgl/src/core/lv_obj.h:140,
from E:/test/ESP32-TUX/components/lvgl/lvgl.h:35,
from E:/test/ESP32-TUX/main/helpers/helper_display.hpp:27,
from E:/test/ESP32-TUX/main/main.hpp:78:
E:/test/ESP32-TUX/components/lvgl/src/core/lv_obj_style.h: In function 'void lv_obj_remove_style_all(_lv_obj_t*)':
E:/__test/ESP32-TUX/components/lvgl/src/core/lv_obj_style.h:94:48: warning: bitwise operation between different enumeration types '~~^~~~
In file included from E:/~~~~^~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the E:\