Skip to content

Commit

Permalink
Merge pull request opendata-stuttgart#1019 from opendata-stuttgart/be…
Browse files Browse the repository at this point in the history
…ta-sen5x

Add Sensirion SEN5x to Beta
  • Loading branch information
ricki-z authored Mar 29, 2024
2 parents 06d0e80 + 9b97737 commit 04186cf
Show file tree
Hide file tree
Showing 36 changed files with 649 additions and 6 deletions.
3 changes: 3 additions & 0 deletions airrohr-firmware/airrohr-cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ enum ConfigShapeId {
Config_npm_read,
Config_npm_fulltime,
Config_ips_read,
Config_sen5x_read,
Config_sps30_read,
Config_bmp_read,
Config_bmx280_read,
Expand Down Expand Up @@ -114,6 +115,7 @@ static constexpr char CFG_KEY_HPM_READ[] PROGMEM = "hpm_read";
static constexpr char CFG_KEY_NPM_READ[] PROGMEM = "npm_read";
static constexpr char CFG_KEY_NPM_FULLTIME[] PROGMEM = "npm_fulltime";
static constexpr char CFG_KEY_IPS_READ[] PROGMEM = "ips_read";
static constexpr char CFG_KEY_SEN5X_READ[] PROGMEM = "sen5x_read";
static constexpr char CFG_KEY_SPS30_READ[] PROGMEM = "sps30_read";
static constexpr char CFG_KEY_BMP_READ[] PROGMEM = "bmp_read";
static constexpr char CFG_KEY_BMX280_READ[] PROGMEM = "bmx280_read";
Expand Down Expand Up @@ -186,6 +188,7 @@ static constexpr ConfigShapeEntry configShape[] PROGMEM = {
{ Config_Type_Bool, 0, CFG_KEY_NPM_READ, &cfg::npm_read },
{ Config_Type_Bool, 0, CFG_KEY_NPM_FULLTIME, &cfg::npm_fulltime },
{ Config_Type_Bool, 0, CFG_KEY_IPS_READ, &cfg::ips_read },
{ Config_Type_Bool, 0, CFG_KEY_SEN5X_READ, &cfg::sen5x_read },
{ Config_Type_Bool, 0, CFG_KEY_SPS30_READ, &cfg::sps30_read },
{ Config_Type_Bool, 0, CFG_KEY_BMP_READ, &cfg::bmp_read },
{ Config_Type_Bool, 0, CFG_KEY_BMX280_READ, &cfg::bmx280_read },
Expand Down
1 change: 1 addition & 0 deletions airrohr-firmware/airrohr-cfg.h.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
Bool npm_read
Bool npm_fulltime
Bool ips_read
Bool sen5x_read
Bool sps30_read
Bool bmp_read
Bool bmx280_read
Expand Down
Loading

0 comments on commit 04186cf

Please sign in to comment.