MultiGeiger icon indicating copy to clipboard operation
MultiGeiger copied to clipboard

Add min spiffs in platformio.ini

Open pjgueno opened this issue 3 years ago • 2 comments

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

pjgueno avatar Feb 22 '22 21:02 pjgueno

Can you do a PR?

ThomasWaldmann avatar Feb 24 '22 19:02 ThomasWaldmann

Done!

pjgueno avatar Feb 26 '22 07:02 pjgueno