Skip to content

Implementation of TDD philosophy in avr micro-controller, this repository test the unitary test tools

Notifications You must be signed in to change notification settings

CristianChachaLeon/TDD-atmega328p

Repository files navigation

TDD-atmega328p

Implementation of TDD philosophy in avr micro-controller, this repository test the unitary test tools

This repo has sumodule used --recursive to clone Unity submodule.

Clone repository

git clone --recursive https://github.com/CristianChachaLeon/TDD-atmega328p.git

Run docker container

cd docker
docker compose build 
docker compose up -d
docker exec -ti ubuntu-tdd-container bash

NOTE: All commando shall be execute from docker container, docker container ubuntu-tdd-container has all tool needed for compilation, flashing and comunication

Compilation process

Host

mkdir build-host
cd build-host
cmake ..
cmake --build .

Atmega 328p

mkdir build-atmega328p
cd build-atmega328p
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain-atmega328p.cmake ..
cmake --build .

Flash and open terminal

make flash

minicom -D /dev/ttyACMO

About

Implementation of TDD philosophy in avr micro-controller, this repository test the unitary test tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published