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

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
davef
Posts: 323
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

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

Post by davef » Sun Jun 20, 2021 6:31 am

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
Last edited by davef on Sun Jun 20, 2021 7:15 am, edited 2 times in total.

User avatar
Roberthh
Posts: 2758
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ESP32 SPIRAM 8MB build shows 64KB

Post by Roberthh » Sun Jun 20, 2021 6:47 am

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

davef
Posts: 323
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: ESP32 SPIRAM 8MB, build shows 64KB

Post by davef » Sun Jun 20, 2021 6:58 am

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

Post Reply