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 zhuyanlin1
parent 4bee1e5690
commit 43b72c180a
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -25,7 +25,9 @@
* Included Files
****************************************************************************/
#ifndef __ASSEMBLY__
#include "hardware/esp32_soc.h"
#endif
/****************************************************************************
* Inline Functions
+2
View File
@@ -25,7 +25,9 @@
* Included Files
****************************************************************************/
#ifndef __ASSEMBLY__
#include "hardware/esp32s2_soc.h"
#endif
/****************************************************************************
* Inline Functions