ecocurious2 / MultiGeiger

Geigerzähler mit ESP32 und empfindlichem Si22g-Zählrohr (Gamma)
https://multigeiger.readthedocs.io/
GNU General Public License v3.0
69 stars 29 forks source link

Add min spiffs in platformio.ini #449

Open pjgueno opened 2 years ago

pjgueno commented 2 years ago

Like described in the instructions for the Arduino IDE you have to "force" the size of the ROM to flash the Heltec Wifikit 32. Actually you must not change the board name :

[env:geiger]
board = heltec_wireless_stick
board_build.partitions = min_spiffs.csv
build_flags =
  -D CFG_eu868=1
  -D CFG_sx1276_radio=1
  -D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS=1
platform = espressif32
framework = arduino
monitor_speed=115200
lib_deps=
  U8g2
  Adafruit BME680 Library@^2.0.0
  Adafruit BME280 Library
  Adafruit Unified Sensor
  IotWebConf@^3.1.0
  MCCI LoRaWAN LMIC library
  h2zero/NimBLE-Arduino

And choose "Default" for Build/Upload

ThomasWaldmann commented 2 years ago

Can you do a PR?

pjgueno commented 2 years ago

Done!