platformio.ini 671 B

12345678910111213141516171819202122232425
  1. ; PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; https://docs.platformio.org/page/projectconf.html
  10. [env:nanoatmega4809]
  11. platform = atmelmegaavr
  12. board = nano_every
  13. ; change microcontroller
  14. board_build.mcu = atmega4809
  15. board_build.f_cpu = 16000000L
  16. framework = arduino
  17. lib_deps = https://github.com/stevemarple/MCP342x
  18. upload_port = /dev/ttyACM0
  19. monitor_port = /dev/ttyACM0
  20. monitor_speed = 38400