; 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:nanoatmega4809]
platform = atmelmegaavr
board = nano_every

; change microcontroller
board_build.mcu = atmega4809
board_build.f_cpu = 16000000L
framework = arduino
lib_deps = https://github.com/stevemarple/MCP342x
        


upload_port = /dev/ttyACM0
monitor_port = /dev/ttyACM0
monitor_speed = 38400