This shows you the differences between two versions of the page.
|
sde2:laboratoare:11_new [2022/05/16 18:24] alexandru.radovici created |
sde2:laboratoare:11_new [2022/05/16 18:34] (current) alexandru.radovici |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== TP 10 - Applications Tock ====== | ====== TP 10 - Applications Tock ====== | ||
| + | |||
| + | ===== Objectifs ===== | ||
| + | Le but de ce TP est d'apprendre à utiliser | ||
| + | * Utilisation des applications Tock | ||
| + | * Ecrire des applications Tock en C | ||
| + | |||
| + | ===== Bibliographie ===== | ||
| + | * Tock C Userland Applications [[https://github.com/tock/libtock-c]] | ||
| + | * Chapitre 7 - Userspace Applications Development [[https://elf.cs.pub.ro/so/res/doc/so-books/Radovici-Culic2022_Book_GettingStartedWithSecureEmbedd.pdf]] | ||
| + | |||
| + | ===== Sujets ===== | ||
| + | - Créer un nouveau projet à partir d'un modèle [[https://github.com/WyliodrinEmbeddedIoT/tock-project|tock-project]]. | ||
| + | - Téléchargez le tock bootloader (indice: make flash-tockbootloader) | ||
| + | - Téléchargez le noyau tock. Modifiez le texte que le noyau affiche lorsqu'il démarre et téléchargez à nouveau le noyau. (indice : main.rs) | ||
| + | - Modifiez example_app pour qu'il imprime un texte personnalisé. Téléchargez l'application sur le microbit. (indice : installation de tockloader) | ||
| + | - Copiez l'application musicale (depuis libtock-c) dans votre dossier d'applications. Construisez-le et téléchargez-le. (indice : copiez example_app tel quel et copiez uniquement main.c à partir de l'application music). | ||
| + | - Écrivez une application capable d'afficher une seule lettre sur la matrice LED. Vous pouvez utiliser cette police comme source d'inspiration https://www.dafont.com/5x5.font. | ||
| + | - Écrire une application affiche un texte en code morse (LED et son). | ||
| + | |||