; 20260403 ChatGPT
; Exercise 16_PSRAM

[platformio]
default_envs = amy

[env]
platform = espressif32
framework = arduino
board = freenove_esp32_s3_wroom
monitor_speed = 115200
extra_scripts = pre:scripts/set_build_epoch.py
lib_deps =
  Wire
  olikraus/U8g2@^2.36.4

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 ARDUINO_USB_MODE=1
  -D ARDUINO_USB_CDC_ON_BOOT=1

board_build.flash_mode = qio
board_build.psram = 1
board_build.psram_type = spi
board_build.arduino.memory_type = qio_qspi

[env:amy]
extends = env
build_flags =
  ${env.build_flags}
  -D NODE_LABEL=\"AMY\"

[env:bob]
extends = env
build_flags =
  ${env.build_flags}
  -D NODE_LABEL=\"BOB\"

[env:cy]
extends = env
build_flags =
  ${env.build_flags}
  -D NODE_LABEL=\"CY\"

[env:dan]
extends = env
build_flags =
  ${env.build_flags}
  -D NODE_LABEL=\"DAN\"
