Skip to content

Commit

Permalink
Support TLORA_V3.0 (meshtastic#5563)
Browse files Browse the repository at this point in the history
- Support TLORA_V3.0. Update of the legendary 2.1_1.6.1 with solar charger, TCXO and IPEX connector.
- 'extra' some short-lived EOL intermediate boards in that range. If possible use T3S3 instead of all of these!
- update trunk to latest version
  • Loading branch information
caveman99 authored and fifieldt committed Dec 14, 2024
1 parent ebec5bf commit 361fd26
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,32 @@ cli:
plugins:
sources:
- id: trunk
ref: v1.6.4
ref: v1.6.6
uri: https://github.com/trunk-io/plugins
lint:
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- bandit@1.7.10
- [email protected].287
- bandit@1.8.0
- [email protected].334
- [email protected]
- trivy@0.56.2
- trivy@0.58.0
#- [email protected]
- [email protected]
- ruff@0.7.3
- ruff@0.8.3
- [email protected]
- markdownlint@0.42.0
- [email protected].2
- markdownlint@0.43.0
- [email protected].3
- [email protected]
- [email protected]
- [email protected]
- [email protected].0
- [email protected].1-beta
- [email protected]
- [email protected]
- [email protected]
- git-diff-check
- [email protected].1
- [email protected].2
- [email protected]
#- [email protected]
ignore:
Expand All @@ -39,11 +40,11 @@ runtimes:
enabled:
- [email protected]
- [email protected]
- node@18.12.1
- node@18.20.5
actions:
disabled:
- trunk-announce
enabled:
- trunk-fmt-pre-commit
- trunk-check-pre-push
- trunk-upgrade-available
- trunk-upgrade-available
1 change: 1 addition & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ default_envs = tbeam
;default_envs = tlora-v2
;default_envs = tlora-v2-1-1_6
;default_envs = tlora-v2-1-1_6-tcxo
;default_envs = tlora-v3-3-0-tcxo
;default_envs = tlora-t3s3-v1
;default_envs = t-echo
;default_envs = canaryone
Expand Down
1 change: 1 addition & 0 deletions variants/tlora_v2_1_16_tcxo/platformio.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[env:tlora-v2-1-1_6-tcxo]
extends = esp32_base
board_level = extra
board = ttgo-lora32-v21
build_flags =
${esp32_base.build_flags}
Expand Down
1 change: 1 addition & 0 deletions variants/tlora_v2_1_18/platformio.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[env:tlora-v2-1-1_8]
extends = esp32_base
board_level = extra
board = ttgo-lora32-v21

build_flags =
Expand Down
11 changes: 11 additions & 0 deletions variants/tlora_v3_3_0_tcxo/platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[env:tlora-v3-3-0-tcxo]
extends = esp32_base
board = ttgo-lora32-v21
board_level = extra
build_flags =
${esp32_base.build_flags}
-D TLORA_V2_1_16
-I variants/tlora_v2_1_16
-D GPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
-D LORA_TCXO_GPIO=12
-D BUTTON_PIN=0

0 comments on commit 361fd26

Please sign in to comment.