Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

update 04022022 #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 161 commits into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
b974fbd
Fix wdt OTA update
Jason2866 Jul 20, 2021
cd56d8d
Fix ESP32-Solo WDT on HTTP OTA update
Jason2866 Jul 21, 2021
51e9c0b
IDF master c69f0ec32
me-no-dev Jul 25, 2021
dce7bc9
Merge branch 'espressif:master' into master
Jason2866 Jul 25, 2021
7db15b4
Fix WDT only for solo core
Jason2866 Jul 25, 2021
f3600ac
Merge pull request #9 from espressif/idf-master
Jason2866 Jul 25, 2021
5334075
Merge branch 'espressif:master' into master
Jason2866 Jul 26, 2021
43a39f7
Merge branch 'espressif:master' into master
Jason2866 Jul 26, 2021
505926c
IDF master 58022f859
me-no-dev Jul 29, 2021
0174bf2
IDF master 606557b48
me-no-dev Aug 4, 2021
c8a8313
IDF master 8131d6f46
me-no-dev Aug 5, 2021
5b04b60
IDF master 59aa60d52
me-no-dev Aug 6, 2021
5614564
IDF master 83956ebba
me-no-dev Aug 7, 2021
a7fd5f6
IDF master 83956ebbae
me-no-dev Aug 10, 2021
0d5a12f
IDF master b1c3ee71c5
me-no-dev Aug 12, 2021
29cd5cd
IDF master 2c49af9e75
me-no-dev Aug 12, 2021
8fe7dce
Merge branch 'espressif:master' into master
Jason2866 Aug 12, 2021
fa81335
IDF master eb1a66e7c9
me-no-dev Aug 13, 2021
dc0ff8c
IDF master a20df743f1
me-no-dev Aug 13, 2021
9ced459
Fix build compilation due to changes in the HW_TIMER's structs
me-no-dev Aug 30, 2021
249a3e2
Merge branch 'master' into idf-master
me-no-dev Aug 30, 2021
82404b0
Fix compilation warnings and errors with USB
me-no-dev Aug 30, 2021
c6ff727
Update USBCDC.cpp
me-no-dev Aug 30, 2021
f5fee39
Update CMakeLists.txt
me-no-dev Aug 30, 2021
9afc0bd
IDF master b63ec47238
me-no-dev Aug 30, 2021
b05f3f5
Update libarduino_tinyusb.a
me-no-dev Aug 30, 2021
6c72afd
Merge branch 'master' into idf-master
me-no-dev Aug 31, 2021
0101877
Update HWCDC.cpp
me-no-dev Aug 31, 2021
6ed9294
IDF master 5f38b766a8
me-no-dev Sep 1, 2021
b3c651c
IDF master b1f851b8f8
me-no-dev Sep 1, 2021
5641a10
IDF master 61299f879e
me-no-dev Sep 2, 2021
52404b4
Merge branch 'espressif:master' into master
Jason2866 Sep 2, 2021
48fb4e4
Merge pull request #14 from espressif/idf-master
Jason2866 Sep 2, 2021
861c608
Delete tools/sdk/esp32/include/coap directory
Jason2866 Oct 2, 2021
8016a5d
Delete tools/sdk/esp32c3/include/coap directory
Jason2866 Oct 2, 2021
f50cd1c
Delete tools/sdk/esp32s2/include/coap directory
Jason2866 Oct 2, 2021
285c2de
Merge branch 'master' of https://github.com/espressif/arduino-esp32 i…
Jason2866 Oct 2, 2021
d4afbe5
solve conflicts
Jason2866 Oct 2, 2021
e3855a1
Merge pull request #16 from tasmota/espressif-master
Jason2866 Oct 2, 2021
9c86ab1
Merge pull request #17 from espressif/master
Jason2866 Oct 14, 2021
cafa5f1
force Dynamic Buffer instead of Static ones
Jason2866 Oct 20, 2021
32528ec
Remove debug if
Jason2866 Oct 21, 2021
3577e28
Resolve conflicts
Jason2866 Oct 22, 2021
a443b81
Merge pull request #21 from espressif/master
Jason2866 Oct 22, 2021
f0db73b
Merge pull request #22 from espressif/master
Jason2866 Oct 24, 2021
6b86f97
Merge pull request #23 from espressif/master
Jason2866 Oct 25, 2021
7d79518
Merge pull request #24 from espressif/master
Jason2866 Nov 4, 2021
cae60af
Merge pull request #25 from espressif/master
Jason2866 Nov 5, 2021
4337295
Merge pull request #26 from espressif/master
Jason2866 Nov 9, 2021
b801c8c
Merge pull request #27 from espressif/master
Jason2866 Nov 19, 2021
036c778
Revert #5861
Jason2866 Nov 20, 2021
c8ee89b
Merge pull request #30 from espressif/master
Jason2866 Nov 22, 2021
c9f7c87
add GPIO defines for C3
Jason2866 Dec 2, 2021
f32c0da
Edit sd_diskio to check card status
P-R-O-C-H-Y Dec 7, 2021
6c89d9e
Merge pull request #34 from tasmota/ADC_C3_fix
Jason2866 Dec 17, 2021
1f458aa
Merge pull request #35 from espressif/master
Jason2866 Dec 17, 2021
d3eb46a
Update CMakeLists.txt
Jason2866 Dec 18, 2021
72917b8
Merge pull request #36 from tasmota/remove_rainmaker
Jason2866 Dec 18, 2021
e7972d7
Delete libraries/RainMaker directory
Jason2866 Dec 18, 2021
c4da03b
Merge pull request #37 from tasmota/delete_rainmaker_folder
Jason2866 Dec 18, 2021
c94535b
Update README.md
Jason2866 Dec 18, 2021
d770321
Update README.md
Jason2866 Dec 18, 2021
b588778
Merge branch 'master' of https://github.com/espressif/arduino-esp32 i…
Dec 21, 2021
5e3ff29
Merge pull request #39 from tasmota/espressif-master
Jason2866 Dec 21, 2021
c2c02cf
Merge pull request #40 from espressif/master
Jason2866 Dec 21, 2021
107ca03
Revert "RMT refactor"
Jason2866 Dec 21, 2021
857a9f7
Merge pull request #41 from tasmota/revert-40-master
Jason2866 Dec 21, 2021
cae14e9
Fixes Lib Builder compiling errors
SuGlider Dec 22, 2021
3a2285c
Fixes Lib Builder compiling errors
SuGlider Dec 22, 2021
0c310e3
Revert "Revert "RMT refactor""
Jason2866 Dec 22, 2021
27b992f
Merge pull request #42 from tasmota/revert-41-revert-40-master
Jason2866 Dec 22, 2021
d7a2f88
Merge pull request #43 from SuGlider/rmt-fix
Jason2866 Dec 22, 2021
e61dbe0
Update esp32-hal-rmt.c
Jason2866 Dec 22, 2021
b2f7f0a
Update esp32-hal-rmt.c
Jason2866 Dec 22, 2021
685fa2a
Update esp32-hal-rmt.c
Jason2866 Dec 22, 2021
cb97343
Merge pull request #44 from tasmota/try_fix_rmt
Jason2866 Dec 22, 2021
de4e9b7
Merge pull request #45 from espressif/master
Jason2866 Dec 22, 2021
2876c87
Update esp32-hal-rmt.c
Jason2866 Dec 22, 2021
b8758af
Update esp32-hal-gpio.c
Jason2866 Dec 22, 2021
dd04cd6
Merge branch 'espressif:master' into master
Jason2866 Dec 23, 2021
69dd123
Bugfix of ff_sd_status
P-R-O-C-H-Y Jan 6, 2022
e89e289
Merge branch 'master' into SD_check_status_fix
P-R-O-C-H-Y Jan 6, 2022
13a8f5b
Fix I2C Slave Compile
mrengineer7777 Jan 7, 2022
dbdad26
Merge pull request #46 from mrengineer7777/patch-1
Jason2866 Jan 8, 2022
bffb300
add missing c3 define
Jason2866 Jan 8, 2022
ac3ba98
Merge pull request #47 from tasmota/hal_lock
Jason2866 Jan 8, 2022
2b2a0bd
add ESP32C3 `esp32_adc2gpio`
Jason2866 Jan 8, 2022
967db8f
Merge pull request #48 from tasmota/esp32c3_adc2gpio
Jason2866 Jan 8, 2022
f727393
Merge pull request #49 from P-R-O-C-H-Y/SD_check_status_fix
Jason2866 Jan 10, 2022
8c919f1
Fixes UART MODBUS and Loopback issue
SuGlider Jan 13, 2022
cee23f1
Merge pull request #50 from SuGlider/flush_fix
Jason2866 Jan 13, 2022
5e063be
Update esp32-hal-uart.c
Jason2866 Jan 17, 2022
94807ab
Merge branch 'master' of https://github.com/espressif/arduino-esp32 i…
Jason2866 Jan 17, 2022
8196631
Merge pull request #53 from tasmota/espressif-master
Jason2866 Jan 17, 2022
bbf86ce
Merge pull request #54 from espressif/master
Jason2866 Jan 20, 2022
464d22d
Merge branch 'espressif:master' into master
Jason2866 Jan 21, 2022
e097f03
Revert "Fixing interrupts in LEDC (#6160)"
Jason2866 Jan 22, 2022
6d394c2
Merge pull request #55 from Jason2866/revert-6160-master
Jason2866 Jan 22, 2022
30e7b0e
Update esp32-hal.h
Jason2866 Jan 24, 2022
615a517
use Tasmota github
Jason2866 Jan 24, 2022
e56880a
Use Tasmota platform for CI
Jason2866 Jan 24, 2022
4a90f05
tasmota eaptool v3.2
Jason2866 Jan 24, 2022
5dbd8d9
Merge branch 'master' of https://github.com/espressif/arduino-esp32 i…
Jason2866 Jan 29, 2022
562d3bb
add missing c3 define
Jason2866 Jan 29, 2022
aa03636
enable SPI hal for S3
Jason2866 Jan 29, 2022
57a7c8d
revert enable spi for S3
Jason2866 Jan 29, 2022
65f913e
Update Esp.cpp
Jason2866 Jan 29, 2022
fdaf448
Update Esp.cpp
Jason2866 Jan 29, 2022
a28ee01
fix S3 uart gpios
Jason2866 Jan 30, 2022
6b4b7f5
Merge pull request #57 from tasmota/uart_s3
Jason2866 Jan 30, 2022
1d44d5f
fix S3 flash image base (#6208)
Jason2866 Jan 31, 2022
fd78585
Added my new Unexpected Maker ESP32-S3 boards (#6211)
UnexpectedMaker Jan 31, 2022
ce68d72
Fixes UART1 and UART2 default pins for ESP32-S3 (#6202)
SuGlider Jan 31, 2022
1116f2d
Merge branch 'master' into esp32-s3-support
me-no-dev Jan 31, 2022
bb7df04
Fix - SD mount issue (#6162)
P-R-O-C-H-Y Jan 31, 2022
0d665d7
fix: restoring handshake timeout (#6165) (#6166)
vlastahajek Jan 31, 2022
9555ed4
Use 8.4.0+2021r2-patch2 toolchains for CI (#6184)
Jason2866 Jan 31, 2022
39a2080
Fixes onReceive deadlock (#6201)
SuGlider Jan 31, 2022
754cedd
added explanatory comments to WebServer.h (#6204)
h-enes-simsek Jan 31, 2022
cbeb7c4
Add conditional include to WiFiProv.h (#6192)
mrengineer7777 Jan 31, 2022
9fe34f6
Resolve WString TODO (#6190)
mrengineer7777 Jan 31, 2022
96a5ddc
Allow HTTPCLIENT_1_1_COMPATIBLE to be disabled (#6200)
everslick Jan 31, 2022
9f08cf4
Update RequestHandlersImpl.h (#6179)
mathertel Jan 31, 2022
7a6dae0
Refactor the CI scripts (#6191)
Ouss4 Jan 31, 2022
b75a08c
Fixes UART_1 TX Pin setup
SuGlider Jan 31, 2022
ef35baf
Fix random CaptivePortal.ino crashes (#6206)
im-pro-at Jan 31, 2022
ed2a988
Update HardwareSerial.cpp
Jason2866 Jan 31, 2022
b407a76
Update Esp.cpp
Jason2866 Jan 31, 2022
1a0f5d5
Merge pull request #58 from espressif/esp32-s3-support
Jason2866 Jan 31, 2022
05fc3ed
Update Esp.cpp
Jason2866 Jan 31, 2022
5f5a5b5
Bootloader is at 0x0000 for S3
Jason2866 Jan 31, 2022
2299de5
Initial SPI support and S3-Box variant
me-no-dev Feb 1, 2022
dafdc05
Docs cleanup and version updated to 2.0.2 (#6213)
pedrominatel Feb 1, 2022
e3eabf5
Bootloader is at 0x0000 for S3 (#6215)
Jason2866 Feb 1, 2022
fb7efde
Update esp32-hal-cpu.c
Jason2866 Feb 1, 2022
2f9d1e6
Update esp32-hal-spi.c
Jason2866 Feb 1, 2022
0d3d4c7
Merge pull request #60 from espressif/esp32-s3-support
Jason2866 Feb 1, 2022
5be3ff7
Unnecessary operation removed from map() in WMath.cpp (#6218)
IanSC Feb 1, 2022
3a96fc0
framebuffer location for no-psram boards (#6219)
renebohne Feb 1, 2022
46f283a
Merge branch 'master' into esp32-s3-support
me-no-dev Feb 1, 2022
3479080
Update install-platformio-esp32.sh
Jason2866 Feb 1, 2022
fef912e
Merge pull request #61 from espressif/esp32-s3-support
Jason2866 Feb 1, 2022
c210d24
small adjustments for NVS and PSRAM init
me-no-dev Feb 1, 2022
82e41de
WIP: Initial support for PSRAM (QSPI and OPI)
me-no-dev Feb 2, 2022
021b93d
Fix replace() failing
s-hadinger Feb 2, 2022
6a775a6
Merge pull request #64 from s-hadinger/patch-1
Jason2866 Feb 2, 2022
4b6540f
Merge pull request #65 from espressif/esp32-s3-support
Jason2866 Feb 2, 2022
0ea485e
Touch Sensor IDF Refactoring (#6194)
SuGlider Feb 3, 2022
b70fedc
Merge branch 'master' into esp32-s3-support
me-no-dev Feb 3, 2022
65933d8
Merge pull request #66 from espressif/esp32-s3-support
Jason2866 Feb 3, 2022
747b6d0
[FEATURE] Basic implementation of Arduino's I2S library (#5304)
PilnyTomas Feb 4, 2022
66cf2f7
Update CMakeLists.txt
Jason2866 Feb 4, 2022
22f39f0
Merge pull request #68 from tasmota/orig_cmakelist
Jason2866 Feb 4, 2022
7b16915
Merge pull request #67 from espressif/esp32-s3-support
Jason2866 Feb 4, 2022
1232dc0
remove Rainmaker
Jason2866 Feb 4, 2022
9b76da7
[I2S] Fix lib-builder error
me-no-dev Feb 4, 2022
57e236f
Merge pull request #69 from espressif/esp32-s3-support
Jason2866 Feb 4, 2022
8f4ae91
Update CMakeLists.txt
Jason2866 Feb 4, 2022
0baa6a8
try to find lib builder fail
Jason2866 Feb 4, 2022
5959423
Update CMakeLists.txt
Jason2866 Feb 4, 2022
ef841cc
Update idf_component.yml
Jason2866 Feb 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
IDF master 8131d6f46
  • Loading branch information
me-no-dev committed Aug 5, 2021
commit c8a83137545dea06fb46740986b0d7fb894891e5
10 changes: 5 additions & 5 deletions 10 platform.txt

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions 8 tools/platformio-build-esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"-u", "pthread_include_pthread_impl",
"-u", "pthread_include_pthread_cond_impl",
"-u", "pthread_include_pthread_local_storage_impl",
"-u", "ld_include_panic_highint_hdl",
"-u", "ld_include_highint_hdl",
"-u", "start_app",
"-u", "start_app_other_cores",
"-u", "__ubsan_include",
Expand Down Expand Up @@ -135,8 +135,8 @@
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "hal", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "hal", "platform_port", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_rom", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_rom", "esp32"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_rom", "include", "esp32"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_rom", "esp32"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_common", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_system", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_system", "port", "soc"),
Expand All @@ -158,9 +158,9 @@
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "tcpip_adapter", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_phy", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_phy", "esp32", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_ipc", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "app_trace", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_timer", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "esp_ipc", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "mbedtls", "port", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "mbedtls", "mbedtls", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32", "include", "mbedtls", "esp_crt_bundle", "include"),
Expand Down Expand Up @@ -295,7 +295,7 @@
"UNITY_INCLUDE_CONFIG_H",
"WITH_POSIX",
"_GNU_SOURCE",
("IDF_VER", '\\"v4.4-dev-2464-g606557b48\\"'),
("IDF_VER", '\\"v4.4-dev-2487-g8131d6f46\\"'),
"ESP_PLATFORM",
"ARDUINO_ARCH_ESP32",
"ESP32",
Expand Down
6 changes: 3 additions & 3 deletions 6 tools/platformio-build-esp32c3.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "hal", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "hal", "platform_port", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_rom", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_rom", "esp32c3"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_rom", "include", "esp32c3"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_rom", "esp32c3"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_common", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_system", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_system", "port", "soc"),
Expand All @@ -184,9 +184,9 @@
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "tcpip_adapter", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_phy", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_phy", "esp32c3", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_ipc", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "app_trace", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_timer", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "esp_ipc", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "mbedtls", "port", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "mbedtls", "mbedtls", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32c3", "include", "mbedtls", "esp_crt_bundle", "include"),
Expand Down Expand Up @@ -281,7 +281,7 @@
"UNITY_INCLUDE_CONFIG_H",
"WITH_POSIX",
"_GNU_SOURCE",
("IDF_VER", '\\"v4.4-dev-2464-g606557b48\\"'),
("IDF_VER", '\\"v4.4-dev-2487-g8131d6f46\\"'),
"ESP_PLATFORM",
"ARDUINO_ARCH_ESP32",
"ESP32",
Expand Down
8 changes: 4 additions & 4 deletions 8 tools/platformio-build-esp32s2.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"-u", "pthread_include_pthread_impl",
"-u", "pthread_include_pthread_cond_impl",
"-u", "pthread_include_pthread_local_storage_impl",
"-u", "ld_include_panic_highint_hdl",
"-u", "ld_include_highint_hdl",
"-u", "start_app",
"-u", "__ubsan_include",
"-u", "__assert_func",
Expand Down Expand Up @@ -131,8 +131,8 @@
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "hal", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "hal", "platform_port", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_rom", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_rom", "esp32s2"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_rom", "include", "esp32s2"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_rom", "esp32s2"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_common", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_system", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_system", "port", "soc"),
Expand All @@ -153,9 +153,9 @@
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "tcpip_adapter", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_phy", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_phy", "esp32s2", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_ipc", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "app_trace", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_timer", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "esp_ipc", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "mbedtls", "port", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "mbedtls", "mbedtls", "include"),
join(FRAMEWORK_DIR, "tools", "sdk", "esp32s2", "include", "mbedtls", "esp_crt_bundle", "include"),
Expand Down Expand Up @@ -281,7 +281,7 @@
"UNITY_INCLUDE_CONFIG_H",
"WITH_POSIX",
"_GNU_SOURCE",
("IDF_VER", '\\"v4.4-dev-2464-g606557b48\\"'),
("IDF_VER", '\\"v4.4-dev-2487-g8131d6f46\\"'),
"ESP_PLATFORM",
"ARDUINO_ARCH_ESP32",
"ESP32",
Expand Down
7 changes: 4 additions & 3 deletions 7 tools/sdk/esp32/include/config/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@
#define CONFIG_ESP_MAC_ADDR_UNIVERSE_ETH 1
#define CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR 1
#define CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES 4
#define CONFIG_ESP_IPC_TASK_STACK_SIZE 1024
#define CONFIG_ESP_IPC_USES_CALLERS_PRIORITY 1
#define CONFIG_ESP_IPC_ISR_ENABLE 1
#define CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL 120
#define CONFIG_ESP_NETIF_TCPIP_LWIP 1
#define CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER 1
Expand All @@ -280,8 +283,6 @@
#define CONFIG_ESP_TASK_WDT_PANIC 1
#define CONFIG_ESP_TASK_WDT_TIMEOUT_S 5
#define CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 1
#define CONFIG_ESP_IPC_TASK_STACK_SIZE 1024
#define CONFIG_ESP_IPC_USES_CALLERS_PRIORITY 1
#define CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER 1
#define CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER 1
#define CONFIG_ESP_TIMER_TASK_STACK_SIZE 4096
Expand Down Expand Up @@ -690,5 +691,5 @@
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
#define CONFIG_ARDUINO_IDF_COMMIT "606557b48"
#define CONFIG_ARDUINO_IDF_COMMIT "8131d6f46"
#define CONFIG_ARDUINO_IDF_BRANCH "master"
173 changes: 164 additions & 9 deletions 173 tools/sdk/esp32/include/driver/include/driver/i2s.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "soc/i2s_periph.h"
#include "soc/rtc_periph.h"
#include "soc/soc_caps.h"
#include "hal/i2s_hal.h"
#include "hal/i2s_types.h"
#include "driver/periph_ctrl.h"
#include "esp_intr_alloc.h"
Expand All @@ -28,7 +27,119 @@ extern "C" {

#define I2S_PIN_NO_CHANGE (-1) /*!< Use in i2s_pin_config_t for pins which should not be changed */

typedef intr_handle_t i2s_isr_handle_t;
/**
* @brief I2S port number, the max port number is (I2S_NUM_MAX -1).
*/
typedef enum {
I2S_NUM_0 = 0, /*!< I2S port 0 */
#if SOC_I2S_NUM > 1
I2S_NUM_1 = 1, /*!< I2S port 1 */
#endif
I2S_NUM_MAX, /*!< I2S port max */
} i2s_port_t;

#if SOC_I2S_SUPPORTS_PCM
/**
* @brief I2S PCM configuration
*
*/
typedef struct {
i2s_pcm_compress_t pcm_type; /*!< I2S PCM a/u-law decompress or compress type */
} i2s_pcm_cfg_t;
#endif

#if SOC_I2S_SUPPORTS_PDM_TX
/**
* @brief Default I2S PDM Up-Sampling Rate configuration
*/
#define I2S_PDM_DEFAULT_UPSAMPLE_CONFIG(rate) { \
.sample_rate = rate, \
.fp = 960, \
.fs = (rate) / 100, \
}

/**
* @brief I2S PDM up-sample rate configuration
* @note TX PDM can only be set to the following two upsampling rate configurations:
* 1: fp = 960, fs = sample_rate / 100, in this case, Fpdm = 128*48000
* 2: fp = 960, fs = 480, in this case, Fpdm = 128*Fpcm = 128*sample_rate
* If the pdm receiver do not care the pdm serial clock, it's recommended set Fpdm = 128*48000.
* Otherwise, the second configuration should be applied.
*/
typedef struct {
int sample_rate; /*!< I2S PDM sample rate */
int fp; /*!< I2S PDM TX upsampling paramater. Normally it should be set to 960 */
int fs; /*!< I2S PDM TX upsampling paramater. When it is set to 480, the pdm clock frequency Fpdm = 128 * sample_rate, when it is set to sample_rate / 100, Fpdm will be fixed to 128*48000 */
} i2s_pdm_tx_upsample_cfg_t;
#endif

/**
* @brief I2S pin number for i2s_set_pin
*
*/
typedef struct {
int mck_io_num; /*!< MCK in out pin*/
int bck_io_num; /*!< BCK in out pin*/
int ws_io_num; /*!< WS in out pin*/
int data_out_num; /*!< DATA out pin*/
int data_in_num; /*!< DATA in pin*/
} i2s_pin_config_t;

/**
* @brief I2S driver configuration parameters
*
*/
typedef struct {

i2s_mode_t mode; /*!< I2S work mode */
uint32_t sample_rate; /*!< I2S sample rate */
i2s_bits_per_sample_t bits_per_sample; /*!< I2S sample bits in one channel */
i2s_channel_fmt_t channel_format; /*!< I2S channel format.*/
i2s_comm_format_t communication_format; /*!< I2S communication format */
int intr_alloc_flags; /*!< Flags used to allocate the interrupt. One or multiple (ORred) ESP_INTR_FLAG_* values. See esp_intr_alloc.h for more info */
int dma_buf_count; /*!< I2S DMA Buffer Count */
int dma_buf_len; /*!< I2S DMA Buffer Length */
bool use_apll; /*!< I2S using APLL as main I2S clock, enable it to get accurate clock */
bool tx_desc_auto_clear; /*!< I2S auto clear tx descriptor if there is underflow condition (helps in avoiding noise in case of data unavailability) */
int fixed_mclk; /*!< I2S using fixed MCLK output. If use_apll = true and fixed_mclk > 0, then the clock output for i2s is fixed and equal to the fixed_mclk value. If fixed_mclk set, mclk_multiple won't take effect */
i2s_mclk_multiple_t mclk_multiple; /*!< The multiple of I2S master clock(MCLK) to sample rate */
i2s_bits_per_chan_t bits_per_chan; /*!< I2S total bits in one channel, only take effect when larger than 'bits_per_sample', default '0' means equal to 'bits_per_sample' */

#if SOC_I2S_SUPPORTS_TDM
i2s_channel_t chan_mask; /*!< I2S active channel bit mask, set value in `i2s_channel_t` to enable specific channel, the bit map of active channel can not exceed (0x1<<total_chan). */
uint32_t total_chan; /*!< I2S Total number of channels. If it is smaller than the biggest active channel number, it will be set to this number automatically. */
bool left_align; /*!< Set to enable left alignment */
bool big_edin; /*!< Set to enable big edin */
bool bit_order_msb; /*!< Set to enable msb order */
bool skip_msk; /*!< Set to enable skip mask. If it is enabled, only the data of the enabled channels will be sent, otherwise all data stored in DMA TX buffer will be sent */
#endif // SOC_I2S_SUPPORTS_TDM

} i2s_driver_config_t;

typedef i2s_driver_config_t i2s_config_t; // for backward compatible
typedef intr_handle_t i2s_isr_handle_t; // for backward compatible

/**
* @brief I2S event queue types
*
*/
typedef enum {
I2S_EVENT_DMA_ERROR,
I2S_EVENT_TX_DONE, /*!< I2S DMA finish sent 1 buffer*/
I2S_EVENT_RX_DONE, /*!< I2S DMA finish received 1 buffer*/
I2S_EVENT_TX_Q_OVF, /*!< I2S DMA sent queue overflow*/
I2S_EVENT_RX_Q_OVF, /*!< I2S DMA receive queue overflow*/
I2S_EVENT_MAX, /*!< I2S event max index*/
} i2s_event_type_t;

/**
* @brief Event structure used in I2S event queue
*
*/
typedef struct {
i2s_event_type_t type; /*!< I2S event type */
size_t size; /*!< I2S data size for I2S_DATA event*/
} i2s_event_t;

/**
* @brief Set I2S pin number
Expand All @@ -54,15 +165,15 @@ typedef intr_handle_t i2s_isr_handle_t;
*/
esp_err_t i2s_set_pin(i2s_port_t i2s_num, const i2s_pin_config_t *pin);

#if SOC_I2S_SUPPORTS_PDM
#if SOC_I2S_SUPPORTS_PDM_RX
/**
* @brief Set PDM mode down-sample rate
* In PDM RX mode, there would be 2 rounds of downsample process in hardware.
* In the first downsample process, the sampling number can be 16 or 8.
* In the second downsample process, the sampling number is fixed as 8.
* So the clock frequency in PDM RX mode would be (fpcm * 64) or (fpcm * 128) accordingly.
* @param i2s_num I2S_NUM_0, I2S_NUM_1
* @param dsr i2s RX down sample rate for PDM mode.
* @param downsample i2s RX down sample rate for PDM mode.
*
* @note After calling this function, it would call i2s_set_clk inside to update the clock frequency.
* Please call this function after I2S driver has been initialized.
Expand All @@ -72,7 +183,25 @@ esp_err_t i2s_set_pin(i2s_port_t i2s_num, const i2s_pin_config_t *pin);
* - ESP_ERR_INVALID_ARG Parameter error
* - ESP_ERR_NO_MEM Out of memory
*/
esp_err_t i2s_set_pdm_rx_down_sample(i2s_port_t i2s_num, i2s_pdm_dsr_t dsr);
esp_err_t i2s_set_pdm_rx_down_sample(i2s_port_t i2s_num, i2s_pdm_dsr_t downsample);
#endif

#if SOC_I2S_SUPPORTS_PDM_TX
/**
* @brief Set TX PDM mode up-sample rate
* @note If you have set PDM mode while calling 'i2s_driver_install',
* default PDM TX upsample parameters have already been set,
* no need to call this function again if you don't have to change the default configuration
*
* @param i2s_num I2S_NUM_0, I2S_NUM_1
* @param upsample_cfg Set I2S PDM up-sample rate configuration
*
* @return
* - ESP_OK Success
* - ESP_ERR_INVALID_ARG Parameter error
* - ESP_ERR_NO_MEM Out of memory
*/
esp_err_t i2s_set_pdm_tx_up_sample(i2s_port_t i2s_num, const i2s_pdm_tx_upsample_cfg_t *upsample_cfg);
#endif

/**
Expand All @@ -93,7 +222,7 @@ esp_err_t i2s_set_pdm_rx_down_sample(i2s_port_t i2s_num, i2s_pdm_dsr_t dsr);
* - ESP_ERR_INVALID_ARG Parameter error
* - ESP_ERR_NO_MEM Out of memory
*/
esp_err_t i2s_driver_install(i2s_port_t i2s_num, const i2s_config_t *i2s_config, int queue_size, void* i2s_queue);
esp_err_t i2s_driver_install(i2s_port_t i2s_num, const i2s_config_t *i2s_config, int queue_size, void *i2s_queue);

/**
* @brief Uninstall I2S driver.
Expand Down Expand Up @@ -243,25 +372,51 @@ esp_err_t i2s_start(i2s_port_t i2s_num);
*/
esp_err_t i2s_zero_dma_buffer(i2s_port_t i2s_num);

#if SOC_I2S_SUPPORTS_PCM
/**
* @brief Configure I2S a/u-law decompress or compress
*
* @note This function should be called after i2s driver installed
* Only take effecttive when the i2s 'communication_format' is set to 'I2S_COMM_FORMAT_STAND_PCM_SHORT' or 'I2S_COMM_FORMAT_STAND_PCM_LONG'
*
* @param i2s_num I2S_NUM_0
*
* @param pcm_cfg including mode selection and a/u-law decompress or compress configuration paramater
*
* @return
* - ESP_OK Success
* - ESP_ERR_INVALID_ARG Parameter error
*/
esp_err_t i2s_pcm_config(i2s_port_t i2s_num, const i2s_pcm_cfg_t *pcm_cfg);
#endif

/**
* @brief Set clock & bit width used for I2S RX and TX.
*
* Similar to i2s_set_sample_rates(), but also sets bit width.
*
* 1. stop i2s;
* 2. calculate mclk, bck, bck_factor
* 3. malloc dma buffer;
* 4. start i2s
*
* @param i2s_num I2S_NUM_0, I2S_NUM_1
*
* @param rate I2S sample rate (ex: 8000, 44100...)
*
* @param bits I2S bit width (I2S_BITS_PER_SAMPLE_16BIT, I2S_BITS_PER_SAMPLE_24BIT, I2S_BITS_PER_SAMPLE_32BIT)
* @param bits_cfg I2S bits configuration
* the low 16 bits is for data bits per sample in one channel (see 'i2s_bits_per_sample_t')
* the high 16 bits is for total bits in one channel (see 'i2s_bits_per_chan_t')
* high 16bits =0 means same as the bits per sample.
*
* @param ch I2S channel, (I2S_CHANNEL_MONO, I2S_CHANNEL_STEREO)
* @param ch I2S channel, (I2S_CHANNEL_MONO, I2S_CHANNEL_STEREO or specific channel in TDM mode)
*
* @return
* - ESP_OK Success
* - ESP_ERR_INVALID_ARG Parameter error
* - ESP_ERR_NO_MEM Out of memory
*/
esp_err_t i2s_set_clk(i2s_port_t i2s_num, uint32_t rate, i2s_bits_per_sample_t bits, i2s_channel_t ch);
esp_err_t i2s_set_clk(i2s_port_t i2s_num, uint32_t rate, uint32_t bits_cfg, i2s_channel_t ch);

/**
* @brief get clock set on particular port number.
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.