Skip to content

Commit 533c51c

Browse files
committed
IDF release/v4.4 ab118fe8be
1 parent 6a7bcab commit 533c51c

32 files changed

+993
-20
lines changed

platform.txt

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

tools/platformio-build-esp32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
"UNITY_INCLUDE_CONFIG_H",
304304
"WITH_POSIX",
305305
"_GNU_SOURCE",
306-
("IDF_VER", '\\"v4.4-beta1-308-gf3e0c8bc41\\"'),
306+
("IDF_VER", '\\"v4.4-rc1-2-gab118fe8be\\"'),
307307
"ESP_PLATFORM",
308308
"_POSIX_READER_WRITER_LOCKS",
309309
"ARDUINO_ARCH_ESP32",

tools/platformio-build-esp32c3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
"UNITY_INCLUDE_CONFIG_H",
294294
"WITH_POSIX",
295295
"_GNU_SOURCE",
296-
("IDF_VER", '\\"v4.4-beta1-308-gf3e0c8bc41\\"'),
296+
("IDF_VER", '\\"v4.4-rc1-2-gab118fe8be\\"'),
297297
"ESP_PLATFORM",
298298
"_POSIX_READER_WRITER_LOCKS",
299299
"ARDUINO_ARCH_ESP32",

tools/platformio-build-esp32s2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
"UNITY_INCLUDE_CONFIG_H",
291291
"WITH_POSIX",
292292
"_GNU_SOURCE",
293-
("IDF_VER", '\\"v4.4-beta1-308-gf3e0c8bc41\\"'),
293+
("IDF_VER", '\\"v4.4-rc1-2-gab118fe8be\\"'),
294294
"ESP_PLATFORM",
295295
"_POSIX_READER_WRITER_LOCKS",
296296
"ARDUINO_ARCH_ESP32",

tools/sdk/esp32/include/config/sdkconfig.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
#define CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR 1
228228
#define CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS 1
229229
#define CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH 1
230-
#define CONFIG_HTTPD_MAX_REQ_HDR_LEN 512
230+
#define CONFIG_HTTPD_MAX_REQ_HDR_LEN 1024
231231
#define CONFIG_HTTPD_MAX_URI_LEN 512
232232
#define CONFIG_HTTPD_ERR_RESP_NO_DELAY 1
233233
#define CONFIG_HTTPD_PURGE_BUF_LEN 32
@@ -551,7 +551,9 @@
551551
#define CONFIG_GC2145_SUPPORT 1
552552
#define CONFIG_GC032A_SUPPORT 1
553553
#define CONFIG_GC0308_SUPPORT 1
554+
#define CONFIG_BF3005_SUPPORT 1
554555
#define CONFIG_SCCB_HARDWARE_I2C_PORT1 1
556+
#define CONFIG_SCCB_CLK_FREQ 100000
555557
#define CONFIG_GC_SENSOR_SUBSAMPLE_MODE 1
556558
#define CONFIG_CAMERA_CORE0 1
557559
#define CONFIG_CAMERA_DMA_BUFFER_SIZE_MAX 32768
@@ -679,5 +681,5 @@
679681
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
680682
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
681683
#define CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP
682-
#define CONFIG_ARDUINO_IDF_COMMIT "f3e0c8bc41"
684+
#define CONFIG_ARDUINO_IDF_COMMIT "ab118fe8be"
683685
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"

tools/sdk/esp32/include/esp32-camera/driver/include/sensor.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ typedef enum {
2626
GC2145_PID = 0x2145,
2727
GC032A_PID = 0x232a,
2828
GC0308_PID = 0x9b,
29+
BF3005_PID = 0x30,
2930
} camera_pid_t;
3031

