30 #if !defined(ICACHE_FLASH) 
   31 #ifndef ICACHE_RAM_ATTR 
   33 #define ICACHE_RAM_ATTR  __attribute__((section(".iram0.text")))
 
   36 #ifndef ICACHE_RAM_ATTR 
   37 #define ICACHE_RAM_ATTR 
   42 #define RTC_BSS_ATTR __attribute__((section(".rtc.bss")))
 
   47 #define RTC_DATA_ATTR __attribute__((section(".rtc.data")))
 
   52 #define NOT_YET_IMPLEMENTED()     LOG_INFO("%s not yet implemented\n", __func__)
 
   54 #define NOT_SUPPORTED()           LOG_INFO("%s not supported\n", __func__)
 
   65 #define CHECK_PARAM_RET(cond, err)  if (!(cond)) \ 
   67                                         DEBUG("%s parameter condition (" #cond ") " \
 
   68                                               "not fulfilled\n", __func__); \
 
   79 #define CHECK_PARAM(cond)   if (!(cond)) \ 
   81                                 DEBUG("%s parameter condition (" #cond ") " \
 
   82                                       "not fulfilled\n", __func__); \
 
   88 #define CHECK_PARAM_RET(cond, err) if (!(cond)) { return err; } 
   89 #define CHECK_PARAM(cond)          if (!(cond)) { return; } 
   98 #define system_get_cpu_freq     ets_get_cpu_frequency 
   99 #define system_update_cpu_freq  ets_update_cpu_frequency 
  106 #ifndef USEC_PER_MSEC 
  107 #define USEC_PER_MSEC 1000UL 
  111 #define MSEC_PER_SEC  1000UL 
Common log macros for ESP SoCs.
 
Macro to return string representation of x.