bitbank2 / JPEGDEC

An optimized JPEG decoder for Arduino
Apache License 2.0
365 stars 47 forks source link

#include "dsps_fft2r_platform.h" is not found. #73

Open AC-Mike opened 3 months ago

AC-Mike commented 3 months ago

I am using JPEGDEC with ESP32-S2 and platformIO. I use JPEGDEC by adding it to the lib_deps: in the platformio.ini file lib_deps = moononournation/GFX Library for Arduino@^1.4.6 bitbank2/JPEGDEC@^1.4.2

When it builds it tries to #include "dsps_fft2r_platform.h" but it is not loaded in the lib_deps folder. The s3_simd_420.S and s3_simd_444.S have the include within ARDUINO_ARCH_ESP32.

ifdef ARDUINO_ARCH_ESP32

include "dsps_fft2r_platform.h"

Do I need to include another dependency to bring in dsps_fft2r_platform? Since these files are specific to the S3 and I'm using the S2 should the #ifdef label be something more specific to the S3?

This is an old project that once compiled with these two dependencies and not it does not. This library hasn't changed, so I suspect something in the development environment has.

I need your help sorting this out.

Thanks,

Mike.

bitbank2 commented 3 months ago

Hi Mike, I haven't used my ESP32-S2 in a while; I'll dust it off and figure out how to fix this.