Home
last modified time | relevance | path

Searched refs:mem2 (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/esp_hw_support/test/
Dtest_spiram_cache_flush.c152 char *mem2=heap_caps_malloc(0x10000, MALLOC_CAP_SPIRAM); variable
154 char *mem2=(void*)SOC_EXTRAM_DATA_LOW; variable
161 printf("RAM: Got %p and %p\n", mem1, mem2);
163 assert(mem2);
167 memcpy(mem2, mem1, 0x10000);
168 if (memcmp(mem1, mem2, 0x10000)!=0) {
171 if (mem1[i]!=mem2[i]) {
172 … printf("Found real difference at index %d: 0x%x vs 0x%x\n", i, mem1[i], mem2[i]);
181 free(mem2);