Skip to content

Missing include <soc/dport_reg.h> on arduino-esp32-v4.0 #30

@chopmann

Description

@chopmann

If building with

platform_packages =
    toolchain-xtensa32@3.80200.200512
    framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v4.0

it wont compile because of:

SmartLeds.h:111:34: error: 'DPORT_PERIP_CLK_EN_REG' was not declared in this scope

it seems that v4.0 is missing libraries. To fix it you need to add:

#include <soc/dport_reg.h>

to the Arduino-if.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions