Skip to content

Commit

Permalink
adding gps pins for sx1262
Browse files Browse the repository at this point in the history
Signed-off-by: Brenton Poke <[email protected]>
  • Loading branch information
BrentonPoke committed Sep 1, 2024
1 parent 136603a commit 885791b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

; default_envs = heltec_wifi_lora_32_V3
; default_envs = heltec_wifi_lora_32_V2
default_envs = lilygo_t_beam_sx1262
default_envs = lilygo_t_beam_sx1262
; default_envs = cubecell_gps
; default_envs = cubecell_board_v2
; default_envs = ttgo_lora32_v1
Expand Down Expand Up @@ -130,6 +130,9 @@
${env:esp32_base.lib_deps}
mikalhart/TinyGPSPlus @ ~1.0.2
lewisxhe/XPowersLib@^0.1.5
build_flags =
${env.build_flags}

[env:cubecell_gps]
; extends cubecell_base environment which extends cdp_common environment
extends = cubecell_base
Expand Down
4 changes: 4 additions & 0 deletions src/include/boards/lilygo_t_beam_sx1262.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
#define CDPCFG_BAT_MULDIV 200 / 100
#define CDPCFG_PIN_LED1 25

//GPS configuration
#define CDPCFG_GPS_RX 34
#define CDPCFG_GPS_TX 12

// LoRa configuration
#define CDPCFG_PIN_LORA_CS 18
#define CDPCFG_PIN_LORA_RST 23
Expand Down

0 comments on commit 885791b

Please sign in to comment.