What platformio configuration do I need for ESP32 WROVER E N16r8?

I downloaded 17.0.0-dev and modified the platformio.ini file directly enabling only the single environment ‘esp32_wrover’. Then I modified that section to look like this:

[env:esp32_wrover]
extends = esp32_idf_V4
board = ttgo-t7-v14-mini32
board_build.f_flash = 80000000L
board_build.flash_mode = qio

board_build.partitions = tools/WLED_ESP32_16MB_9MB_FS.csv
; board_build.flash_mode = dio
board_upload.flash_size = 16MB

;board_build.partitions = ${esp32.extended_partitions}
custom_usermods = audioreactive
                  Temperature
build_flags = ${common.build_flags} ${esp32_idf_V4.build_flags} -D WLED_RELEASE_NAME=\"ESP32_WROVER\"
  -DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
  -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue ;; Older ESP32 (rev.<3) need a PSRAM fix (increases static RAM used) 

  -D DATA_PINS=25
  -D WLED_RELEASE_BIN
  -D BOARD_HAS_PSRAM
   -mfix-esp32-psram-cache-issue

The resultant build will download and run on the WROVER, but it has some problems.  It will only save some of the configuration changes (like static IP address).  It saves the LED configuration but not the segment definitions.  It will never save the audioreactive settings or the DS18B20 settings.  Goolge tells me to use the "Save & Reboot" button on the 'Security & Update' tab, but there is no button like that on that tab.

1) I know I should use an override platformio.ini file, but I found it confusing to do so.  Should the approach I took generate a fully functional version of WLED?

2) How can I tell if the PSRAM is being used?  I assumed that kind of info would be in the'Info' tab.

Thanks for the help.
  1. is as simple as using:
[env:my_override]
extends = env:esp32_wrover
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_build.flash_size = 16M
...
build_flags = ${esp32_wrover.build_flags} -D MY_FLAG
lib_deps = ${esp32_wrover.lib_deps}
  developer/library@1.0.0
...

Or you can create (copy) entire environment from scratch. Just use different name in [env:....] block.

  1. you should see it in Info dialog. If it is not, you are a) not using PSRAM enabled build for ESP32 or b) your ESP32 is not WROVER model (with PSRAM)

I will try this method on my next build. However, before I do that, I want to understand why my current build won’t save the configuration I need. Do you have any insight into that? BTW, I see the “Unused PSRAM” value on the ‘Info’ tab now. It’s around 4M now, so it’s being used. I don’t know if I just missed it before or something I did make it start working.

do not use the dev branch, as announced it is not stable. use the 16_x branch.