Advertisement
honey_the_codewitch

platformio example PSRAM

Dec 7th, 2021
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [env:esp-idf-esp-wrover-kit]
  2. platform = espressif32
  3. ; CHANGE BELOW TO YOUR BOARD. Platform IO has a drop down list of boards
  4. ; you choose from when you create a new project.
  5. ; it uses that to build the initial ini file for you.
  6. ; you can then edit that file
  7. board = esp-wrover-kit
  8. ; below would be Arduino for arduino. Again, platformIO gives you a menu
  9. ; to choose this when you create a new project
  10. framework = espidf
  11. upload_speed=921600
  12. monitor_speed=115200
  13. ; on linux below would be like /dev/tty3 or something
  14. ; you don't usually need it because platformio detects
  15. ; it. sometimes that doesn't work though or you have
  16. ; more than one board plugged in.
  17. ; uncomment this and set it if you need to
  18. ;upload_port = COM5
  19. ; you don't need this but i use it to enable C++14
  20. ; which is the highest C++ std you can get under
  21. ; platformIO unless you're using linux
  22. build_unflags=-std=gnu++11
  23. ; the first flag is for the C++14 std
  24. ; the other flags are to enable psram
  25. build_flags=-std=gnu++14
  26.             -DBOARD_HAS_PSRAM
  27.             -mfix-esp32-psram-cache-issue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement