Commit Graph

14961 Commits

Author SHA1 Message Date
wangmengyang
3c63d0cc0e components/bt: fix the documentations for Bluetooth HID device APIs 2022-04-11 02:50:50 +00:00
Jiang Jiang Jian
199d72c19c Merge branch 'bugfix/fix_i2c_critical_and_iram_funcations' into 'master'
Update esp c3/s3 phy lib (dcbe608)

Closes BT-2323

See merge request espressif/esp-idf!17713
2022-04-11 10:28:31 +08:00
Armando (Dou Yiwen)
5e8db9669d Merge branch 'refactor/move_soc_memory_types_helper_functions_to_esp_hw_support' into 'master'
hw_support: move soc_memory_types.h helper functions into esp_hw_support (G1)

Closes IDF-4858

See merge request espressif/esp-idf!17657
2022-04-10 19:10:33 +08:00
Adam Múdry
36db6a6681 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Darian
59202fe43e Merge branch 'bugfix/freertos_smp_cmakelist' into 'master'
freertos: Fix CMakeLists.txt to include esp_additions/private_include

See merge request espressif/esp-idf!17715
2022-04-08 21:35:44 +08:00
Darian Leung
7ea0106b3f freertos: Fix CMakeLists.txt to include esp_additions/private_include 2022-04-08 17:23:52 +08:00
xiewenxiang
a5597d67f3 Update esp c3/s3 phy lib (dcbe608) 2022-04-08 16:39:34 +08:00
Armando
a8a47a61f5 spi_flash: move buffer check from hal layer to driver layer
Prior to this change, `spi_flash_hal_supports_direct_write` and
`spi_flash_hal_supports_direct_read` will check the buffer pointer
place, which should be done in driver layer, instead of HAL layer.
2022-04-08 11:46:10 +08:00
Armando
c4bcf1117c esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support 2022-04-08 11:46:10 +08:00
Martin Gano
d76de32f74 fatfsgen.py: enabled date and time for fatfs 2022-04-07 15:01:28 +02:00
Sudeep Mohanty
f2d355992b Merge branch 'refactor/remove-portmacro-deprecated-apis' into 'master'
freertos: remove portmacro_deprtecated.h file

Closes IDF-4746

See merge request espressif/esp-idf!17661
2022-04-07 14:36:25 +08:00
Michael (XIAO Xufeng)
c01d29a184 Merge branch 'feat/opi_mxic_header_def' into 'master'
spi_flash: update def header of MXIC

See merge request espressif/esp-idf!17533
2022-04-07 11:59:00 +08:00
Ivan Grokhotkov
e4d0b7b007 Merge branch 'bugfix/spiffs_check_part_alignment' into 'master'
spiffs: add init checks for partition alignment and data types

Closes IDFGH-6974 and IDF-3349

See merge request espressif/esp-idf!17676
2022-04-07 01:27:57 +08:00
David Čermák
3692b15965 Merge branch 'feature/lwip_dns_debug_logs' into 'master'
lw-IP: Add DNS debug option.

Closes IDFGH-7076

See merge request espressif/esp-idf!17668
2022-04-06 21:59:09 +08:00
Mahavir Jain
2cee6954e3 Merge branch 'bugfix/esp_crt_bundle_build_issue' into 'master'
esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled

Closes IDFGH-7106

See merge request espressif/esp-idf!17674
2022-04-06 19:33:06 +08:00
Anton Maklakov
a2c8a676a0 Merge branch 'bugfix/explicit_use_bsd_string_in_linux_target' into 'master'
docs, spi_flash: explicit use bsd string in linux target

Closes IDF-3267

See merge request espressif/esp-idf!17635
2022-04-06 14:00:36 +08:00
Mahavir Jain
b3d3f74a67 esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled
Exclude source and include file from build list if certificate bundle feature
is disabled.

Closes https://github.com/espressif/esp-idf/issues/8714
Closes IDFGH-7106
2022-04-06 05:10:43 +00:00
Michael (XIAO Xufeng)
b585d0afd0 Merge branch 'bugfix/phy_regi2c_critical_section' into 'master'
esp_phy: use spinlock to avoid regi2c access conflicts

