Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error when using ESP32-S2 #43

Open
Dresch123 opened this issue Jan 12, 2022 · 1 comment
Open

Compile error when using ESP32-S2 #43

Dresch123 opened this issue Jan 12, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Dresch123
Copy link

image
Hi,
In attempting to use the Sprite technique I ran into a compile error (see above) which I think is related to using the ESP32S2 and the native ESP32 JPEG decoder. This file: rom/tjpgd.h can't be found. This seems to be happening in the TFT_eFEX library.
Any suggestions? Thanks, Bill

The file does compile without issue for the normal ESP32 Dev Module selection so the problem most likely lies with the ESP32S2 selection and the TFT_eFEX library.

One other thought. Since a sprite is limited to about 80K, how difficult would it be to create a JPEG to TWO sprite routine? For instance, create UpperSprite and Lower Sprite and each would be the size of half a display (320 x 120 or 240 x 120, for examples). The JPEG would get decoded evenly between the two Sprites. When the routine returns, you could do two pushImages to completely fill the screen. Sort of like you do with that Bounce INO with the floating numbered circles. I know this is kind of a specialized routine but since a great number of screens are 320 x 240 or 240 x 240, this would handle a lot interesting use cases.

Thanks again Bodmer. The libraries you have created are amazing!

@Bodmer
Copy link
Owner

Bodmer commented Feb 26, 2022

The library is not currently compatible with the S2. The original ESP32 had a jpeg code in the ROM.

@Bodmer Bodmer added the enhancement New feature or request label Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants