mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-13 22:32:27 +00:00
no more t-rex
This commit is contained in:
committed by
Jonathan Bennett
parent
d5164b4fbf
commit
17afdb9ccf
@@ -1,16 +1,16 @@
|
||||
; The t-rex Muzi board
|
||||
[env:t-rex]
|
||||
; The R1 Neo board
|
||||
[env:r1-neo]
|
||||
extends = nrf52840_base
|
||||
board = t-rex
|
||||
board = r1-neo
|
||||
board_check = true
|
||||
build_flags = ${nrf52840_base.build_flags}
|
||||
-Ivariants/nrf52840/t-rex
|
||||
-D T_REX
|
||||
-Ivariants/nrf52840/r1-neo
|
||||
-D R1_NEO
|
||||
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
|
||||
-DRADIOLIB_EXCLUDE_SX128X=1
|
||||
-DRADIOLIB_EXCLUDE_SX127X=1
|
||||
-DRADIOLIB_EXCLUDE_LR11X0=1
|
||||
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/t-rex> +<mesh/api/> +<mqtt/>
|
||||
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/r1-neo> +<mesh/api/> +<mqtt/>
|
||||
lib_deps =
|
||||
${nrf52840_base.lib_deps}
|
||||
${networking_base.lib_deps}
|
||||
@@ -16,8 +16,8 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef _VARIANT_TREX_
|
||||
#define _VARIANT_TREX_
|
||||
#ifndef _VARIANT_R1NEO_
|
||||
#define _VARIANT_R1NEO_
|
||||
|
||||
#define RAK4630
|
||||
|
||||
@@ -85,7 +85,7 @@ static const uint8_t MOSI = PIN_SPI_MOSI;
|
||||
static const uint8_t MISO = PIN_SPI_MISO;
|
||||
static const uint8_t SCK = PIN_SPI_SCK;
|
||||
|
||||
// T-Rex Extras
|
||||
// R1 Neo Extras
|
||||
#define DCDC_EN_HOLD (13) // P0.13 Keeps DCDC alive after user button is pressed
|
||||
#define NRF_ON (29) // P0.29 Tells IO controller device is on
|
||||
|
||||
Reference in New Issue
Block a user