From 843cb2f95640719089ca17aa3e002b69e2300bbe Mon Sep 17 00:00:00 2001 From: Randy Spurlock Date: Fri, 5 May 2023 13:44:54 -0700 Subject: [PATCH] Added PlatformIO board definitions Added new directory for PlatformIO specific items Including a new Boards folder for InkPlate board definitions --- PlatformIO/Boards/inkplate10.json | 44 ++++++++++++++++++++++++++ PlatformIO/Boards/inkplate10v2.json | 44 ++++++++++++++++++++++++++ PlatformIO/Boards/inkplate5.json | 44 ++++++++++++++++++++++++++ PlatformIO/Boards/inkplate6.json | 44 ++++++++++++++++++++++++++ PlatformIO/Boards/inkplate6color.json | 44 ++++++++++++++++++++++++++ PlatformIO/Boards/inkplate6plus.json | 44 ++++++++++++++++++++++++++ PlatformIO/Boards/inkplate6plusv2.json | 44 ++++++++++++++++++++++++++ PlatformIO/Boards/inkplate6v2.json | 44 ++++++++++++++++++++++++++ 8 files changed, 352 insertions(+) create mode 100644 PlatformIO/Boards/inkplate10.json create mode 100644 PlatformIO/Boards/inkplate10v2.json create mode 100644 PlatformIO/Boards/inkplate5.json create mode 100644 PlatformIO/Boards/inkplate6.json create mode 100644 PlatformIO/Boards/inkplate6color.json create mode 100644 PlatformIO/Boards/inkplate6plus.json create mode 100644 PlatformIO/Boards/inkplate6plusv2.json create mode 100644 PlatformIO/Boards/inkplate6v2.json diff --git a/PlatformIO/Boards/inkplate10.json b/PlatformIO/Boards/inkplate10.json new file mode 100644 index 00000000..fd77f346 --- /dev/null +++ b/PlatformIO/Boards/inkplate10.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE10", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 10", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file diff --git a/PlatformIO/Boards/inkplate10v2.json b/PlatformIO/Boards/inkplate10v2.json new file mode 100644 index 00000000..77a596ba --- /dev/null +++ b/PlatformIO/Boards/inkplate10v2.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE10V2", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 10", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file diff --git a/PlatformIO/Boards/inkplate5.json b/PlatformIO/Boards/inkplate5.json new file mode 100644 index 00000000..ec217785 --- /dev/null +++ b/PlatformIO/Boards/inkplate5.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE5", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 5", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file diff --git a/PlatformIO/Boards/inkplate6.json b/PlatformIO/Boards/inkplate6.json new file mode 100644 index 00000000..e5945c02 --- /dev/null +++ b/PlatformIO/Boards/inkplate6.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE6", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 6", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file diff --git a/PlatformIO/Boards/inkplate6color.json b/PlatformIO/Boards/inkplate6color.json new file mode 100644 index 00000000..cf1fe9b3 --- /dev/null +++ b/PlatformIO/Boards/inkplate6color.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE6COLOR", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 6 Color", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file diff --git a/PlatformIO/Boards/inkplate6plus.json b/PlatformIO/Boards/inkplate6plus.json new file mode 100644 index 00000000..865f27a5 --- /dev/null +++ b/PlatformIO/Boards/inkplate6plus.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE6PLUS", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 6 Plus", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file diff --git a/PlatformIO/Boards/inkplate6plusv2.json b/PlatformIO/Boards/inkplate6plusv2.json new file mode 100644 index 00000000..efd7c94c --- /dev/null +++ b/PlatformIO/Boards/inkplate6plusv2.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE6PLUSV2", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 6 Plus", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file diff --git a/PlatformIO/Boards/inkplate6v2.json b/PlatformIO/Boards/inkplate6v2.json new file mode 100644 index 00000000..227950c3 --- /dev/null +++ b/PlatformIO/Boards/inkplate6v2.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_INKPLATE6V2", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-mfix-esp32-psram-cache-issue" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "platform": "espressif32", + "name": "Inkplate 6", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://inkplate.io", + "vendor": "Soldered" +} \ No newline at end of file