Commit Graph

20369 Commits

Author SHA1 Message Date
Yang Zhao
3b84612582 Update esp32 bt-lib
It is abnormal when getting the deep sleep state bit. So we need to check
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-18 15:23:36 +08:00
morris
06e8934bea Merge branch 'bugfix/esp32h2_print_wrong_cpu_rate' into 'master'
clk: fix esp32h2 print wrong CPU frequency

See merge request espressif/esp-idf!15942
2021-11-15 14:43:18 +00:00
Simon Chupin
c3ce9c2608 Merge branch 'feature/json_schema_for_idf_size' into 'master'
tools: add json schema for idf_size

Closes IDF-4133

See merge request espressif/esp-idf!15530
2021-11-15 12:51:59 +00:00
Ivan Grokhotkov
7af719e426 Merge branch 'bugfix/esp32s3_esp_timer_test_failure' into 'master'
examples: esp_timer: disable secondary console for S3/C3 that can affect test timing

Closes IDFCI-935 and IDFCI-936

See merge request espressif/esp-idf!15934
2021-11-15 09:55:44 +00:00
morris
207891ef6c clk: fix esp32h2 print wrong CPU frequency 2021-11-15 17:40:51 +08:00
Mahavir Jain
c5b904745f Merge branch 'bugfix/efuse_utility_header' into 'master'
efuse: Add missing esp_rom_sys.h include file

See merge request espressif/esp-idf!15939
2021-11-15 09:24:13 +00:00
Wang Meng Yang
6322632a37 Merge branch 'bugfix/add_warning_print_timer' into 'master'
NimBLE: Modified timer not started / running warning print

See merge request espressif/esp-idf!15177
2021-11-15 08:32:47 +00:00
Shang Zhou
3657432134 Merge branch 'doc/update_inconsistency' into 'master'
docs: Update incorrect pins for S3 documentation, set a default value for future targets, and remove line breaks inside paragraphs

Closes DOC-2244 and DOC-2199

See merge request espressif/esp-idf!15899
2021-11-15 07:29:35 +00:00
Shang Zhou
9f3f2f4c0a docs: Update inconsistency parts for S3 documentation, set a default value for future targets, and remove line breaks inside paragraphs 2021-11-15 14:29:25 +08:00
Krzysztof Budzynski
612c5172f0 Merge branch 'doc/update_link_to_module_datasheet' into 'master'
docs:update the link to esp32-s3-wroom-1 datasheet

See merge request espressif/esp-idf!15741
2021-11-15 05:58:58 +00:00
Li Shuai
5b766e63c0 Merge branch 'bugfix/wifi_bt_mac_bb_pd_light_sleep' into 'master'
fixes some sleep related issues

Closes AUD-3278

See merge request espressif/esp-idf!15844
2021-11-15 05:05:47 +00:00
Simon
197d6c05b6 Merge branch 'feature/support_new_psram' into 'master'
PSRAM: Add ESP32-D0WDR2-V3 support

Closes IDF-4308

See merge request espressif/esp-idf!15875
2021-11-15 03:43:59 +00:00
Li Shuai
37e1e9c540 Merge branch 'bugfix/memory_region_define_rtc_fast' into 'master'
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC

Closes WIFI-4115

See merge request espressif/esp-idf!15743
2021-11-15 02:34:35 +00:00
Gustavo Henrique Nihei
626d78c2e0 efuse: Add missing esp_rom_sys.h include file
This prevents the compiler error for the implicit declaration of
function "esp_rom_printf".

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 17:35:59 -03:00
Gustavo Henrique Nihei
4a011f3183 Merge branch 'bugfix/efuse_stdbool' into 'master'
efuse: Add missing stdbool.h include file

