Search found 2 matches

by ESPCrazy
Sun Jan 02, 2022 4:47 am
Forum: ESP-IDF
Topic: LVGL ESP32 Background colour for lv_label
Replies: 2
Views: 6305

LVGL ESP32 Background colour for lv_label

trying to change the background colour of the label not sure what is wrong here lv_obj_t *headingLabel = lv_label_create(active_screen, NULL); lv_label_set_text(headingLabel, "Heading"); /*Set the labels text*/ lv_obj_set_pos(headingLabel, lv_obj_get_width(list1), 0); lv_obj_align(headingLabel, NULL...
by ESPCrazy
Sat Oct 30, 2021 11:19 pm
Forum: ESP-IDF
Topic: Missing esp_heap_alloc_caps.h header file
Replies: 1
Views: 2431

Missing esp_heap_alloc_caps.h header file

I recent found a snippet of code on the net and it refers to this function spihost[host] = pvPortMallocCaps(sizeof(spi_host_t), MALLOC_CAP_DMA); The code referenced the header file esp_heap_alloc_caps.h. I cannot find this file within the esp-idf folders. I even searched for the function pvPortMallo...