Skip to content

Commit 5476c4b

Browse files
committed
IDF release/v5.1 d3c99ed3b8
1 parent a0eee76 commit 5476c4b

File tree

127 files changed

+7051
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+7051
-169
lines changed

esp32/dio_qspi/include/sdkconfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Automatically generated file. DO NOT EDIT.
3-
* Espressif IoT Development Framework (ESP-IDF) 5.1.0 Configuration Header
3+
* Espressif IoT Development Framework (ESP-IDF) 5.1.1 Configuration Header
44
*/
55
#pragma once
66
#define CONFIG_SOC_BROWNOUT_RESET_SUPPORTED "Not determined"
@@ -1081,5 +1081,5 @@
10811081
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
10821082
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
10831083
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1084-
#define CONFIG_ARDUINO_IDF_COMMIT "8d2dbd461f"
1084+
#define CONFIG_ARDUINO_IDF_COMMIT "d3c99ed3b8"
10851085
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32/flags/defines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DESP_PLATFORM -DIDF_VER=\"v5.1-564-g8d2dbd461f\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -DTF_LITE_STATIC_MEMORY
1+
-DESP_PLATFORM -DIDF_VER=\"v5.1.1-1-gd3c99ed3b8\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -DTF_LITE_STATIC_MEMORY

esp32/include/esp-tflite-micro/tensorflow/lite/builtin_ops.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,17 @@ typedef enum {
189189
kTfLiteBuiltinBitcast = 159,
190190
kTfLiteBuiltinBitwiseXor = 160,
191191
kTfLiteBuiltinRightShift = 161,
192+
kTfLiteBuiltinStablehloLogistic = 162,
193+
kTfLiteBuiltinStablehloAdd = 163,
194+
kTfLiteBuiltinStablehloDivide = 164,
195+
kTfLiteBuiltinStablehloMultiply = 165,
196+
kTfLiteBuiltinStablehloMaximum = 166,
197+
kTfLiteBuiltinStablehloReshape = 167,
198+
kTfLiteBuiltinStablehloClamp = 168,
199+
kTfLiteBuiltinStablehloConcatenate = 169,
200+
kTfLiteBuiltinStablehloBroadcastInDim = 170,
201+
kTfLiteBuiltinStablehloConvolution = 171,
202+
kTfLiteBuiltinStablehloSlice = 172,
192203
} TfLiteBuiltinOperator;
193204

194205
#ifdef __cplusplus

esp32/include/esp-tflite-micro/tensorflow/lite/core/api/error_reporter.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ class ErrorReporter {
6161
// reduce binary size, define TF_LITE_STRIP_ERROR_STRINGS when compiling and
6262
// every call will be stubbed out, taking no memory.
6363
#ifndef TF_LITE_STRIP_ERROR_STRINGS
64-
#define TF_LITE_REPORT_ERROR(reporter, ...) \
65-
do { \
66-
static_cast<tflite::ErrorReporter*>(reporter)->Report(__VA_ARGS__); \
64+
#define TF_LITE_REPORT_ERROR(reporter, ...) \
65+
do { \
66+
static_cast<::tflite::ErrorReporter*>(reporter)->Report(__VA_ARGS__); \
6767
} while (false)
6868
#else // TF_LITE_STRIP_ERROR_STRINGS
6969
#define TF_LITE_REPORT_ERROR(reporter, ...)

esp32/include/esp-tflite-micro/tensorflow/lite/core/c/builtin_op_data.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,10 @@ typedef struct {
535535
bool approximate;
536536
} TfLiteGeluParams;
537537

538+
typedef struct {
539+
int64_t dimension;
540+
} TfLiteStablehloConcatenateParams;
541+
538542
#ifdef __cplusplus
539543
} // extern "C"
540544
#endif // __cplusplus

esp32/include/esp-tflite-micro/tensorflow/lite/micro/kernels/kernel_util.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ TFLMRegistration RegisterOp(
3535
void (*free)(TfLiteContext* context, void* buffer) = nullptr,
3636
void (*reset)(TfLiteContext* context, void* buffer) = nullptr);
3737

38+
TFLMInferenceRegistration RegisterOp(
39+
TfLiteStatus (*invoke)(TfLiteContext* context, TfLiteNode* node),
40+
void (*reset)(TfLiteContext* context, void* buffer) = nullptr);
41+
3842
// Prints out n bytes in a int8_t buffer as hex
3943
void PrintNBytes(const int8_t* tensor_data, int n_bytes,
4044
const char* prefix = nullptr);

esp32/include/esp-tflite-micro/tensorflow/lite/micro/kernels/micro_ops.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ TFLMRegistration Register_VAR_HANDLE();
133133
TFLMRegistration Register_WHILE();
134134
TFLMRegistration Register_ZEROS_LIKE();
135135

136+
// TODO(b/295174388): Add the rest of inference only registration functions.
137+
TFLMInferenceRegistration RegisterInference_FULLY_CONNECTED();
138+
136139
// TODO(b/160234179): Change custom OPs to also return by value.
137140
namespace tflm_signal {
138141
TFLMRegistration* Register_DELAY();

esp32/include/esp-tflite-micro/tensorflow/lite/micro/micro_common.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,9 @@ struct TFLMRegistration {
3030
const char* custom_name;
3131
};
3232

33+
struct TFLMInferenceRegistration {
34+
TfLiteStatus (*invoke)(TfLiteContext* context, TfLiteNode* node);
35+
void (*reset)(TfLiteContext* context, void* buffer);
36+
};
37+
3338
#endif // THIRD_PARTY_TFLITE_MICRO_TENSORFLOW_LITE_MICRO_MICRO_COMMON_H_

0 commit comments

Comments
 (0)