37 lines
639 B
INI
37 lines
639 B
INI
; 20260212 ChatGPT
|
|
; $Id$
|
|
; $HeadURL$
|
|
|
|
[platformio]
|
|
default_envs = node_a
|
|
|
|
[env]
|
|
platform = espressif32
|
|
framework = arduino
|
|
board = esp32-s3-devkitc-1
|
|
monitor_speed = 115200
|
|
lib_deps =
|
|
jgromes/RadioLib@^6.6.0
|
|
|
|
; Common build flags (pins from Meshtastic tbeam-s3-core variant.h)
|
|
build_flags =
|
|
-D LORA_CS=10
|
|
-D LORA_MOSI=11
|
|
-D LORA_SCK=12
|
|
-D LORA_MISO=13
|
|
-D LORA_RESET=5
|
|
-D LORA_DIO1=1
|
|
-D LORA_BUSY=4
|
|
-D LORA_TCXO_VOLTAGE=1.8
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
|
|
[env:node_a]
|
|
build_flags =
|
|
${env.build_flags}
|
|
-D NODE_LABEL=\"A\"
|
|
|
|
[env:node_b]
|
|
build_flags =
|
|
${env.build_flags}
|
|
-D NODE_LABEL=\"B\"
|