platformio.ini 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:genericSTM32F407VET6]
  11. platform = ststm32
  12. board = genericSTM32F407VET6
  13. board_build.mcu = stm32f407vet6
  14. board_build.f_cpu = 168000000L
  15. framework = arduino
  16. upload_protocol = stlink
  17. ;upload_port = COM5
  18. ;upload_speed = 115200
  19. monitor_port = COM8
  20. monitor_speed = 115200
  21. debug_tool = stlink
  22. ;debug_build_flags
  23. ;debug_init_break
  24. ;debug_init_cmds
  25. ;debug_extra_cmds
  26. ;debug_load_cmds
  27. ;debug_load_mode
  28. ;debug_server
  29. ;debug_port
  30. ;debug_speed
  31. ;debug_svd_path
  32. ;debug_server_ready_pattern
  33. ;debug_test
  34. lib_deps = https://github.com/ZinggJM/GxTFT ; graphical library
  35. build_flags = -D STM32F407VE ; in Arduino IDE it defined then you right select a board. GxTFT requires this