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.
git clone --recursive https://github.com/CristianChachaLeon/TDD-atmega328p.git
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
mkdir build-host
cd build-host
cmake ..
cmake --build .
mkdir build-atmega328p
cd build-atmega328p
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain-atmega328p.cmake ..
cmake --build .
make flash
minicom -D /dev/ttyACMO