Skip to content

Commit

Permalink
start
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Jan 5, 2025
1 parent 74e0688 commit 029be29
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
32 changes: 32 additions & 0 deletions variants/TROY_LoRa_APRS/board_pinout.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#ifndef BOARD_PINOUT_H_
#define BOARD_PINOUT_H_

// LoRa Radio
#define HAS_SX1278
#define RADIO_SCLK_PIN 5
#define RADIO_MISO_PIN 19
#define RADIO_MOSI_PIN 27
#define RADIO_CS_PIN 18
#define RADIO_RST_PIN 23
#define RADIO_BUSY_PIN 26

// Display
#undef OLED_SDA
#undef OLED_SCL
#undef OLED_RST

#define OLED_SDA 21
#define OLED_SCL 22
#define OLED_RST 16

// GPS
#define GPS_RX 12
#define GPS_TX 34

// OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k

#define HAS_BT_CLASSIC

#endif
10 changes: 10 additions & 0 deletions variants/TROY_LoRa_APRS/platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[env:TROY_LoRa_APRS]
extends = env:esp32
board = esp32dev
build_flags =
${common.build_flags}
-D TROY_LoRa_APRS
lib_deps =
${common.lib_deps}
${common.display_libs}
adafruit/Adafruit SH110X @ 2.1.10

0 comments on commit 029be29

Please sign in to comment.