-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Feat: Add Electronic Cats CatWAN USB Stick variant (RP2040 + RFM95W) #10130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
wero1414
wants to merge
5
commits into
meshtastic:develop
Choose a base branch
from
ElectronicCats:add-catwan-usb-stick-variant
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
aad779a
Add Electronic Cats CatWAN USB Stick variant (RP2040 + RFM95W)
wero1414 9b27262
Merge branch 'develop' into add-catwan-usb-stick-variant
wero1414 bc4e29d
Update variants/rp2040/ec_catwan_usb_stick/variant.h
wero1414 21c292f
Update variants/rp2040/ec_catwan_usb_stick/platformio.ini
wero1414 0253f0f
Merge branch 'develop' into add-catwan-usb-stick-variant
wero1414 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| [env:ec_catwan_usb_stick] | ||
| extends = rp2040_base | ||
| board = rpipico | ||
| board_level = extra | ||
| upload_protocol = picotool | ||
| build_flags = | ||
| ${rp2040_base.build_flags} | ||
| -D RPI_PICO | ||
| -I variants/rp2040/ec_catwan_usb_stick | ||
| -D DEBUG_RP2040_PORT=Serial | ||
| debug_build_flags = ${rp2040_base.build_flags}, -g | ||
| debug_tool = cmsis-dap | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| // CatWAN USB Stick - Electronic Cats | ||
| // RP2040 + RFM95W (SX1276) | ||
| // | ||
| // Pin mapping: | ||
| // SPI0: MISO=GPIO16, CS=GPIO17, SCK=GPIO18, MOSI=GPIO19 | ||
| // Radio: RST=GPIO21, DIO0=GPIO10, DIO1=GPIO11, DIO2=GPIO12 | ||
| // LED: GPIO25 | ||
|
|
||
| #define ARDUINO_ARCH_AVR | ||
|
|
||
|
wero1414 marked this conversation as resolved.
Outdated
|
||
| #define HAS_SCREEN 0 | ||
| #define HAS_GPS 0 | ||
| #undef GPS_RX_PIN | ||
| #undef GPS_TX_PIN | ||
|
|
||
| #define LED_PIN 25 | ||
|
|
||
| #define USE_RF95 // RFM95W / SX1276 | ||
|
|
||
| #undef LORA_SCK | ||
| #undef LORA_MISO | ||
| #undef LORA_MOSI | ||
| #undef LORA_CS | ||
|
|
||
| #define LORA_SCK 18 | ||
| #define LORA_MISO 16 | ||
| #define LORA_MOSI 19 | ||
| #define LORA_CS 17 | ||
|
|
||
| #define LORA_RESET 21 | ||
| #define LORA_DIO0 10 | ||
| #define LORA_DIO1 11 | ||
| #define LORA_DIO2 12 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.