Xinyuan-LilyGO/LilyGO-T-ETH-Series

Example: CameraShield.ino it does not compile

Closed this issue · 19 comments

Hi. During the compilation of the sketch, CameraShield.ino Throws an error that there is not enough memory to load. Please tell me what can be removed from the sketch so that there is enough space?
Or maybe my versions of lib are not like that? and do they take up more space as a result?

I have a T-ETH-Lite ESP32S3 board and a T-ETH-Lite Shield Camera

image

// You must select partition scheme from the board menu that has at least 3MB APP space.

// You must select partition scheme from the board menu that has at least 3MB APP space.

I choose 3MB and still don't have enough space to upload to the board

image

Strange, it was working fine before, now I put a custom partition and this problem doesn't exist anymore.

https://github.com/Xinyuan-LilyGO/LilyGO-T-ETH-Series/blob/master/examples/CameraShield/partitions.csv

image

And how did you do it? I don't have a "custom"

Update esp32 to the latest version in the board manager

Update esp32 to the latest version in the board manager

I'm probably kind of unlucky. :(. Did as you said, updated esp32. I created the partition.csv file, but it still gives an error when compiling.

Traceback (most recent call last):
File "gen_esp32part.py", line 612, in
File "gen_esp32part.py", line 565, in main
File "gen_esp32part.py", line 163, in from_file
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 12: invalid start byte
[19256] Failed to execute script 'gen_esp32part' due to unhandled exception!

image

The problem was that file .csv was created manually from .xls file by changing the extension in it. I solved the problem by creating a file in exel and saving it in .csv format. But I won't be able to check the work until tomorrow.

Based on the test results, I will write here

I asked my colleague to test it, and he was able to compile it successfully. You can try to delete esp32 and reinstall it to test it.

I asked my colleague to test it, and he was able to compile it successfully. You can try to delete esp32 and reinstall it to test it.

The fact is that if I selected Other parameters in the "Prtition scheme" item, where 4 MB was allocated. And I compiled everything perfectly with these parameters, too. But when loading the sketch into the board, it went into a cyclic reboot.

I'm still at work. I work for days. As soon as I get home, I'll check your option.

I asked my colleague to test it, and he was able to compile it successfully. You can try to delete esp32 and reinstall it to test it.

No, it doesn't work. The fee is looping

mode:DIO, clock div:1
load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29e4
entry 0x403c9880
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x403cdad1
SPIWP:0xee
mode:DIO, clock div:1

I will test again on Monday, it's a holiday now

I will test again on Monday, it's a holiday now

Thank you. I'll be waiting. Have a nice weekend

Hi, I tested it and it works fine. Can you check if the settings are correct?
image

Hi, I tested it and it works fine. Can you check if the settings are correct? image

Yes. the board settings are the same, I took them from the description. Have you only checked the compilation? Or have you downloaded the program and see the image from the camera?

Of course, normal
image

Of course, normal image

Thanks for the help. Everything worked. I downloaded your project, replaced all the libraries once again, and only after that everything worked!

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.