Skip to content

Cat-Ion/modular-psu-firmware

 
 

Repository files navigation

GitHub release license

Ownership and License

The contributors are listed in CONTRIB.TXT. This project uses the GPL v3 license, see LICENSE.TXT. EEZ psu-firmware uses the C4.1 (Collective Code Construction Contract) process for contributions. To report an issue, use the EEZ modular-psu-firmware issue tracker.

Introduction

Firmare for STM32F7 MCU used in EEZ BB3 Test & Measurement chassis. Currently supported modules:

  • DCP405 0 - 40 V / 5 A programmable power source
  • DCM220 dual 1 - 20 V / 4 A auxiliary power source

Under development:

  • MIO168 mixed I/O module
  • PREL6 6 power relays module
  • SMX46 4 x 6 programmable switch matrix

For EEZ H24005 firmware visit psu-firmware repository.

Build

Linux

sudo apt-get update
sudo apt-get install -y git libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev cmake build-essential
git clone https://github.com/eez-open/modular-psu-firmware
mkdir -p modular-psu-firmware/build/linux
cd modular-psu-firmware/build/linux
cmake ../..
make

Emscripten

Download and install Emscripten

source /path/to/emsdk/emsdk_env.sh
export EMSCRIPTEN=/path/to/emsdk/upstream/emscripten
mkdir -p /path/to/modular-psu-firmware/build/emscripten
cd /path/to/modular-psu-firmware/build/emscripten
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../..
make

Windows

Install Visual Studio Community 2017 and CMake.

Use git to clone https://github.com/eez-open/modular-psu-firmware.

Execute cmake.bat.

Visual Studio solution is created in `\path\to\modular-psu-firmware\build\win32'.

STM32 firmware

  • Import project from /path/to/modular-psu-firmware/src/third_party/stm32_truestudio into TrueStudio and build it.

About

Firmware for EEZ Bench Box 3 (BB3)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 91.9%
  • C 7.0%
  • CMake 0.7%
  • Python 0.4%
  • JavaScript 0.0%
  • Inno Setup 0.0%