See merge request espressif/esp-idf!15917
2021-11-12 16:18:07 +00:00
Gustavo Henrique Nihei
5f0e213d9d efuse: Enable C++ linkage for the include headers on esp_efuse.h
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 09:17:02 -03:00
Mahavir Jain
1e6d07d80c examples: esp_timer: disable secondary console for S3/C3 that can affect test timing 2021-11-12 17:27:07 +05:30
Li Shuai
c99cb930c3 sleep: deep sleep does not need cpu and wifi/bt mac retention 2021-11-12 17:46:56 +08:00
Li Shuai
d9e3204115 light sleep: replace new kconfig option of mac bb power down & phy reduce tx power 2021-11-12 17:46:18 +08:00
Roland Dobai
c757dfeb7d Merge branch 'bugfix/ps_export_prs' into 'master'
Tools: PowerShell export script improvements from PRs

Closes IDFGH-6140, IDFGH-6141, and IDFGH-6181

See merge request espressif/esp-idf!15853
2021-11-12 06:43:55 +00:00
Shang Zhou
6da09b3542 Merge branch 'docs/update_syntax_error_for_customer_feedback' into 'master'
docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup

Closes DOC-2263

See merge request espressif/esp-idf!15909
2021-11-12 06:41:49 +00:00
Cao Sen Miao
ce1ee3d8ae psram: add ESP32-D0WD-R2-V3 support 2021-11-12 13:52:24 +08:00
Sudeep Mohanty
0497f18688 Merge branch 'feature/esp-timer-add-api-for-expiry-time' into 'master'
esp_timer: Added esp_timer_get_period/expiry_time APIs

Closes IDF-4285

See merge request espressif/esp-idf!15835
2021-11-12 05:13:34 +00:00
Mahavir Jain
f104bf1b76 Merge branch 'bugfix/httpd_stop' into 'master'
Check for failure in stopping http server [GitHub PR]

Closes IDFGH-7843

See merge request espressif/esp-idf!15904
2021-11-12 04:21:33 +00:00
Jakob Hasse
c14c81733d Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility' into 'master'
nvs: add config to ignore "encrypted" flag of nvs partitions

Closes IDFGH-6162

See merge request espressif/esp-idf!15912
2021-11-12 03:24:19 +00:00
Omar Chebib
76fbd73b20 Merge branch 'bugfix/ledc_auto_clk_refactor' into 'master'
ledc: improved support for ESP32-C3 and refactored divisor calculation

Closes IDF-2441

See merge request espressif/esp-idf!13837
2021-11-12 03:21:46 +00:00
Gustavo Henrique Nihei
77a6347849 efuse: Add missing stdbool.h include file
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-11 18:04:26 -03:00
Simon
4f7e51231f Merge branch 'refactor/flash_qio_overidable' into 'master'
spi_flash: refactor flash qio to make it overridable

Closes IDF-3089

See merge request espressif/esp-idf!15371
2021-11-11 17:54:47 +00:00
Song Ruo Jing
2c606c29b1 Merge branch 'bugfix/gpio_interrupt_on_app_cpu' into 'master'
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1

Closes IDFGH-5900

See merge request espressif/esp-idf!15901
2021-11-11 12:28:53 +00:00
Mahavir Jain
ad9230fb34 spi_flash: minor cleanup, use type/subtype from esp_partition.h 2021-11-11 16:35:55 +05:30
Roland Dobai
2e68e510a5 Merge branch 'ci/remove_make_codeowner' into 'master'
ci: remove `/make/` from CODEOWNER file

See merge request espressif/esp-idf!15905
2021-11-11 10:08:09 +00:00
Mahavir Jain
e67128dd0a nvs: add config to ignore "encrypted" flag of nvs partitions
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.

It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.

Please see commit aca9ec28b3 which
introduced check to not allow NVS partitions with "encrypted" flag set.

