From 3403b0c512ea026814fb7b31d6fe69abcab8b94c Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Fri, 29 Jan 2021 20:25:18 +1300 Subject: [PATCH] [CI] Set $AVR_CPU_FREQUENCY_HZ in the CI Dockerfile --- Dockerfile.ci | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.ci b/Dockerfile.ci index 436da18..60b7d62 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -16,5 +16,6 @@ ENV PATH=/home/avr-rust/.cargo/bin:$PATH COPY --chown=avr-rust:avr-rust . /code/ruduino WORKDIR /code/ruduino +ENV AVR_CPU_FREQUENCY_HZ=16000000 CMD ["cargo", "build", "-Z", "build-std=core", "--target", "avr-atmega328p.json", "--release"]