arch:xtensa: add __ASSEMBLY__ for espxxx_soc.h

Those header contain syntax not be recognize by gnu assembler.
This commit is contained in:
zhuyanlin 2021-08-12 17:23:49 +08:00 committed by Abdelatif Guettouche
parent 4229099944
commit 6d592256fb
2 changed files with 4 additions and 0 deletions

View File

@ -25,7 +25,9 @@
* Included Files
****************************************************************************/
#ifndef __ASSEMBLY__
#include "hardware/esp32_soc.h"
#endif
/****************************************************************************
* Inline Functions

View File

@ -25,7 +25,9 @@
* Included Files
****************************************************************************/
#ifndef __ASSEMBLY__
#include "hardware/esp32s2_soc.h"
#endif
/****************************************************************************
* Inline Functions