Created
March 26, 2023 15:27
-
-
Save hasheddan/51ebbaea543d964682e4e565987bd67f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ghcr.io/beriberikix/zephyr-xtensa-espressif_esp32:v3.3.0-0.16.0sdk | |
RUN apt update \ | |
&& apt install -y --no-install-recommends python3-pip \ | |
&& pip3 install pyserial | |
RUN adduser --disabled-password --gecos "" wokwi | |
USER wokwi | |
WORKDIR /home/wokwi/blinky | |
COPY west.yml . | |
RUN west init -l . | |
RUN west update --narrow | |
WORKDIR /home/wokwi/zephyr | |
COPY esp32-wokwi.dts samples/basic/blinky/app.overlay | |
RUN west build -b esp32 samples/basic/blinky -p | |
# Wokwi builder configuration: | |
ENV HEXI_SRC_DIR="/home/wokwi/zephyr/samples/basic/blinky/src" | |
ENV HEXI_BUILD_CMD="west build -b esp32 samples/basic/blinky -p" | |
ENV HEXI_OUT_HEX="/home/wokwi/zephyr/build/zephyr/zephyr.bin" | |
ENV HEXI_OUT_ELF="/home/wokwi/zephyr/build/zephyr/zephyr.elf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment