Hello,
Thank’s for your advice. It worked ! (at least on arduino uno).
Do you know which board to select for M0 ? maybe "arduino-mkrzero’ or ‘arduino-zero’ ? I also have an arduino MKR wifi 1010 ; should I use the board “arduino-mkr1000” ?
Is there any risk in programming a device with a wrong “board” used at compilation process ? (I think so…)
I give my experience for those interested ; I’m running on kubuntu 19 :
I installed the docker following this link : https://github.com/RIOT-OS/RIOT/wiki/Use-Docker-to-build-RIOT
sudo apt install docker -> don’t work : no docker command available (even with sudo) ; advice is to install docker.io package or install docker by snap.
sudo apt install docker.io ->works
sudo docker pull riot/riotbuild -> works (many downloads) but nothing in the current directory…
At that point, I should have executed the command : sudo docker run --rm -i -t -u $UID -v $(pwd):/data/riotbuild etc...
from the riot root but I have no idea of the path of this “riot root” !
Anyway, this must not be useful as it’s been working.
Into “example/hello-world” dir :
make BOARD=arduino-uno BUILD_IN_DOCKER=1 DOCKER=“sudo docker” all
Compiling is OK
Installing avrdude for flashing :
sudo apt install avrdude avr-libc binutils-avr
Install of pyserial for term :
sudo apt install python3-pip
pip3 install pyserial
Back again on make, with flash and term (I had to change default /dev/ttyACM0 to /dev/ttyACM1 as my arduino is on ACM1) :
make BOARD=arduino-uno BUILD_IN_DOCKER=1 DOCKER=“sudo docker” PROG_
DEV="/dev/ttyACM1" PORT=/dev/ttyACM1 flash term
Thanks a lot. I’ll make further testings on other boards.
Marc