-
Notifications
You must be signed in to change notification settings - Fork 7.6k
feat(3rd party board): Adding ViraLink IoT Gate Boards #9841
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
121f7c3
feat(board): Adding ViraLink IoT Gate Boards
armp30 a7a4d79
feat(board): Adding ViraLink IoT Gate Boards
armp30 2a8713c
feat(board): Adding ViraLink IoT Gate Boards
armp30 d8c3adc
Merge branch 'master' into master
armp30 5a01e73
feat(board): Adding ViraLink IoT Gate Boards added spi pins
armp30 9f34b1b
Merge remote-tracking branch 'origin/master'
armp30 f6e8d6c
Merge branch 'espressif:master' into master
armp30 7913fe9
feat(board): Adding ViraLink IoT Gate Boards added spi pins
armp30 4b5b007
Merge remote-tracking branch 'origin/master'
armp30 1852cd0
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] 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
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,46 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
static const uint8_t LED_BUILTIN = 5; | ||
#define BUILTIN_LED LED_BUILTIN | ||
#define LED_BUILTIN LED_BUILTIN | ||
|
||
static const uint8_t RESET_KEY = 0; | ||
|
||
static const uint8_t RS485_TX = 32; | ||
static const uint8_t RS485_RX = 35; | ||
|
||
static const uint8_t SDA = 4; | ||
static const uint8_t SCL = 16; | ||
|
||
static const uint8_t BUZZER = 12; | ||
static const uint8_t RELAY1_PIN = 2; | ||
static const uint8_t RELAY2_PIN = 13; | ||
static const uint8_t RELAY3_PIN = 14; | ||
static const uint8_t RELAY4_PIN = 33; | ||
|
||
static const uint8_t Wiegand1_D0 = 15; | ||
static const uint8_t Wiegand1_D1 = 34; | ||
|
||
static const uint8_t Wiegand2_D0 = 39; | ||
static const uint8_t Wiegand2_D1 = 36; | ||
|
||
static const uint8_t ETH_CLK_OUT = 17; | ||
|
||
static const uint8_t EMAC_MDIO = 18; | ||
static const uint8_t EMAC_TXD0 = 19; | ||
static const uint8_t EMAC_TX_EN = 21; | ||
static const uint8_t EMAC_TXD1 = 22; | ||
static const uint8_t EMAC_MDC = 23; | ||
static const uint8_t EMAC_RXD0 = 25; | ||
static const uint8_t EMAC_RXD1 = 26; | ||
static const uint8_t EMAC_RXD_DV = 27; | ||
|
||
static const uint8_t SS = -1; | ||
static const uint8_t MOSI = -1; | ||
static const uint8_t SCK = -1; | ||
static const uint8_t MISO = -1; | ||
|
||
#endif /* Pins_Arduino_h */ |
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,50 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
static const uint8_t RESET_KEY = 0; | ||
|
||
static const uint8_t RF433 = 5; | ||
|
||
static const uint8_t RS485_TX = 32; | ||
static const uint8_t RS485_RX = 35; | ||
|
||
static const uint8_t GSM1_TX = 15; | ||
static const uint8_t GSM1_RX = 34; | ||
|
||
static const uint8_t GSM2_TX = 32; | ||
static const uint8_t GSM2_RX = 35; | ||
|
||
static const uint8_t GSM_PWR = 33; | ||
|
||
static const uint8_t SDA = 4; | ||
static const uint8_t SCL = 16; | ||
armp30 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
static const uint8_t EXT1 = 12; | ||
static const uint8_t EXT2 = 13; | ||
static const uint8_t PCF1_INT = 14; | ||
|
||
static const uint8_t Wiegand1_D0 = 15; | ||
static const uint8_t Wiegand1_D1 = 34; | ||
|
||
static const uint8_t Wiegand2_D0 = 39; | ||
static const uint8_t Wiegand2_D1 = 36; | ||
|
||
static const uint8_t ETH_CLK_OUT = 17; | ||
|
||
static const uint8_t EMAC_MDIO = 18; | ||
static const uint8_t EMAC_TXD0 = 19; | ||
static const uint8_t EMAC_TX_EN = 21; | ||
static const uint8_t EMAC_TXD1 = 22; | ||
static const uint8_t EMAC_MDC = 23; | ||
static const uint8_t EMAC_RXD0 = 25; | ||
static const uint8_t EMAC_RXD1 = 26; | ||
static const uint8_t EMAC_RXD_DV = 27; | ||
|
||
static const uint8_t SS = -1; | ||
static const uint8_t MOSI = -1; | ||
static const uint8_t SCK = -1; | ||
static const uint8_t MISO = -1; | ||
|
||
#endif /* Pins_Arduino_h */ |
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.