fix(esp32s31): fix stuck when PSRAM XIP with O0 optimization

This commit is contained in:
Chen Jichang
2026-04-21 14:18:45 +08:00
parent a3f14c8ed1
commit 8b50305650
2 changed files with 12 additions and 0 deletions
@@ -34,6 +34,7 @@ extern "C" {
*
* @return linear address
*/
__attribute__((always_inline))
static inline uint32_t mmu_ll_vaddr_to_laddr(uint32_t vaddr)
{
return vaddr & SOC_MMU_LINEAR_ADDR_MASK;