Commit Graph

20760 Commits

Author SHA1 Message Date
Sachin Parekh
724fdbc9f1 secure_boot: Do not allow key revocation in bootloader 2021-10-22 12:20:14 +05:30
Sachin Parekh
8ff3dbc05d secure_boot: Added Kconfig option for aggressive key revoke
Applicable to S2, C3, and S3
2021-10-22 12:20:14 +05:30
Jakob Hasse
267f0bf6b2 docs: Update mocking documentation 2021-10-22 13:52:59 +08:00
Darian Leung
0df4e80b97 freertos: Fix prvTaskIsTaskSuspended check
This commit fixes prvTaskIsTaskSuspended(). Both pending ready lists
should be checked to confirm that is truly suspended.

Closes https://github.com/espressif/esp-idf/issues/7564
2021-10-22 13:17:29 +08:00
Darian Leung
d6f2fa4bab freertos: Remove critical nested macros
This commit removes the following critical nested macros as follows:

- portENTER_CRITICAL_NESTED()
- portEXIT_CRITICAL_NESTED()

They are replaced with portSET_INTERRUPT_MASK_FROM_ISR() and
portCLEAR_INTERRUPT_MASK_FROM_ISR() which are the proper FreeRTOS interfaces.

Created a portmacro_deprecated.h for each port to contain deprecated API
that were originally from portmacro.h
2021-10-22 13:17:20 +08:00
Darian Leung
359a3d396d freertos: Add memory hooks for static IDLE and Timer tasks
This commit adds the following hook functions to obtain memory
for the IDLE and Timer Daemon tasks when configSUPPORT_STATIC_ALLOCATION
is enabled:

- vApplicationGetIdleTaskMemory()
- vApplicationGetTimerTaskMemory()

Currently, both functions simply allocate from the same memory as
regular tasks (i.e., internal memory for both the stack and TCB)

Closes https://github.com/espressif/esp-idf/issues/7511
2021-10-22 12:21:15 +08:00
Guo Jia Cheng
c1d3b295e8 Merge branch 'feature/trel' into 'master'
br: support Thread Radio Encapsulation Link (TREL)

See merge request espressif/esp-idf!15106
2021-10-22 03:31:41 +00:00
yuanjm
2fa617e510 ci: remove copyright ignore list 2021-10-22 11:17:59 +08:00
Liu Han
49cd81ccf3 lwip/dhcp: add configure for enable vendor class identify option
Closes https://github.com/espressif/esp-idf/issues/6786
2021-10-22 11:17:59 +08:00
Anton Maklakov
1c44c3b966 Merge branch 'feature/toolchain_2021r2' into 'master'
Bring 2021r2 toolchains

Closes GCC-156, IDF-3571, IDF-842, IDFGH-4276, IDFGH-920, and IDFGH-790

See merge request espressif/esp-idf!15149
2021-10-22 01:03:16 +00:00
xiongweichao
d5c3342a46 Remove assert when inq done
Closes https://github.com/espressif/esp-idf/issues/6759
2021-10-21 20:08:37 +08:00
Jiacheng Guo
1e5c5f38d9 br: support Thread Radio Encapsulation Link (TREL)
TREL allows sending 15.4 frames on the backbone link by encapsulating it
in an UDP packet.
2021-10-21 19:55:58 +08:00
Ivan Grokhotkov
c9b84c2b2c Merge branch 'bugfix/newlib_fix_stdatomic_clang' into 'master'
newlib: fix clang atomics

See merge request espressif/esp-idf!15581
2021-10-21 11:37:18 +00:00
Wu Zheng Hui
4161434837 Merge branch 'feature/simplify_target_judgment_logic' into 'master'
bootloader: Simplify multi-chip control logic of the cache

See merge request espressif/esp-idf!14176
2021-10-21 10:09:37 +00:00
Wu Zheng Hui
001c29b077 bootloader: Simplify multi-chip control logic of the cache 2021-10-21 18:09:37 +08:00
Kapil Gupta
b0e5fd71fa Merge branch 'bugfix/enable_gcmp_gmac_192bit' into 'master'
esp_example: Enable GCMP, GMAC for 192 bit config example by default

Closes WIFI-4125

See merge request espressif/esp-idf!15558
2021-10-21 08:46:22 +00:00
Fu Hanxi
f312a1f128 ci: enable ut when components/ files changed 2021-10-21 15:39:04 +08:00
Omar Chebib
e7b1640199 Merge branch 'feature/fat_configure_volumes_kconfig' into 'master'
FAT: Number of volumes can now be configured through menuconfig

Closes IDFGH-5806

See merge request espressif/esp-idf!15445
2021-10-21 06:49:07 +00:00
Mahavir Jain
950ca2ec3c Merge branch 'refactor/using_generic_error_check_in_esp_http_client' into 'master'
esp_http_client: apply generic error check macros

Closes IDF-3037

See merge request espressif/esp-idf!15391
2021-10-21 05:26:54 +00:00
Anton Maklakov
a047b15314 Merge branch 'version/v5.0.0' into 'master'
version: starting v5.0.0 development

See merge request espressif/esp-idf!15580
2021-10-21 03:37:51 +00:00
He Yin Ling
e5548b12e0 CI: add esp32s3 SSC build jobs 2021-10-21 11:23:24 +08:00
Xie Wen Xiang
4b2396e7fc Merge branch 'bugfix/btdm_fix_some_bluedroid_issues' into 'master'
Fix some bluedroid issues

Closes BT-1926 and FCS-743

See merge request espressif/esp-idf!15170
2021-10-21 03:18:22 +00:00
morris
3a530e3311 Merge branch 'refactor/timer_ll_hal_clean_before_ng' into 'master'
timer: clean up hal/ll for driver-ng

See merge request espressif/esp-idf!15123
2021-10-20 23:59:30 +00:00
Wang Meng Yang
6ef52dbae3 Merge branch 'bugfix/fix_ble_scan_failed_issue_master' into 'master'
fix ble scan failed issue master

See merge request espressif/esp-idf!15340
2021-10-20 23:01:21 +00:00
Ivan Grokhotkov
e89dce8fd1 examples/i2s: bump IDF version in component manifest 2021-10-21 00:24:50 +02:00
Andrei Safronov
f4803c5aaf newlib: fix clang atomics
Correction of the SYNC_LOCK_* macros in stdatomic
2021-10-20 23:33:53 +03:00
Ivan Grokhotkov
68233f58b4 version: starting v5.0.0 development 2021-10-20 22:25:38 +02:00
Ivan Grokhotkov
fdfa260b91 Merge branch 'ci/update_esp_eth_cert' into 'master'
ci: update cert used for esp_eth test

Closes IDFCI-911

See merge request espressif/esp-idf!15572
2021-10-20 20:24:55 +00:00
David Čermák
4e03a9c34c Merge branch 'bugfix/mdns_non_standard_domains' into 'master'
mdns: Fix parsing non-standard queries

Closes IDFGH-6009

See merge request espressif/esp-idf!15566
2021-10-20 16:21:24 +00:00
Anton Maklakov
414d9d6bc6 Update toolchains to esp-2021r2
Updated GDB to 9.2 version for xtensa chips
    Fixed coredump work for xtensa chips
    Fixed backtrace for xtensa chips
    Fixed multilib for riscv32 chips
    Fixed running GDB on some RaspberryPi configuration for riscv32 chip
    Fixed support of fnmatch(), iconv() and some other posix functions in stdlib

    Closes https://github.com/espressif/esp-idf/issues/6124
    Closes https://github.com/espressif/esp-idf/issues/2484
    Closes https://github.com/espressif/esp-idf/issues/3264
    Closes https://github.com/espressif/crosstool-NG/issues/13
    Closes https://github.com/espressif/crosstool-NG/pull/16
2021-10-20 22:00:39 +07:00
Anton Maklakov
3e3fa4bff2 test_apps/panic: remove workaround for incorrect GDB backtrace 2021-10-20 22:00:39 +07:00
Anton Maklakov
1d3a47e10a coredump: update test data for toolchain 2021r2 2021-10-20 22:00:39 +07:00
Scott Mabin
f06bc441f3 Merge branch 'bugfix/remove-uneeded-clang-ifdefs' into 'master'
remove `__clang__` ifdef around atomic libcalls

See merge request espressif/esp-idf!15489
2021-10-20 14:54:28 +00:00
Mahavir Jain
9f2e85c9a9 Merge branch 'bugfix/esp32s3_cache_disabled_access_err' into 'master'
esp_system: enable "cache disable but cache accessed" interrupt for ESP32-S3

See merge request espressif/esp-idf!15367
2021-10-20 13:59:39 +00:00
morris
e2275b1f63 gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
Jiang Jiang Jian
d9dfa01c95 Merge branch 'bugfix/11kv_documentation' into 'master'
Add documentation for 802.11k and 802.11v APIs

See merge request espressif/esp-idf!15355
2021-10-20 10:22:22 +00:00
Mahavir Jain
0b67fe1e65 ci: increase ESP32-S3 UT job count 2021-10-20 15:20:08 +05:30
Mahavir Jain
81e3eb45ca cpu_start: rename function to add core prefix for more clarity 2021-10-20 15:16:25 +05:30
Mahavir Jain
f441ce977a ci: increase parallel UT count for few jobs 2021-10-20 15:16:25 +05:30
Mahavir Jain
11d9faf38c spi_flash: enable cache access error test for all targets except ESP32-S2 2021-10-20 15:16:25 +05:30
Mahavir Jain
61820f5b30 cpu_start: let individual core clear its interrupt matrix
There was race condition where interrupt entries set by APP cpu core
could have been cleared during PRO cpu startup.

This was observed while setting up "cache access error" interrupt in
SMP mode for ESP32-S3.

This fix allows to NOT modify or clear any entries set by other core
(APP or PRO) and thus avoiding any race conditions during startup code.
2021-10-20 15:16:25 +05:30
Mahavir Jain
bdeaeb8d7f esp_system: enable "cache disable but cache accessed" interrupt for ESP32-S3 2021-10-20 15:16:25 +05:30
Harshit Malpani
2085e4eb92 esp_http_client: apply generic error check macros 2021-10-20 14:40:32 +05:30
Michael (XIAO Xufeng)
390f71cbcb Merge branch 'bugfix/add_support_for_mspi_to_work_with_cpu_clock_switch' into 'master'
mspi: make cpu clock source switch safe

Closes IDFCI-902

See merge request espressif/esp-idf!15557
2021-10-20 08:21:53 +00:00
xiewenxiang
5e21788283 component/bt: Modify the bluetooth device name length limits 2021-10-20 16:19:28 +08:00
xiewenxiang
29a097504d component/bt: set ext adv param failed when stop ext adv 2021-10-20 15:41:00 +08:00
Roland Dobai
f6c1684664 Merge branch 'bugfix/header_ignore' into 'master'
Tools: Permanently ignore some files from header check

See merge request espressif/esp-idf!15559
2021-10-20 07:36:16 +00:00
Mahavir Jain
51d58aac4f Merge branch 'bugfix/fix_http_client_example' into 'master'
examples/protocols/esp_http_client: fetch headers in POST example for native requests

Closes IDFGH-6004

See merge request espressif/esp-idf!15554
2021-10-20 06:45:23 +00:00
Jiang Jiang Jian
3e2f3f612c Merge branch 'feature/support_esp32s3_deepsleep' into 'master'
support esp32s3 deepsleep

Closes IDF-2691, IDF-4057, WIFI-3926, WIFI-3927, and IDF-3703

See merge request espressif/esp-idf!14812
2021-10-20 06:39:45 +00:00
Chen Yudong
a7c5c7134b ci: increase parallel count for UT_S3 2021-10-20 11:36:23 +08:00