Skip to content

Can't compile for doitESPduino32 on Linux and Mac #6152

Closed
@maxgerhardt

Description

@maxgerhardt

Board

doitESPduino32

Device Description

None relevant.

Hardware Configuration

None relevant.

Version

latest master

IDE Name

Arduino IDE and PlatformIO

Operating System

Windows 10

Flash frequency

40

PSRAM enabled

no

Upload speed

115200

Description

In https://github.com/espressif/arduino-esp32/tree/master/variants/doitESPduino32 there is a file pins_Arduino.h. However, the Arduino.h file wants to include pins_arduino.h

#include "pins_arduino.h"

Since Mac and Linux use case-sensitive filesystems (as opposed to Windows), the compiler will fail to find pins_arduino.h since the name is not equal to what the file was called, pins_Arduino.h.

Hence, compilation for the doitESPduino32 is impossible on those systems, leading to

In file included from src/main.cpp:1:0:
/home/paul/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:185:26: fatal error: pins_arduino.h: No such file or directory

This bug has existed since the inclusion of the board in October 2020, and noone discovered or reported it yet.

Sketch

None needed.

Debug Message

None needed.

Other Steps to Reproduce

None needed.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

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