More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667

Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-11 15:20:57 +05:30
Sudeep Mohanty
5806e57773 esp_timer: Added esp_timer_get_period/expiry_time APIs
Added the following new APIs to the esp_timer module:
- esp_timer_get_period(): Returns the period of a timer in microseconds.
- esp_timer_get_expiry_time(): Returns the timeout value of a one-shot timer in microseconds.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-11 15:13:05 +05:30
Shang Zhou
1669504614 docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup 2021-11-11 17:25:45 +08:00
Fu Hanxi
3ae7e2a92f ci: always run check-codeowners 2021-11-11 16:59:54 +08:00
Fu Hanxi
5dffcb867b ci: remove /components/esp_ipc from CODEOWNER file 2021-11-11 16:58:49 +08:00
David Čermák
f788c337b1 Merge branch 'bugfix/esp_eth_test_deinit' into 'master'
esp_eth: Update test_emac.c (GitHub PR)

Closes IDFGH-6178 and IDFGH-6177

See merge request espressif/esp-idf!15873
2021-11-11 07:45:42 +00:00
Fu Hanxi
cb6500183e ci: remove /make/ from CODEOWNER file 2021-11-11 15:24:50 +08:00
Omar Chebib
44df880c12 Merge branch 'feature/move_ipc_to_esp_system' into 'master'
IPC: Move ipc sources to esp_system

Closes IDF-2160

See merge request espressif/esp-idf!15234
2021-11-11 06:57:44 +00:00
Dániel Buga
994038e0e9 esp_http_server: Check for failure in stopping http server
In some cases, sending the shutdown signal may fail, which causes `httpd_stop` to wait indefinitely.
This PR adds a check to prevent this infinite loop.

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/7843
2021-11-11 11:43:57 +05:30
Cao Sen Miao
981abed2b2 spi_flash: refact that flash qio can be overidable 2021-11-11 12:28:21 +08:00
Omar Chebib
1e8a0909f6 LEDC: divisor calculation will now be rounded up when necessary
Closes https://github.com/espressif/esp-idf/issues/7722
2021-11-11 12:21:22 +08:00
Omar Chebib
aa2ca7dd94 LEDC: improved support for ESP32-C3 and refactored divisor calculation
As ESP32C3 does not have support for REF_TICK source clock, it is now not
possible to select it anymore.
Auto cfg clock has been improved for all boards.
2021-11-11 12:21:15 +08:00
songruojing
7ec38fcc42 gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
Introduced in 874a720286

Closes https://github.com/espressif/esp-idf/issues/7594
2021-11-11 12:14:32 +08:00
Wang Meng Yang
534cd5bb31 Merge branch 'bugfix/fix_custmoer_issues' into 'master'
bugfix/fix_3_controller_issues

Closes ESPCS-721, IDFGH-5407, IDFGH-5712, and IDFGH-6082

See merge request espressif/esp-idf!15821
2021-11-11 03:39:37 +00:00
Jiang Jiang Jian
3a443d523f Merge branch 'bugfix/fix_memory_leak_controller_deinit' into 'master'
ESP32: Fix memory leak in controller deinit function

See merge request espressif/esp-idf!15449
2021-11-11 03:36:18 +00:00
Zim Kalinowski
9502656640 Merge branch 'bugfix/github-7830' into 'master'
docs: fix a small typo in logging library docs

Closes IDFGH-6153

See merge request espressif/esp-idf!15831
2021-11-11 03:30:02 +00:00
Jiang Jiang Jian
c6ad0e4658 Merge branch 'bugfix/power_down_bluetooth_module_when_deinit' into 'master'
component/bt: Power down bluetooth module when deinit

Closes WIFI-4180

See merge request espressif/esp-idf!15716
2021-11-11 03:23:46 +00:00
Omar Chebib
9d5923a13e IPC: Move ipc sources to esp_system
IPC shall be put back into esp_system as it is an 'OS additions'.
2021-11-11 10:30:01 +08:00
simon.chupin
cd5e830445 tools: add json schema for idf_size 2021-11-10 16:21:50 +01:00