Skip to content

darwinbeing/zpsu_mon

Repository files navigation

HP HSTNS-PL30 DIY Raspberry Pi Pico Watt Meter

alt text alt text

Build on Mac OS

  1. Create an Anaconda virtual environment
    Download Anaconda for Mac(Intel)

  2. Installing Dependencies
    brew install cmake dtc

  3. Install West
    pip install west

  4. Initialize Zephyr(Tag: v4.0.0)
    west init --mr v4.0.0 ~/zephyrproject
    cd ~/zephyrproject
    west update
    pip install -r ~/zephyrproject/zephyr/scripts/requirements.txt

  5. Setting Up the Toolchain
    macOS (x86_64) hosted cross toolchains AArch32 13.2.Rel1
    export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
    export GNUARMEMB_TOOLCHAIN_PATH=~/zephyrproject/arm-gnu-toolchain-13.2.Rel1-darwin-x86_64-arm-none-eabi

  6. Clone repo
    git clone https://github.com/darwinbeing/zpsu_mon.git ~/

  7. Compile
    cd ~/zpsu_mon
    source ~/zephyrproject/zephyr/zephyr-env.sh

    Pico Display Pack
    west build -b rpi_pico -d build_lcd1 -- -DCONFIG_PICO_DISPLAY_PACK=y

    Pico Display Pack2
    west build -b rpi_pico -d build_lcd2 -- -DCONFIG_PICO_DISPLAY_PACK2=y

PICO W WIFI

The WiFi functionality on the Pico W is up and running with Zephyr. The chip ID can be read, and the WiFi firmware downloads properly. For faster transmission, the driver needs to support DMA. alt text

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published