Pro / open62541-arduino

open62541 OPC UA example for Arduino
35 stars 11 forks source link

Can it run on Arduino MEGA 2560 #9

Open OleksandrShlapak opened 6 years ago

OleksandrShlapak commented 6 years ago

I am trying to run open62541 on Arduino MEGA 2560

when i try to upload here is the output

make arduino_opcua-upload [ 0%] Built target open62541-generator-namespace [ 1%] Built target open62541-generator-types [ 5%] Built target open62541-amalgamation-header [ 9%] Built target open62541-generator-statuscode [ 9%] Built target open62541-generator-transport [ 16%] Built target open62541-amalgamation-source [ 28%] Built target open62541-object [ 30%] Built target open62541 [ 77%] Built target featheresp32_CORE [ 79%] Built target featheresp32_SPI [ 92%] Built target featheresp32_WiFi [100%] Built target arduinoopcua esptool.py v2.5.0 Serial port /dev/ttyUSB9 Connecting........____..............................

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header CMakeFiles/arduino_opcua-upload.dir/build.make:57: recipe for target 'CMakeFiles/arduino_opcua-upload' failed make[3]: [CMakeFiles/arduino_opcua-upload] Error 2 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/arduino_opcua-upload.dir/all' failed make[2]: [CMakeFiles/arduino_opcua-upload.dir/all] Error 2 CMakeFiles/Makefile2:111: recipe for target 'CMakeFiles/arduino_opcua-upload.dir/rule' failed make[1]: [CMakeFiles/arduino_opcua-upload.dir/rule] Error 2 Makefile:197: recipe for target 'arduino_opcua-upload' failed make: [arduino_opcua-upload] Error 2

IS it possible to use this library on other microcontrollers than ESP32?