Skip to content

Commit

Permalink
chore(variant): added RAK3172T module
Browse files Browse the repository at this point in the history
Same as RAK3172 except TCXO is enabled.

Signed-off-by: Nico Maas <[email protected]>
Co-Authored-by: Frederic Pillon <[email protected]>
  • Loading branch information
nmaas87 and fpistm committed Jul 15, 2024
1 parent 2d54735 commit 1e28f60
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,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 @@ -12749,6 +12749,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

0 comments on commit 1e28f60

Please sign in to comment.