Commit Graph

20349 Commits

Author SHA1 Message Date
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
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
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
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
Jiang Jiang Jian
6ef6c2a2c7 Merge branch 'bugfix/esp32_light_sleep_crash' into 'master'
Fix crash caused by bluetooth high level interrupt

Closes BT-2047 and BT-2048

See merge request espressif/esp-idf!15867
2021-11-10 14:41:30 +00:00
Roland Dobai
016198f68f Merge branch 'feat/remove_make' into 'master'
Build & config: Remove the "make" build system

Closes IDF-4272

See merge request espressif/esp-idf!15818
2021-11-10 14:13:25 +00:00
Anton Maklakov
89fe13b8a0 Merge branch 'bugfix/tools_fix_win_gdb_dlls' into 'master'
tools: Fix missed DLLs in GDB for Windows

See merge request espressif/esp-idf!15866
2021-11-10 12:14:29 +00:00
David Čermák
65ac7cb029 Merge branch 'bugfix/eth_enc28j60_packet_filter' into 'master'
esp_eth: allow multicast packets for enc28j60 (GitHub PR)

Closes IDFGH-6151

See merge request espressif/esp-idf!15874
2021-11-10 11:34:56 +00:00
David Čermák
f4bb97c56a Merge branch 'bugfix/DM9051_network_communication_abnormal' into 'master'
esp_eth: DM9051 tx throughput rate optimization

See merge request espressif/esp-idf!15099
2021-11-10 11:31:55 +00:00
Armando (Dou Yiwen)
b0f67866df Merge branch 'feature/update_adc_calibration_doc_on_c3_s3' into 'master'
doc: add adc calibration programming guide on c3 and s3

Closes IDF-3278

See merge request espressif/esp-idf!15379
2021-11-10 09:47:51 +00:00
Roland Dobai
9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Zim Kalinowski
2df1743883 Merge branch 'feature/upstream-freertos-sync-reentinitptr' into 'master'
freertos: Move esp specific esp_reent_intr into collective ifdef

Closes IDF-3944

See merge request espressif/esp-idf!15295
2021-11-10 08:18:12 +00:00
xiongweichao
422cf3cf37 Fix crash caused by bluetooth high level interrupt 2021-11-10 16:11:10 +08:00
Anton Maklakov
049ee30e40 tools: Fix missed DLLs in GDB for Windows 2021-11-10 10:21:18 +07:00
Zim Kalinowski
04d80db499 freertos: Move Espressif's specific esp_reent_init into collective ifdef 2021-11-10 10:55:05 +08:00
Omar Chebib
86fbe68d94 Merge branch 'bugfix/xStreamBufferReset_crashing' into 'master'
FreeRTOS: Fix xStreamBufferReset function always crashing

Closes IDFGH-6040

See merge request espressif/esp-idf!15626
2021-11-10 02:12:30 +00:00
Roland Dobai
0a799e8a47 Merge branch 'bugfix/create_dir_idf_env' into 'master'
tools: Create the ".espressif" directory on the first run on clean system

Closes IDFGH-6172

See merge request espressif/esp-idf!15841
2021-11-09 11:00:20 +00:00
Roland Dobai
ccabacec32 Tools: Make clear the used platform in the PowerShell export script 2021-11-09 11:28:48 +01:00
Chris Mumford
969a511612 Define $IsWindows if not defined.
The `$IsWindows` PowerShell variable was added in PowerShell Core 6 and
PowerShell 7, and is not present in earlier PowerShell versions. Set to
true if undefined. This fixes https://github.com/espressif/esp-idf/issues/7820.

The first version to run on non-Windows platforms was PowerShell Core
6.0[^1] which means that IsWindows is guaranteed to be defined on all
non-Windows systems. So, if undefined this indicates a Windows platform.

[^1]: https://docs.microsoft.com/en-us/powershell/scripting/install/powershell-support-lifecycle?view=powershell-7.2#release-history

Closes https://github.com/espressif/esp-idf/pull/7858

Closes https://github.com/espressif/esp-idf/issues/7820
2021-11-09 11:25:15 +01:00
Chris Mumford
8081945405 Initialize $envvars_array to an empty list.
With strict debugging, i.e. `Set-PSDebug -strict`, execution of export.ps1 will
report the following error:

```
The variable '$envars_array' cannot be retrieved because it has not been set.
At C:\path\to\export.ps1:15 char:1
+ $envars_array # will be filled like:
+ ~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (envars_array:String) [], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined
```

Closes https://github.com/espressif/esp-idf/pull/7819
2021-11-09 11:23:43 +01:00
Andy Carle
3e9cdbdedf enc28j60: allow multicast packets in default enc28j60 configuration 2021-11-09 01:34:15 -08:00
Jing Li
caa9e323cc Merge branch 'bugfix/fix_ota_crash' into 'master'
fix: app crash when OTA because the OTA task's stack is in rtc fast memory

See merge request espressif/esp-idf!15720
2021-11-09 08:45:01 +00:00