Skip to content

Conversation

@DanielCao0
Copy link
Contributor

This pull request introduces support for the RAK3401(nrf52840)+RAK13302 (sx1262 1-watt) variant on the nRF52840 platform,

RAK3401 1-watt variant support

  • Added new board variant files: variant.cpp, variant.h, and platformio.ini for the RAK3401 1-watt configuration, defining pin mappings, hardware features, and build settings for the nRF52840-based RAK4631/RAK3401 boards. [1] [2] [3]

  • Updated hardware initialization in src/main.cpp to correctly configure SPI pins and power enable for RAK3401/RAK13302 boards, ensuring proper startup and peripheral activation.

@DanielCao0 DanielCao0 changed the title Board support: RAK3401+RAK13302 Board support: RAK3401+RAK13302 1-watt Sep 28, 2025
@thebentern thebentern added the hardware-support Hardware related: new devices or modules, problems specific to hardware label Sep 28, 2025
@thebentern thebentern changed the base branch from develop to master September 28, 2025 12:41
@DanielCao0
Copy link
Contributor Author

We will release this product soon. We hope to complete the merger as soon as possible. Thank you.

@fifieldt fifieldt added the enhancement New feature or request label Sep 29, 2025
@fifieldt
Copy link
Member

fifieldt commented Oct 8, 2025

@DanielCao0 do you have a table that shows SX1262 input power vs output power ? We need to add gain settings for regulatory compliance

@DanielCao0
Copy link
Contributor Author

DanielCao0 commented Oct 9, 2025

Approximately +8 dBm 6c6fb234844f86af91a14a0122465c2d @fifieldt

@fifieldt
Copy link
Member

fifieldt commented Oct 9, 2025

Thanks @DanielCao0 , I've added the relevant values in src/configuration.h (please ignore the formatting fixes in ScanTwoWire.cpp - these were introduced by an error elsewhere)

@DanielCao0
Copy link
Contributor Author

@fifieldt It seems there is a conflict here. src/configuration.h

@DanielCao0
Copy link
Contributor Author

@fifieldt @fifieldt We will release this module. We hope to complete the merge as soon as possible. Thank you.

@fifieldt
Copy link
Member

Sorry @DanielCao0 , taking a look

@fifieldt fifieldt merged commit af8407a into meshtastic:master Oct 18, 2025
65 checks passed
fifieldt added a commit that referenced this pull request Oct 18, 2025
* Update exempt labels for stale bot workflow

Adds triaged and backlog to the list of exempt labels.

* Update meshtastic/web to v2.6.7 (#8381)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update DFRobot_RTU to v1.0.6 (#8387)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update mcr.microsoft.com/devcontainers/cpp Docker tag to v2 (#8375)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* manual merge stale bot config (#8392)

* Board support:  RAK3401+RAK13302 1-watt  (#8140)

* Add RAK3401 variant files

* Add SPI configuration for RAK3401 and RAK13302 variants

* Refactor SPI pin configuration and clean up variant definitions for RAK3401

* Add TX_GAIN_LORA for RAK13302 Power Amp

* Fix merge

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel.Cao <144674500+DanielCao0@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com>
fifieldt added a commit to fifieldt/meshtastic-firmware that referenced this pull request Oct 21, 2025
* Add RAK3401 variant files

* Add SPI configuration for RAK3401 and RAK13302 variants

* Refactor SPI pin configuration and clean up variant definitions for RAK3401

* Add TX_GAIN_LORA for RAK13302 Power Amp

* Fix merge

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request hardware-support Hardware related: new devices or modules, problems specific to hardware

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants