Compile Error: Some components (espressif/fmt) in the "managed_components" directory were modified #17
-
Hi Sukesh, Gary K from the facebook posts. What I am trying to do: substitute the starting image 1.home.png with a different image of the same name.
I tried this without taking detailed notes and failed, so I erased the downlad and redownloaded the zip from github the see if I could build the stock, standard, unmodified code. Here are process and the the results: I downloaded the code zip at: https://github.com/sukesh-ak/ESP32-TUX This yielded the following result: HINT: The component LovyanGFX has been moved to the IDF component manager or has been removed and refactored into some other component. I navigated to https://components.espressif.com/ and entered "LovyanGFX" in the search field |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 36 replies
-
Please read the documentation Wiki LovyanGFX (and lvgl) is a submodule so you need to use recursive option with git to get the submodules with the project. Otherwise you can use this command from the components folder git submodule update --init --recursive |
Beta Was this translation helpful? Give feedback.
-
Thank you, followed those instructions and ran idf.py build on an unmodified clone (git clone --recursive https://github.com/sukesh-ak/ESP32-TUX.git) Result: |
Beta Was this translation helpful? Give feedback.
-
Let me try setting the device as you suggest, I was unsure what the ESP
device was so I went for the most basic model.
…On Sat, Jan 7, 2023 at 10:06 AM Sukesh Ashok Kumar ***@***.***> wrote:
As per the output you shared, it says conf_Makerfabs_S3_PTFT.h
But I don't think the IDF target was set. Explained already in the video
demo.
# set MCU target like this for ESP32-S3 devices, by default IDF takes it as `esp32`
idf.py set-target esp32s3
—
Reply to this email directly, view it on GitHub
<#17 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVW4EOEBWWNSCIZSQHVCVDWRGBA3ANCNFSM6AAAAAATTLAEFM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Gary Kuipers, President, Casinfo
cell +1 805 443 9446 other +1 702 608 6558
|
Beta Was this translation helpful? Give feedback.
-
Hi SUkesh: Actually I am using the wt32-c01 subdirectory instead of examples. I hope that is ok. Steps taken: gary@gk-17: Note: I did NOT do menuconfig on purpose: result: Fair enough becasue the specs for the WT32-C01 say "According to the datasheet: ESP32-WROVER-B : the module is a general-purpose Wi-Fi+BT+BLE MCU module, which is equipped with 4MB SPI Flash and 8MB PSRAM" gary@gk-17:~/esp/esp-idf/wt32-c01$ idf.py menuconfig Sukesh: Every single time I have touched anything, like menuconfig or if I have added an mage to the assets, I get this: ary@gk-17:~/esp/esp-idf/wt32-c01/ESP32-TUX$ idf.py build
Call Stack (most recent call first): [2/2] idf (5.0.0)-- Configuring incomplete, errors occurred! |
Beta Was this translation helpful? Give feedback.
-
Hi SUkesh: Actually I am using the wt32-c01 subdirectory instead of examples. I hope that is ok. I will be in the ESP-TUX directory for all slepts. I am using Ubuntu 22.04 as my OS Steps taken: gary@gk-17: Note: On this first build I did NOT do menuconfig on purpose (wanted to do a build of the original) result: Fair enough becasue the specs for the WT32-C01 say "According to the datasheet: ESP32-WROVER-B : the module is a general-purpose Wi-Fi+BT+BLE MCU module, which is equipped with 4MB SPI Flash and 8MB PSRAM" gary@gk-17:~/esp/esp-idf/wt32-c01$ idf.py menuconfig Sukesh: Every single time I have touched anything, like menuconfig or if I have added an mage to the assets, I get this: gary@gk-17:~/esp/esp-idf/wt32-c01/ESP32-TUX$ idf.py build
Call Stack (most recent call first): [2/2] idf (5.0.0)-- Configuring incomplete, errors occurred! |
Beta Was this translation helpful? Give feedback.
-
Hi SUkesh: I have about 30 hours in this one thing I thought woudl take 15 minutes :-( I appreciate your help and will look at the espressif issue. Also, this is just for a stupid demo. I just need to display a static image. Can you suggest an altermatve piece of equipment I can try or an alternate method with this equipment? Unsure if this is relevant. I shut down my laptop after sending tyou the previous message. When I went to reproduce the error so that I could implement your suggestion it SEEMS the buid worked (continue reading, though becasue at the en there is another fail): gary@gk-17:~/esp/esp-idf/wt32-c01/ESP32-TUX$ idf.py build gary@gk-17:~/esp/esp-idf/wt32-c01/ESP32-TUX$ idf.py -p /dev/ttyUSB0 flash Leaving... But reset button presses and power off/on cycles no longer display the 1.home.png image. Just as a reminder: The ONLY objective I have is to replace the 1.home.png image with an image of my choosing. Here is what I plan to do:
gary@gk-17:
gary@gk-17: gary@gk-17: This should not casue a "change" unlesss inode numbers are being used to trak teh assets gary@gk-17: |
Beta Was this translation helpful? Give feedback.
-
Btw, there are several sample images (wallpaper) and its binary version in this folder |
Beta Was this translation helpful? Give feedback.
-
I'll go for that!! Thanks!
…On Mon, Jan 9, 2023 at 9:59 AM Sukesh Ashok Kumar ***@***.***> wrote:
Btw, there are several sample images (wallpaper) and its binary version in
this folder
https://github.com/sukesh-ak/ESP32-TUX/tree/master/main/images
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVW4EM4D2GZKP5Z2OUUUODWRQRUPANCNFSM6AAAAAATTLAEFM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Gary Kuipers, President, Casinfo
cell +1 805 443 9446 other +1 702 608 6558
|
Beta Was this translation helpful? Give feedback.
-
It was originally a jpg which I converted to a png because that was the
format of the 1.home.png we were trying to compile.
Trying jpg
…On Mon, Jan 9, 2023 at 12:44 PM Sukesh Ashok Kumar ***@***.***> wrote:
Try a jpg. Maybe the png is interlaced or so.
There are more types in PNG files with transparency as well.
—
Reply to this email directly, view it on GitHub
<#17 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVW4EMIFE5W7PO77WAE4GLWRRE73ANCNFSM6AAAAAATTLAEFM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Gary Kuipers, President, Casinfo
cell +1 805 443 9446 other +1 702 608 6558
|
Beta Was this translation helpful? Give feedback.
-
I converted the JPG to a BIN and placed it in the bg directory:
The build was SUPER SHORT: (do I have to "touch" something to do the
build??)
***@***.***:~/esp/esp-idf/wt32-c01/ESP32-TUX$ idf.py build
Executing action: all (aliases: build)
Running ninja in directory /home/gary/esp/esp-idf/wt32-c01/ESP32-TUX/build
Executing "ninja all"...
[1/5] cd
/home/gary/esp/esp-idf/wt32-c01/ESP32-TUX/build/esp-idf/esptool_py...ion-table.bin
/home/gary/esp/esp-idf/wt32-c01/ESP32-TUX/build/ESP32-TUX.binESP32-TUX.bin
binary size 0x1fd3a0 bytes. Smallest app partition is 0x200000 bytes.
0x2c60 bytes (1%) free.
Warning: The smallest app partition is nearly full (1% free space left)!
[1/1] cd
/home/gary/esp/esp-idf/wt32-c01/ESP32-TUX/build/bootloader/esp-idf...0
/home/gary/esp/esp-idf/wt32-c01/ESP32-TUX/build/bootloader/bootloader.binBootloader
binary size 0x6700 bytes. 0x900 bytes (8%) free.
[3/3] cd /home/gary/esp/esp-idf/wt32-c01/ESP32-TUX/build/esp-idf/main &&
/h... --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic
--use-magic-len
Project build complete. To flash, run this command:
/home/gary/.espressif/python_env/idf5.0_py3.10_env/bin/python
../../components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before
default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio
--flash_size 8MB --flash_freq 40m 0x1000 build/bootloader/bootloader.bin
0x8000 build/partition_table/partition-table.bin 0xd000
build/ota_data_initial.bin 0x10000 build/ESP32-TUX.bin 0x610000
build/storage.bin
or run 'idf.py -p (PORT) flash'
***@***.***:~/esp/esp-idf/wt32-c01/ESP32-TUX$ idf.py -p /dev/ttyUSB0 flash
Same result as before
On Mon, Jan 9, 2023 at 12:53 PM Gary Kuipers <
***@***.***> wrote:
…
On Mon, Jan 9, 2023 at 12:49 PM Sukesh Ashok Kumar <
***@***.***> wrote:
> Share the image here. I will check it out soon.
>
> —
> Reply to this email directly, view it on GitHub
> <#17 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEVW4EK6I7HGVXKCGNDOZVDWRRFRZANCNFSM6AAAAAATTLAEFM>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Gary Kuipers, President, Casinfo
cell +1 805 443 9446 other +1 702 608 6558
--
Gary Kuipers, President, Casinfo
cell +1 805 443 9446 other +1 702 608 6558
|
Beta Was this translation helpful? Give feedback.
-
Tried it, no change, erasing ESP32-TUX and getting it from github again.
Only change will be to replace dev_b9.bin and then menuconfig, build and
flash.
I am ASSUMING that in menuconfig I only need to change the "Select the
device (Wireless-Tag WT32-SC01 - SPI - 4MB Flash" correct?
Success
Configuration saved to
'/home/gary/esp/esp-idf/wt32-c01/ESP32-TUX/sdkconfig'
mv espressif__fmt/ ../components/
***@***.***:~/esp/esp-idf/wt32-c01/ESP32-TUX$ mv
managed_components/espressif__fmt components
***@***.***:~/esp/esp-idf/wt32-c01/ESP32-TUX$
ls components ConfigBase espressif__fmt LovyanGFX lvgl OpenWeatherMap ota
SettingsConfig ***@***.***:~/esp/esp-idf/wt32-c01/ESP32-TUX$
idf.py build
idf.py -p /dev/ttyUSB0 erase
idf.py -p /dev/ttyUSB0 flashidf.py -p /dev/ttyUSB0 flash
Same result ... no image
…On Mon, Jan 9, 2023 at 1:18 PM Sukesh Ashok Kumar ***@***.***> wrote:
Build will be short since most of the ESP-IDF components gets compiled the
first time. So only the changes are compiled.
You can try this too
# This will erase your flash
idf.py -p /dev/ttyUSB0 erase-flash
# Then flash the device again
idf.py -p /dev/ttyUSB0 flash
—
Reply to this email directly, view it on GitHub
<#17 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVW4ENOT4NAT4GTZKHIZCTWRRI7JANCNFSM6AAAAAATTLAEFM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Gary Kuipers, President, Casinfo
cell +1 805 443 9446 other +1 702 608 6558
|
Beta Was this translation helpful? Give feedback.
-
Sukesh: I have a suggestion: Would a zoom meeting with you driving the process be a better use of both our times? |
Beta Was this translation helpful? Give feedback.
-
Your specific issue is related to a bug in ESP-IDF component manager. Subscribe to the issue here |
Beta Was this translation helpful? Give feedback.
-
Hi Sukesh: reading there it appears the possible solution could be: pip install idf-component-manager==1.1.4 However: no change whatsoever, will wait on the issue you opened. Questions: 1) Should I buy the PLUS version 2) or do all of this in Windows ? |
Beta Was this translation helpful? Give feedback.
-
Sukesh, sorry but I did not: after running export.ps1): Also, wehre do I go to see if they have fixed the issue? (the above is a workaround?) |
Beta Was this translation helpful? Give feedback.
Your specific issue is related to a bug in ESP-IDF component manager.
They are working on it I believe.
Subscribe to the issue here
espressif/idf-component-manager#18