Skip to content

A simple application which generate a continuous PWM signal with a variable duty cycle.

License

Notifications You must be signed in to change notification settings

tprrt/pwm-ramp-gen

Repository files navigation

Circle badge Quality Gate Status

PWM ramp generator

It is a simple RIOT-OS application which generate a continuous PWM signal of 1Khz, on the first channel of the first PWM device, and whose duty which increases (then decreases) every 10ms.

# To pull the submodules' sources
git submodule sync
git submodule update --init --recursive

# To pull the container to cross-compile
podman pull riot/riotbuild

# To build in the container
export BUILD_IN_DOCKER=1
export DOCKER="podman"
export DOCKER_IMAGE=riot/riotbuild:latest
export DOCKER_USER=""
export DOCKER_RUN_FLAGS="--rm -i -t --security-opt seccomp=unconfined --security-opt label=disable --userns=keep-id"
export DOCKER_MAKE_ARGS="-j$(nproc)"

make

Use the following command to validate the circleci pipeline:

podman run --rm --security-opt seccomp=unconfined --security-opt label=disable -v $(pwd):/data circleci/circleci-cli:alpine config validate /data/.circleci/config.yml --token $TOKEN

About

A simple application which generate a continuous PWM signal with a variable duty cycle.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published