esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux

This commit is contained in:
Ivan Grokhotkov
2022-08-15 23:24:21 +02:00
parent 1669a5d861
commit c6e9a0c350
6 changed files with 26 additions and 15 deletions

View File

@@ -7,6 +7,10 @@
//Do not edit this file because it is autogenerated by gen_esp_err_to_name.py
#include <string.h>
#if __has_include(<bsd/string.h>)
// for strlcpy
#include <bsd/string.h>
#endif
#include "esp_err.h"
#if __has_include("soc/soc.h")
#include "soc/soc.h"