20260217_212053_z set RTC to GPS using 1PPS pulse-per-second discipline rtc-gps drift=+0 s; sats=20; lat=44.936488 lon=-123.021837; alt_m=59.1; hdop=0.7; utc_age_ms=659; pps_edges=805; fw_epoch=1771362221; fw_build_utc=20260217_210341_z
42 lines
784 B
INI
42 lines
784 B
INI
; 20260213 ChatGPT
|
|
; $Id$
|
|
; $HeadURL$
|
|
|
|
[platformio]
|
|
default_envs = node_a
|
|
|
|
[env]
|
|
platform = espressif32
|
|
framework = arduino
|
|
board = esp32-s3-devkitc-1
|
|
monitor_speed = 115200
|
|
extra_scripts = pre:scripts/set_build_epoch.py
|
|
lib_deps =
|
|
lewisxhe/XPowersLib@0.3.3
|
|
Wire
|
|
olikraus/U8g2@^2.36.4
|
|
|
|
; SD pins based on T-Beam S3 core pin mapping
|
|
build_flags =
|
|
-I ../../shared/boards
|
|
-I ../../external/microReticulum_Firmware
|
|
-D BOARD_MODEL=BOARD_TBEAM_S_V1
|
|
-D OLED_SDA=17
|
|
-D OLED_SCL=18
|
|
-D OLED_ADDR=0x3C
|
|
-D GPS_RX_PIN=9
|
|
-D GPS_TX_PIN=8
|
|
-D GPS_WAKEUP_PIN=7
|
|
-D GPS_1PPS_PIN=6
|
|
-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\"
|