Page 1 of 1

[Solved] ESP32 SPIRAM 8MB, build shows 64KB

Posted: Sun Jun 20, 2021 6:31 am
by davef
I have read through this posting viewtopic.php?f=18&t=9890&hilit=spiram which enables one to get the full 8MB.

However, two things appear to go wrong when I just do a:

Code: Select all

make board=SPIRAM_GENERIC
1) the results appears in build-GENERIC ... no real problem
2) the flash size is only 64K ... that is a problem.

Do I need to go through the procedure in the link above to even get my 4MB?

Thanks

Re: ESP32 SPIRAM 8MB build shows 64KB

Posted: Sun Jun 20, 2021 6:47 am
by Roberthh
It is:

make BOARD=SPIRAM_GENERIC

BOARD in capital letters!

P.S.: If that's your default, you can change it in Makefile, or create a GNUmakefile with

BOARD=SPIRAM_GENERIC
include Makefile

Re: ESP32 SPIRAM 8MB, build shows 64KB

Posted: Sun Jun 20, 2021 6:58 am
by davef
O, dear!

For the regular board (WROOM) I have been using:

Code: Select all

make board=GENERIC
and everything appeared to work ... must default to GENERIC :(

Thanks