Skip to content

Latest commit

 

History

History
 
 

firmware

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ventilator Firmware

Versions

See CHANGELOG.md.

Pre-compiled binaries are available in the Releases section.

Documentation

Code documentation can be found there.

How To Build?

In order to setup your environment and build the code, please follow the following commands (for MacOS):

  1. brew install arduino-cli
  2. arduino-cli config init --additional-urls https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
  3. arduino-cli core update-index
  4. arduino-cli core install STM32:stm32
  5. arduino-cli lib install LiquidCrystal && arduino-cli lib install "Analog Buttons" && arduino-cli lib install OneButton

Then, compile the project:

arduino-cli compile --fqbn STM32:stm32:Nucleo_64:opt=o3std,pnum=NUCLEO_F411RE --verbose src/software/firmware/srcs/respirator.cpp --output src/software/firmware/output/respirator-production

Configuration

High-level configuration options are available and documented in includes/config.h.

Low-level configuration options can be found in includes/parameters.h.