My name is Jorge and I am a Firmware Engineer.
I am developing a BLE scan that gets into lists the main characteristics of the BLEs founded.
The struct I am using for that is:
I need an aux array and an RTC data array to save data in deep sleep. The aux array doesn’t need to be saved, it can be called by malloc() and free().
I use this struct as an array of structs.
//Internal BLE list
RTC_DATA_ATTR ble_list_info_t visualization_list[MAX_LIST_BLE_VISUALIZATION];
The problem is that when I try to increment the define MAX_LIST_BLE_VISUALIZATION to 1000 I have this compilation problem:
I need a long list in my main code. RTC_DATA_ATTR doesn´t fit.
Is there any method to declare the variable RTC_DATA_ATTR ble_list_info_t visualization_list[MAX_LIST_BLE_VISUALIZATION]; in another segment that saves data during deep sleep and doesn´t overflow?
If not, how I can fix my problem?
Thanks in advance.