Skip to content

Commit 2ff7449

Browse files
nmaas87fpistm
andcommitted
chore(variant): added RAK3172T module
Same as RAK3172 except TCXO is enabled. Signed-off-by: Nico Maas <[email protected]> Co-Authored-by: Frederic Pillon <[email protected]>
1 parent b24801b commit 2ff7449

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
826826
| :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) |
827827
| :green_heart: | STM32WLE5JC | [LoRa-E5 mini](https://wiki.seeedstudio.com/LoRa_E5_mini/) | *2.6.0* | |
828828
| :green_heart: | STM32WLE5CC | [RAK3172 Module](https://github.com/RAKWireless/rakwireless-docs/tree/master/docs/Product-Categories/WisDuo/RAK3172-Module) | *2.6.0* | |
829+
| :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 |
829830
| :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) |
830831
| :green_heart: | STM32L051C8 | [RHF76-052](https://lora-alliance.org/lora_products/rhf76-052/) | *1.7.0* | Basic support |
831832

boards.txt

+13
Original file line numberDiff line numberDiff line change
@@ -12713,6 +12713,19 @@ LoRa.menu.pnum.RAK3172_MODULE.build.variant_h=variant_RAK3172_MODULE.h
1271312713
LoRa.menu.pnum.RAK3172_MODULE.debug.server.openocd.scripts.2=target/stm32wlx.cfg
1271412714
LoRa.menu.pnum.RAK3172_MODULE.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32WLxx/STM32WLE5_CM4.svd
1271512715

12716+
# RAK3172T module
12717+
LoRa.menu.pnum.RAK3172T_MODULE=RAK3172T Module
12718+
LoRa.menu.pnum.RAK3172T_MODULE.upload.maximum_size=262144
12719+
LoRa.menu.pnum.RAK3172T_MODULE.upload.maximum_data_size=65536
12720+
LoRa.menu.pnum.RAK3172T_MODULE.build.mcu=cortex-m4
12721+
LoRa.menu.pnum.RAK3172T_MODULE.build.board=RAK3172T_MODULE
12722+
LoRa.menu.pnum.RAK3172T_MODULE.build.series=STM32WLxx
12723+
LoRa.menu.pnum.RAK3172T_MODULE.build.product_line=STM32WLE5xx
12724+
LoRa.menu.pnum.RAK3172T_MODULE.build.variant=STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U
12725+
LoRa.menu.pnum.RAK3172T_MODULE.build.variant_h=variant_RAK3172_MODULE.h
12726+
LoRa.menu.pnum.RAK3172T_MODULE.debug.server.openocd.scripts.2=target/stm32wlx.cfg
12727+
LoRa.menu.pnum.RAK3172T_MODULE.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32WLxx/STM32WLE5_CM4.svd
12728+
1271612729
# RAK811_TRACKER board
1271712730
LoRa.menu.pnum.RAK811_TRACKER=RAK811 LoRa Tracker (16kb RAM)
1271812731
LoRa.menu.pnum.RAK811_TRACKER.upload.maximum_size=131072

variants/STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U/variant_RAK3172_MODULE.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*******************************************************************************
1212
*/
13-
#if defined(ARDUINO_RAK3172_MODULE)
13+
#if defined(ARDUINO_RAK3172_MODULE) || defined(ARDUINO_RAK3172T_MODULE)
1414
#include "pins_arduino.h"
1515

1616
// Digital PinName array
@@ -104,4 +104,4 @@ WEAK void SystemClock_Config(void)
104104
}
105105
#endif
106106

107-
#endif /* ARDUINO_RAK3172_MODULE */
107+
#endif /* ARDUINO_RAK3172_MODULE || ARDUINO_RAK3172T_MODULE */

variants/STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U/variant_RAK3172_MODULE.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,12 @@
144144
#endif
145145

146146
// LoRaWAN definitions
147-
#define LORAWAN_BOARD_HAS_TCXO 0U
147+
148+
#if defined(ARDUINO_RAK3172T_MODULE)
149+
#define LORAWAN_BOARD_HAS_TCXO 1U
150+
#else
151+
#define LORAWAN_BOARD_HAS_TCXO 0U
152+
#endif
148153
#define LORAWAN_BOARD_HAS_DCDC 1U
149154
#define LORAWAN_TX_CONFIG RBI_CONF_RFO_HP
150155

0 commit comments

Comments
 (0)