-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Description
Hardware:
Board: M5Stack FIRE
Core Installation/update date: 4/Aug/2018
IDE name: Arduino IDE
Flash Frequency: no menu for M5Stack FIRE
Upload Speed: 921600
PSRAM: Enabled
Description:
I can't allocate PSRAM by ps_malloc().
On the other hand, I can allocate internal RAM by malloc().
I tried with two hardware. Same problem happened.
Sketch:
const int N = 10;
uint16_t* buf;
void setup(){
Serial.begin(115200);
if (buf = (uint16_t*)ps_malloc(sizeof(uint16_t)*N)) Serial.println("ps_malloc succeeded");
else Serial.println("ps_malloc failed");
}
void loop() {
}
Debug Messages:
ps_malloc failed
Metadata
Metadata
Assignees
Labels
No labels