mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-09 23:24:43 +00:00
Remove unused EINK and Ethernet definitions from variant.h and platformio.ini
This commit is contained in:
parent
5ab2a472d7
commit
90b63bad7f
@ -6,7 +6,6 @@ board_check = true
|
|||||||
build_flags = ${nrf52840_base.build_flags} -Ivariants/rak_wismeshtag -D RAK_4631
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/rak_wismeshtag -D RAK_4631
|
||||||
-L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m4/fpv4-sp-d16-hard"
|
-L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m4/fpv4-sp-d16-hard"
|
||||||
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
|
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
|
||||||
-DEINK_DISPLAY_MODEL=GxEPD2_213_BN
|
|
||||||
-DEINK_WIDTH=250
|
-DEINK_WIDTH=250
|
||||||
-DEINK_HEIGHT=122
|
-DEINK_HEIGHT=122
|
||||||
-DRADIOLIB_EXCLUDE_SX128X=1
|
-DRADIOLIB_EXCLUDE_SX128X=1
|
||||||
|
@ -133,11 +133,6 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
|||||||
#define PIN_EINK_SCLK (0 + 3)
|
#define PIN_EINK_SCLK (0 + 3)
|
||||||
#define PIN_EINK_MOSI (0 + 30) // also called SDI
|
#define PIN_EINK_MOSI (0 + 30) // also called SDI
|
||||||
|
|
||||||
// #define USE_EINK
|
|
||||||
|
|
||||||
// RAKRGB
|
|
||||||
#define HAS_NCP5623
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Wire Interfaces
|
* Wire Interfaces
|
||||||
*/
|
*/
|
||||||
@ -155,9 +150,6 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
|||||||
#define PIN_QSPI_IO2 28
|
#define PIN_QSPI_IO2 28
|
||||||
#define PIN_QSPI_IO3 2
|
#define PIN_QSPI_IO3 2
|
||||||
|
|
||||||
// On-board QSPI Flash
|
|
||||||
#define EXTERNAL_FLASH_DEVICES IS25LP080D
|
|
||||||
#define EXTERNAL_FLASH_USE_QSPI
|
|
||||||
|
|
||||||
/* @note RAK5005-O GPIO mapping to RAK4631 GPIO ports
|
/* @note RAK5005-O GPIO mapping to RAK4631 GPIO ports
|
||||||
RAK5005-O <-> nRF52840
|
RAK5005-O <-> nRF52840
|
||||||
@ -247,11 +239,6 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG
|
|||||||
|
|
||||||
#define RAK_4631 1
|
#define RAK_4631 1
|
||||||
|
|
||||||
#define PIN_ETHERNET_RESET 21
|
|
||||||
#define PIN_ETHERNET_SS PIN_EINK_CS
|
|
||||||
#define ETH_SPI_PORT SPI1
|
|
||||||
#define AQ_SET_PIN 10
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user