[env:wio-e5]
extends = stm32_base
board = lora_e5_dev_board
board_level = pr
board_upload.maximum_size = 233472 ; reserve the last 28KB for filesystem
build_flags =
  ${stm32_base.build_flags}
  -Ivariants/stm32/wio-e5
  -DSERIAL_UART_INSTANCE=1
  -DPIN_SERIAL_RX=PB7
  -DPIN_SERIAL_TX=PB6
  -DPIN_WIRE_SDA=PA15
  -DPIN_WIRE_SCL=PB15
  -DHAS_SENSOR=1
  -DENABLE_HWSERIAL2
  -DPIN_SERIAL2_TX=PA2
  -DPIN_SERIAL2_RX=PA3
  -DHAS_GPS=1
  -DGPS_SERIAL_PORT=Serial2

upload_port = stlink

lib_deps =
  ${stm32_base.lib_deps}
  # Add your custom sensor here!