diff --git a/cpu/esp_common/include/esp_common.h b/cpu/esp_common/include/esp_common.h index 1a855ea729..9fe9d645f7 100644 --- a/cpu/esp_common/include/esp_common.h +++ b/cpu/esp_common/include/esp_common.h @@ -28,15 +28,10 @@ extern "C" { #include "log.h" #include "esp_common_log.h" +#include "macros/xtstr.h" #define asm __asm__ -/** string representation of x */ -#ifndef XTSTR -#define _XTSTR(x) # x -#define XTSTR(x) _XTSTR(x) -#endif /* XSTR */ - #if !defined(ICACHE_FLASH) #ifndef ICACHE_RAM_ATTR /** Places the code with this attribute in the IRAM. */