Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
thk_motor_driver
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thk_libs
microcontrollers
thk_motor_driver
Commits
266a655c
Commit
266a655c
authored
3 years ago
by
Severin Landwein
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
31988130
No related branches found
No related tags found
No related merge requests found
Pipeline
#159681
failed
3 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-2
1 addition, 2 deletions
.gitlab-ci.yml
examples/unittest/unittest.ino
+1
-1
1 addition, 1 deletion
examples/unittest/unittest.ino
setup-build-env.sh
+1
-5
1 addition, 5 deletions
setup-build-env.sh
with
3 additions
and
8 deletions
.gitlab-ci.yml
+
1
−
2
View file @
266a655c
...
...
@@ -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
This diff is collapsed.
Click to expand it.
examples/unittest/unittest.ino
+
1
−
1
View file @
266a655c
...
...
@@ -5,7 +5,7 @@
void
setup
()
{
Serial
.
begin
(
1152
00
);
Serial
.
begin
(
96
00
);
}
void
loop
()
{
...
...
This diff is collapsed.
Click to expand it.
setup-build-env.sh
+
1
−
5
View file @
266a655c
#!/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-l
inux64.tar.
bz2
curl
-L
-o
arduino-cli.tar.bz2
h
https://
github.com/
arduino/arduino-cli/
releases/download/0.22.0/
arduino-cli
_0.22.0_L
inux
_
64
bit
.tar.
gz
tar
xjf arduino-cli.tar.bz2
rm
arduino-cli.tar.bz2
mv
`
ls
-1
`
/usr/bin/arduino-cli
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment