By running the same subroutine with different stack sizes, I get different sizes of occupied memory, but it should be the same. Or do I not understand something?
Code: Select all
xTaskCreatePinnedToCore(bmp280, "bmp280_first", 10000, NULL, 5, NULL, APP_CPU_NUM);
xTaskCreatePinnedToCore(bmp280, "bmp280_second", 3096, NULL, 5, NULL, APP_CPU_NUM);
mqtt task________________B________5________1104________23________-1
bmp280_second________B________5________1008________18________1
bmp280_first___________B________5________10204________17________1
netif rx task____________B________5________2212________22________-1