summaryrefslogtreecommitdiff
path: root/src/sdk_config.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2019-12-05 19:23:46 +0100
committerJF <jf@codingfield.com>2019-12-05 19:23:46 +0100
commitadf405a2302bd1b3681f54d32f80a4bf441d2e3c (patch)
tree661abd353faa9bbb33049bd745451a181627f1b2 /src/sdk_config.h
parent66182d15bca7e88aaceee9bb4cc03218a4f24569 (diff)
Add support for LCD (ST7789)
Diffstat (limited to 'src/sdk_config.h')
-rw-r--r--src/sdk_config.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/sdk_config.h b/src/sdk_config.h
index 46a40940..057d16ba 100644
--- a/src/sdk_config.h
+++ b/src/sdk_config.h
@@ -4384,13 +4384,13 @@
// <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver
//==========================================================
#ifndef NRFX_SPIM_ENABLED
-#define NRFX_SPIM_ENABLED 1
+#define NRFX_SPIM_ENABLED 0
#endif
// <q> NRFX_SPIM0_ENABLED - Enable SPIM0 instance
#ifndef NRFX_SPIM0_ENABLED
-#define NRFX_SPIM0_ENABLED 1
+#define NRFX_SPIM0_ENABLED 0
#endif
// <q> NRFX_SPIM1_ENABLED - Enable SPIM1 instance
@@ -4435,7 +4435,7 @@
// <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
//==========================================================
#ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
-#define NRFX_SPIM_CONFIG_LOG_ENABLED 1
+#define NRFX_SPIM_CONFIG_LOG_ENABLED 0
#endif
// <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default Severity level
@@ -6456,7 +6456,7 @@
// <e> SPI_ENABLED - nrf_drv_spi - SPI/SPIM peripheral driver - legacy layer
//==========================================================
#ifndef SPI_ENABLED
-#define SPI_ENABLED 1
+#define SPI_ENABLED 0
#endif
// <o> SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
@@ -6488,7 +6488,7 @@
// <e> SPI0_ENABLED - Enable SPI0 instance
//==========================================================
#ifndef SPI0_ENABLED
-#define SPI0_ENABLED 1
+#define SPI0_ENABLED 0
#endif
// <q> SPI0_USE_EASY_DMA - Use EasyDMA
@@ -8146,7 +8146,7 @@
#endif
#ifndef ST7735_ENABLED
-#define ST7735_ENABLED 1
+#define ST7735_ENABLED 0
#endif
// <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
@@ -9621,7 +9621,7 @@
// <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
//==========================================================
#ifndef SPI_CONFIG_LOG_ENABLED
-#define SPI_CONFIG_LOG_ENABLED 1
+#define SPI_CONFIG_LOG_ENABLED 0
#endif
// <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
@@ -12967,6 +12967,10 @@
#define ST7735_SS_PIN 25
#endif
+#ifndef ST7789_ROW_OFFSET
+#define ST7789_ROW_OFFSET 0
+#endif
+
// <o> ST7735_IRQ_PRIORITY - Interrupt priority