kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_Tracker
first try
rodzic
c4e39cb214
commit
a7ecf4dcae
|
@ -23,6 +23,10 @@ check_flags =
|
||||||
cppcheck: --suppress=*:*.pio\* --inline-suppr -DCPPCHECK
|
cppcheck: --suppress=*:*.pio\* --inline-suppr -DCPPCHECK
|
||||||
check_skip_packages = yes
|
check_skip_packages = yes
|
||||||
|
|
||||||
|
[env:ttgo-t-beam-Supreme]
|
||||||
|
board = esp32-s3-devkitc-1
|
||||||
|
build_flags = -Werror -Wall -DTTGO_T_Beam_Supreme
|
||||||
|
|
||||||
[env:ttgo-t-beam-AXP2101-v1_2]
|
[env:ttgo-t-beam-AXP2101-v1_2]
|
||||||
board = ttgo-t-beam
|
board = ttgo-t-beam
|
||||||
build_flags = -Werror -Wall -DTTGO_T_Beam_V1_2
|
build_flags = -Werror -Wall -DTTGO_T_Beam_V1_2
|
||||||
|
|
25
src/pins.h
25
src/pins.h
|
@ -1,6 +1,7 @@
|
||||||
#ifndef PINS_H_
|
#ifndef PINS_H_
|
||||||
#define PINS_H_
|
#define PINS_H_
|
||||||
|
|
||||||
|
/*
|
||||||
#undef OLED_SDA
|
#undef OLED_SDA
|
||||||
#undef OLED_SCL
|
#undef OLED_SCL
|
||||||
#undef OLED_RST
|
#undef OLED_RST
|
||||||
|
@ -8,7 +9,7 @@
|
||||||
#define OLED_SDA 21
|
#define OLED_SDA 21
|
||||||
#define OLED_SCL 22
|
#define OLED_SCL 22
|
||||||
#define OLED_RST 16
|
#define OLED_RST 16
|
||||||
|
*/
|
||||||
#define BUTTON_PIN 38 // The middle button GPIO on the T-Beam
|
#define BUTTON_PIN 38 // The middle button GPIO on the T-Beam
|
||||||
|
|
||||||
#ifdef TTGO_T_Beam_V0_7
|
#ifdef TTGO_T_Beam_V0_7
|
||||||
|
@ -21,4 +22,26 @@
|
||||||
#define GPS_TX 34
|
#define GPS_TX 34
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef TTGO_T_Beam_Supreme
|
||||||
|
#undef OLED_SDA
|
||||||
|
#undef OLED_SCL
|
||||||
|
#undef OLED_RST
|
||||||
|
|
||||||
|
#define OLED_SDA 17
|
||||||
|
#define OLED_SCL 18
|
||||||
|
#define OLED_RST 16
|
||||||
|
|
||||||
|
#define GPS_RX 9
|
||||||
|
#define GPS_TX 8
|
||||||
|
|
||||||
|
#define LORA_SCK 12
|
||||||
|
#define LORA_MISO 13
|
||||||
|
#define LORA_MOSI 11
|
||||||
|
#define LORA_CS 10
|
||||||
|
#define RADIO_DIO0_PIN -1
|
||||||
|
#define LORA_RST 5
|
||||||
|
#define LORA_IRQ 1
|
||||||
|
#define RADIO_BUSY_PIN 4
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Ładowanie…
Reference in New Issue