morris
5732e2a4be
driver: fix dead code in error handling path
...
... for gptimer and pulse_cnt driver, reported by Coverity Scan
2022-04-08 15:13: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
morris
483149e41b
global: fix some potential out-of-bounds issue
...
...that found by Coverity Scan
2022-04-08 11:05:43 +08:00
morris
bb2a57dc71
intr_alloc: fix mix boolean and bit operation
2022-04-08 11:05:43 +08:00
morris
37d8abda0b
gdma: add spin lock for gdma channel
...
... because we allow several control functions to be runable under ISR
context
2022-04-08 10:05:01 +08:00
Martin Gano
d612c71be5
Merge branch 'feature/enable-datetime-modification-fatfs' into 'master'
...
fatfsgen.py: enabled date and time for fatfs
Closes IDF-4092
See merge request espressif/esp-idf!17519
2022-04-08 05:24:09 +08:00
Martin Gano
d76de32f74
fatfsgen.py: enabled date and time for fatfs
2022-04-07 15:01:28 +02:00
Roland Dobai
faed2a44aa
Merge branch 'feat/main_readme_update' into 'master'
...
README: Add release schedule and drop v3.3 from the supported versions
Closes IDFGH-6852
See merge request espressif/esp-idf!17681
2022-04-07 18:53:26 +08: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
Fu Hanxi
f35197e40b
Merge branch 'ci/use_idf_path_as_pytest_logdir' into 'master'
...
ci: use IDF_PATH as pytest log dir
Closes IDFCI-1152
See merge request espressif/esp-idf!17673
2022-04-07 14:24:07 +08:00
Marius Vikhammer
9763125c1c
Merge branch 'feature/esp_docs_0.2.4' into 'master'
...
docs: update esp-docs version to 0.2.4
See merge request espressif/esp-idf!17706
2022-04-07 12:12:13 +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
morris
df18bc03c9
Merge branch 'docs/update_CN_trans_api-guides' into 'master'
...
docs: updated CN trans for linker-script-generation and external-ram
Closes DOC-2803
See merge request espressif/esp-idf!17510
2022-04-07 11:15:16 +08:00
Dai Zi Yan
0896e19840
docs: updated CN trans for linker-script-generation and external-ram
2022-04-07 11:15:16 +08:00
Wang Meng Yang
0c23d45918
Merge branch 'bugfix/fix_blecent_compilation_issue' into 'master'
...
Nimble: Add default config options for esp32h2 for blecent app
See merge request espressif/esp-idf!17648
2022-04-07 09:59:03 +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
Kapil Gupta
92c18f11d9
wpa_supplicant: Remove scan done event in task
2022-04-06 19:49:52 +05:30
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
Marius Vikhammer
a4c71c47fc
docs: update esp-docs version to 0.2.4
...
Fixes build issues due to latest Jinja version breaking Sphinx
2022-04-06 21:03:59 +08:00
Rahul Tank
c6eb49082a
Nimble: Add default config options for esp32h2 to fix blecent
...
compilation issues
2022-04-06 17:14:31 +05:30
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
e739aa13ba
Merge branch 'ci/allow_fail_for_IT_012' into 'master'
...
CI: temporary allow failure for IT_012
See merge request espressif/esp-idf!17701
2022-04-06 19:10:35 +08:00
Fu Hanxi
5e05a1f174
ci: use IDF_PATH as pytest log dir
2022-04-06 18:46:49 +08:00
liqigan
2ce516e455
fix SPP initiator can not free resource when connection is failed
2022-04-06 18:17:07 +08:00
Chen Yudong
e7f2e8e788
CI: temporary allow failure for IT_012
2022-04-06 17:29:00 +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
37ad7c2e1f
test_apps: add build only test for !MBEDTLS_CERTIFICATE_BUNDLE
2022-04-06 05:10:43 +00:00
Mahavir Jain
021f545f0d
examples: add dependency on cert bundle configuration
...
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-04-06 05:10:43 +00: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
c021638e99
Merge branch 'feature/component_whole_archive' into 'master'
...
build system: add WHOLE_ARCHIVE component property, add link-time registration example
Closes IDFGH-7050 and IDFGH-5997
See merge request espressif/esp-idf!17642
2022-04-06 02:51:02 +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
Ivan Grokhotkov
ff6ccfff8e
examples: build system: add link-time registration plugin example
...
Closes https://github.com/espressif/esp-idf/issues/7682
2022-04-05 18:51:47 +02:00
Ivan Grokhotkov
273633ee31
build system: add WHOLE_ARCHIVE component property
...
This component property allows including all component object files
into the executable. It is equivalent to wrapping the component
library with -Wl,--whole-archive and -Wl,--no-whole-archive flags.
Closes https://github.com/espressif/esp-idf/issues/8667
2022-04-05 18:50:20 +02:00
Nachiket Kukade
2982910075
esp_wifi: Update wifi libs
...
PMF capable flag in wifi_pmf_config_t is internally enabled,
for devices to be able to connect to WPA3 only AP's without
additional user configuration. But PMF may need to be disabled
for debug purposes or to avoid PMF issues on AP side. Add API
esp_wifi_disable_pmf_config to support this.
2022-04-05 17:44:42 +05:30
Roland Dobai
f327e8a598
README: Add release schedule and drop v3.3 from the supported versions
...
Closes https://github.com/espressif/esp-idf/pull/8476
2022-04-05 11:29:35 +02:00
Kapil Gupta
62eb06e386
wpa_supplicant: Add CA certification bundle support
...
Add support for CA certificate bundle support for server
certificate validation
2022-04-05 10:57:09 +05:30
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
Roland Dobai
86e5ff1e64
Merge branch 'fix/idf_tools_print_url_earlier' into 'master'
...
Tools: idf_tools.py prints URL before starting the download
Closes IDFGH-7008
See merge request espressif/esp-idf!17647
2022-04-04 20:46:10 +08:00
simon.chupin
3e7627c8c9
tools: fix python-env install by install.ps1
...
Closes https://github.com/espressif/esp-idf/issues/8647
2022-04-04 14:29:58 +02:00
Roland Dobai
c48a995531
Merge branch 'bugfix/fix-monitor-attribute-error-coredump' into 'master'
...
Fix missing coredump in idf_monitor.py
Closes IDFGH-7033
See merge request espressif/esp-idf!17677
2022-04-04 20:14:17 +08:00
Martin Gaňo
74048f079b
Fix coredump attribute error in idf_monitor.py
...
Closes https://github.com/espressif/esp-idf/issues/8651
2022-04-04 12:31:23 +02: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