8devices / openwrt-arduino-packages

0 stars 1 forks source link

how can i use it ? #1

Open Robokishan opened 5 years ago

Robokishan commented 5 years ago

i have onion omega 2 i want to upload a code to samd21 can you . i tried to compile https://github.com/shumatech/BOSSA in openwrt but failed. posix serial doesn't compile . and how i found your repo. can you help me how can i use your repo for bossa compiling

omaar commented 3 years ago

Hi! I'd did this 2 steps

  1. Change the lines 10 and 16 in the Makefile, by this ones

PKG_VERSION:=master PKG_SOURCE_VERSION:=3532de82efd28fadbabc2b258d84dddf14298107

  1. Add the two missing includes in the src/PosixSerialPort.cpp file
/* According to earlier standards */
#include <sys/time.h>
#include <sys/types.h>

And try to compile it