sighmon / co2_sensor_scd4x_esp32_http_server

An Arduino sketch for the Adafruit SCD4X and SCD-30 CO2 sensor running on an ESP32 with an http server.
MIT License
7 stars 3 forks source link

Add support for the Sparkfun ESP32-C6 #6

Open sighmon opened 9 months ago

sighmon commented 9 months ago
sighmon commented 7 months ago

To get this branch building for the ESP32-C6:

  1. git clone git@github.com:Sensirion/arduino-ble-gadget.git into ~/Arduino/libraries and then git checkout tags/1.2.0 and add #include <string> to ByteArray.h
  2. git clone git@github.com:Sensirion/arduino-upt-core.git Sensirion_UPT_Core into ~/Arduino/libraries and then git checkout 919ef8b
  3. git clone git@github.com:h2zero/NimBLE-Arduino.git into ~/Arduino/libraries and then git checkout esp32-c6-test
sighmon commented 7 months ago

Unfortunately the BLE part doesn't work on the ESP32-C6, only the http server.

sighmon commented 7 months ago

To get this branch building for the Sparkfun ESP32 Thing:

  1. git clone git@github.com:Sensirion/arduino-ble-gadget.git into ~/Arduino/libraries and then git checkout tags/1.2.0 and add #include <string> to ByteArray.h
  2. git clone git@github.com:Sensirion/arduino-upt-core.git Sensirion_UPT_Core into ~/Arduino/libraries and then git checkout 919ef8b
  3. git clone git@github.com:h2zero/NimBLE-Arduino.git into ~/Arduino/libraries and then git checkout release/1.4
  4. Install the ESP32 boards library at v2.0.11