Skip to content
Snippets Groups Projects
Commit 266a655c authored by Severin Landwein's avatar Severin Landwein
Browse files

.

parent 31988130
Branches
No related tags found
No related merge requests found
Pipeline #159681 failed
......@@ -19,7 +19,6 @@ build:
test1:
stage: test
script:
- killall putty
- arduino-cli compile --fqbn arduino:avr:uno examples/unittest/
- arduino-cli upload --fqbn arduino:avr:uno -p /dev/ttyUSB0 examples/unittest
- putty /dev/ttyUSB0 -serial -sercfg 115200,8,n,1,N &
\ No newline at end of file
- arduino-cli monitor -p /dev/ttyUSB0
\ No newline at end of file
......@@ -5,7 +5,7 @@
void setup() {
Serial.begin(115200);
Serial.begin(9600);
}
void loop() {
......
#!/bin/bash
add-apt-repository universe
apt-get update
apt-get install -y putty
cd ~
# Install arduino-cli
apt-get install curl -y
apt-get install bzip2
curl -L -o arduino-cli.tar.bz2 https://downloads.arduino.cc/arduino-cli/arduino-cli-latest-linux64.tar.bz2
curl -L -o arduino-cli.tar.bz2 hhttps://github.com/arduino/arduino-cli/releases/download/0.22.0/arduino-cli_0.22.0_Linux_64bit.tar.gz
tar xjf arduino-cli.tar.bz2
rm arduino-cli.tar.bz2
mv `ls -1` /usr/bin/arduino-cli
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment