Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error for ESP32 #92

Closed
rajsalieabs opened this issue May 17, 2022 · 1 comment
Closed

Compilation Error for ESP32 #92

rajsalieabs opened this issue May 17, 2022 · 1 comment
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project

Comments

@rajsalieabs
Copy link

When compiling the example code EthernetModbusClientToggle.ino for ESP32 based nodemcu I get this error

error: 'SERIAL_PORT_HARDWARE' was not declared in this scope
RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN);

Any ideas on resolving this?

@per1234
Copy link
Contributor

per1234 commented May 17, 2022

Hi @rajsalieabs. Thanks for your report. You have encountered a deficiency in the "ArduinoRS485" library, which also affects the users of the "ArduinoModbus" library due to it having a dependency on "ArduinoRS485". So this is a topic for the arduino-libraries/ArduinoRS485 repository issue tracker, and is already tracked there:

arduino-libraries/ArduinoRS485#9

@per1234 per1234 closed this as completed May 17, 2022
@per1234 per1234 added type: imperfection Perceived defect in any part of project conclusion: off topic Off topic for this repository labels May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants