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

Add support for UNO R4 WiFi board #119

Open
karl3200 opened this issue Jul 31, 2023 · 1 comment
Open

Add support for UNO R4 WiFi board #119

karl3200 opened this issue Jul 31, 2023 · 1 comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@karl3200
Copy link

karl3200 commented Jul 31, 2023

WARNING: library ArduinoRS485 claims to run on samd, mbed_portenta, mbed_opta architecture(s) and may be incompatible with your current board which runs on renesas_uno architecture(s).
WARNING: library ArduinoModbus claims to run on megaavr, samd, mbed_nano, mbed_portenta, mbed_opta architecture(s) and may be incompatible with your current board which runs on renesas_uno architecture(s).
C:\Users\Karl\Documents\Arduino\libraries\ArduinoRS485\src\RS485.cpp:209:18: 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);
                  ^~~~~~~~~~~~~~~~~~~~
C:\Users\Karl\Documents\Arduino\libraries\ArduinoRS485\src\RS485.cpp:209:18: note: suggested alternative: 'SERIAL_PARITY_MARK'
 RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN);
                  ^~~~~~~~~~~~~~~~~~~~
                  SERIAL_PARITY_MARK
In file included from C:\Users\Karl\Documents\Arduino\libraries\ArduinoRS485\src\RS485.cpp:20:0:
C:\Users\Karl\Documents\Arduino\libraries\ArduinoRS485\src\RS485.h:44:30: error: 'A6' was not declared in this scope
 #define RS485_DEFAULT_DE_PIN A6
                              ^
C:\Users\Karl\Documents\Arduino\libraries\ArduinoRS485\src\RS485.cpp:209:62: note: in expansion of macro 'RS485_DEFAULT_DE_PIN'
 RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN);
                                                              ^~~~~~~~~~~~~~~~~~~~
C:\Users\Karl\Documents\Arduino\libraries\ArduinoRS485\src\RS485.h:44:30: note: suggested alternative: 'A5'
 #define RS485_DEFAULT_DE_PIN A6
                              ^
C:\Users\Karl\Documents\Arduino\libraries\ArduinoRS485\src\RS485.cpp:209:62: note: in expansion of macro 'RS485_DEFAULT_DE_PIN'
 RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN);
                                                              ^~~~~~~~~~~~~~~~~~~~

exit status 1
@per1234 per1234 changed the title Does not work with UNO R4 wifi Add support for UNO R4 WiFi board Jul 31, 2023
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jul 31, 2023
@MKBlackstar86

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants