Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| embedded_testing [2018/09/18 14:35] – admin | embedded_testing [2026/06/08 20:14] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Docker ====== | ====== Docker ====== | ||
| - | We can use Docker to set up a stable and repeatable environment where our firmware is built and unit tested. Furthermore, | + | We can use Docker to set up a stable and repeatable environment where our firmware is built and unit tested. Furthermore, |
| + | |||
| + | from https:// | ||
| + | |||
| + | * 1 application = 1 container. | ||
| + | * Run the process in the foreground (don't use systemd, upstart or any other similar tools). | ||
| + | * Keep data out of containers – use volumes. | ||
| + | * Do not use SSH (if you need to step into container, you can use the docker exec command). | ||
| + | * Avoid manual configurations (or actions) inside container. | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | # install colorgcc | ||
| + | export PATH=/ | ||
| + | wget https:// | ||
| + | wget https:// | ||
| + | sudo apt-get install perl-modules-5.26 | ||
| + | ln -s colorgcc.pl arm-none-eabi-gcc | ||
| + | ln -s colorgcc.pl arm-none-eabi-ld | ||
| + | |||
| + | |||
| ====== Unit testing ====== | ====== Unit testing ====== | ||
| Line 12: | Line 38: | ||
| <color /# | <color /# | ||
| + | |||
| + | http:// | ||
| + | |||
| + | <color /# | ||
| + | |||
| + | https:// | ||
| framekworks: | framekworks: | ||
| Line 24: | Line 56: | ||
| https:// | https:// | ||
| + | https:// | ||
| + | https:// | ||