; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:space-force-ensign-rev3]
platform = espressif32
board = esp32dev
framework = arduino

build_flags =
	-D CONFIG_DISABLE_HAL_LOCKS
	-D TEMPLATE_PLACEHOLDER=0x60

; run at slower speed; we don't need faster, but we do need to save a little power
board_build.f_cpu   = 80000000L
board_build.f_flash = 40000000L

; don't have time for no real debuggers
upload_protocol = esptool
monitor_speed = 115200

lib_deps =
	U8g2
	SparkFun ADXL345 Arduino Library
	ESP Async WebServer
	DNSServer
