araffin / arduino-robust-serial

A simple and robust serial communication protocol. It was designed for Arduino but can be used for other purposes (e.g. bluetooth, sockets). Implementation in C Arduino, C++, Python and Rust.
https://medium.com/@araffin/simple-and-robust-computer-arduino-serial-communication-f91b95596788
MIT License
135 stars 28 forks source link

How to compile this? #4

Open KulaGGin opened 4 years ago

KulaGGin commented 4 years ago

When I open it in Arduino IDE as described here: chrome_DUt5v9XLFQ

I get this error when I try to upload: javaw_BJRAq1dhM3

I'm on Windows 10 x64. As I understand, this solution was developed on Linux. I don't understand how do I port all this to Windows. Sudo, yml, atp-get, CMake, Makefile, gcc compiler. I don't know these. Any suggestions how to make it all work on Windows?

araffin commented 4 years ago

This is a symbolic link... just copy paste the content of slave.cpp (and other files if needed) or use directly that folder: https://github.com/araffin/arduino-robust-serial/tree/master/arduino-board and rename slave.cpp to slave.ino