Multi-platform application to configure, calibrate and program C15 Defribillator of E&M electromedicina.
Works on Windows 10^ and Ubuntu 20.04^
Made with React, ElectronJs and Python
- Install stlink driver
- Download (Need ST account)
- Unzip it
- Execute as admin
stlink_winusb_install.bat
- Execute it
- Install python 3.9.0
- Download installer
- Execute it
- Select
Add Python 3.9.0 to PATH
- Download
requirements.txt
pip install -r requirements.txt
- Add microcontrollers drivers.
py -3.9 -m pyocd pack -u -i stm32l4p5zgtxp
py -3.9 -m pyocd pack -u -i stm32f405rgtx
- Activate python virtual enviroment
venv\Scripts\activate
- Install stlink driver
- Download (Need ST account)
- Unzip it
- Execute as admin
stlink_winusb_install.bat
- Unzip c15/scripts/pythonUtils/managed_packs.rar
- Build python executable
cd scripts && pyinstaller controller.spec && cd ..
Important
Be sure to use python 3.9.0
- Start electron app
npm start
npm run build-all-windows
- The installer .exe will be located in
dist
directory
- If you made changes on python script you need to rebuild the executable
cd scripts && pyinstaller controller.spec && cd ..
- Then pack the entire app
npm run build-windows