See merge request espressif/esp-idf!17298
2022-04-06 09:30:03 +08:00
Darian
7554194bf1 Merge branch 'feature/freertos_smp_port_idle_hooks' into 'master'
freertos: Update idle hooks for SMP

Closes IDF-3337

See merge request espressif/esp-idf!17407
2022-04-06 08:24:04 +08:00
Ivan Grokhotkov
6a172b419f
spiffs: add init checks for partition alignment and data types
Closes https://github.com/espressif/esp-idf/issues/8593
2022-04-05 19:14:00 +02:00
Sudeep Mohanty
129e613f15 freertos: remove portmacro_deprtecated.h file
This commit removes the portmacro_deprecated.h file and the deprecated
APIs contained in it. Alternate APIs to use are noted in the migration
guide.
2022-04-05 04:38:35 +00:00
Darian
82e9afeade Merge branch 'feature/freertos_update_task_snapshot_implementation' into 'master'
FreeRTOS: Update Task Snapshot Implementation

Closes IDF-3334

See merge request espressif/esp-idf!17496
2022-04-04 07:49:20 +08:00
Bao Hong De
2748b3a4be Merge branch 'bugfix/not_use_malloc_in_bluedroid' into 'master'
component/bt: use osi_malloc instead of malloc in bluedroid

See merge request espressif/esp-idf!17663
2022-04-03 04:24:08 +08:00
Darian Leung
e6d43ab56f freertos: Update SMP idle hooks
This commit updates the usage of idle hooks in SMP FreeRTOS as follows:

- IDF style idle hooks are now called from vApplicationMinimalIdleHook()
- If the user provdies their own vApplicationMinimalIdleHook(), it can be
  wrapped using -Wl,--wrap if CONFIG_FREERTOS_USE_MINIMAL_IDLE_HOOK is
  enabled.
- SMP port no longer uses vApplicationIdleHook() as it's only called from
  the prvIdleTask() and not every prvMinimalIdleTask()
2022-04-01 22:08:45 +08:00
Darian Leung
8c88c6f68f freertos: Update task snapshot unit tests
This commit updates the task snapshot unit tests as follows:

- Both uxTaskGetSnapshotAll() and vTaskGetSnapshot() are now both tested
- Test cases are now dependent on CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
2022-04-01 22:01:16 +08:00
Darian Leung
80f0c64c2a freertos: Update task snapshot
This commit updates task snapshot as follows:

- Refactored implementation to increase readability
- Implementation moved into freertos_tasks_c_additions.h
- freertos_tasks_c_additions.h made a private header
- Support SMP FreeRTOS
- Removed configENABLE_TASK_SNAPSHOT option. CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
  is direclty used instead.
2022-04-01 22:01:16 +08:00
Mahavir Jain
4350e6fef8 Merge branch 'feature/security_soc_capabilities' into 'master'
soc: add security features related capabilities

Closes IDF-4854

See merge request espressif/esp-idf!17632
2022-04-01 21:55:59 +08:00
Song Ruo Jing
e13bb580c7 Merge branch 'refactor/gpio_unit_test' into 'master'
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases

Closes IDF-4620

See merge request espressif/esp-idf!17417
2022-04-01 18:38:19 +08:00
Mahavir Jain
03aafb5d52 bootloader: use SOC capability macros for security features related configuration 2022-04-01 09:38:34 +00:00
Mahavir Jain
74005ed2f5 soc: add capability macros for security features
- Security features covers "secure boot", "flash encryption" etc.
- ECO revision specific modifications still need to be handled
through kconfig itself, as soc_caps.h is processed before ECO revision
selection
- This will simplify addition of security features for newer chips by
using these SOC capability macros
2022-04-01 09:38:34 +00:00
morris
1459a09978 Merge branch 'bugfix/cxx_gcc11_warnings' into 'master'
C++: fix several gcc11 warnings

Closes GCC-229

