1
0
Fork 0
forked from nuttx/nuttx-update

arch/xtensa/esp32s2: Fix SPIRAM compilation warnings

This commit aims to fix compilation warnings that happens when enabling SPIRAM for ESP32-S2
This commit is contained in:
Lucas Saavedra Vaz 2023-05-04 14:55:26 -03:00 committed by Alan Carvalho de Assis
parent d82d73c660
commit 58f59fe9dc
2 changed files with 3 additions and 2 deletions

View file

@ -257,8 +257,8 @@ bool esp_spiram_test(void)
if (errct < 4)
{
merr("SPI SRAM error @ %08x:%08x/%08x \n", &spiram[p],
spiram[p], p ^ 0xaaaaaaaa);
merr("SPI SRAM error @ %p:%08x/%08x \n",
&spiram[p], spiram[p], p ^ 0xaaaaaaaa);
}
}
}

View file

@ -28,6 +28,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "xtensa.h"
#include "xtensa_attr.h"
/****************************************************************************