cancel
Showing results for 
Search instead for 
Did you mean: 

How to expand array size in memory(Error- segment .bss overflow)?

Gopal
Associate

Hi there,

I want to expand array size until 3000. (i.e. arr[3000]). I have 4KB RAM.

currently I can get value till arr[1500].

I tried different options to expand size but no success. Please see below image.

How to expand array size?

Thanks ,

Gopal0690X000009YqyfQAC.png

1 REPLY 1
Ozone
Lead

Other variables and stack take up space, too. Review the map file.

Manage to get along with smaller array sizes, or get a MCU with more RAM.