mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-28 12:42:00 +00:00
redid the reorganisation of the SPI definitions
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
// SD card - TODO: test, currently untested, copied from T3S3 variant
|
||||
#define HAS_SDCARD
|
||||
#define SDCARD_USE_SPI1
|
||||
#define SDCARD_USE_HSPI
|
||||
// TODO: rename this to make this SD-card specific
|
||||
#define SPI_CS 13
|
||||
#define SPI_SCK 14
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// #define HAS_SCREEN 0
|
||||
|
||||
// #define HAS_SDCARD
|
||||
// #define SDCARD_USE_SPI1
|
||||
// #define SDCARD_USE_HSPI
|
||||
|
||||
#define USE_SSD1306
|
||||
#define I2C_SDA 12
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
#endif
|
||||
|
||||
#define HAS_SDCARD // Have SPI interface SD card slot
|
||||
#define SDCARD_USE_SPI1
|
||||
#define SDCARD_USE_HSPI
|
||||
|
||||
#define LORA_RESET 3
|
||||
#define LORA_SCK 12
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
// #define HAS_SCREEN 0
|
||||
// #define HAS_SDCARD
|
||||
// #define SDCARD_USE_SPI1
|
||||
// #define SDCARD_USE_HSPI
|
||||
|
||||
// #define USE_SSD1306
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#define GPS_1PPS_PIN 6
|
||||
|
||||
#define HAS_SDCARD // Have SPI interface SD card slot
|
||||
#define SDCARD_USE_SPI1
|
||||
#define SDCARD_USE_HSPI
|
||||
|
||||
// PCF8563 RTC Module
|
||||
// #define PCF8563_RTC 0x51 //Putting definitions in variant. h does not compile correctly
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#define HAS_SDCARD
|
||||
#define SDCARD_USE_SPI1
|
||||
#define SDCARD_USE_HSPI
|
||||
|
||||
// Display (E-Ink)
|
||||
#define USE_EINK
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#define HAS_SDCARD
|
||||
#define SDCARD_USE_SPI1
|
||||
#define SDCARD_USE_HSPI
|
||||
|
||||
#define USE_SSD1306
|
||||
|
||||
@@ -76,4 +76,4 @@
|
||||
#endif
|
||||
|
||||
#define HAS_SDCARD // Have SPI interface SD card slot
|
||||
#define SDCARD_USE_SPI1
|
||||
#define SDCARD_USE_HSPI
|
||||
Reference in New Issue
Block a user