separate rom from esp32 component to esp_rom

1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
This commit is contained in:
morris
2019-03-14 17:29:32 +08:00
parent 4fc548112e
commit c159984264
215 changed files with 4387 additions and 4974 deletions

View File

@@ -14,7 +14,7 @@
#ifndef _ESP_SHA_H_
#define _ESP_SHA_H_
#include "rom/sha.h"
#include "esp32/rom/sha.h"
#include "esp_types.h"
/** @brief Low-level support functions for the hardware SHA engine
@@ -43,7 +43,7 @@
extern "C" {
#endif
/* Defined in rom/sha.h */
/* Defined in esp32/rom/sha.h */
typedef enum SHA_TYPE esp_sha_type;
/** @brief Calculate SHA1 or SHA2 sum of some data, using hardware SHA engine