Skip to content

Instantly share code, notes, and snippets.

@eral
Last active May 17, 2022 17:09
Show Gist options
  • Save eral/baea5a357e4636556b06b50e3b5103cb to your computer and use it in GitHub Desktop.
Save eral/baea5a357e4636556b06b50e3b5103cb to your computer and use it in GitHub Desktop.
platformio.ini for Inkplate 10
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = inkplate_10_esp32
[env]
platform = espressif32
board = esp-wrover-kit
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.f_cpu = 240000000L
board_build.partitions = huge_app.csv
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-std=gnu++17
build_unflags =
-std=gnu++11
lib_deps =
https://github.com/e-radionicacom/Inkplate-Arduino-library
[env:inkplate_6_esp32]
build_flags =
${env.build_flags}
[env:inkplate_10_esp32]
build_flags =
${env.build_flags}
-UARDUINO_ESP32_DEV
-DARDUINO_INKPLATE10
[env:inkplate_6_plus_esp32]
build_flags =
${env.build_flags}
-UARDUINO_ESP32_DEV
-DARDUINO_INKPLATE6PLUS
[env:inkplate_6_color_esp32]
build_flags =
${env.build_flags}
-UARDUINO_ESP32_DEV
-DARDUINO_INKPLATECOLOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment