Commit Graph

20777 Commits

Author SHA1 Message Date
Gustavo Henrique Nihei
c6391f12db bootloader_support: Fix unused-but-set-variable compiler warning
When building with BOOTLOADER_LOG_LEVEL lesser then VERBOSE, an error
code variable was being set but not consumed, resulting in a compiler
warning.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-25 21:12:52 +08:00
Gustavo Henrique Nihei
acbf871d2f bootloader_support: Fix unused-variable compiler warning
Builds for every chip other than ESP32 resulted in a compiler warning
due to "drom_load_addr_aligned" and "irom_load_addr_aligned" not being
used, besides being possible to actually reuse them.
Furthermore, extended the logic for the other similar variables.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-25 21:12:52 +08:00
David Čermák
07f502410a Merge branch 'bugfix/sntp_example_docs' into 'master'
sntp example - updated ntp over dhcp code/comments (GitHub PR)

Closes IDFGH-6147

See merge request espressif/esp-idf!15897
2021-11-25 11:37:34 +00:00
Mahavir Jain
e778006546 Merge branch 'bugfix/esp_http_server_doc' into 'master'
esp_http_server: Update documentation for custom close callback [GitHub PR]

Closes IDFGH-6279

See merge request espressif/esp-idf!16087
2021-11-25 10:59:04 +00:00
Fu Hanxi
1f14dc5b74 ci: abort with all ImportErrors when detecting ImportError while search tests cases 2021-11-25 18:56:19 +08:00
Nachiket Kukade
c3d971c52e esp_wifi: Update wifi lib
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
   unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
   while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
   avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
   timeout issue in ASAP mode

Closes https://github.com/espressif/esp-idf/issues/7702

Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
Christoph Rackwitz
4af1da0f21 esp_wifi: Reset event bits in ftm example to avoid repeated failures
Closes https://github.com/espressif/esp-idf/pull/7773
2021-11-25 15:48:34 +05:30
FlorianR
4db3fd17d9 Clarify when the socket is closed if a custom session closing callback is used
When using a custom session closing callback, the IDF will not close the socket for the user. This might result in the system running out of fds. Without any note on that in the documentation, this is easy to miss.
2021-11-25 17:19:11 +08:00
Mahavir Jain
ef98a363e3 Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback' into 'master'
bootloader_support: Adds fault injection protection for check_anti_rollback

See merge request espressif/esp-idf!15662
2021-11-25 09:01:59 +00:00
David Cermak
020047b0f9 Examples/lwip: sntp example - Make SNTP server configurable
Also updates NTP example test to allow more attempts
2021-11-25 08:50:29 +01:00
Mahavir Jain
140efc3857 Merge branch 'bugfix/scheduler_state_query_thread_safety' into 'master'
freertos: fix thread safety for checking scheduler state

Closes IDFGH-6041

See merge request espressif/esp-idf!16097
2021-11-25 07:31:33 +00:00
David Čermák
ae4b8ea08e Merge branch 'bugfix/wifi_netif_on_off_cycle_race' into 'master'
wifi: Fix race conditon invoking invalid callback on deinit

Closes IDFGH-5880

See merge request espressif/esp-idf!15393
2021-11-25 07:28:59 +00:00
Ondrej Kosta
a789cf705f Merge branch 'feature/eth_raw_frame_intf' into 'master'
Feature/eth raw frame intf

Closes IDF-4102

See merge request espressif/esp-idf!13873
2021-11-25 07:21:19 +00:00
Wang Meng Yang
588235f3b1 Merge branch 'bugfix/bt_assert_failed_when_interrupt_hlevel_disable' into 'master'
component/bt: fix assert fail when interrupt hlevel disable

See merge request espressif/esp-idf!16042
2021-11-25 06:08:45 +00:00
Marius Vikhammer
93afdea821 Merge branch 'bugfix/s3_rtc_ram_deepsleep_test' into 'master'
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure

Closes IDFCI-137

See merge request espressif/esp-idf!16116
2021-11-25 04:15:52 +00:00
Marius Vikhammer
469d047aeb ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.

Fixed wrong usage of stack size and slightly increased it.
2021-11-25 10:25:59 +08:00
Shu Chen
87d19d7ef9 Merge branch 'feature/Add_zigbee_light_example' into 'master'
zigbee: add light example

See merge request espressif/esp-idf!15458
2021-11-25 02:14:53 +00:00
Shu Chen
a08d2732d5 Merge branch 'bugfix/esp32h2_iperf_udp_WTD_trigger' into 'master'
fix watch dog trigger when iperf udp is running

See merge request espressif/esp-idf!15625
2021-11-25 01:56:26 +00:00
Darian
68df7d2ddf Merge branch 'bugfix/gpio_example_typo' into 'master'
Fix typo in gpio_example_main.c (GitHub PR #7823)

Closes IDFGH-6145

See merge request espressif/esp-idf!15974
2021-11-24 20:13:55 +00:00
Darian
c23cf30cea Merge branch 'bugifx/freertos_missing_api_config' into 'master'
FreeRTOS: Add missing INCLUDE_ configurations for some functions

Closes IDFGH-6229

See merge request espressif/esp-idf!16058
2021-11-24 19:53:31 +00:00
Darian
fab2bfbb90 Merge branch 'bugfix/console_example_chip_model_github_pr_7717' into 'master'
Console example should print correct model name (GitHub PR #7717)

Closes IDFGH-6031

See merge request espressif/esp-idf!15979
2021-11-24 19:39:35 +00:00
Darian
86d2e09629 Merge branch 'docs/fix_typo_in_bt_spp_initiator_example' into 'master'
Docs: Fix typo in bt_spp_initiator example README (GitHub PR #7950)

Closes IDFGH-6281

See merge request espressif/esp-idf!16072
2021-11-24 19:04:43 +00:00
Min Seok Kim
020f20e45e gpio: Fixed typo in generic_gpio example
Closes https://github.com/espressif/esp-idf/pull/7823

[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 00:05:23 +08:00
david zuhn
0742790408 console: Console example prints the correct chip model
This commit updates the console example's components so that
the correct chip model name is printed instead of "Unknown"

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

[darian@espressif.com: Update chip names, used const char, updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 00:04:56 +08:00
Darian Leung
289730820b freertos: Add missing INCLUDE_ configurations for some functions
This commit adds missing INCLUDE_ configurations to FreeRTOSConfig.h for
the following functions:

- xTaskAbortDelay()
- xTaskGetHandle()

Unit tests for these functions were also added.

Closes https://github.com/espressif/esp-idf/issues/7902
2021-11-25 00:04:07 +08:00
cvvletter
dee4424a45 docs: fix double spelling error in bt_spp_initiator
when checking the idf.py menuconfig, we see that this path is incorrectly spelled
2021-11-25 00:03:54 +08:00
Ivan Grokhotkov
d7bb5c4218 Merge branch 'feature/docker_build_use_git_mirror' into 'master'
ci: use LOCAL_GIT_MIRROR in docker build job, if set

Closes IDFCI-982

See merge request espressif/esp-idf!16098
2021-11-24 14:26:28 +00:00
Radim Karniš
2ad8c31d06 Merge branch 'docs/esptool_docs_links' into 'master'
docs: Update references to esptool docs

See merge request espressif/esp-idf!16078
2021-11-24 13:19:59 +00:00
xiewenxiang
6d35819d16 component/bt: fix assert fail when interrupt hlevel disable 2021-11-24 20:10:00 +08:00
Roland Dobai
f64b3902cf tools: Delete the old kconfig tools
The old kconfig tool is not used anymore. It was replaced with the
kconfiglib Python package.
2021-11-24 13:07:56 +01:00
Sergei Silnov
84cb207931 ci: Remove component manager test from build system tests
Component manager itself has a set of integration tests
that run against different ESP-IDF versions
2021-11-24 12:32:22 +01:00
Mahavir Jain
ec9b69d7e3 Merge branch 'feature/add_get_errno_api_for_http_client' into 'master'
esp_http_client: add a get HTTP client session errno API for esp_http_client

See merge request espressif/esp-idf!15869
2021-11-24 11:25:04 +00:00
isha pardikar
d35a9a09dc Merge branch 'nimble_spp' of ssh://gitlab.espressif.cn:27227/espressif/esp-idf into nimble_spp
Nimble: Added BLE SPP Service

Closes: https://github.com/espressif/esp-idf/issues/7303

See merge request espressif/esp-idf!14998
2021-11-24 16:04:27 +05:30
Martin Vychodil
388686804e Merge branch 'test/esp32s2_fatfs_speedtest_ci_fix' into 'master'
[Storage]: Re-enable FatFS write/read speed test

Closes IDF-1421

See merge request espressif/esp-idf!15383
2021-11-24 10:15:53 +00:00
radim.karnis
5d55d34481 docs: Update references to esptool docs 2021-11-24 10:28:39 +01:00
xutao
10377ce2ff esp_http_client: add a get HTTP client session errno api for esp_http_client 2021-11-24 17:23:09 +08:00
Ivan Grokhotkov
78d83645b8 ci: use LOCAL_GIT_MIRROR in docker build job, if set
When the build runner has a local git mirror configured via
LOCAL_GIT_MIRROR variable, use that mirror when cloning IDF insider
the docker build job. Follows similar logic for
LOCAL_GITLAB_HTTPS_HOST, which is used for geo nodes.
2021-11-24 10:20:11 +01:00
Mahavir Jain
5d40016ddb freertos: fix thread safety for checking scheduler state
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.

This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.

Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-24 14:34:40 +05:30
Chen Jian Xing
f41494f5a4 Merge branch 'bugfix/modify_mexico_channel_refer_fcc' into 'master'
esp_wifi: update Mexico channel refer to FCC

See merge request espressif/esp-idf!15698
2021-11-24 08:01:31 +00:00
Mahavir Jain
18b690fe55 Merge branch 'bugfix/address_already_used_exception_in_ota_tests' into 'master'
Fix 'address already in use' exception in OTA tests

Closes IDFCI-965

See merge request espressif/esp-idf!15879
2021-11-24 05:23:40 +00:00
laokaiyao
fa4e77eb44 i2s: deprecate confusing names 2021-11-24 13:21:13 +08:00
laokaiyao
f21020ce04 esp32h2: update reg and struct for beta2 2021-11-24 12:34:17 +08:00
wuzhenghui
388615add0 update esp32h2beta2 chip_id to 14 2021-11-24 12:30:43 +08:00
wuzhenghui
968c42d88c 822 FPGA rnv init 2021-11-24 12:30:17 +08:00
laokaiyao
b9a84b96ce esp32h2: add support for beta2 2021-11-24 12:30:17 +08:00
Sudeep Mohanty
a5bd8f4a65 Merge branch 'doc/s3-prog-guide-system-chip-independent' into 'master'
docs: update programming guide for esp32s3 chip independent system chapters

Closes IDF-3308

See merge request espressif/esp-idf!15992
2021-11-24 04:29:21 +00:00
Mahavir Jain
9cecde6fb4 bootloader: add anti-FI checks around secure version in anti-rollback scheme 2021-11-24 11:37:27 +08:00
Harshit Malpani
b93d63b067 Fix 'address already in use' exception in OTA tests
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2021-11-24 11:32:15 +08:00
zhangwenxu
0fe32adb58 iperf: handle NO_MEM error in OpenThread iperf
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Zim Kalinowski
9044374032 Merge branch 'gh_actions/sync_approved_prs' into 'master'
Update - Sync approved PRs to GitLab (ESP-IDF) workflow

Closes RDT-58

See merge request espressif/esp-idf!15845
2021-11-24 02:38:43 +00:00