Skip to content

ESP32 hardware encoder - Deprecation warning #61

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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