Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Peter Hüwe
science-meets-industry-2021-students
Commits
7d18a250
Commit
7d18a250
authored
Sep 29, 2021
by
Stefan Hackenberg
Browse files
Write further tasks
parent
8eb6f343
Changes
5
Hide whitespace changes
Inline
Side-by-side
tasks/compile_smi21.md
View file @
7d18a250
...
...
@@ -12,6 +12,13 @@ To see that the starting point works we need to compile it.
## Steps
### Unpack Mbed OS library
1.
Open PlatformIO sidebar
2.
Click
`Custom -> Unback Mbed OS`
.
### Build
1.
Open PlatformIO sidebar.
2.
Press
`Build`
.
...
...
@@ -29,4 +36,5 @@ To see that the starting point works we need to compile it.
## Notes
During the first compilation both libraries
`mbed-http`
and
`mbed-mfrc522`
are cloned to your workspace. They can be found under
`./.pio/libdeps`
.
-
During the first compilation both libraries
`mbed-http`
and
`mbed-mfrc522`
are cloned to your workspace. They can be found under
`./.pio/libdeps`
.
-
If
`build_type`
is
`release`
and
`mbedos`
folder is present the build uses the prebuild library instead of building it directly.
tasks/develop_solver.md
0 → 100644
View file @
7d18a250
# Develop Solver
## Description
After downloading all image snippets and all hashes solve the puzzle!
You can upload trials at this endpoint:
|
**/solve**
| |
| :-- | :-- |
|
<-
|
`<
NFC_UID:
7
>
<SOLUTION:
64
>
` |
| -> | `
<IMAGE_SNIPPET_ANSI:
~1000
>
` on success |
Return status is `
418
` if the solution is incorrect.
## Prerequisites
### Tasks done
- [Read image snippet](./read_image_snippet.md)
- [Read NFC Hashtable](./read_nfc_hashtable.md)
### State
- WiFi instance must be connected.
## Acceptance criteria
- Solution is correct
## Hints
Assuming the server has tiled the image into 4 snippets: `
snippet_0
`, `
snippet_1
`, `
snippet_2
`, `
snippet_3
` and sends:
| Index | Snippet |
| --: | :-- |
| 0 | `
snippet_2
` |
| 1 | `
snippet_1
` |
| 2 | `
snippet_3
` |
| 3 | `
snippet_0
` |
By hashing the snippets, comparing the hashes with those stored on NFC tag you find out:
| Index from server | | Snippet |
| --: | :-- | :-- |
| 0 | matches | `
snippet_2
` |
| 1 | matches | `
snippet_1
` |
| 2 | matches | `
snippet_3
` |
| 3 | matches | `
snippet_0
` |
Then the solution is "a list where the list index contains the index sent from server". In the example above:
```
3 1 0 2
``
`
tasks/order.dot
View file @
7d18a250
...
...
@@ -21,6 +21,7 @@ digraph G {
optional_read_image_snippet_ansi
optional_document_code
optional_coding_style
develop_solver
install_platform_cypress_psoc6
->
compile_smi21
;
clone_repository_smi21
->
compile_smi21
;
...
...
@@ -38,4 +39,6 @@ digraph G {
read_nfc_uid
->
read_image_snippet
test_http_request
->
optional_read_image_snippet_ansi
read_nfc_uid
->
optional_read_image_snippet_ansi
read_image_snippet
->
develop_solver
read_nfc_hashtable
->
develop_solver
}
tasks/order.svg
View file @
7d18a250
...
...
@@ -4,208 +4,226 @@
<!-- Generated by graphviz version 2.43.0 (0)
-->
<!-- Title: G Pages: 1 -->
<svg
width=
"1428pt"
height=
"
548
pt"
viewBox=
"0.00 0.00 1427.63
548
.00"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<g
id=
"graph0"
class=
"graph"
transform=
"scale(1 1) rotate(0) translate(4
544
)"
>
<svg
width=
"1428pt"
height=
"
620
pt"
viewBox=
"0.00 0.00 1427.63
620
.00"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<g
id=
"graph0"
class=
"graph"
transform=
"scale(1 1) rotate(0) translate(4
616
)"
>
<title>
G
</title>
<polygon
fill=
"white"
stroke=
"transparent"
points=
"-4,4 -4,-
544
1423.63,-
544
1423.63,4 -4,4"
/>
<polygon
fill=
"white"
stroke=
"transparent"
points=
"-4,4 -4,-
616
1423.63,-
616
1423.63,4 -4,4"
/>
<!-- install_vscode_and_platformio -->
<g
id=
"node1"
class=
"node"
>
<title>
install_vscode_and_platformio
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"845.74"
cy=
"-5
22
"
rx=
"129.18"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"845.74"
y=
"-5
18
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
install_vscode_and_platformio
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"845.74"
cy=
"-5
94
"
rx=
"129.18"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"845.74"
y=
"-5
90
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
install_vscode_and_platformio
</text>
</g>
<!-- install_platform_cypress_psoc6 -->
<g
id=
"node5"
class=
"node"
>
<title>
install_platform_cypress_psoc6
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"697.74"
cy=
"-
450
"
rx=
"133.78"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"697.74"
y=
"-
446
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
install_platform_cypress_psoc6
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"697.74"
cy=
"-
522
"
rx=
"133.78"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"697.74"
y=
"-
518
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
install_platform_cypress_psoc6
</text>
</g>
<!-- install_vscode_and_platformio->install_platform_cypress_psoc6 -->
<g
id=
"edge3"
class=
"edge"
>
<title>
install_vscode_and_platformio
->
install_platform_cypress_psoc6
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M811.04,-5
04
.59C790.33,-
494
.79 763.84,-
482
.26 741.68,-
471
.78"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"743.02,-
468
.54 732.48,-
467
.43 740.02,-
474
.87 743.02,-
468
.54"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M811.04,-5
76
.59C790.33,-
566
.79 763.84,-
554
.26 741.68,-
543
.78"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"743.02,-
540
.54 732.48,-
539
.43 740.02,-
546
.87 743.02,-
540
.54"
/>
</g>
<!-- optional_install_further_extensions -->
<g
id=
"node6"
class=
"node"
>
<title>
optional_install_further_extensions
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"994.74"
cy=
"-
450
"
rx=
"145.67"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"994.74"
y=
"-
446
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_install_further_extensions
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"994.74"
cy=
"-
522
"
rx=
"145.67"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"994.74"
y=
"-
518
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_install_further_extensions
</text>
</g>
<!-- install_vscode_and_platformio->optional_install_further_extensions -->
<g
id=
"edge10"
class=
"edge"
>
<title>
install_vscode_and_platformio
->
optional_install_further_extensions
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M880.68,-5
04
.59C901.45,-
494
.83 928,-
482
.35 950.26,-
471
.9"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"951.95,-
474
.97 959.51,-
467
.55 948.97,-
468
.64 951.95,-
474
.97"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M880.68,-5
76
.59C901.45,-
566
.83 928,-
554
.35 950.26,-
543
.9"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"951.95,-
546
.97 959.51,-
539
.55 948.97,-
540
.64 951.95,-
546
.97"
/>
</g>
<!-- clone_repository_smi21 -->
<g
id=
"node2"
class=
"node"
>
<title>
clone_repository_smi21
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"441.74"
cy=
"-
450
"
rx=
"103.98"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"441.74"
y=
"-
446
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
clone_repository_smi21
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"441.74"
cy=
"-
522
"
rx=
"103.98"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"441.74"
y=
"-
518
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
clone_repository_smi21
</text>
</g>
<!-- compile_smi21 -->
<g
id=
"node3"
class=
"node"
>
<title>
compile_smi21
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"569.74"
cy=
"-
378
"
rx=
"70.39"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"569.74"
y=
"-
374
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
compile_smi21
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"569.74"
cy=
"-
450
"
rx=
"70.39"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"569.74"
y=
"-
446
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
compile_smi21
</text>
</g>
<!-- clone_repository_smi21->compile_smi21 -->
<g
id=
"edge2"
class=
"edge"
>
<title>
clone_repository_smi21
->
compile_smi21
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M471.75,-
432
.59C489.87,-4
22
.68 513.1,-4
09
.97 532.4,-
399
.42"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"534.14,-4
02
.46 541.24,-
394
.59 530.78,-
396
.32 534.14,-4
02
.46"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M471.75,-
504
.59C489.87,-4
94
.68 513.1,-4
81
.97 532.4,-
471
.42"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"534.14,-4
74
.46 541.24,-
466
.59 530.78,-
468
.32 534.14,-4
74
.46"
/>
</g>
<!-- upload_smi21 -->
<g
id=
"node10"
class=
"node"
>
<title>
upload_smi21
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"569.74"
cy=
"-3
06
"
rx=
"65.79"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"569.74"
y=
"-3
02
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
upload_smi21
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"569.74"
cy=
"-3
78
"
rx=
"65.79"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"569.74"
y=
"-3
74
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
upload_smi21
</text>
</g>
<!-- compile_smi21->upload_smi21 -->
<g
id=
"edge7"
class=
"edge"
>
<title>
compile_smi21
->
upload_smi21
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M569.74,-
359
.7C569.74,-
351
.98 569.74,-
342
.71 569.74,-
334
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"573.24,-
334
.1 569.74,-3
24
.1 566.24,-
334
.1 573.24,-
334
.1"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M569.74,-
431
.7C569.74,-
423
.98 569.74,-
414
.71 569.74,-
406
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"573.24,-
406
.1 569.74,-3
96
.1 566.24,-
406
.1 573.24,-
406
.1"
/>
</g>
<!-- connect_psoc6_with_rc522 -->
<g
id=
"node4"
class=
"node"
>
<title>
connect_psoc6_with_rc522
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
234
"
rx=
"116.98"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-
2
30.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
connect_psoc6_with_rc522
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
306
"
rx=
"116.98"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-30
2
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
connect_psoc6_with_rc522
</text>
</g>
<!-- test_connection_psoc6_with_rc522 -->
<g
id=
"node7"
class=
"node"
>
<title>
test_connection_psoc6_with_rc522
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
162
"
rx=
"147.57"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-
158
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
test_connection_psoc6_with_rc522
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
234
"
rx=
"147.57"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-
230
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
test_connection_psoc6_with_rc522
</text>
</g>
<!-- connect_psoc6_with_rc522->test_connection_psoc6_with_rc522 -->
<g
id=
"edge4"
class=
"edge"
>
<title>
connect_psoc6_with_rc522
->
test_connection_psoc6_with_rc522
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M340.74,-2
15
.7C340.74,-2
0
7.98 340.74,-
198
.71 340.74,-
190
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"344.24,-
190
.1 340.74,-
180
.1 337.24,-
190
.1 344.24,-
190
.1"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M340.74,-2
87
.7C340.74,-27
9
.98 340.74,-
270
.71 340.74,-
262
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"344.24,-
262
.1 340.74,-
252
.1 337.24,-
262
.1 344.24,-
262
.1"
/>
</g>
<!-- install_platform_cypress_psoc6->compile_smi21 -->
<g
id=
"edge1"
class=
"edge"
>
<title>
install_platform_cypress_psoc6
->
compile_smi21
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M667.41,-
432
.41C649.28,-4
22
.5 626.12,-4
09
.83 606.9,-
399
.32"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"608.56,-
396
.24 598.1,-
394
.51 605.2,-4
02
.38 608.56,-
396
.24"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M667.41,-
504
.41C649.28,-4
94
.5 626.12,-4
81
.83 606.9,-
471
.32"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"608.56,-
468
.24 598.1,-
466
.51 605.2,-4
74
.38 608.56,-
468
.24"
/>
</g>
<!-- read_nfc_uid -->
<g
id=
"node12"
class=
"node"
>
<title>
read_nfc_uid
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
90
"
rx=
"61.99"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-8
6
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
read_nfc_uid
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
162
"
rx=
"61.99"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-
15
8.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
read_nfc_uid
</text>
</g>
<!-- test_connection_psoc6_with_rc522->read_nfc_uid -->
<g
id=
"edge11"
class=
"edge"
>
<title>
test_connection_psoc6_with_rc522
->
read_nfc_uid
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M340.74,-
143
.7C340.74,-
135
.98 340.74,-1
26
.71 340.74,-1
18
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"344.24,-1
18
.1 340.74,-1
0
8.1 337.24,-1
18
.1 344.24,-1
18
.1"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M340.74,-
215
.7C340.74,-
207
.98 340.74,-1
98
.71 340.74,-1
90
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"344.24,-1
90
.1 340.74,-18
0
.1 337.24,-1
90
.1 344.24,-1
90
.1"
/>
</g>
<!-- test_http_request -->
<g
id=
"node8"
class=
"node"
>
<title>
test_http_request
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"595.74"
cy=
"-
90
"
rx=
"78.79"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"595.74"
y=
"-8
6
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
test_http_request
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"595.74"
cy=
"-
162
"
rx=
"78.79"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"595.74"
y=
"-
15
8.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
test_http_request
</text>
</g>
<!-- read_image_snippet -->
<g
id=
"node14"
class=
"node"
>
<title>
read_image_snippet
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"597.74"
cy=
"-
18
"
rx=
"90.98"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"597.74"
y=
"-
14
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
read_image_snippet
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"597.74"
cy=
"-
90
"
rx=
"90.98"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"597.74"
y=
"-
86
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
read_image_snippet
</text>
</g>
<!-- test_http_request->read_image_snippet -->
<g
id=
"edge13"
class=
"edge"
>
<title>
test_http_request
->
read_image_snippet
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M596.24,-
7
1.7C596.46,-
63
.98 596.72,-
54
.71 596.97,-
46
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"600.47,-
46
.2 597.25,-
36
.1 593.47,-
46
600.47,-
46
.2"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M596.24,-1
43
.7C596.46,-
135
.98 596.72,-
126
.71 596.97,-
118
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"600.47,-
118
.2 597.25,-
108
.1 593.47,-
118
600.47,-
118
.2"
/>
</g>
<!-- optional_read_image_snippet_ansi -->
<g
id=
"node15"
class=
"node"
>
<title>
optional_read_image_snippet_ansi
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
18
"
rx=
"147.57"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-
14
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_read_image_snippet_ansi
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"340.74"
cy=
"-
90
"
rx=
"147.57"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"340.74"
y=
"-
86
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_read_image_snippet_ansi
</text>
</g>
<!-- test_http_request->optional_read_image_snippet_ansi -->
<g
id=
"edge15"
class=
"edge"
>
<title>
test_http_request
->
optional_read_image_snippet_ansi
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M547.48,-7
5
.75C507.88,-6
4
.88 451.38,-
49
.37 407.46,-
37
.31"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"408.29,-
33
.91 397.72,-
34
.64 406.43,-
40
.66 408.29,-
33
.91"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M547.48,-
14
7.75C507.88,-
13
6.88 451.38,-
121
.37 407.46,-
109
.31"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"408.29,-
105
.91 397.72,-
106
.64 406.43,-
112
.66 408.29,-
105
.91"
/>
</g>
<!-- test_wifi_connection -->
<g
id=
"node9"
class=
"node"
>
<title>
test_wifi_connection
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"595.74"
cy=
"-
162
"
rx=
"89.88"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"595.74"
y=
"-
158
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
test_wifi_connection
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"595.74"
cy=
"-
234
"
rx=
"89.88"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"595.74"
y=
"-
230
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
test_wifi_connection
</text>
</g>
<!-- test_wifi_connection->test_http_request -->
<g
id=
"edge9"
class=
"edge"
>
<title>
test_wifi_connection
->
test_http_request
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M595.74,-
143
.7C595.74,-
135
.98 595.74,-1
26
.71 595.74,-1
18
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"599.24,-1
18
.1 595.74,-1
0
8.1 592.24,-1
18
.1 599.24,-1
18
.1"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M595.74,-
215
.7C595.74,-
207
.98 595.74,-1
98
.71 595.74,-1
90
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"599.24,-1
90
.1 595.74,-18
0
.1 592.24,-1
90
.1 599.24,-1
90
.1"
/>
</g>
<!-- write_first_test -->
<g
id=
"node11"
class=
"node"
>
<title>
write_first_test
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"569.74"
cy=
"-
234
"
rx=
"67.69"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"569.74"
y=
"-
2
30.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
write_first_test
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"569.74"
cy=
"-
306
"
rx=
"67.69"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"569.74"
y=
"-30
2
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
write_first_test
</text>
</g>
<!-- upload_smi21->write_first_test -->
<g
id=
"edge6"
class=
"edge"
>
<title>
upload_smi21
->
write_first_test
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M569.74,-
287
.7C569.74,-
279
.98 569.74,-
270
.71 569.74,-
262
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"573.24,-
262
.1 569.74,-
252
.1 566.24,-
262
.1 573.24,-
262
.1"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M569.74,-
359
.7C569.74,-
351
.98 569.74,-
342
.71 569.74,-
334
.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"573.24,-
334
.1 569.74,-
324
.1 566.24,-
334
.1 573.24,-
334
.1"
/>
</g>
<!-- write_first_test->test_connection_psoc6_with_rc522 -->
<g
id=
"edge5"
class=
"edge"
>
<title>
write_first_test
->
test_connection_psoc6_with_rc522
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M527.21,-22
0
C492.15,-2
09
.28 441.96,-
193
.94 402.48,-
181
.87"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"403.27,-
178
.45 392.69,-
178
.88 401.23,-
185
.15 403.27,-
178
.45"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M527.21,-2
9
2C492.15,-2
81
.28 441.96,-
265
.94 402.48,-
253
.87"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"403.27,-
250
.45 392.69,-
250
.88 401.23,-
257
.15 403.27,-
250
.45"
/>
</g>
<!-- write_first_test->test_wifi_connection -->
<g
id=
"edge8"
class=
"edge"
>
<title>
write_first_test
->
test_wifi_connection
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M576.04,-2
16
.05C578.96,-2
0
8.18 582.51,-
198
.62 585.79,-
189
.79"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"589.12,-
190
.87 589.33,-
180
.28 582.56,-
188
.43 589.12,-
190
.87"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M576.04,-2
88
.05C578.96,-28
0
.18 582.51,-
270
.62 585.79,-
261
.79"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"589.12,-
262
.87 589.33,-
252
.28 582.56,-
260
.43 589.12,-
262
.87"
/>
</g>
<!-- read_nfc_hashtable -->
<g
id=
"node13"
class=
"node"
>
<title>
read_nfc_hashtable
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"87.74"
cy=
"-
18
"
rx=
"87.99"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"87.74"
y=
"-
14
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
read_nfc_hashtable
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"87.74"
cy=
"-
90
"
rx=
"87.99"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"87.74"
y=
"-
86
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
read_nfc_hashtable
</text>
</g>
<!-- read_nfc_uid->read_nfc_hashtable -->
<g
id=
"edge12"
class=
"edge"
>
<title>
read_nfc_uid
->
read_nfc_hashtable
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M297.54,-
77
.05C256.25,-
65
.62 193.66,-
48
.3 147.58,-
35
.56"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"148.29,-
32
.12 137.72,-
32
.83 146.42,-
38
.87 148.29,-
32
.12"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M297.54,-
149
.05C256.25,-
137
.62 193.66,-
120
.3 147.58,-
107
.56"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"148.29,-
104
.12 137.72,-
104
.83 146.42,-
110
.87 148.29,-
104
.12"
/>
</g>
<!-- read_nfc_uid->read_image_snippet -->
<g
id=
"edge14"
class=
"edge"
>
<title>
read_nfc_uid
->
read_image_snippet
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M384.34,-
77
.13C426.19,-
65
.73 489.78,-
48
.41 536.67,-
35
.64"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"537.67,-
38
.99 546.4,-
32
.98 535.83,-
32
.23 537.67,-
38
.99"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M384.34,-
149
.13C426.19,-
137
.73 489.78,-
120
.41 536.67,-
107
.64"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"537.67,-
110
.99 546.4,-
104
.98 535.83,-
104
.23 537.67,-
110
.99"
/>
</g>
<!-- read_nfc_uid->optional_read_image_snippet_ansi -->
<g
id=
"edge16"
class=
"edge"
>
<title>
read_nfc_uid
->
optional_read_image_snippet_ansi
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M340.74,-71.7C340.74,-63.98 340.74,-54.71 340.74,-46.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"344.24,-46.1 340.74,-36.1 337.24,-46.1 344.24,-46.1"
/>
<path
fill=
"none"
stroke=
"black"
d=
"M340.74,-143.7C340.74,-135.98 340.74,-126.71 340.74,-118.11"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"344.24,-118.1 340.74,-108.1 337.24,-118.1 344.24,-118.1"
/>
</g>
<!-- develop_solver -->
<g
id=
"node18"
class=
"node"
>
<title>
develop_solver
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"342.74"
cy=
"-18"
rx=
"69.59"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"342.74"
y=
"-14.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
develop_solver
</text>
</g>
<!-- read_nfc_hashtable->develop_solver -->
<g
id=
"edge18"
class=
"edge"
>
<title>
read_nfc_hashtable
->
develop_solver
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M138.12,-75.17C181.03,-63.39 242.61,-46.49 286.99,-34.3"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"288.04,-37.65 296.75,-31.62 286.18,-30.9 288.04,-37.65"
/>
</g>
<!-- read_image_snippet->develop_solver -->
<g
id=
"edge17"
class=
"edge"
>
<title>
read_image_snippet
->
develop_solver
</title>
<path
fill=
"none"
stroke=
"black"
d=
"M546.75,-75C503.78,-63.21 442.42,-46.36 398.22,-34.23"
/>
<polygon
fill=
"black"
stroke=
"black"
points=
"399.08,-30.84 388.51,-31.56 397.22,-37.59 399.08,-30.84"
/>
</g>
<!-- optional_document_code -->
<g
id=
"node16"
class=
"node"
>
<title>
optional_document_code
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"1102.74"
cy=
"-5
22
"
rx=
"109.38"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"1102.74"
y=
"-5
18
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_document_code
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"1102.74"
cy=
"-5
94
"
rx=
"109.38"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"1102.74"
y=
"-5
90
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_document_code
</text>
</g>
<!-- optional_coding_style -->
<g
id=
"node17"
class=
"node"
>
<title>
optional_coding_style
</title>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"1324.74"
cy=
"-5
22
"
rx=
"94.78"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"1324.74"
y=
"-5
18
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_coding_style
</text>
<ellipse
fill=
"none"
stroke=
"black"
cx=
"1324.74"
cy=
"-5
94
"
rx=
"94.78"
ry=
"18"
/>
<text
text-anchor=
"middle"
x=
"1324.74"
y=
"-5
90
.3"
font-family=
"Helvetica,sans-Serif"
font-size=
"14.00"
>
optional_coding_style
</text>
</g>
</g>
</svg>
tasks/upload_smi21.md
View file @
7d18a250
...
...
@@ -13,11 +13,13 @@ To see that the starting point works we need to upload it to the board.
## Steps
1.
Open PlatformIO sidebar.
2.
Press
`Upload`
.
2.
Press
`Upload and Monitor`
.
3.
After successful upload press
`RESET`
on PSoC6-Board.
## Acceptance criteria
-
Terminal shows
`SUCCESS`
.
-
Terminal shows
`Hello World`
.
## References
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment