Am 25.03.2021 um 12:44 schrieb Trampas Stern: > Rather than flushing cache you can create a non-cached section of RAM in > the linker script and put buffers there.
But be aware that using non-cached buffers might be slow. While putting the DMA descriptors into uncached memory is a good solution (you'll normally only access a descriptor once unless its contents change), putting data there will make the whole TX/RX frame processing in lwIP slower and the flush/invalidate operations are orobably faster (except for rare cases). Being like that, it's a pity this problem still exists in vendor drivers. I already rewrote the drivers for STM32 and ATSAM because of that myself a wile ago (sadly, the result is not open source). Regards, Simon _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users