Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/examples/system/himem/main/
Dhimem_example_main.c62 ESP_ERROR_CHECK(esp_himem_alloc_map_range(ESP_HIMEM_BLKSZ, &rh)); in test_region()
63 for (int i = 0; i < check_size; i += ESP_HIMEM_BLKSZ) { in test_region()
66 ESP_ERROR_CHECK(esp_himem_map(mh, rh, i, 0, ESP_HIMEM_BLKSZ, 0, (void**)&ptr)); in test_region()
67 fill_mem_seed(i ^ seed, ptr, ESP_HIMEM_BLKSZ); // in test_region()
68 ESP_ERROR_CHECK(esp_himem_unmap(rh, ptr, ESP_HIMEM_BLKSZ)); in test_region()
71 for (int i = 0; i < check_size; i += ESP_HIMEM_BLKSZ) { in test_region()
74 ESP_ERROR_CHECK(esp_himem_map(mh, rh, i, 0, ESP_HIMEM_BLKSZ, 0, (void**)&ptr)); in test_region()
75 if (!check_mem_seed(i ^ seed, ptr, ESP_HIMEM_BLKSZ, i)) { in test_region()
76 printf("Error in block %d\n", i / ESP_HIMEM_BLKSZ); in test_region()
79 ESP_ERROR_CHECK(esp_himem_unmap(rh, ptr, ESP_HIMEM_BLKSZ)); in test_region()
/hal_espressif-3.5.0/components/esp_hw_support/test/
Dtest_himem.c55 ESP_ERROR_CHECK(esp_himem_alloc_map_range(ESP_HIMEM_BLKSZ * 2, &rh)); in test_region()
56 for (int i = 0; i < check_size; i += ESP_HIMEM_BLKSZ) { in test_region()
58 ESP_ERROR_CHECK(esp_himem_map(mh, rh, i, 0, ESP_HIMEM_BLKSZ, 0, (void**)&ptr)); in test_region()
59 fill_mem_seed(i ^ seed, ptr, ESP_HIMEM_BLKSZ); in test_region()
60 ESP_ERROR_CHECK(esp_himem_unmap(rh, ptr, ESP_HIMEM_BLKSZ)); in test_region()
62 for (int i = 0; i < check_size; i += ESP_HIMEM_BLKSZ) { in test_region()
64 ESP_ERROR_CHECK(esp_himem_map(mh, rh, i, 0, ESP_HIMEM_BLKSZ, 0, (void**)&ptr)); in test_region()
65 if (!check_mem_seed(i ^ seed, ptr, ESP_HIMEM_BLKSZ)) { in test_region()
66 printf("Error in block %d\n", i / ESP_HIMEM_BLKSZ); in test_region()
70 ESP_ERROR_CHECK(esp_himem_unmap(rh, ptr, ESP_HIMEM_BLKSZ)); in test_region()
/hal_espressif-3.5.0/components/esp_hw_support/include/soc/esp32/
Dhimem.h20 #define ESP_HIMEM_BLKSZ (0x8000) macro