Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add min spiffs in platformio.ini #449

Open
pjgueno opened this issue Feb 22, 2022 · 2 comments
Open

Add min spiffs in platformio.ini #449

pjgueno opened this issue Feb 22, 2022 · 2 comments

Comments

@pjgueno
Copy link

pjgueno commented Feb 22, 2022

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
Copy link
Contributor

Can you do a PR?

@pjgueno
Copy link
Author

pjgueno commented Feb 26, 2022

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants