Skip to content

ESP32 hardware encoder - Deprecation warning #61

@sylque

Description

@sylque

Just wanted to let you know that the driver for ESP32 hardware encoder triggers this warning:

In file included from .pio/libdeps/esp32s3/SimpleFOCDrivers/src/encoders/esp32hwencoder/ESP32HWEncoder.h:9,
                 from src/main.cpp:14:
C:/Users/Sylvain/.platformio/packages/framework-arduinoespressif32-libs/esp32s3/include/driver/deprecated/driver/pcnt.h:15:2: warning: #warning "legacy pcnt driver is deprecated, please migrate to use driver/pulse_cnt.h" [-Wcpp]
   15 | #warning "legacy pcnt driver is deprecated, please migrate to use driver/pulse_cnt.h"

Framework: PIOArduino with espressif Arduino 3.3.0 and IDF 5.5.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions