mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 01:42:15 +00:00
move rev 0.1 of the ttgo eink board to eink0.1
This commit is contained in:
parent
f4afa6931b
commit
047df76373
@ -15,7 +15,7 @@
|
|||||||
],
|
],
|
||||||
"usb_product": "TTGO_eink",
|
"usb_product": "TTGO_eink",
|
||||||
"mcu": "nrf52840",
|
"mcu": "nrf52840",
|
||||||
"variant": "eink",
|
"variant": "eink0.1",
|
||||||
"variants_dir": "variants",
|
"variants_dir": "variants",
|
||||||
"bsp": {
|
"bsp": {
|
||||||
"name": "adafruit"
|
"name": "adafruit"
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
default_envs = linux # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here
|
default_envs = eink0.1 # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here
|
||||||
;default_envs = heltec # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here
|
;default_envs = heltec # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
@ -247,15 +247,15 @@ src_filter = ${nrf52_base.src_filter} +<../variants/ppr1>
|
|||||||
lib_deps =
|
lib_deps =
|
||||||
${arduino_base.lib_deps}
|
${arduino_base.lib_deps}
|
||||||
|
|
||||||
; Prototype eink/nrf52840/sx1262 device
|
; First prototype eink/nrf52840/sx1262 device
|
||||||
[env:eink]
|
[env:eink0.1]
|
||||||
extends = nrf52_base
|
extends = nrf52_base
|
||||||
board = eink
|
board = eink0.1
|
||||||
# add our variants files to the include and src paths
|
# add our variants files to the include and src paths
|
||||||
# define build flags for the TFT_eSPI library
|
# define build flags for the TFT_eSPI library
|
||||||
build_flags = ${nrf52_base.build_flags} -Ivariants/eink
|
build_flags = ${nrf52_base.build_flags} -Ivariants/eink0.1
|
||||||
-DBUSY_PIN=3 -DRST_PIN=2 -DDC_PIN=28 -DCS_PIN=30
|
-DBUSY_PIN=3 -DRST_PIN=2 -DDC_PIN=28 -DCS_PIN=30
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/eink>
|
src_filter = ${nrf52_base.src_filter} +<../variants/eink0.1>
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${arduino_base.lib_deps}
|
${arduino_base.lib_deps}
|
||||||
https://github.com/geeksville/EPD_Libraries.git
|
https://github.com/geeksville/EPD_Libraries.git
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#include "EInkDisplay.h"
|
#include "EInkDisplay.h"
|
||||||
#include "SPILock.h"
|
#include "SPILock.h"
|
||||||
#include "epd1in54.h" // Screen specific library
|
#include "epd1in54.h" // Screen specific library
|
||||||
#include "graphics/configs.h"
|
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
#include <TFT_eSPI.h> // Graphics library and Sprite class
|
#include <TFT_eSPI.h> // Graphics library and Sprite class
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user