diff --git a/cpu/esp8266/bin/bootloader.bin b/cpu/esp8266/bin/bootloader.bin index cc2a7be951..3a61ab09a8 100644 Binary files a/cpu/esp8266/bin/bootloader.bin and b/cpu/esp8266/bin/bootloader.bin differ diff --git a/cpu/esp8266/bin/bootloader_colors.bin b/cpu/esp8266/bin/bootloader_colors.bin index 3c8557fbe6..e940caac15 100644 Binary files a/cpu/esp8266/bin/bootloader_colors.bin and b/cpu/esp8266/bin/bootloader_colors.bin differ diff --git a/cpu/esp8266/bin/bootloader_colors_info.bin b/cpu/esp8266/bin/bootloader_colors_info.bin index daff33c59c..78e7b425f6 100644 Binary files a/cpu/esp8266/bin/bootloader_colors_info.bin and b/cpu/esp8266/bin/bootloader_colors_info.bin differ diff --git a/cpu/esp8266/bin/bootloader_info.bin b/cpu/esp8266/bin/bootloader_info.bin index 7a7d3d7f4f..28ec8805d2 100644 Binary files a/cpu/esp8266/bin/bootloader_info.bin and b/cpu/esp8266/bin/bootloader_info.bin differ diff --git a/cpu/esp8266/include/esp_common_log.h b/cpu/esp8266/include/esp_common_log.h index a61e5349de..ce40f8876b 100644 --- a/cpu/esp8266/include/esp_common_log.h +++ b/cpu/esp8266/include/esp_common_log.h @@ -121,26 +121,14 @@ extern int ets_printf(const char *fmt, ...); #define ESP_EARLY_LOGE(tag, format, ...) LOG_TAG_EARLY(LOG_ERROR , E, tag, format "\n", ##__VA_ARGS__) #define ESP_EARLY_LOGW(tag, format, ...) LOG_TAG_EARLY(LOG_WARNING, W, tag, format "\n", ##__VA_ARGS__) #define ESP_EARLY_LOGI(tag, format, ...) LOG_TAG_EARLY(LOG_INFO , I, tag, format "\n", ##__VA_ARGS__) +#define ESP_EARLY_LOGD(tag, format, ...) LOG_TAG_EARLY(LOG_DEBUG, D, tag, format "\n", ##__VA_ARGS__) +#define ESP_EARLY_LOGV(tag, format, ...) LOG_TAG_EARLY(LOG_ALL , V, tag, format "\n", ##__VA_ARGS__) #define ESP_LOGE(tag, format, ...) LOG_TAG(LOG_ERROR , E, tag, format "\n", ##__VA_ARGS__) #define ESP_LOGW(tag, format, ...) LOG_TAG(LOG_WARNING, W, tag, format "\n", ##__VA_ARGS__) #define ESP_LOGI(tag, format, ...) LOG_TAG(LOG_INFO , I, tag, format "\n", ##__VA_ARGS__) - -#if ENABLE_DEBUG - -#define ESP_EARLY_LOGD(tag, format, ...) LOG_TAG_EARLY(LOG_DEBUG, D, tag, format "\n", ##__VA_ARGS__) -#define ESP_EARLY_LOGV(tag, format, ...) LOG_TAG_EARLY(LOG_ALL , V, tag, format "\n", ##__VA_ARGS__) #define ESP_LOGD(tag, format, ...) LOG_TAG(LOG_DEBUG, D, tag, format "\n", ##__VA_ARGS__) #define ESP_LOGV(tag, format, ...) LOG_TAG(LOG_ALL , V, tag, format "\n", ##__VA_ARGS__) -#else /* ENABLE_DEBUG */ - -#define ESP_EARLY_LOGD( tag, format, ... ) (void)tag -#define ESP_EARLY_LOGV( tag, format, ... ) (void)tag -#define ESP_LOGD( tag, format, ... ) (void)tag -#define ESP_LOGV( tag, format, ... ) (void)tag - -#endif /* ENABLE_DEBUG */ - #ifdef __cplusplus } #endif diff --git a/cpu/esp8266/vendor/esp-idf/esp8266/source/system_api.c b/cpu/esp8266/vendor/esp-idf/esp8266/source/system_api.c index d5d754d2a0..c7c17e2e4b 100644 --- a/cpu/esp8266/vendor/esp-idf/esp8266/source/system_api.c +++ b/cpu/esp8266/vendor/esp-idf/esp8266/source/system_api.c @@ -50,7 +50,7 @@ esp_err_t esp_base_mac_addr_get(uint8_t *mac) uint8_t null_mac[6] = {0}; if (memcmp(base_mac_addr, null_mac, 6) == 0) { - ESP_LOGI(TAG, "Base MAC address is not set, read default base MAC address from BLK0 of EFUSE"); + ESP_LOGD(TAG, "Base MAC address is not set, read default base MAC address from BLK0 of EFUSE"); return ESP_ERR_INVALID_MAC; }