To all newbies out there (me included) testing pSRAM compatibility with their boards, here's what I did to get it working.
First of all
make sure you're on the latest ESP-IDF verison. I'm on ESP-IDF v3.1-dev-380-gca3faa61 2nd stage bootloader as of testing this.
Second of all do you see SPI SRAM (sPRAM) tests being done during the startup sequence of the ESP32 like in the image bellow?

- SPRAM-check.png (94.32 KiB) Viewed 18478 times
If yes, then the problem might be within your code.
If no, it means that your start-up sequence output looks something like in the image bellow, with the SPI SRAM checks missing.

- Missing-SPRAM-check.png (19.89 KiB) Viewed 18478 times
If so, what I did to fix the problem was simply to go in the
sdkconfig file in the root directory of your project, look for:
CONFIG_SPIRAM_SUPPORT=
and set it to:
CONFIG_SPIRAM_SUPPORT=y
For some reason, on my setup this feature was missing from make menuconfig. It only appeared after I've manually modified the sdkconfig file. Once configured in the sdkconfig file you should be able to see SPI RAM config options under make menuconfig ---> Component config ---> ESP32-specific ----> Support for external, SPI-connected RAM -----> SPI RAM config
The code that I've been using for testing the sPRAM can be found bellow under spram.rar
Fortunately it is stable at 80MHz flash and sPRAM
