; 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:hgd4]
platform = nordicnrf52
board = hgd4
framework = arduino
board_build.variants_dir = variants
board_build.variant = hgd4
lib_deps = 
	adafruit/Adafruit Unified Sensor@^1.1.15
	adafruit/Adafruit LIS3DH@^1.3.0
	sparkfun/SparkFun Ambient Light Sensor Arduino Library@^1.0.4
	vshymanskyy/TinyGSM@^0.12.0
	koendv/RTT Stream@^1.4.1
	arduino-libraries/ArduinoHttpClient@^0.6.1
	bblanchon/ArduinoJson@^6.21.4
	sodaqmoja/Sodaq_LPS22HB@^1.0.0
	sciosense/ScioSense_ENS220@^2.0.1
build_unflags = -DNRF52 -DUSE_LFXO
build_flags = -DNRF52840_XXAA -DUSE_LFRC -DNRF52_S140
lib_compat_mode = soft
upload_protocol = jlink
debug_tool = jlink
monitor_port = socket://localhost:19021
extra_scripts = 
	generate_production_image.py
	custom_upload.py
