platformio.ini 746 B

123456789101112131415161718192021222324252627282930
  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:black_f407ve]
  11. ; platform = ststm32
  12. ; board = black_f407ve
  13. ; framework = arduino
  14. ; upload_protocol = stlink
  15. ; debug_tool = stlink
  16. ; monitor_speed = 9600
  17. [common]
  18. build_flags =
  19. -D DEVICE=$PIOENV
  20. [env:atmega168]
  21. build_flags =
  22. ${common.build_flags}
  23. platform = atmelavr
  24. board = nanoatmega168
  25. framework = arduino
  26. board_build.mcu = atmega168
  27. board_build.f_cpu = 16000000L