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

remove ci parts

parent 8b92bbc5
No related branches found
No related tags found
No related merge requests found
image: ubuntu:18.04
before_script:
- chmod +x ./setup-build-env.sh
- ./setup-build-env.sh
stages:
- build
compile:
stage: build
script:
- pwd
- arduino-cli compile --fqbn arduino:avr:mega examples/drive/drive.ino
\ No newline at end of file
# **BITs DCMotor** # **BITs DCMotor**
[![pipeline status](https://git-ce.rwth-aachen.de/bits/bits2-3/packages/dcm/badges/v2.0/pipeline.svg)](https://git-ce.rwth-aachen.de/testgruppe/bits/bits2-3/packages/dcm/commits/v2.0)
Eine Klasse zur Ansteuerung von Gleichstrommotoren für unterschiedliche Motortreiber. Eine Klasse zur Ansteuerung von Gleichstrommotoren für unterschiedliche Motortreiber.
Getestet mit: Getestet mit:
... ...
......
#!/bin/bash
echo "Beginn"
pwd
ls -la
mkdir ~/Arduino
mkdir ~/Arduino/libraries
cp -r * ~/Arduino/libraries
apt-get update
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
tar xjf arduino-cli.tar.bz2
rm arduino-cli.tar.bz2
mv `ls -1` /usr/bin/arduino-cli
# Install python, pip and pyserial
# apt-get install python -y
# curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# python get-pip.py
# pip install pyserial
# Install 'native' packages
arduino-cli config init
arduino-cli core update-index
arduino-cli core install arduino:avr
cd -
# Install 'third-party' packages: find proper location and 'git clone'
# apt-get install git -y
# cd `arduino-cli config dump | grep sketchbook | sed 's/.*\ //'`/libraries
# git clone https://github.com/me-no-dev/AsyncTCP.git
# git clone https://github.com/me-no-dev/ESPAsyncWebServer.git
# git clone https://github.com/ThingPulse/esp8266-oled-ssd1306.git
# git clone https://github.com/RoboticsBrno/ESP32-Arduino-Servo-Library.git
cd -
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment