We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello.
I wanna use SRAM to make more free space for my variables (including vector), I cannot understand how can I do this. It seems to be in Project Options -> Target -> Read/Write Memory Areas, so I write RAM1: (Start)0x60000000 (size)0x1000000 (as is in sam4sd32c.h)
#define EBI_CS0_ADDR (0x60000000u) /**< EBI Chip Select 0 base address */ #define EBI_CS1_ADDR (0x61000000u) /**< EBI Chip Select 1 base address */
and I save this and try to use it. When I am not using external SRAM or use how I printed below when I try to make push_back() to vector it goes to hardfault_handler.
Thanks for your help!