Skip to content

Build error with platformio/framework-arduinoespressif32 @ ~3.10006.0 #5014

Closed
@gin66

Description

@gin66

Build error with framework-arduinoespressif32 @ ~3.10006.0 as per this log. Works well with framework-arduinoespressif32 @ 3.10005.210308 (see log ):

Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.10006.0
123
Downloading...
124
Unpacking...
125
Tool Manager: framework-arduinoespressif32 @ 3.10006.210326 has been installed!
126
/home/runner/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c: In function 'spiTransferBytesNL':
127
/home/runner/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:922:39: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
128
                 uint8_t * last_out8 = &result[c_longs-1];
129
                                       ^
130
/home/runner/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:923:40: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
131
                 uint8_t * last_data8 = &last_data;
132
                                        ^
133
cc1: all warnings being treated as errors
134
*** [.pio/build/esp32/FrameworkArduino/esp32-hal-spi.c.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions