Ivan Grokhotkov
d17194caea
ci: disable ccache when running CMake build system tests
...
Some tests check if certain files are rebuilt when source files are
'touch'ed. With ccache, 'touch'ing source files doesn't cause a
rebuild, hence the test fails. In case IDF_CCACHE_ENABLE was set in
the environment, unset it before starting the tests.
2022-01-16 21:43:15 +01:00
laokaiyao
816b0ce878
i2s: impove the apll and clock division calculation
2022-01-13 11:06:40 +08:00
Ivan Grokhotkov
f3e0c8bc41
Merge branch 'feature/oocd_ver_upgrade_v4.4' into 'release/v4.4'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220' (v4.4)
See merge request espressif/esp-idf!16765
2022-01-12 14:19:54 +00:00
Yuan Jian Min
2a89b3c15a
docs: Add user-friendly guide about how to use ws_server_example_test.py
...
Closes https://github.com/espressif/esp-idf/issues/8060
2022-01-12 20:36:59 +08:00
yuanjm
dbb0eeecc7
esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
...
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-12 19:53:08 +08:00
Alexey Gerenkov
a3a05dc056
tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220'
2022-01-12 16:39:07 +08:00
Ivan Grokhotkov
813948d137
Merge branch 'bugfix/tools_win_patch2_v4.4' into 'release/v4.4'
...
Add toolchain patch2 version for Windows with --with-gnu-ld option (v4.4)
See merge request espressif/esp-idf!16758
2022-01-12 08:33:35 +00:00
Ivan Grokhotkov
d0d3a2f2a0
Merge branch 'bugfix/idf_tools_test_without_versions_v4.4' into 'release/v4.4'
...
Tools: Load tool versions automatically for IDF Tools tests (v4.4)
See merge request espressif/esp-idf!16510
2022-01-12 08:29:46 +00:00
yuanjm
9cf57a86a0
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-12 14:48:02 +08:00
Anton Maklakov
c22e33d2ca
tools: Add toolchain esp-2021r2-patch2 version for Windows with --with-gnu-ld option
...
Closes https://github.com/espressif/esp-idf/issues/7864
2022-01-11 20:20:43 +07:00
laokaiyao
f0aaf48a93
i2s: revert reading/writing return error code
...
Closes https://github.com/espressif/esp-idf/issues/8121
Revert reading/writing return ESP_ERR_TIMEOUT introduced in commit b26da6f
2022-01-11 15:43:29 +08:00
likunqiao
7aa2577d86
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-11 12:09:11 +08:00
KonstantinKondrashov
8f2045f0da
esp_system: Fix RTC_WDT protection in esp_restart_noos
...
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2022-01-10 21:57:29 +08:00
xiongweichao
50e00e641b
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-10 17:41:57 +08:00
Jiang Jiang Jian
03d3c43882
Merge branch 'bugfix/fix_null_pointer_deference_issue_4.4_mr' into 'release/v4.4'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16637
2022-01-10 08:31:33 +00:00
jingli
23ec015d75
adjust the order of RTC memory heap caps and regions
2022-01-08 16:19:35 +08:00
Jiang Jiang Jian
22b57850bd
Merge branch 'bugfix/dpp_no_ip_issue_v4.4' into 'release/v4.4'
...
Fix STA not getting IP after DPP issue (Backport v4.4)
See merge request espressif/esp-idf!16645
2022-01-06 10:07:02 +00:00
lisekt84
bead7c2eeb
freertos: Fix loss of precision in pdTICKS_TO_MS
...
Closes https://github.com/espressif/esp-idf/pull/7856
Closes https://github.com/espressif/esp-idf/issues/7853
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-01-06 15:44:17 +08:00
Krzysztof Budzynski
c1162b15dc
Merge branch 'docs/s3_update_v4.4' into 'release/v4.4'
...
docs: update remaining programming guide docs for S3 (v4.4)
See merge request espressif/esp-idf!16668
2022-01-06 06:39:19 +00:00
Zim Kalinowski
b5a1df1db4
Merge branch 'bugfix/spi_slave_test_non_dma_v4.4' into 'release/v4.4'
...
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM (v4.4)
See merge request espressif/esp-idf!16305
2022-01-06 03:11:12 +00:00
Zim Kalinowski
219242de89
Merge branch 'bugfix/uart_custom_isr_broken' into 'release/v4.4'
...
UART: fix a bug preventing the user from freeing a previously registered ISR
See merge request espressif/esp-idf!16581
2022-01-06 03:10:29 +00:00
Zim Kalinowski
b64925c567
Merge branch 'docs/fatal_errors_update_4.4' into 'release/v4.4'
...
refactor (docs): improved fatal errors doc (backport v4.4)
See merge request espressif/esp-idf!16626
2022-01-06 03:10:05 +00:00
Darian Leung
116ecf098c
docs: Refactor FreeRTOS documentation
...
This commit refactors the FreeRTOS documentation as follows:
- Rewrite FreeRTOS SMP changes document (ESP-IDF FreeRTOS SMP)
- Reorganized sections in kernel behavior changes
- Rewrote descriptions of each kernel behavior changes
- Added notes about using ESP-IDF FreeRTOS for single core targets
- Moved TLSP callback section to FreeRTOS Additions document
- Moved FreeRTOS configuration section to FreeRTOS API document
- Added notes about FreeRTOS applications in ESP-IDF
2022-01-06 10:19:33 +08:00
Jakob Hasse
5869a4854f
docs: fix hard coded target name in essl doc
2022-01-06 10:14:58 +08:00
Darian Leung
65e9385d0a
docs: Update Power Management and Sleep Modes docs for ESP32-S3
2022-01-06 10:14:57 +08:00
Darian Leung
b0812baacd
docs: Update TWAI docs for ESP32-S3
2022-01-06 10:14:57 +08:00
Marius Vikhammer
a0ed387f71
docs: update performance guide docs with S3 information
2022-01-06 10:14:57 +08:00
Marius Vikhammer
02bf07a1a0
docs: update docs with S3 specific information.
2022-01-06 10:14:54 +08:00
xueyunfei
2e4c95c1ee
update s3 doc
2022-01-06 10:09:51 +08:00
Alexey Gerenkov
8c2990fcea
trax: Adds ESP32-S3 support
2022-01-05 19:34:28 +01:00
Alexey Gerenkov
18cd2ea3e6
apptrace: Adds ESP32-S3 support
2022-01-05 19:26:33 +01:00
Jack
63366f011a
phy: update phy lib to remove ets_printf references
2022-01-05 17:29:55 +08:00
Ivan Grokhotkov
09552fdf68
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-05 17:29:35 +08:00
Nachiket Kukade
b9989d3644
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
2022-01-05 16:24:00 +08:00
Jiang Jiang Jian
d83021a6e8
Merge branch 'bugfix/ftm_misc_issues_v4.4' into 'release/v4.4'
...
Miscellaneous FTM bugfixes (Backport v4.4)
See merge request espressif/esp-idf!16644
2022-01-05 08:12:39 +00:00
Murray Fordyce
52224aebcf
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 10:46:46 +08:00
Nachiket Kukade
53c2b1f65b
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
2022-01-04 15:49:45 +05:30
Omar Chebib
4288588751
UART: fix a bug preventing the user from freeing a previously registered ISR
...
* Closes https://github.com/espressif/esp-idf/issues/8150
2022-01-04 13:38:03 +08:00
Jiang Jiang Jian
d1f1b03beb
Merge branch 'contrib/github_pr_7971_v4.4' into 'release/v4.4'
...
bugfix: Conflicting declaration error when include<rom/secure_boot.h> (v4.4)
See merge request espressif/esp-idf!16566
2022-01-04 03:37:35 +00:00
Jiang Jiang Jian
9a00ef1bc2
Merge branch 'feature/s3_rng_v4.4' into 'release/v4.4'
...
Bootloader add rng sampling (v4.4)
See merge request espressif/esp-idf!16623
2022-01-04 03:37:15 +00:00
Jiang Jiang Jian
abc18659e6
Merge branch 'bugfix/freertos_appcpu_int_disable_v4.4' into 'release/v4.4'
...
freertos: ensure interrupts are disabled before enabling tick timer (v4.4)
See merge request espressif/esp-idf!16606
2022-01-04 03:36:54 +00:00
“YangZhao”
8628079c42
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 10:42:09 +08:00
Jakob Hasse
f9e7eb1fbf
refactor (docs): improved fatal errors doc
2022-01-04 10:02:29 +08:00
Jakob Hasse
ee24264c75
feat (bootloader): added rng sampling
...
Set maximum RNG query frequency to save value known from tests
2022-01-03 16:24:41 +05:30
Chen Wu
bd9ee38f3c
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-31 14:40:21 +08:00
liqigan
f29492dc9d
fix typos and format
2021-12-31 11:18:17 +08:00
Ivan Grokhotkov
dc707d5933
freertos: ensure interrupts are disabled before enabling tick timer
...
xPortStartScheduler calls vPortSetupTimer -> _frxt_tick_timer_init,
which enables tick timer interrupt and sets up the first timeout.
From that point on, the interrupt can fire. If the interrupt happens
while _frxt_dispatch is running, the scheduler will enter an infinite
loop. This is because _frxt_dispatch isn't supposed to be preemptable,
and the tick interrupt will overwrite some of the registers used by
_frxt_dispatch.
Note that this situation doesn't practically occur on the real
hardware, where the execution of vPortSetupTimer and _frxt_dispatch
happens quickly enough. However it can be reproduced on an emulator
if the tick period is set to 1ms.
Add an explicit call to portDISABLE_INTERRUPTS in xPortStartScheduler
to guarantee that _frxt_dispatch doesn't run with interrupts enabled.
This is similar to the esprv_intc_int_set_threshold(1); call in
RISC-V version of port.c.
2021-12-30 18:00:59 +08:00
liqigan
3b1bdce816
optimize SPP documents
2021-12-30 16:11:56 +08:00
Robin Krens
e39b0dcd2e
spacing styling correction
2021-12-30 10:47:49 +08:00
Robin Krens
a61a935506
minor styling changes
2021-12-30 10:47:49 +08:00