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:
parent
d82d73c660
commit
58f59fe9dc
@ -257,8 +257,8 @@ bool esp_spiram_test(void)
|
|||||||
|
|
||||||
if (errct < 4)
|
if (errct < 4)
|
||||||
{
|
{
|
||||||
merr("SPI SRAM error @ %08x:%08x/%08x \n", &spiram[p],
|
merr("SPI SRAM error @ %p:%08x/%08x \n",
|
||||||
spiram[p], p ^ 0xaaaaaaaa);
|
&spiram[p], spiram[p], p ^ 0xaaaaaaaa);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#include "xtensa.h"
|
||||||
#include "xtensa_attr.h"
|
#include "xtensa_attr.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user