See merge request espressif/esp-idf!17658
2022-04-01 15:12:55 +08:00
Wei Tian Hua
dbe4606eab Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
components/bt: support for vendor specific battery level and docker status...

See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
Michael (XIAO Xufeng)
f3adbf9953 esp_phy: use spinlock to avoid regi2c access conflicts 2022-04-01 10:49:29 +08:00
Michael (XIAO Xufeng)
049ebf9853 regi2c: use safe version of spinlock, instead of ISR ver 2022-04-01 10:48:46 +08:00
Mahavir Jain
e498209ed2 Merge branch 'fix/esp_crt_bundle_init_api' into 'master'
esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_init" API.

Closes IDFGH-6769

See merge request espressif/esp-idf!17646
2022-04-01 01:36:55 +08:00
baohongde
65b15cd75a component/bt: use osi_malloc instead of malloc in bluedroid 2022-03-31 22:27:54 +08:00
Omar Chebib
fa55cf608b Merge branch 'refactor/remove_esp32comp_dep_on_efuse' into 'master'
G0: target components (components/esp32*) don't depend on efuse anymore

See merge request espressif/esp-idf!17623
2022-03-31 17:40:25 +08:00
Marius Vikhammer
36b83fcb98 Merge branch 'docs/cpp_function_ref_fixes' into 'master'
docs: fix broken references to misc API functions and types.

Closes IDF-3184 and DOC-2806

See merge request espressif/esp-idf!17569
2022-03-31 16:22:23 +08:00
Anton Maklakov
b415476904 cxx: suppress -Warray-bounds warning for a test 2022-03-31 15:10:28 +07:00
Aditya Patwardhan
c27c6916a7 esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_set" API.
Closes https://github.com/espressif/esp-idf/issues/8397
2022-03-31 13:11:11 +05:30
Konstantin Kondrashov
a7578a68c0 Merge branch 'bugfix/ipc_blocking' into 'master'
esp_ipc: Fix a case when ipc_task() can wake up blocking task early

Closes IDFGH-6939

See merge request espressif/esp-idf!17508
2022-03-31 13:28:39 +08:00
Konstantin Kondrashov
44a0108d4c Merge branch 'feature/esp32c3_eco4' into 'master'
esp32c3: Adds ECO4 revision

Closes IDF-4848

See merge request espressif/esp-idf!17514
2022-03-31 13:24:34 +08:00
Wu Zheng Hui
506768c9fa Merge branch 'feature/esp32h2beta2_chip_env' into 'master'
Support esp32h2beta2 chip

See merge request espressif/esp-idf!17503
2022-03-31 09:51:12 +08:00
Mengsk
42efbb1a57 Add lwip dns debug option. 2022-03-30 15:45:56 +02:00
Armando (Dou Yiwen)
ee034d5b6a Merge branch 'feature/support_spi_on_h2' into 'master'
spi: support spi on h2

Closes IDF-3796 and IDF-4226

See merge request espressif/esp-idf!17191
2022-03-30 19:59:31 +08:00
songruojing
8d84033b8c gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
Eliminate UT_T1_GPIO runner requirement by routing internally through gpio matrix and by setting gpio pins to GPIO_MODE_INPUT_OUTPUT mode for all interrupt related test cases.
2022-03-30 15:11:08 +08:00
songruojing
edcf44679d ci: add TEST_CASE_CI_IGNORE macro to allow pytest test cases to be ignored in ci 2022-03-30 15:11:08 +08:00
songruojing
11e555d677 unit test: move gpio, dedicated_gpio, sigmadelta unit test from unit-test-app to components/driver/test_apps/gpio 2022-03-30 15:11:08 +08:00
songruojing
bdb5b11b39 unit test: move unit-test_app test_utils_task_delete API to be a utils API (unity_utils_task_delete) in unity component 2022-03-30 15:11:08 +08:00
Laukik Hase
1d71fbae92
https_server: Add provision for callback at session close
Closes https://github.com/espressif/esp-idf/issues/8288
2022-03-30 11:25:11 +05:30