Skip to content

Commit

Permalink
Add TubeZB support
Browse files Browse the repository at this point in the history
  • Loading branch information
mercenaruss committed May 23, 2024
1 parent f1fcad9 commit 78be6f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/const/hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ BrdConfigStruct brdConfigs[] = {
{.addr = 0, .pwrPin = 12, .mdcPin = 23, .mdiPin = 18, .phyType = ETH_PHY_LAN8720, .clkMode = ETH_CLOCK_GPIO17_OUT, .pwrAltPin = -1},
{.btnPin = -1, .btnPlr = 0, .uartSelPin = -1, .uartSelPlr = 0, .ledModePin = -1, .ledModePlr = 0, .ledPwrPin = -1, .ledPwrPlr = 0},
{.txPin = 33, .rxPin = 32, .rstPin = 12, .bslPin = 14}},
{"TubeZB - Olimex",
{.addr = 0, .pwrPin = 12, .mdcPin = 23, .mdiPin = 18, .phyType = ETH_PHY_LAN8720, .clkMode = ETH_CLOCK_GPIO17_OUT, .pwrAltPin = -1},
{.btnPin = -1, .btnPlr = 0, .uartSelPin = -1, .uartSelPlr = 0, .ledModePin = -1, .ledModePlr = 0, .ledPwrPin = -1, .ledPwrPlr = 0},
{.txPin = 4, .rxPin = 36, .rstPin = 5, .bslPin = 16}},
};
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// AUTO GENERATED FILE
#ifndef VERSION
#define VERSION "20240519"
#define VERSION "20240523"
#endif
2 changes: 1 addition & 1 deletion src/websrc/json/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
"lo": {
"pt": "Login - XZG",
"lbl": "Please sign in",
"btn": "Sing in",
"btn": "Sign in",
"mnl": "Need to login",
"mwc": "Wrong credentials",
"mlo": "Logged out success"
Expand Down

0 comments on commit 78be6f4

Please sign in to comment.