radiolib in tbeam v1_2
This commit is contained in:
parent
fbad029024
commit
2fa6872e6b
|
|
@ -48,13 +48,13 @@ board = ttgo-t-beam
|
|||
build_flags =
|
||||
-Werror -Wall
|
||||
-DTTGO_T_Beam_V1_2
|
||||
-DHAS_SX127X
|
||||
-DHAS_SX1278
|
||||
-DHAS_AXP2101
|
||||
-DHAS_BT_CLASSIC
|
||||
lib_deps =
|
||||
${common.lib_deps}
|
||||
lewisxhe/XPowersLib@^0.1.8
|
||||
sandeepmistry/LoRa @ 0.8.0
|
||||
jgromes/RadioLib @ 6.1.0
|
||||
adafruit/Adafruit GFX Library @ 1.11.7
|
||||
adafruit/Adafruit SSD1306 @ 2.5.7
|
||||
adafruit/Adafruit SH110X@^2.1.8
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ ________________________________________________________________________________
|
|||
#include "keyboard_utils.h"
|
||||
#include "configuration.h"
|
||||
#include "station_utils.h"
|
||||
#include "boards_pinout.h"
|
||||
#include "button_utils.h"
|
||||
#include "pins_config.h"
|
||||
#include "power_utils.h"
|
||||
#include "menu_utils.h"
|
||||
#include "lora_utils.h"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef PINS_CONFIG_H_
|
||||
#define PINS_CONFIG_H_
|
||||
#ifndef BOARDS_PINOUT_H_
|
||||
#define BOARDS_PINOUT_H_
|
||||
|
||||
#undef OLED_SDA
|
||||
#undef OLED_SCL
|
||||
|
|
@ -13,6 +13,12 @@
|
|||
#define GPS_RX 12
|
||||
#define GPS_TX 34
|
||||
#define BUTTON_PIN 38 // The middle button GPIO on the T-Beam
|
||||
#define RADIO_SCLK_PIN 5
|
||||
#define RADIO_MISO_PIN 19
|
||||
#define RADIO_MOSI_PIN 27
|
||||
#define RADIO_CS_PIN 18 // CS --> NSS
|
||||
#define RADIO_RST_PIN 23
|
||||
#define RADIO_BUSY_PIN 26 // IRQ --> DIO0
|
||||
#endif
|
||||
|
||||
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
#include <Wire.h>
|
||||
#include "custom_characters.h"
|
||||
#include "configuration.h"
|
||||
#include "pins_config.h"
|
||||
#include "boards_pinout.h"
|
||||
#include "display.h"
|
||||
#include "TimeLib.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include "TimeLib.h"
|
||||
#include "configuration.h"
|
||||
#include "station_utils.h"
|
||||
#include "pins_config.h"
|
||||
#include "boards_pinout.h"
|
||||
#include "gps_utils.h"
|
||||
#include "display.h"
|
||||
#include "logger.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include "station_utils.h"
|
||||
#include "configuration.h"
|
||||
#include "power_utils.h"
|
||||
#include "pins_config.h"
|
||||
#include "boards_pinout.h"
|
||||
#include "msg_utils.h"
|
||||
#include "display.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include <SPI.h>
|
||||
#include "notification_utils.h"
|
||||
#include "configuration.h"
|
||||
#include "pins_config.h"
|
||||
#include "boards_pinout.h"
|
||||
#include "lora_utils.h"
|
||||
#include "display.h"
|
||||
#ifdef HAS_SX127X
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include "configuration.h"
|
||||
#include "power_utils.h"
|
||||
#include "notification_utils.h"
|
||||
#include "pins_config.h"
|
||||
#include "boards_pinout.h"
|
||||
#include "ble_utils.h"
|
||||
#include "logger.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue