Warning esp32-hal-spi incompatible pointer

Hi,

I see this warning message when I compile ESP32 board,

/data/cache/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c: In function 'spiTransferBytesNL':
/data/cache/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
                 uint8_t * last_out8 = &result[c_longs-1];
                                       ^
/data/cache/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
                 uint8_t * last_data8 = &last_data;
                                        ^

there is something I can do on my side to fix it?
regards

Hey,

i’m getting the same error. :cold_sweat:
did you find away around this issue?

nope. still looking around

Same but now that I connected a cable to my esp32 I was able to flash it with the new firmware. After that I was able to use the OTA again on the device. Everytime I recompile the warning still appears but no longer stops me from flading the device.

Same here. I only get this warning with esp32 modules and I also wonder what is causing the warning.
Everything works fine on these modules including OTA updates.

I found this:

1 Like