Skip to content
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

Added RAK3172T Variant #2431

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
| :green_heart: | STM32F072C8<br>STM32F072CB | [Elektor LoRa Node](https://github.com/ElektorLabs/180516-Elektor_LoRa_Node) | *1.8.0* | [More info](https://www.elektormagazine.com/labs/lorawan-node-experimental-platform) |
| :green_heart: | STM32WLE5JC | [LoRa-E5 mini](https://wiki.seeedstudio.com/LoRa_E5_mini/) | *2.6.0* | |
| :green_heart: | STM32WLE5CC | [RAK3172 Module](https://github.com/RAKWireless/rakwireless-docs/tree/master/docs/Product-Categories/WisDuo/RAK3172-Module) | *2.6.0* | |
| :yellow_heart: | STM32WLE5CC | [RAK3172T Module](https://github.com/RAKWireless/rakwireless-docs/tree/master/docs/Product-Categories/WisDuo/RAK3172-Module) | **2.8.1** | RAK3172 Module with TCXO |
| :green_heart: | STM32L151CB | [RAK811 LoRa Tracker](https://www.rakwireless.com/en/) | *1.4.0* | [Wiki](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Connectivities#lora) |
| :green_heart: | STM32L051C8 | [RHF76-052](https://lora-alliance.org/lora_products/rhf76-052/) | *1.7.0* | Basic support |

Expand Down
13 changes: 13 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12713,6 +12713,19 @@ LoRa.menu.pnum.RAK3172_MODULE.build.variant_h=variant_RAK3172_MODULE.h
LoRa.menu.pnum.RAK3172_MODULE.debug.server.openocd.scripts.2=target/stm32wlx.cfg
LoRa.menu.pnum.RAK3172_MODULE.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32WLxx/STM32WLE5_CM4.svd

# RAK3172T module
LoRa.menu.pnum.RAK3172T_MODULE=RAK3172T Module
LoRa.menu.pnum.RAK3172T_MODULE.upload.maximum_size=262144
LoRa.menu.pnum.RAK3172T_MODULE.upload.maximum_data_size=65536
LoRa.menu.pnum.RAK3172T_MODULE.build.mcu=cortex-m4
LoRa.menu.pnum.RAK3172T_MODULE.build.board=RAK3172T_MODULE
LoRa.menu.pnum.RAK3172T_MODULE.build.series=STM32WLxx
LoRa.menu.pnum.RAK3172T_MODULE.build.product_line=STM32WLE5xx
LoRa.menu.pnum.RAK3172T_MODULE.build.variant=STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U
LoRa.menu.pnum.RAK3172T_MODULE.build.variant_h=variant_RAK3172_MODULE.h
LoRa.menu.pnum.RAK3172T_MODULE.debug.server.openocd.scripts.2=target/stm32wlx.cfg
LoRa.menu.pnum.RAK3172T_MODULE.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32WLxx/STM32WLE5_CM4.svd

# RAK811_TRACKER board
LoRa.menu.pnum.RAK811_TRACKER=RAK811 LoRa Tracker (16kb RAM)
LoRa.menu.pnum.RAK811_TRACKER.upload.maximum_size=131072
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
*******************************************************************************
*/
#if defined(ARDUINO_RAK3172_MODULE)
#if defined(ARDUINO_RAK3172_MODULE) || defined(ARDUINO_RAK3172T_MODULE)
#include "pins_arduino.h"

// Digital PinName array
Expand Down Expand Up @@ -104,4 +104,4 @@ WEAK void SystemClock_Config(void)
}
#endif

#endif /* ARDUINO_RAK3172_MODULE */
#endif /* ARDUINO_RAK3172_MODULE || ARDUINO_RAK3172T_MODULE */
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,12 @@
#endif

// LoRaWAN definitions
#define LORAWAN_BOARD_HAS_TCXO 0U

#if defined(ARDUINO_RAK3172T_MODULE)
#define LORAWAN_BOARD_HAS_TCXO 1U
#else
#define LORAWAN_BOARD_HAS_TCXO 0U
#endif
#define LORAWAN_BOARD_HAS_DCDC 1U
#define LORAWAN_TX_CONFIG RBI_CONF_RFO_HP

Expand Down
Loading