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

Added Inkplate boards #698

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions boards/inkplate10.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"build": {
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_INKPLATE10 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "80000000L",

"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32",
"partitions": "huge_app.csv"
},
"connectivity": ["wifi", "bluetooth", "ethernet", "can"],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": ["arduino"],
"name": "Inkplate 10",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 3145728,
"require_upload_port": true,
"speed": 460800
},
"url": "https://inkplate.io",
"vendor": "Soldered"
}
31 changes: 31 additions & 0 deletions boards/inkplate5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"build": {
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_INKPLATE5 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "80000000L",

"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32",
"partitions": "huge_app.csv"
},
"connectivity": ["wifi", "bluetooth", "ethernet", "can"],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": ["arduino"],
"name": "Inkplate 5",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 3145728,
"require_upload_port": true,
"speed": 460800
},
"url": "https://inkplate.io",
"vendor": "Soldered"
}
31 changes: 31 additions & 0 deletions boards/inkplate6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"build": {
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ESP32_DEV -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "80000000L",

"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32",
"partitions": "huge_app.csv"
},
"connectivity": ["wifi", "bluetooth", "ethernet", "can"],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": ["arduino"],
"name": "Inkplate 6",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 3145728,
"require_upload_port": true,
"speed": 460800
},
"url": "https://inkplate.io",
"vendor": "Soldered"
}
31 changes: 31 additions & 0 deletions boards/inkplate6color.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"build": {
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_INKPLATE6COLOR -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is -DARDUINO_INKPLATE6COLOR correct, or should it be -DARDUINO_INKPLATECOLOR (without the 6)?

The Arduino examples all check for the define without the 6.

https://github.com/SolderedElectronics/Inkplate-Arduino-library/blob/3f1908e3cda550b156e3e5b8adeb41177a456f9e/examples/Inkplate6COLOR/Basic/Inkplate6COLOR_Full_Screen_Colors/Inkplate6COLOR_Full_Screen_Colors.ino#L16

I also can't find any reference to the define with the 6 in Inkplate-Arduino-Library, whereas it references the one without the 6 a bunch.

https://github.com/SolderedElectronics/Inkplate-Arduino-library/blob/3f1908e3cda550b156e3e5b8adeb41177a456f9e/src/Inkplate.h#L124

"f_cpu": "240000000L",
"f_flash": "80000000L",

"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32",
"partitions": "huge_app.csv"
},
"connectivity": ["wifi", "bluetooth", "ethernet", "can"],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": ["arduino"],
"name": "Inkplate 6 Color",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 3145728,
"require_upload_port": true,
"speed": 460800
},
"url": "https://inkplate.io",
"vendor": "Soldered"
}
31 changes: 31 additions & 0 deletions boards/inkplate6plus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"build": {
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_INKPLATE6PLUS -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "80000000L",

"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32",
"partitions": "huge_app.csv"
},
"connectivity": ["wifi", "bluetooth", "ethernet", "can"],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": ["arduino"],
"name": "Inkplate 6 Plus",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 3145728,
"require_upload_port": true,
"speed": 460800
},
"url": "https://inkplate.io",
"vendor": "Soldered"
}