Out of memory?? huh?

themindfactory
Posts: 58
Joined: Mon Mar 26, 2018 7:57 pm

Out of memory?? huh?

Postby themindfactory » Thu May 17, 2018 4:41 am

I compile my code and get:

Global variables use 103200 bytes (34%) of dynamic memory, leaving 191712 bytes for local variables.

Then I change an array from

int array[16][64] to array[64][64] this is 12K more RAM, but I get a linker error of:

region `dram0_0_seg' overflowed by 288 bytes

Why?

Thanks!

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Out of memory?? huh?

Postby WiFive » Thu May 17, 2018 6:03 am


themindfactory
Posts: 58
Joined: Mon Mar 26, 2018 7:57 pm

Re: Out of memory?? huh?

Postby themindfactory » Thu May 17, 2018 2:25 pm

Thanks!

Is there a way to reclaim the 64k used for BT when BT is not used?

RichardS

Who is online

Users browsing this forum: No registered users and 126 guests