3132
typedef enum {
@@ -38,6 +39,7 @@ typedef enum {
3839
CAMERA_GC2145,
3940
CAMERA_GC032A,
4041
CAMERA_GC0308,
42+
CAMERA_BF3005,
4143
CAMERA_MODEL_MAX,
4244
CAMERA_NONE,
4345
} camera_model_t;
@@ -52,6 +54,7 @@ typedef enum {
5254
GC2145_SCCB_ADDR = 0x3C,// 0x78 >> 1
5355
GC032A_SCCB_ADDR = 0x21,// 0x42 >> 1
5456
GC0308_SCCB_ADDR = 0x21,// 0x42 >> 1
57+
BF3005_SCCB_ADDR = 0x6E,
5558
} camera_sccb_addr_t;
5659

5760
typedef enum {

tools/sdk/esp32/lib/libapp_update.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libdriver.a

-1.6 KB
Binary file not shown.

tools/sdk/esp32/lib/libesp32-camera.a

75.7 KB
Binary file not shown.
1008 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_system.a

-4 Bytes
Binary file not shown.

tools/sdk/esp32/sdkconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH=y
651651
#
652652
# HTTP Server
653653
#
654-
CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
654+
CONFIG_HTTPD_MAX_REQ_HDR_LEN=1024
655655
CONFIG_HTTPD_MAX_URI_LEN=512
656656
CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
657657
CONFIG_HTTPD_PURGE_BUF_LEN=32
@@ -1522,8 +1522,10 @@ CONFIG_OV5640_SUPPORT=y
15221522
CONFIG_GC2145_SUPPORT=y
15231523
CONFIG_GC032A_SUPPORT=y
15241524
CONFIG_GC0308_SUPPORT=y
1525+
CONFIG_BF3005_SUPPORT=y
15251526
# CONFIG_SCCB_HARDWARE_I2C_PORT0 is not set
15261527
CONFIG_SCCB_HARDWARE_I2C_PORT1=y
1528+
CONFIG_SCCB_CLK_FREQ=100000
15271529
# CONFIG_GC_SENSOR_WINDOWING_MODE is not set
15281530
CONFIG_GC_SENSOR_SUBSAMPLE_MODE=y
15291531
CONFIG_CAMERA_CORE0=y

tools/sdk/esp32c3/include/config/sdkconfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
#define CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR 1
190190
#define CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS 1
191191
#define CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH 1
192-
#define CONFIG_HTTPD_MAX_REQ_HDR_LEN 512
192+
#define CONFIG_HTTPD_MAX_REQ_HDR_LEN 1024
193193
#define CONFIG_HTTPD_MAX_URI_LEN 512
194194
#define CONFIG_HTTPD_ERR_RESP_NO_DELAY 1
195195
#define CONFIG_HTTPD_PURGE_BUF_LEN 32
@@ -632,5 +632,5 @@
632632
#define CONFIG_TIMER_TASK_STACK_SIZE CONFIG_ESP_TIMER_TASK_STACK_SIZE
633633
#define CONFIG_TOOLPREFIX CONFIG_SDK_TOOLPREFIX
634634
#define CONFIG_UDP_RECVMBOX_SIZE CONFIG_LWIP_UDP_RECVMBOX_SIZE
635-
#define CONFIG_ARDUINO_IDF_COMMIT "f3e0c8bc41"
635+
#define CONFIG_ARDUINO_IDF_COMMIT "ab118fe8be"
636636
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"

tools/sdk/esp32c3/ld/sections.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ SECTIONS
307307
_bss_start = ABSOLUTE(.);
308308

309309
*(.bss .bss.*)
310-
*(.dynbss .dynsbss .gnu.linkonce.b .gnu.linkonce.b.* .gnu.linkonce.sb .gnu.linkonce.sb.* .gnu.linkonce.sb2 .gnu.linkonce.sb2.* .sbss .sbss.* .sbss2 .sbss2.* .scommon .share.mem)
311310
*(.ext_ram.bss .ext_ram.bss.*)
311+
*(.dynbss .dynsbss .gnu.linkonce.b .gnu.linkonce.b.* .gnu.linkonce.sb .gnu.linkonce.sb.* .gnu.linkonce.sb2 .gnu.linkonce.sb2.* .sbss .sbss.* .sbss2 .sbss2.* .scommon .share.mem)
312312
*(COMMON)
313313
_bt_bss_start = ABSOLUTE(.);
314314
*libbt.a:(.bss .bss.* COMMON)

tools/sdk/esp32c3/lib/libapp_update.a

0 Bytes
Binary file not shown.

tools/sdk/esp32c3/lib/libdriver.a

-1.31 KB
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32c3/lib/libesp_system.a

-4 Bytes
Binary file not shown.

tools/sdk/esp32c3/sdkconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH=y
672672
#
673673
# HTTP Server
674674
#
675-
CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
675+
CONFIG_HTTPD_MAX_REQ_HDR_LEN=1024
676676
CONFIG_HTTPD_MAX_URI_LEN=512
677677
CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
678678
CONFIG_HTTPD_PURGE_BUF_LEN=32

tools/sdk/esp32s2/include/arduino_tinyusb/tinyusb/src/class/audio/audio_device.h

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@
186186
#define CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP 0 // Feedback - 0 or 1
187187
#endif
188188

189+
// Enable/disable conversion from 16.16 to 10.14 format on full-speed devices. See tud_audio_n_fb_set().
190+
#ifndef CFG_TUD_AUDIO_ENABLE_FEEDBACK_FORMAT_CORRECTION
191+
#define CFG_TUD_AUDIO_ENABLE_FEEDBACK_FORMAT_CORRECTION 0 // 0 or 1
192+
#endif
193+
189194
// Audio interrupt control EP size - disabled if 0
190195
#ifndef CFG_TUD_AUDIO_INT_CTR_EPSIZE_IN
191196
#define CFG_TUD_AUDIO_INT_CTR_EPSIZE_IN 0 // Audio interrupt control - if required - 6 Bytes according to UAC 2 specification (p. 74)
@@ -454,10 +459,15 @@ TU_ATTR_WEAK bool tud_audio_rx_done_post_read_cb(uint8_t rhport, uint16_t n_byte
454459

455460
#if CFG_TUD_AUDIO_ENABLE_EP_OUT && CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP
456461
TU_ATTR_WEAK bool tud_audio_fb_done_cb(uint8_t rhport);
457-
// User code should call this function with feedback value in 16.16 format for FS and HS.
458-
// Value will be corrected for FS to 10.14 format automatically.
459-
// (see Universal Serial Bus Specification Revision 2.0 5.12.4.2).
460-
// Feedback value will be sent at FB endpoint interval till it's changed.
462+
463+
// This function is used to provide data rate feedback from an asynchronous sink. Feedback value will be sent at FB endpoint interval till it's changed.
464+
//
465+
// The feedback format is specified to be 16.16 for HS and 10.14 for FS devices (see Universal Serial Bus Specification Revision 2.0 5.12.4.2). By default,
466+
// the choice of format is left to the caller and feedback argument is sent as-is. If CFG_TUD_AUDIO_ENABLE_FEEDBACK_FORMAT_CORRECTION is set, then tinyusb
467+
// expects 16.16 format and handles the conversion to 10.14 on FS.
468+
//
469+
// Note that due to a bug in its USB Audio 2.0 driver, Windows currently requires 16.16 format for _all_ USB 2.0 devices. On Linux and macOS it seems the
470+
// driver can work with either format. So a good compromise is to keep format correction disabled and stick to 16.16 format.
461471
bool tud_audio_n_fb_set(uint8_t func_id, uint32_t feedback);
462472
static inline bool tud_audio_fb_set(uint32_t feedback);
463473
#endif

tools/sdk/esp32s2/include/arduino_tinyusb/tinyusb/src/device/dcd_attr.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
#define DCD_ATTR_ENDPOINT_MAX 10
8787
#define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER
8888

89+
#elif TU_CHECK_MCU(OPT_MCU_PIC32MZ)
90+
#define DCD_ATTR_ENDPOINT_MAX 8
91+
#define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER
92+
8993
//------------- ST -------------//
9094
#elif TU_CHECK_MCU(OPT_MCU_STM32F0)
9195
#define DCD_ATTR_ENDPOINT_MAX 8
@@ -197,6 +201,13 @@
197201
#elif TU_CHECK_MCU(OPT_MCU_XMC4000)
198202
#define DCD_ATTR_ENDPOINT_MAX 8
199203

204+
//------------- BridgeTek -------------//
205+
#elif TU_CHECK_MCU(OPT_MCU_FT90X)
206+
#define DCD_ATTR_ENDPOINT_MAX 8
207+
208+
#elif TU_CHECK_MCU(OPT_MCU_FT93X)
209+
#define DCD_ATTR_ENDPOINT_MAX 16
210+
200211
#else
201212
#warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8"
202213
#define DCD_ATTR_ENDPOINT_MAX 8

0 commit comments

Comments
 (0)