Ivan Grokhotkov
b0544b9745
esp_timer: only add as a public dependency to FreeRTOS if necessary
...
esp_timer will be added as a dependency to freertos only if
CONFIG_FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER is enabled.
Other components are updated to add esp_timer as public or private
dependency, as needed.
This removes esp_timer from the default list of public dependencies.
2022-04-25 18:39:59 +02:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
080953ce02
Merge branch 'contrib/github_pr_8812' into 'master'
...
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition (GitHub PR)
Closes IDFGH-7218
See merge request espressif/esp-idf!17886
2022-04-25 18:54:55 +08:00
xiongweichao
5a16fa95e9
Fix CI failure when disable bluetooth debug log
2022-04-25 18:35:22 +08:00
david zuhn
52e34fb7fd
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition
2022-04-25 17:52:00 +08:00
sly
117c30e835
fix S3 bbpll calibrate fail bug in high temperature
2022-04-25 16:41:04 +08:00
Jeff H
5ebd86ab6a
add option to route LWIP logs through ESP_LOG interface
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/8785
Closes https://github.com/espressif/esp-idf/issues/8361
2022-04-25 16:35:04 +08:00
Roland Dobai
5f017e5390
Merge branch 'feature/esptool_package' into 'master'
...
esptool: Include esptool as a Python package instead of using it as a submodule
Closes IDF-4785
See merge request espressif/esp-idf!17639
2022-04-25 16:17:56 +08:00
morris
017f35a357
Merge branch 'contrib/github_pr_8825' into 'master'
...
fix small typos in the comments (documentation) (GitHub PR)
Closes IDFGH-7231
See merge request espressif/esp-idf!17890
2022-04-25 15:39:31 +08:00
Harshit Malpani
437d90c408
esp_http_client: Fix redirect by resetting auth_header before parsing
2022-04-25 05:16:49 +00:00
Rahul Tank
a82e6e63d9
Merge branch 'bugfix/fix_incorrect_timer_comment' into 'master'
...
NimBLE: Correct the log level of timer reset value print
See merge request espressif/esp-idf!17874
2022-04-25 12:43:48 +08:00
Alexey Lapshin
b5bafae596
tools: add GDB v11.1 as a tool
...
GDB now is standalone tool separated from toolchain due to frequent updates.
Added installation tests for the new tool.
Tests are changed because they were wrong, see explanation:
esp32 objdump:
40084290 <esp_crosscore_int_send_yield>:
......
/builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
4008429c: 000090 retw
With previous GDB backtrace was:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144
This commit fixes the backtrace with the right line number:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
Other tests changes have the same cause of fixing.
Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
wangjialiang
a094532785
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:47:10 +08:00
Jiang Jiang Jian
68d4c47b7e
Merge branch 'update/wifi_api_Docs' into 'master'
...
DOC:update wifi api docs
Closes WIFI-4380, WIFI-3856, IDFGH-6362, and IDFGH-6778
See merge request espressif/esp-idf!16194
2022-04-25 10:48:31 +08:00
Jack
4169ca1a2b
esp_wifi: update wifi lib
2022-04-25 00:00:51 +08:00
zhangyanjiao
e3b8f59867
update wifi api docs
2022-04-24 23:55:54 +08:00
Jack
59af19b502
esp_wifi: update wifi lib
2022-04-24 23:22:19 +08:00
jingli
f3ea7f8838
fix _rtc_slow_length being incorrectly optimized by compiler
2022-04-24 23:13:48 +08:00
Michael (XIAO Xufeng)
cbbb308173
Merge branch 'bugfix/esp_flash_forbid_invalid_init' into 'master'
...
spi_flash: forbid writing to main flash when using invalid init arguments
Closes IDFGH-6936
See merge request espressif/esp-idf!17761
2022-04-24 22:53:57 +08:00
Jacques Supcik
2a00945fba
fix small typos
2022-04-24 16:50:08 +02:00
Jessy Chen
8c3a8ea603
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-04-24 21:20:54 +08:00
Jessy Chen
5cb82df4dc
esp_wifi: update noise floor unit
2022-04-24 21:20:54 +08:00
xueyunfei
26fa8260b1
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-04-24 21:20:54 +08:00
Jack
63af85f7e7
esp_wifi: fix espnow recv unencrypted packets issue
...
Closes https://github.com/espressif/esp-idf/issues/8577
Closes https://github.com/espressif/esp-idf/issues/8574
2022-04-24 20:23:12 +08:00
muhaidong
8ef2ed8269
esp_wifi: fix the bug that check whether bssid is zero mac
2022-04-24 20:09:07 +08:00
Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
laokaiyao
b99ced08a2
i2s: fix only right case
...
Closes: https://github.com/espressif/esp-idf/issues/8538
2022-04-23 07:38:45 +00:00
laokaiyao
5b3468ebb3
i2c: support i2c on esp32h2
2022-04-23 07:38:25 +00:00
radim.karnis
2bb7dc4471
esptool: Include as a package, delete submodule
2022-04-22 21:31:17 +02:00
Darian
7c5cf3988f
Merge branch 'bugfix/twai_ll_parse_frame_buffer_typo' into 'master'
...
TWAI: Fix twai_ll_parse_frame_buffer() typo
Closes IDFGH-7140
See merge request espressif/esp-idf!17875
2022-04-22 21:29:59 +08:00
Rahul Tank
e254d1f855
NimBLE: Correct the log level of timer reset value print
2022-04-22 16:21:28 +05:30
morris
5f8ead1bb6
Merge branch 'bugfix/fix_rtc_mem_load_err' into 'master'
...
rtc_regulator: fix rtc mem load err
Closes AUD-3740
See merge request espressif/esp-idf!17870
2022-04-22 16:38:18 +08:00
Darian Leung
09dc46552b
twai: Fix twai_ll_parse_frame_buffer() typo
...
Closes https://github.com/espressif/esp-idf/issues/8743
2022-04-22 15:25:39 +08:00
Mahavir Jain
85e73b9871
Merge branch 'bugfix/mbedtls_arguments' into 'master'
...
mbedtls: fix argument types and take care overflow warnings
Closes GCC-239
See merge request espressif/esp-idf!17847
2022-04-22 11:59:26 +08:00
Sudeep Mohanty
2b507c33aa
Merge branch 'feature/freertos-smp-task-deletion-coproc-cleanup' into 'master'
...
freertos-smp: Task Deletion Coproc context save area cleanup
Closes IDF-3332
See merge request espressif/esp-idf!17628
2022-04-22 11:51:31 +08:00
Jiang Jiang Jian
5203b876db
Merge branch 'bugfix/pmf_disable_api' into 'master'
...
Add API to disable PMF configuration
See merge request espressif/esp-idf!17685
2022-04-22 10:29:41 +08:00
Anton Maklakov
f4c190cadd
Merge branch 'bugfix/abs_arguments' into 'master'
...
fix warnings: abs() use again
Closes GCC-240
See merge request espressif/esp-idf!17846
2022-04-22 09:30:23 +08:00
Zim Kalinowski
6f11c5884a
Merge branch 'feature/refactor-freertos-tests' into 'master'
...
freertos: Reorganized FreeRTOS folder structure
Closes IDF-4753
See merge request espressif/esp-idf!17793
2022-04-22 03:03:59 +08:00
jingli
252a4eceb4
fix rtc mem load err(since the voltage of rtc regulator is too low)
2022-04-21 23:38:16 +08:00
morris
334bf89b0f
lcd: spi lcd support transmit lsb first
...
Closes https://github.com/espressif/esp-idf/issues/8790
2022-04-21 13:59:47 +00:00
morris
de433105a2
lcd: don't turn on disp in init
...
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
morris
4280164be4
rmt: add more clock source caps
2022-04-21 13:59:47 +00:00
Mahavir Jain
d187fac8c4
Merge branch 'esp_tls/remove_deprecated_api' into 'master'
...
[esp_tls] Remove deprecated API
See merge request espressif/esp-idf!17575
2022-04-21 17:02:30 +08:00
Zim Kalinowski
dad8b50876
freertos: move test files to appropriate subfolders
2022-04-21 07:55:34 +00:00
Mahavir Jain
765008a787
Merge branch 'fix/reenable_mbedtls_rsa_unit_test' into 'master'
...
test_rsa.c: remove 'use_blinding' variable.
Closes IDF-4708
See merge request espressif/esp-idf!17603
2022-04-21 15:47:55 +08:00
Sudeep Mohanty
44ee07ef23
freertos-smp: Task Deletion Coproc context save area cleanup
...
This commit adds FPU and other Co-processor context save area cleanup in
the task TCB for the FreeRTOS SMP kernel.
2022-04-21 13:09:03 +05:30
Anton Maklakov
434bd5e52e
mbedtls: suppress -Wstringop-overflow
2022-04-21 13:33:32 +07:00
Anton Maklakov
4a7f36a52a
mbedtls: fix argument types to match mbedtls/shaXXX.h
2022-04-21 12:30:49 +07:00
Anton Maklakov
bbe2bb9994
components: correct abs() use for 64-bit argument
2022-04-21 12:22:15 +07:00
Anton Maklakov
7a066b7b56
components: correct abs() use for unsigned argument
2022-04-21 12:22:01 +07:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Jiang Jiang Jian
56914d3c81
Merge branch 'update/c3_s3_phy_lib_20220419' into 'master'
...
Update esp c3/s3 phy lib aa05aec
See merge request espressif/esp-idf!17814
2022-04-21 11:00:46 +08:00
gaoxiaojie
a64cd9c908
pm_impl: fix neither enter light sleep nor enter waiti state in idle task
2022-04-20 17:28:17 +08:00
Hrudaynath Dhabe
079b5b1857
Merge branch 'bugfix/do_not_allow_unauthenticated_encrypted_key_data' into 'master'
...
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data
Closes IDFGH-6773
See merge request espressif/esp-idf!17105
2022-04-20 16:32:45 +08:00
Laukik Hase
864c59c091
esp_tls: Remove deprecated API
...
- Removed deprecated esp_tls_conn_new() viz. duplicated by
esp_tls_conn_new_sync()
- Removed deprecated esp_tls_conn_delete()
- Marked esp_tls_conn_http_new() as deprecated, added alternative
esp_tls_conn_http_new_sync() (similar to esp_tls_conn_http_new_async())
2022-04-20 12:18:25 +05:30
Armando (Dou Yiwen)
5bb59b00e7
Merge branch 'feature/support_bss_on_psram' into 'master'
...
psram: support .bss on psram on esp32s3
Closes IDF-4814, IDF-4396, IDFGH-7148, and IDFGH-7153
See merge request espressif/esp-idf!17557
2022-04-20 11:16:28 +08:00
Aditya Patwardhan
1b4cc4c9f2
test_rsa.c: remove 'use_blinding' variable.
...
The "mbedtls_rsa_private" has made f_rng function mandatory for the
operation.
Also updated the MAX_PERFORMANCE values with offset added with blinding
Added the SOC_CCOMP_TIMER_SUPPORTED Check
2022-04-20 01:07:01 +00:00
Euripedes Rocha
f2c77bb70f
tcp_transport: Fix documentation for connect functions
...
Documentation was incorrectly point that we return the socket number.
The function returns an integer related to the status of the connection.
Closes https://github.com/espressif/esp-idf/issues/8416
2022-04-19 14:18:05 +00:00
Ivan Grokhotkov
fe904085fb
Merge branch 'feature/modbus_remove_component' into 'master'
...
freemodbus: remove component files from esp-idf
See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
xiewenxiang
dabcfab7ef
Update esp c3/s3 phy lib (aa05aec)
2022-04-19 20:18:05 +08:00
Darian
fc9c6a6cfb
Merge branch 'feature/freertos_smp_port_local_storage' into 'master'
...
freertos: Disable portUSING_MPU_WRAPPERS
Closes IDF-4563
See merge request espressif/esp-idf!17409
2022-04-19 19:52:29 +08:00
Armando
b5de3ec953
esp_common: rename EXT_RAM_ATTR to EXT_RAM_BSS_ATTR to make it clearer
...
EXT_RAM_ATTR is deprecated. To put .bss on PSRAM, use this new macro EXT_RAM_BSS_ATTR
2022-04-19 19:48:00 +08:00
Armando
f8249550f8
psram: support .bss on psram on esp32s3
2022-04-19 19:48:00 +08:00
Ivan Grokhotkov
a4e8a623b3
Merge branch 'bugfix/linux_target_log_macos' into 'master'
...
linux target: add ESP_LOG_BUFFERS support, fix build on macOS
See merge request espressif/esp-idf!17726
2022-04-19 19:45:24 +08:00
Ivan Grokhotkov
93edb8fd52
Merge branch 'bugfix/errno_overlap' into 'master'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
See merge request espressif/esp-idf!17804
2022-04-19 18:39:20 +08:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771
Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
...
Move adding prefix/postfix of DPP key to example
Closes IDFGH-7116
See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Darian Leung
839476b461
freertos: Add SMP FreeRTOS coprocessor unit tests
2022-04-19 13:35:30 +08:00
Darian Leung
8c92d0b2af
freertos: Disable portUSING_MPU_WRAPPERS in FreeRTOS SMP Xtensa port
...
This commit disables portUSING_MPU_WRAPPERS for the FreeRTOS SMP xtensa port.
This was previously enabled due to the need to keep a CPSA (coprocessor save
area pointer) in the TCB. The CPSA pointer is now calculated at run time.
2022-04-19 13:35:30 +08:00
Rahul Tank
8b4e032255
Merge branch 'bugfix/sync_host_nocp_cmd' into 'master'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!17719
2022-04-18 21:54:10 +08:00
Rahul Tank
4af0cd89dd
Merge branch 'bugfix/correct_nimble_kconfig' into 'master'
...
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
See merge request espressif/esp-idf!17779
2022-04-18 21:42:51 +08:00
Kapil Gupta
86013e918a
Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
...
wpa_supplicant: Add CA certification bundle support
See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
Darian
2fda413674
Merge branch 'bugfix/freertos_smp_main_task_affinity' into 'master'
...
freertos: Fix main task affinity in SMP FreeRTOS
See merge request espressif/esp-idf!17787
2022-04-18 19:14:55 +08:00
Ivan Grokhotkov
71bab1078f
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-04-18 12:10:30 +02:00
Omar Chebib
bd50aa4dfc
Merge branch 'refactor/remove_hal_dependency_on_log' into 'master'
...
hal: Remove dependency on log component
Closes IDF-4859
See merge request espressif/esp-idf!17709
2022-04-18 17:48:03 +08:00
Darian Leung
79cecf05b3
freertos: Fix main task affinity in SMP FreeRTOS
2022-04-18 15:50:47 +08:00
Konstantin Kondrashov
04bcc17dcc
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Omar Chebib
f772d78317
hal: Remove dependency on log component
...
hal component (G0) doesn't depend on log component (G1) anymore in G0-only applications.
2022-04-18 10:35:01 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
...
In c4bcf111
, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.
Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.
This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Adam Múdry
22b46580f8
fatfs: add esp_vfs_fat_info() + unit tests
2022-04-15 20:49:53 +02:00
Krzysztof Lewandowski
e72151055b
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-15 05:22:24 -04:00
Martin Vychodil
b9e06d7222
Merge branch 'bugfix/sdmmc_cmd38_arg_validation' into 'master'
...
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
Closes IDFGH-7094
See merge request espressif/esp-idf!17684
2022-04-15 04:33:37 +08:00
Michael (XIAO Xufeng)
7c668770ee
Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
...
ledc: Provide support for esp32c2 and esp32h2
Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648
See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
David Čermák
a7c1112ca4
Merge branch 'feature/ws_client_support_cont_frames' into 'master'
...
transport_ws: Parse and expose frame fin flag
Closes IDFGH-6767 and IDFGH-6737
See merge request espressif/esp-idf!17748
2022-04-14 23:18:12 +08:00
Hrudaynath Dhabe
57905c7ecf
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
...
handling of key RSC.
Closes https://github.com/espressif/esp-idf/issues/8401
2022-04-14 17:13:49 +05:30
Nachiket Kukade
8dea7cbed6
wpa_supplicant/dpp: Avoid deadlock while deleting DPP task
...
Closes https://github.com/espressif/esp-idf/issues/8724
2022-04-14 16:54:47 +05:30
Nachiket Kukade
282d3c6188
wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
...
1. Move adding of prefix/postfix to the private key to example code.
This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Rahul Tank
18df58f1df
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
2022-04-14 16:13:21 +05:30
Roland Dobai
667edfa7a9
Merge branch 'bugfix/s3_otg_compressed_flash_with_stub' into 'master'
...
esptool_py: Support ESP32-S3 USB OTG compressed flashing with stub
Closes ESPTOOL-372
See merge request espressif/esp-idf!17559
2022-04-14 18:26:18 +08:00
Jiang Jiang Jian
2c434ff4a5
Merge branch 'bugfix/fix_phy_i2c_crash' into 'master'
...
esp_phy: Add IRAM_ATTR for phy i2c spinlock
Closes BT-2323
See merge request espressif/esp-idf!17756
2022-04-14 18:25:24 +08:00
Michael (XIAO Xufeng)
d64c6f581d
ledc: cleanup the clock selection code
2022-04-14 08:15:14 +00:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
KonstantinKondrashov
1e0eef52d3
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
...
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
morris
cc71e645be
Merge branch 'feature/ksz8863rll_support' into 'master'
...
ESP IDF infrastructure preparation for ksz8863rll support
See merge request espressif/esp-idf!17203
2022-04-14 10:51:27 +08:00
Ondrej Kosta
90829e64d5
Merge branch 'feature/create_l2tap_example' into 'master'
...
Feature/create l2tap example
Closes IDF-4096
See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
Michael (XIAO Xufeng)
46b5363e39
spi_flash: forbid writing to main flash when using invalid init arguments
...
Also refactored the init code to make the logic of device (CS) acquiring
more centralized.
Resolves: https://github.com/espressif/esp-idf/issues/8556
2022-04-13 18:02:34 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
xiewenxiang
ba3770ba30
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-13 12:16:58 +08:00
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ondrej Kosta
e4217ff868
esp_eth/test_apps: fixed byte order of EthType during raw socket creation
2022-04-12 12:33:57 +00:00
Omar Chebib
047903c612
Merge branch 'typo/heap_test' into 'master'
...
Heap: fix typos in test and component
See merge request espressif/esp-idf!17731
2022-04-12 18:45:04 +08:00
MacDue
1ca3a4fbe3
transport_ws: Parse and expose frame fin flag
...
Note: esp_websocket_client still needs patching to expose this
2022-04-12 11:31:51 +01:00
Roland Dobai
3b161a40d6
esptool_py: Update to support ESP32-S3 USB OTG compressed flashing with stub
2022-04-12 08:53:12 +00:00
Wang Meng Yang
06b7c5c788
Merge branch 'bugfix/fix_spp_initiator_connect_failed' into 'master'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed
Closes BT-2332
See merge request espressif/esp-idf!17698
2022-04-12 14:56:25 +08:00
Kapil Gupta
ea7691ba6c
Merge branch 'bugfix/wmn_scan_fixes' into 'master'
...
wpa_supplicant: Remove scan done event from btm task
See merge request espressif/esp-idf!17705
2022-04-12 14:53:54 +08:00
Jakob Hasse
902611831b
Merge branch 'doc/rng_small_improvements' into 'master'
...
Doc: Clarify RNG usage
See merge request espressif/esp-idf!17695
2022-04-12 14:21:47 +08:00
Mahavir Jain
8fac20d7dc
Merge branch 'feature/upgrade_argtable_3_2_1_files' into 'master'
...
console: upgrade argtable3 to v3.2.1 (multi-file approach)
See merge request espressif/esp-idf!17687
2022-04-12 12:42:29 +08:00
Simon
675e15a6b5
Merge branch 'esptool/temporary_support_mspi_clock' into 'master'
...
spi_flash: esptool temporarily supports C2/H2 clock configurations
See merge request espressif/esp-idf!17721
2022-04-12 10:28:44 +08:00
Ivan Grokhotkov
5f7afd3980
console: argtable3: sync arg_end argument name
...
...between declaration and definition, to silence clang-tidy warnings
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
ebe1acc6b8
console: argtable3: fix -Wwrite-strings warnings
...
Re-apply commit 744c2dcdd9
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
8240144580
console: argtable3: re-introduce arg_print_formatted function
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
21a94dfcb6
console: argtable3: use newlib getopt, disable logs
...
Opted for changing the source code to avoid adding one extra flag to
component public CPPFLAGS.
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
10f72e1086
console: argtable3: update CMakeLists.txt for v3.2.1
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
69d1424c15
console: argtable3: add SPDX copyright headers
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
c0d62c58d3
console: argtable3: upgrade to v3.2.1
...
Source code taken from release archives in
https://github.com/argtable/argtable3/releases/tag/v3.2.1.52f24e5
Applied dos2unix to all files.
Removed trailing whitespace with the pre-commit hook.
Resolves some of the static analysis issues reported in
https://github.com/espressif/esp-idf/issues/6440
(mallocs are replaced by xmalloc wrapper which panics on failed
allocations)
2022-04-11 19:42:52 +02:00
Vamshi Gajjela
0e366db603
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
...
Unit test cases added to verify -ve test, for sdmmc_erase_sectors to
return ESP_ERR_NOT_SUPPORTED
Closes https://github.com/espressif/esp-idf/issues/8704
2022-04-11 15:36:45 +00:00
morris
0164ce894d
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio' into 'master'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
Closes IDFGH-7128
See merge request espressif/esp-idf!17737
2022-04-11 21:15:06 +08:00
Mahavir Jain
235531a770
Merge branch 'bugfix/lwip_dhcps_disabled_build' into 'master'
...
lfix build with CONFIG_LWIP_DHCPS disabled
See merge request espressif/esp-idf!17730
2022-04-11 21:08:17 +08:00
morris
bd3ded195a
Merge branch 'feature/proper_way_register_testapp_component' into 'master'
...
Several driver improvements according to coverify scan report
See merge request espressif/esp-idf!17708
2022-04-11 21:04:14 +08:00
Mahavir Jain
467e9c07d6
lwip: fix build with CONFIG_LWIP_DHCPS disabled
...
Also added example build configuration for this option.
2022-04-11 12:31:17 +00:00
Ivan Grokhotkov
3602d332c4
log: support ESP_LOG_BUFFER* functions for Linux target
2022-04-11 13:29:01 +02:00
Ivan Grokhotkov
7c65370d84
spiffs: add esp_spiffs_gc function to force garbage collection
...
Closes https://github.com/espressif/esp-idf/issues/8626
2022-04-11 11:19:10 +02:00
liqigan
81829c2670
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-11 17:14:02 +08:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
0d52cb04dc
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
...
Closes https://github.com/espressif/esp-idf/issues/8733
2022-04-11 15:34:07 +08:00
songruo
cd83f4f307
rtc_clk: fix esp32 unreachable code in rtc_clk_xtal_freq_estimate
2022-04-11 12:13:00 +08:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
Omar Chebib
e7cb672624
Heap: fix typos in test and component
2022-04-11 11:36:52 +08:00
Jakob Hasse
3ceaba5b32
refactor (docs, rng): Clarify RNG usage
2022-04-11 10:55:28 +08:00
wangmengyang
3c63d0cc0e
components/bt: fix the documentations for Bluetooth HID device APIs
2022-04-11 02:50:50 +00:00
Cao Sen Miao
52e88a0073
spi_flash: esptool temporarily supports C2/H2 clock configurations
2022-04-11 10:46:02 +08: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
Ondrej Kosta
4051b80b4d
esp_netif: remove dependency of L2 TAP Interface from netif_lwip
...
esp_eth: extended infrastructure to optionally provide more advanced access to MAC/PHY layers
2022-04-08 16:40:29 +02: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
Rahul Tank
739cd66866
Nimble: Sync sending Host Number of Completed Packets command
2022-04-08 15:53:22 +05:30
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
morris
0a36cad9e0
driver: register test app component by WHOLE_ARCHIVE
2022-04-08 15:15:05 +08:00
morris
a7d380c80a
driver: a better way to avoid new/old driver coexistence
2022-04-08 15:15:05 +08:00
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
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
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
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
liqigan
2ce516e455
fix SPP initiator can not free resource when connection is failed
2022-04-06 18:17:07 +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
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
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
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
Omar Chebib
9380fd6bee
G0: remove components/esp32*
dependency on efuse component
2022-03-30 11:40:37 +08:00
Anton Maklakov
ed1c1f1903
spi_flash, linux target: explicit use strlcpy/strlcat from BSD string.h
2022-03-30 10:37:32 +07:00
morris
6f538b1c95
Merge branch 'refactor/move_periph_ctrl_hw_support' into 'master'
...
hw_support: move periph_ctrl from driver to hw_support
Closes IDF-4796
See merge request espressif/esp-idf!17583
2022-03-30 04:54:07 +08:00
KonstantinKondrashov
754a563750
esp32c3: Adds ECO4 revision
2022-03-30 00:09:46 +08:00
Mahavir Jain
579154f387
Merge branch 'https_server/min_cert_auth_mode' into 'master'
...
https_server: Add config option to set minimum certificate auth mode
Closes IDFGH-7047
See merge request espressif/esp-idf!17630
2022-03-29 18:09:11 +08:00
Rahul Tank
2dd2c78fc6
Merge branch 'bugfix/check_null_callout' into 'master'
...
Wifi_prov_mgr : Fixed crash issue during provisioning using NimBLE
See merge request espressif/esp-idf!17599
2022-03-29 17:43:38 +08:00
Laukik Hase
d7090b4d52
https_server: Add config option to min. cert. auth mode
...
- Added a config option to set the minimum Certificate Verification
mode to Optional
- When this option is enabled, the peer (the client) certificate
is checked by the server, however the handshake continues even if
verification failed.
- By default, the peer certificate is not checked and ignored by the server.
Closes https://github.com/espressif/esp-idf/issues/8664
2022-03-29 08:57:36 +00:00
laokaiyao
f29d329e55
esp32h2beta2: fixed reg base name
2022-03-29 15:17:23 +08:00
Aditya Patwardhan
f178d69b89
Merge branch 'feature/enable_secure_element_for_https_server' into 'master'
...
esp_https_server: Enable secure element support.
Closes IDFGH-6650
See merge request espressif/esp-idf!17613
2022-03-29 14:51:10 +08:00
wuzhenghui
4652f77a7c
esp32h2beta2:update rom layout table
2022-03-29 14:13:06 +08:00
wuzhenghui
218e2c873d
esp32h2beta2:rename __rom_printf_float/__rom_scanf_float
2022-03-29 14:13:06 +08:00
wuzhenghui
ce9cb3a7a4
esp32h2beta2:update rom ld (ESP-ROM:esp32h2beta2-20211201)
2022-03-29 14:12:58 +08:00
Armando
fe9c6cde4f
spi: support spi on h2
2022-03-29 11:54:08 +08:00
morris
bf677182a6
sigmadelta: change gpio number from u8 to int
...
Fix the issue that macro compares unsigned to 0
2022-03-29 11:53:31 +08:00
morris
29e9b5b46a
hw_support: move periph_ctrl from driver to hw_support
2022-03-29 11:53:31 +08:00
baohongde
418b546a7c
components/bt: support for vendor specific battery level and docker status indication over HFP profile
2022-03-29 11:38:09 +08:00
Michael (XIAO Xufeng)
e2ecdfc0a7
spi_flash: update def header of MXIC
2022-03-28 16:40:02 +00:00
Isha Pardikar
c4eb0c3584
Merge branch 'bugfix/wifi_prov_mgr_conn_issue' into 'master'
...
Wifi_prov_mgr: Fix for device disconnection after pairing
Closes IDF-4655 and IDFGH-6661
See merge request espressif/esp-idf!17236
2022-03-28 13:38:20 +08:00
Jakob Hasse
2c3ff999ac
Merge branch 'feature/cxx_tests_pytest_embedded' into 'master'
...
C++: change cxx unit tests to component unit tests
Closes IDF-4807
See merge request espressif/esp-idf!17554
2022-03-28 11:45:20 +08:00
Aditya Patwardhan
4c58685c00
esp_https_server: Enable secure element support.
...
Closes https://github.com/espressif/esp-idf/issues/8286
2022-03-27 14:35:25 +05:30
Marius Vikhammer
a6543f0d21
docs: fix broken references to misc API functions and types.
2022-03-27 16:46:57 +08:00
morris
8f35f16c77
Merge branch 'bugfix/temp_disable_s3_ulp' into 'master'
...
ulp: temporarily disable ULP support for S3
Closes IDF-4818
See merge request espressif/esp-idf!17553
2022-03-27 12:08:31 +08:00
Michael (XIAO Xufeng)
fdcf5ca540
Merge branch 'test/disable_touch_sleep_testcase' into 'master'
...
touch: add protection for touch sleep case
See merge request espressif/esp-idf!17578
2022-03-27 02:44:14 +08:00
Michael (XIAO Xufeng)
80904a5815
Merge branch 'bugfix/spi_free_crash_uninitialized' into 'master'
...
spi: fixed crash when calling spi_bus_free when not initialized
Closes IDFGH-7024
See merge request espressif/esp-idf!17573
2022-03-27 02:31:06 +08:00
baohongde
8a2abff26d
components/bt: Fix the strlcpy length error in BTA_HfClientSendAT
2022-03-25 21:40:49 +08:00
Wei Tian Hua
5c3d7b5524
Merge branch 'bugfix/bt_add_some_debug_log' into 'master'
...
component_bt: Add some bluetooth debug log
Closes BT-2307
See merge request espressif/esp-idf!17492
2022-03-25 21:25:44 +08:00
KonstantinKondrashov
915168c36d
esp_ipc: Fix a case when ipc_task() can wake up blocking task early
...
Closes https://github.com/espressif/esp-idf/issues/8559
2022-03-25 21:15:40 +08:00
Ivan Grokhotkov
c70a69b1dd
Merge branch 'bugfix/remove_ref_non_ex_options' into 'master'
...
config: removed references to non-existing kconfig options
See merge request espressif/esp-idf!17495
2022-03-25 18:02:54 +08:00
Rahul Tank
c46e3ffd0c
Wifi_prov : Fixed crash issue during provisioning using NimBLE
2022-03-25 15:21:16 +05:30
Marius Vikhammer
5618ba80f9
Merge branch 'feature/refactor_esp_sys_deps' into 'master'
...
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
Closes IDF-4656
See merge request espressif/esp-idf!17092
2022-03-25 17:17:43 +08:00
Marius Vikhammer
2efd009dfb
ulp: temporarily disable ULP support for S3
...
Due to a hardware issue ULP support on S3 is temporarily disabled until a fixed is released.
Running ULP + sleep together can potentially cause permanent damage to the chip.
2022-03-25 14:19:12 +08:00
Espressif BOT
f51da7dded
Update esp_crt_bundle certificates
2022-03-25 10:48:34 +05:30
Mahavir Jain
9fea2a19c1
Merge branch 'bugfix/heap_allocator_fix_add_region' into 'master'
...
heap: Fix regression in `heap_caps_add_region` API related to address range checks
See merge request espressif/esp-idf!17570
2022-03-25 12:47:26 +08:00
Jakob Hasse
9e25e0ed4b
refactor (cxx): changed cxx unit tests to component unit tests
2022-03-25 12:14:02 +08:00
Mahavir Jain
98b8ca6475
heap: add test case for region overlap check condition
2022-03-25 09:36:48 +05:30
Mahavir Jain
f13e25d156
heap: Fix regression in heap_caps_add_region
API related to address range checks
...
Regression was introduced in 32408b718f
, which disallowed
addition of heap region with following condition:
`new_start < start && new_end == start`
This caused issues in Bluetooth APIs `esp_bt_mem_release` or `esp_bt_controller_mem_release`.
This commit fixes the problem and also adds API documentation for supported memory address
ranges in heap add region APIs.
2022-03-25 09:36:48 +05:30
Michael (XIAO Xufeng)
bee9b6b9eb
spi: fixed crash when calling spi_bus_free when not initialized
...
introduced in 49a48644e4
Closes: https://github.com/espressif/esp-idf/issues/8642
2022-03-25 01:52:10 +08:00
morris
de662b987e
driver: fix issue found by coverity scan
2022-03-24 21:36:03 +08:00
songruo
38090a0248
gpio: fix GPIO_IS_VALID_(OUTPUT_)GPIO macro
...
... which has the potential of doing bit shift by a negative amount
2022-03-24 21:36:03 +08:00
morris
31f9915603
driver: move deprecated drivers into single folder
2022-03-24 21:34:41 +08:00
morris
fe13b2ed50
lcd: add rgb isr iram safe callback test
2022-03-24 21:23:01 +08:00
Roland Dobai
2860786967
Merge branch 'feature/split_coredump_from_esp_idf' into 'master'
...
Coredump: split corefile and coredump script from idf into a separate package
Closes RDT-75
See merge request espressif/esp-idf!17181
2022-03-24 20:12:45 +08:00
Marius Vikhammer
69271d800a
Merge branch 'bugfix/touch_sleep_early_log' into 'master'
...
sleep: fixed the issue error log not printed
See merge request espressif/esp-idf!17567
2022-03-24 18:32:07 +08:00
Michael (XIAO Xufeng)
974ac3b4b8
touch: add protection for touch sleep case
2022-03-24 18:27:05 +08:00
Isha Pardikar
e751cbe6c0
Merge branch 'bugfix/wifi_prov_mgr_conn_issue' into 'master'
...
NimBLE: Fixed device disconnection issue of wifi prov mgr
Closes IDF-4655
See merge request espressif/esp-idf!17236
2022-03-24 15:35:49 +05:30
Dmitry Yakovlev
8075f44178
Merge branch 'feature/systemview_4_uart' into 'master'
...
Add support for UART to the app trace module.
See merge request espressif/esp-idf!15266
2022-03-24 16:42:02 +08:00
Shubham Kulkarni
b4456bff97
esp_http_client: Add comment for clearing location field in esp_http_client_prepare
2022-03-24 06:23:17 +00:00
Nicklas Frahm
660ca96e23
esp_http_client: fix redirect by resetting location before parsing
...
Closes #8563 .
Signed-off-by: Nicklas Frahm <nicklas.frahm@gmail.com>
2022-03-24 06:23:17 +00:00
Aleksei Apaseev
528cdc1546
core_dump: split corefile and coredump script from idf into a separate package
2022-03-24 13:57:48 +08:00
xiongweichao
2be8875fd7
Fix ESP32C3/S3 build error after enable light sleep
2022-03-24 11:43:04 +08:00
Michael (XIAO Xufeng)
75e80b19f6
sleep: fixed the issue error log not printed
2022-03-24 11:39:46 +08:00
morris
08a4cff6d5
Merge branch 'bugfix/disable_touch_sleep_s3' into 'master'
...
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
Closes IDF-4810
See merge request espressif/esp-idf!17562
2022-03-24 10:22:31 +08:00
Michael (XIAO Xufeng)
a84faa3cef
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
...
This is not supported yet.
2022-03-24 03:00:47 +08:00
Dmitry
1ee7953ebe
app_trace: add support for UART to the app trace module.
...
Add support for UART to the SystemView.
2022-03-23 17:51:14 +03:00
David Čermák
08dab0fafb
Merge branch 'bugfix/eth_opencore' into 'master'
...
esp_eth: Fix open-cores explicit inclusion
See merge request espressif/esp-idf!17551
2022-03-23 22:37:17 +08:00
Ivan Grokhotkov
d17220fc66
Merge branch 'partition/not_aligned_is_error' into 'master'
...
gen_esp32part.py: misaligned partitions now raise an exception
Closes IDF-3742
See merge request espressif/esp-idf!17368
2022-03-23 18:34:55 +08:00
Mahavir Jain
4f04d55f0b
Merge branch 'feature/check_fw_version_at_start_of_ota' into 'master'
...
Check FW version at start of ota with pre-encrypted binary
Closes IDF-4682
See merge request espressif/esp-idf!17479
2022-03-23 16:54:21 +08:00
morris
b40f05ddda
Merge branch 'bugfix/freertos_smp_type_warning' into 'master'
...
freertos: Fix SMP build warning in xTaskCreateStaticPinnedToCore
See merge request espressif/esp-idf!17548
2022-03-23 16:19:03 +08:00
Kevin (Lao Kaiyao)
5381096100
Merge branch 'feature/update_esp32h2_beta2_reg_headers' into 'master'
...
esp32-h2 beta2: update to the latest regs
Closes IDF-4789
See merge request espressif/esp-idf!17520
2022-03-23 16:18:43 +08:00
David Cermak
c63c8d4df1
esp_eth: Fix open-cores explicit inclusion
2022-03-23 09:05:30 +01:00
Kevin (Lao Kaiyao)
ba9d3fe819
Merge branch 'refactor/i2s_major_refactoring_for_ng' into 'master'
...
🔨 i2s: Major refactoring for driver-NG
Closes IDF-4781 and IDF-4779
See merge request espressif/esp-idf!17484
2022-03-23 15:32:46 +08:00
Harshit Malpani
cca208f71a
Check FW version at start of ota for encrypted binary
2022-03-23 11:09:48 +05:30
Anton Maklakov
118d39c8fe
Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
...
Remove IRAM_ATTR from any function declarations
Closes GCC-223
See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +08:00
morris
95b3dad771
Merge branch 'bugfix/fix_heap_caps_add_region_with_caps_wrong_check' into 'master'
...
heap: fix wrong memory region check in `heap_caps_add_region_with_caps()`
See merge request espressif/esp-idf!17535
2022-03-23 10:26:52 +08:00
Darian Leung
63d15957d2
freertos: Fix SMP build warning in xTaskCreateStaticPinnedToCore
2022-03-22 23:51:43 +08:00
Ivan Grokhotkov
8506b2f6c9
Merge branch 'bugfix/driver_hal_essl_static_analysis_fixes' into 'master'
...
driver, essl, hal: fix issues reported by PVS-Studio
Closes IDF-2749, IDF-2753, and IDF-2785
See merge request espressif/esp-idf!17490
2022-03-22 21:47:15 +08:00
Vamshi Gajjela
edb66b674f
Merge branch 'bugfix/vfs_fat_(p)write_on_diskfull' into 'master'
...
vfs: bugfix vfs_fat_write/pwrite upon disk-full
Closes IDFGH-2995
See merge request espressif/esp-idf!17515
2022-03-22 21:07:42 +08:00
Ondrej Kosta
318fa0d2e8
Merge branch 'bugfix/iperf_performance' into 'master'
...
Bugfix/iperf performance
Closes IDFCI-907
See merge request espressif/esp-idf!17295
2022-03-22 19:08:39 +08:00
Armando
32408b718f
heap: fix wrong memory region check
...
A memory region starts from REGION_START and ends at
(REGION_START+SIZE-1).
Prior to this change, the check assumes a to-be-added region starting from REGION_START is invalid. Let's take an easy example:
A memory region: 0x1000~0x10ff
new added region: 0x1000~0x1020
This will be valid.
Valid conditions and invalid conditions are illustrated in the code comment
2022-03-22 18:51:40 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Mahavir Jain
9bd036e94b
Merge branch 'feature/crypto_peripherals_caps' into 'master'
...
soc: add capability macros for crypto peripherals
Closes IDF-4790 and IDF-4229
See merge request espressif/esp-idf!17516
2022-03-22 16:42:07 +08:00
Ondrej Kosta
c69b4c817b
Fixed Ethernet lwIP netif error indication
2022-03-22 07:17:40 +00:00
Tomas Rezucha
7db3d28187
Merge branch 'feature/usb_host/ci-tests' into 'master'
...
Run USB Host tests in pipeline
Closes IDF-4425
See merge request espressif/esp-idf!16376
2022-03-22 14:12:12 +08:00
Marius Vikhammer
9274a062fb
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
2022-03-22 11:19:32 +08:00
xiongweichao
7dd9ac9997
Add some bluetooth debug log
2022-03-22 10:35:50 +08:00
laokaiyao
f17edba20b
i2s: extract std/pdm/tdm modes
...
Type structures of these modes are defined. Driver and HAL layer are modified to fit these concepts.
2022-03-22 10:14:45 +08:00
laokaiyao
667c7f94e6
esp32-h2 beta2: update to the latest regs
2022-03-22 02:13:55 +00:00
Mahavir Jain
3af2d15216
mbedtls: Fix build failures for ESP32-C2 with hardware SHA
...
Clean support for SHA peripheral will appear with IDF-3830
2022-03-22 02:06:30 +00:00
Mahavir Jain
f7fc3e2d88
esp_hw_support: cleanup crypto lock APIs for ESP32-C2
2022-03-22 02:06:30 +00:00
Mahavir Jain
0621a6f513
mbedtls: use soc capability macros in build CMakeLists
2022-03-22 02:06:30 +00:00
Mahavir Jain
75eb97fc94
esp32c2: remove AES related configs, hardware AES not supported on this chip
2022-03-22 02:06:30 +00:00
Mahavir Jain
102f8e961f
esp-tls: use SOC capability macros instead of target names
2022-03-22 02:06:30 +00:00
Mahavir Jain
36377b9cc3
mbedtls: use SOC capability macros instead of target names
2022-03-22 02:06:30 +00:00
Mahavir Jain
bcc4883c25
soc: add capability macros for crypto peripherals
...
Closes IDF-4790
2022-03-22 02:06:30 +00:00
Tomas Rezucha
e3ba980d11
usb_host: Use USB_Host library calls for desc printing
2022-03-21 18:34:25 +01:00
Tomas Rezucha
0377fc8d92
tinyusb: Allow dynamic configuration descriptor
...
and remove ringbuf.h include from public headers
and unused HID descriptor code
2022-03-21 18:34:25 +01:00
Vamshi Gajjela
66561f838d
vfs: bugfix vfs_fat_write/pwrite upon disk-full
...
Closes https://github.com/espressif/esp-idf/issues/5027
2022-03-21 17:28:46 +00:00
Mahavir Jain
5f646b1d43
mbedtls: move locally managed root certificates to separate file
...
Purpose:
This will allow for easily automating periodic updates to
"cacrt_all.pem" file.
Note:
For now newly created "cacrt_local.pem" contains single "DST Root CA X3"
which we are keeping to manage compatibility with endpoints like
"howsmyssl.com". Please note this Root CA is expired and is not part of
Mozilla’s NSS root certificate store.
2022-03-21 22:39:24 +05:30
Ivan Grokhotkov
b95d2e30d0
Merge branch 'feature/vfs_spiffs_(f)truncate_support' into 'master'
...
spiffs: Add vfs (f)truncate api support
Closes IDFGH-316 and IDFGH-2880
See merge request espressif/esp-idf!17524
2022-03-21 17:52:45 +08:00
Laukik Hase
52170fba7f
esp_crt_bundle: Fix build error
...
- When `esp_crt_bundle.h` is included before any config,
a build error (`esp_err_t` not defined) is observed
Closes https://github.com/espressif/esp-idf/issues/8606
2022-03-21 09:05:06 +00:00
Darian
790aed683b
Merge branch 'feature/freertos_smp_task_creation_with_affinity' into 'master'
...
FreeRTOS: Add task creation functions with affinity
Closes IDF-4745
See merge request espressif/esp-idf!17429
2022-03-21 15:59:51 +08:00
Marius Vikhammer
671b6ae82f
Merge branch 'ci/disable_s3_sleep_tests' into 'master'
...
CI: disable S3 sleep related example tests
See merge request espressif/esp-idf!17530
2022-03-21 14:57:01 +08:00
Shubham Kulkarni
d5a8a57686
esp_https_ota: Add check for 303 and 308 status code
...
Closes https://github.com/espressif/esp-idf/issues/8581
2022-03-21 04:27:43 +00:00
Shubham Kulkarni
ec6f222625
esp_http_client: Add new status code 303 and 308
2022-03-21 04:27:43 +00:00
Marius Vikhammer
0cd07d907e
CI: disable S3 sleep related example tests
2022-03-21 11:56:01 +08:00
Darian Leung
199df492b7
freertos: Update task creation pinned to core functions
...
This commit updates the "xTaskCreate...PinnedToCore()" functions to
call the "xTaskCreate...AffinitySet()" equivalent functions.
2022-03-21 11:37:21 +08:00
Darian Leung
6a38499172
freertos: Add task creation with affinity functions to FreeRTOS SMP
...
This commit syncs adds task creation with affinity functions to
FreeRTOS SMP by syncing with upstrea commit
a97741a08d
2022-03-21 11:09:24 +08:00
Armando (Dou Yiwen)
36457b1346
Merge branch 'refactor/adc_unify_adc_unit' into 'master'
...
adc: adc single driver NG pre-step - unify adc_ll_num_t and adc_unit_t
See merge request espressif/esp-idf!17408
2022-03-18 20:29:36 +08:00
Vamshi Gajjela
0e5c9702c6
spiffs: Add vfs (f)truncate api support
...
Unit test cases added to verify truncate.
Closes https://github.com/espressif/esp-idf/issues/2234
2022-03-18 15:49:57 +05:30
Mahavir Jain
93987e6b79
Merge branch 'fix/remove_test_cert_files_from_mbedtls_port_directory' into 'master'
...
mbedtls: Remove certs.c and certs.h from port directory
Closes IDF-4709
See merge request espressif/esp-idf!17485
2022-03-18 16:47:53 +08:00
Armando
386363cafd
adc: unify adc_ll_num_t and adc_unit_t
2022-03-18 11:36:50 +08:00
Jiang Jiang Jian
36f41372a2
Merge branch 'bugfix/scan_mixed_keymgmt_issue' into 'master'
...
Correctly identify AP's with mixed key management during scan
Closes IDFGH-6799
See merge request espressif/esp-idf!17482
2022-03-18 10:42:40 +08:00
Ivan Grokhotkov
2f9d47c708
Merge branch 'feature/gdbstub_rt_multicore' into 'master'
...
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)
See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Anton Maklakov
6200d2328d
Merge branch 'bugfix/printf-placeholder-for-time_t' into 'master'
...
components: correct printf() placeholder for time_t
See merge request espressif/esp-idf!17439
2022-03-17 16:08:08 +08:00
Nachiket Kukade
01c49082c4
esp_wifi: Update wifi lib
...
1. In scan, correctly identify AP's with mixed key mgmt
2. Fix PMF Required setting not working in SoftAP config
Closes https://github.com/espressif/esp-idf/issues/8426
2022-03-17 13:04:58 +05:30
Kapil Gupta
2bdaa49cb0
Merge branch 'bugfix/pvs_warning_fixes' into 'master'
...
wpa_supplicant: fix issues reported in static analysis
Closes IDF-2733
See merge request espressif/esp-idf!17499
2022-03-17 12:47:05 +08:00
Ivan Grokhotkov
d1abdbae88
Merge branch 'bugfix/stdatomic_builtin-declaration-mismatch' into 'master'
...
newlib: stdatomic: fix builtin-declaration-mismatch
See merge request espressif/esp-idf!16954
2022-03-17 03:36:18 +08:00
Michael (XIAO Xufeng)
5a2f672d5a
Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup' into 'master'
...
example/deep_sleep: add example of EXT0 and using internal pullups
Closes IDF-4657 and IDFGH-6711
See merge request espressif/esp-idf!17099
2022-03-16 16:27:07 +08:00
Jiang Jiang Jian
5b8108c01b
Merge branch 'feature/support_80211_tx_ht40' into 'master'
...
esp_wifi: add ht40 support for 80211_tx
Closes WIFI-4187
See merge request espressif/esp-idf!16662
2022-03-16 15:49:28 +08:00
Kapil Gupta
6da52cf0d8
wpa_supplicant: static analysis fixes
2022-03-16 10:50:49 +05:30
Marius Vikhammer
453516fbbe
Merge branch 'bugfix/replace_deprecated_options' into 'master'
...
kconfig: replace deprecated options with new values
See merge request espressif/esp-idf!17494
2022-03-16 09:32:55 +08:00
Michael (XIAO Xufeng)
5cc751ca9c
soc/esp32s3: merge gpio caps into soc_caps.h
2022-03-15 22:34:29 +08:00
morris
cd10ac50cb
Merge branch 'bugfix/temp_sensor_coexist_issue' into 'master'
...
temp_sensor: avoid coexistence of new and legacy driver
See merge request espressif/esp-idf!17395
2022-03-15 21:43:05 +08:00
Mahavir Jain
37e006af53
Merge branch 'feature/mbedtls_time_alt' into 'master'
...
mbedtls: Add config for `MBEDTLS_PLATFORM_TIME_ALT`
Closes IDF-4752
See merge request espressif/esp-idf!17448
2022-03-15 21:30:44 +08:00
Matus Fabo
6bc7b4b5e2
change: misaligned partitions now raise an exception
...
change: alignment for data partitions is now 4kB instead of 4B
remove: STRICT_DATA_ALIGNMENT variable
remove: warning tests for misaligned partitions
add: assertion test for misaligned partitions
add: breaking change documentation
2022-03-15 12:54:59 +01:00
Aditya Patwardhan
f31d8dd295
mbedtls: Remove certs.c and certs.h from port directory
2022-03-15 17:16:07 +05:30
Marius Vikhammer
0fbae992dd
config: removed references to non-existing kconfig options
2022-03-15 18:32:22 +08:00
Kapil Gupta
e3c084a2dc
Merge branch 'bugfix/dpp_crypto_mbedtls_3x' into 'master'
...
wpa_supplicant: Add changes to fix broken dpp crypto
Closes WIFI-4368
See merge request espressif/esp-idf!17487
2022-03-15 16:53:14 +08:00
Anton Maklakov
6f85a33335
Merge branch 'bugfix/ubsan_builtin_prototypes' into 'master'
...
esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch
See merge request espressif/esp-idf!17445
2022-03-15 16:31:45 +08:00
Marius Vikhammer
ca3c056ac9
kconfig: replace deprecated options with new values
2022-03-15 16:28:53 +08:00
Jiang Jiang Jian
10f3aba770
Merge branch 'feature/final_h2' into 'master'
...
Add support in Nimble for ESP32H2
See merge request espressif/esp-idf!16329
2022-03-15 16:03:24 +08:00
morris
923b0c9570
Merge branch 'bugfix/spi_slave_intr_iram' into 'master'
...
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
Closes IDFGH-1617
See merge request espressif/esp-idf!17491
2022-03-15 15:49:55 +08:00
Cao Sen Miao
880ce3c25a
spi_flash: remove xmc hpm support, because there is some compatible issue with ROM,
...
Closes https://github.com/espressif/esp-idf/issues/8560
2022-03-15 11:17:58 +08:00
Anton Maklakov
7efbca6701
Merge branch 'bugfix/oom_null_deref' into 'master'
...
spi_flash, newlib: fix NULL pointer dereference on OOM
Closes IDF-2788 and IDF-2789
See merge request espressif/esp-idf!17489
2022-03-15 09:24:43 +08:00
Anton Maklakov
b044bc4509
Merge branch 'bugfix/gdbstub_bounds_check' into 'master'
...
gdbstub: fix array overrun
Closes IDF-2786
See merge request espressif/esp-idf!17471
2022-03-15 09:23:06 +08:00
Ivan Grokhotkov
cda3c2b92b
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
...
Closes https://github.com/espressif/esp-idf/issues/3870
2022-03-14 23:30:51 +01:00
Ivan Grokhotkov
12717cbc00
hal: fix issues reported by PVS-Studio
...
https://www.viva64.com/en/b/0790/#ID369075A8F4
https://www.viva64.com/en/b/0790/#IDF03E449184
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
6a4a6d584b
essl: fix logical bug in argument check
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#IDBDD4F1FD2D
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
0fe3281713
driver: fix issues reported by PVS-Studio
...
https://www.viva64.com/en/b/0790/#ID88049D3FA2
https://www.viva64.com/en/b/0790/#IDE0890EE01C
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:47 +01:00
Ivan Grokhotkov
4aa2719e13
spi_flash, newlib: fix NULL pointer dereference on OOM
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#ID88049D3FA2
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:16:42 +01:00
morris
98e19b3355
Merge branch 'contrib/github_pr_8496' into 'master'
...
SPI LCD support large color transfers (GitHub PR)
Closes IDFGH-6874
See merge request espressif/esp-idf!17391
2022-03-14 22:22:00 +08:00
ChenJianxing
764b606d9d
esp_wifi: add ht40 support for 80211_tx & espnow
2022-03-14 21:23:48 +08:00
Kapil Gupta
a1b842b1c6
wpa_supplicant: Add changes to fix broken dpp crypto
2022-03-14 18:26:35 +05:30
David Čermák
db8fb1f47b
Merge branch 'bugfix/lwip_dhcps_cleanup' into 'master'
...
lw-IP: Support for multiple DHCP servers
Closes IDF-4599 and IDF-4458
See merge request espressif/esp-idf!16895
2022-03-14 19:30:31 +08:00
morris
ca1e2af1d6
Merge branch 'feature/i2s1_lcd_mode_esp32' into 'master'
...
LCD driver various improvements
Closes IDF-3781, IDFGH-6753, IDFGH-6632, and IDFGH-6569
See merge request espressif/esp-idf!17323
2022-03-14 18:30:24 +08:00
Mahavir Jain
c5d982b235
Merge branch 'bugfix/esp_https_ota_breaking_changes' into 'master'
...
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images
See merge request espressif/esp-idf!17312
2022-03-14 18:15:52 +08:00
Anton Maklakov
0d86151b82
esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch
2022-03-14 09:31:00 +00:00
Anton Maklakov
e27f1331e4
components: correct printf() placeholder for time_t
...
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Rahul Tank
f376bb5d05
Add support in Nimble for ESP32H2
2022-03-14 11:57:53 +05:30
morris
3517ae6387
lcd: check return value of xQueueReceive
...
Fix warnnings reported by Coverity Scan Test
2022-03-14 14:00:40 +08:00
morris
a019db6880
lcd: delay 1us between DMA start and LCD start
...
Closes https://github.com/espressif/esp-idf/issues/8212
2022-03-14 14:00:40 +08:00
morris
7112009473
lcd: support rgb lcd interupt iram safe
2022-03-14 14:00:40 +08:00
morris
f06a13ad82
lcd: workaround auto next frame hardware bug
...
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
morris
9422fe077a
lcd: support I2S1 LCD mode on esp32
2022-03-14 13:55:01 +08:00
morris
f35edeb5a3
lcd: add debug log on/off Kconfig
2022-03-14 13:49:18 +08:00
Anton Maklakov
18f62f067d
Merge branch 'contrib/github_pr_8520' into 'master'
...
esp_http_server: reword error messages (GitHub PR)
Closes IDFGH-6900
See merge request espressif/esp-idf!17398
2022-03-14 13:31:19 +08:00
Mahavir Jain
177cb601c6
Merge branch 'bugfix/linenoise_unint_buffer_and_color' into 'master'
...
console: linenoise: fix usage of an uninitialized buffer, fix no-color output
Closes IDF-2752
See merge request espressif/esp-idf!17470
2022-03-14 12:20:40 +08:00
Laukik Hase
1c65ab5307
mbedtls: Add config for MBEDTLS_PLATFORM_TIME_ALT
2022-03-14 09:42:33 +05:30
morris
5963de1caf
Merge branch 'ci/fix_duplicated_test_names' into 'master'
...
CI: rename some tests to avoid duplicated test names
See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
David Cermak
27375c7917
esp_netif: Cleanup dhcp-server allocations
2022-03-13 19:40:00 +01:00
David Cermak
1b49cf373f
lwip/dhcps: Fix fuzzer compilation
2022-03-13 19:40:00 +01:00
David Cermak
3d1c05aefb
lwip/dhcps: Add dhcps callback argument for associated netif
2022-03-13 19:40:00 +01:00
David Cermak
775c3a6253
lwip/dhcps: Add simple start/stop unit cases
2022-03-13 19:40:00 +01:00
David Cermak
5f135741a1
lwip/dhcpserver: Add return value to API that could fail
2022-03-13 19:40:00 +01:00
David Cermak
76e9d3cad0
lwip/dhcpserver: Add doxy documentation
2022-03-13 19:40:00 +01:00
David Cermak
afe6bc0c88
lwip/dhcp_server: Fix mem-leaks caught by UT's
2022-03-13 19:40:00 +01:00
David Cermak
adc00d1813
lwip: Fix fuzzer layers after dhcps update
2022-03-13 19:40:00 +01:00
David Cermak
c005b04d1c
lwip/dhcps: Support for dynamic dhcp server instances
2022-03-13 19:39:21 +01:00
David Cermak
bab051f450
lwip/dhcps: Cleanup internal lwip and esp-netif dependency
2022-03-13 19:38:15 +01:00
Michael (XIAO Xufeng)
aab535fe4a
Merge branch 'bugfix/regi2c_ctrl_spinlock_s2' into 'master'
...
hw_support: fixed regi2c not protected by lock on ESP32S2
See merge request espressif/esp-idf!16653
2022-03-13 02:47:53 +08:00
Michael (XIAO Xufeng)
d5bdf95580
hw_support: fixed regi2c not protected by lock on ESP32S2
2022-03-13 00:24:08 +08:00
Anton Maklakov
13fbb4d8bc
Merge branch 'feature/update_esptool' into 'master'
...
esptool: Update esptool submodule
See merge request espressif/esp-idf!17446
2022-03-12 23:14:35 +08:00
David Čermák
99d125a06b
Merge branch 'feature/esp_netif_manual_set_default' into 'master'
...
esp_netif: Support for manual set-default-netif
Closes IDFGH-6701
See merge request espressif/esp-idf!17228
2022-03-12 17:21:29 +08:00
Aditya Patwardhan
bfc2fd9d5d
Merge branch 'bugfix/mbedtls_tls1_3' into 'master'
...
mbedtls: Disable `MBEDTLS_DYNAMIC_BUFFER` when TLS 1.3 is enabled
See merge request espressif/esp-idf!17415
2022-03-12 16:24:14 +08:00
Roland Dobai
d761a60211
Merge branch 'feature/enable-long-names-support-fatfsgen' into 'master'
...
fatfsgen.py: enabled long names support
Closes IDFGH-6520, IDF-4044, and IDF-4675
See merge request espressif/esp-idf!17090
2022-03-12 13:23:59 +08:00
Armando (Dou Yiwen)
6ed3ffbbf1
Merge branch 'refactor/remove_redundant_rom_cache_dependency' into 'master'
...
cache: remove redundant rom cache dependency in bootloader
Closes IDF-4523
See merge request espressif/esp-idf!17077
2022-03-12 10:11:39 +08:00
Ivan Grokhotkov
fdef8aecb7
gdbstub: fix array overrun
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#ID487F9D1F5B
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-11 21:05:32 +01:00
Ivan Grokhotkov
eab33e7174
console: linenoise: fix usage of an uninitialized buffer
...
Reported in https://github.com/espressif/esp-idf/issues/6440
The issue could occur if esp_console_config_t::hint_color
was set to -1.
2022-03-11 20:54:09 +01:00
Ivan Grokhotkov
49e8b97de3
console: disable colored hints if CONFIG_LOG_COLORS is not set
2022-03-11 20:54:06 +01:00
Armando
c1cbd7bbf6
cache/mmu: implememnt cache and mmu hal APIs in bootloader
2022-03-11 22:43:11 +08:00
David Cermak
fabad2a13a
esp_netif: Extend unit test to validate route_prio
...
Also updates the auto routing loop after a netif is destroyed
2022-03-11 14:02:17 +01:00
David Cermak
f8907b7884
esp_netif: Support for manual set-default-netif
...
Closes https://github.com/espressif/esp-idf/issues/8330
2022-03-11 14:02:17 +01:00
Chen Yudong
6c56f54ed8
temperature_sensor: fix typo
2022-03-11 20:56:48 +08:00
Harshit Malpani
de2f915092
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images
2022-03-11 16:52:08 +05:30
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Erhan Kurubas
c5f5c84f67
freertos_additions: add debug params table for openocd
2022-03-11 11:33:08 +01:00
Martin Gaňo
fea2b5b64e
fatfsgen.py: enabled long names support
...
Closes https://github.com/espressif/esp-idf/issues/8171
2022-03-11 11:20:31 +01:00
Anton Maklakov
b02ac9cab9
Merge branch 'bugfix/passing_cmake_cxx_std_option' into 'master'
...
cmake: fix issue with passing cxx_std option for GCC 11, a common workaround
See merge request espressif/esp-idf!17362
2022-03-11 17:29:48 +08:00
Wang Meng Yang
8b5ad2ab4f
Merge branch 'bugfix/upd_nimble_warnings' into 'master'
...
nimble: update because of warnings
See merge request espressif/esp-idf!17354
2022-03-11 17:01:07 +08:00
Anton Maklakov
e1ee578281
Merge branch 'bugfix/fix_mqtt_warnings' into 'master'
...
esp-mqtt: fix warnings (clang)
See merge request espressif/esp-idf!17357
2022-03-11 16:02:48 +08:00
Mahavir Jain
61c68b7f4d
Merge branch 'contrib/github_pr_8544' into 'master'
...
esp_https_ota: add user_ctx to decrypt_cb (GitHub PR)
Closes IDFGH-6924
See merge request espressif/esp-idf!17456
2022-03-11 15:43:38 +08:00
Darian
3ba055653d
Merge branch 'refactor/rename_esp_macro_header' into 'master'
...
esp_common: Rename esp_macro.h to esp_macros.h
See merge request espressif/esp-idf!17452
2022-03-11 13:50:04 +08:00
Mahavir Jain
0d667447df
Merge branch 'contrib/github_pr_8526' into 'master'
...
Bugfix/protocomm correct string (GitHub PR)
Closes IDFGH-6906
See merge request espressif/esp-idf!17457
2022-03-11 13:04:18 +08:00
Laukik Hase
87d3296c37
mbedtls: Disable MBEDTLS_DYNAMIC_BUFFER
when TLS 1.3 is enabled
...
- Resulted in a crash in the handshake stage when
used alongside TLS 1.3 (MBEDTLS_SSL_PROTO_TLS1_3)
- Fix build error when MBEDTLS_HARDWARE_SHA=n &&
MBEDTLS_DYNAMIC_BUFFER=y
- Fix build error when TLS 1.3 is enabled with
MBEDTLS_SSL_KEEP_PEER_CERTIFICATE=n
2022-03-11 10:03:48 +05:30
KonstantinKondrashov
47be69329b
esptool: Update esptool submodule
2022-03-11 04:05:30 +00:00
Ondrej Kosta
0e0c5f93e3
Merge branch 'bugfix/test_esp_eth_ip101' into 'master'
...
esp_eth/test_apps: test stability/performance improvement
Closes IDFCI-1150
See merge request espressif/esp-idf!17411
2022-03-11 12:03:30 +08:00
Mahavir Jain
99e7059cbe
Merge branch 'bugfix/kconfig_defaults' into 'master'
...
kconfig: Changed default values of `bool` configs
Closes IDF-4747
See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
Mahavir Jain
3b0cb10b9d
protocomm: fix copyright header
2022-03-11 09:17:20 +05:30
lorenzo.consolaro
c000673540
protocomm: Fix debug print on encrypting failure
...
Closes https://github.com/espressif/esp-idf/pull/8526
2022-03-11 09:15:53 +05:30
David Čermák
4196c3f591
Merge branch 'update/discontinue_tcpip_adapter' into 'master'
...
esp_netif: Remove tcpip_adapter compatibility layer
Closes IDF-4457
See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
Mahavir Jain
a8ba5a0264
Merge branch 'ci/all_alloc_psram_config' into 'master'
...
[ci] Add unit test configs with aggressive PSRAM allocations
See merge request espressif/esp-idf!14996
2022-03-11 00:30:56 +08:00
Konstantin Kondrashov
00ab35ade0
Merge branch 'feature/bootloader_add_app_test_lvl' into 'master'
...
bootloader: Adds a level selection for the app's test pin.
Closes IDFGH-6703
See merge request espressif/esp-idf!17425
2022-03-10 22:48:15 +08:00
Darian Leung
94c2467dd6
esp_common: Rename esp_macro.h to esp_macros.h
2022-03-10 21:22:35 +08:00
Wang Meng Yang
c412cb15ac
Merge branch 'feature/update_hfp_hf_version' into 'master'
...
component_bt: Update HFP_HF version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!16950
2022-03-10 20:17:06 +08:00
MacDue
e47419374c
esp_https_ota: add user_ctx to decrypt_cb
...
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
...
- Some bool configs were using default values true and false,
instead of y and n.
2022-03-10 14:26:37 +05:30
morris
f38c13adea
Merge branch 'contrib/github_pr_8497' into 'master'
...
ledc: Do not drive output during init if the output is inverted (GitHub PR)
Closes IDFGH-6875
See merge request espressif/esp-idf!17433
2022-03-10 16:55:59 +08:00
David Cermak
7db0f0feb1
esp_mesh: Document that hard-coded non-root nodes do not need TCP/IP
2022-03-10 08:19:44 +01:00
David Cermak
13ffddc0f3
phy: Use htobe32 instead of htonl to decouple from lwip
2022-03-10 08:19:43 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
Ondrej Kosta
be24d90e14
esp_eth/test_apps: test stability/performance improvement
2022-03-10 08:16:18 +01:00
Kapil Gupta
9130988299
Merge branch 'bugfix/security_validation' into 'master'
...
wpa_supplicant: Add BTM security checks
Closes WIFI-4075 and WIFI-4081
See merge request espressif/esp-idf!16619
2022-03-10 15:14:06 +08:00
David Čermák
0b58f987cd
Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
...
mdns: Add support for dynamic network interfaces
Closes IDF-939
See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
Anton Maklakov
101af84d77
Merge branch 'bugfix/spiffs_readdir_truntate_snprintf' into 'master'
...
spiffs: fix format-truncation warning
See merge request espressif/esp-idf!17240
2022-03-10 14:57:52 +08:00
morris
2c7cfdd784
spi: define tranfer max bit length in LL
2022-03-10 13:40:43 +08:00
Laukik Hase
3b3b668256
ci: Disable failing UTs
...
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
2022-03-10 05:01:17 +00:00
Laukik Hase
c5decf291e
ci: Fix for ETSTimers arm & disarm run from IRAM
UT
...
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
- Forced `esp_timer_create` to allocate resource from the internal memory
- WiFi/BT coexistence will sometimes arm/disarm timers from an ISR
where flash may be disabled. This can lead to a cache-based
exception as the timer instance will be located in the PSRAM.
2022-03-10 05:01:17 +00:00
Laukik Hase
6f9fc0ba8e
esp_system: Place ipc_task semaphores on DRAM
...
- For CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL < 92, the ipc_task semaphores
were allocated on SPIRAM rather than internal RAM
- SemaphoreHandle_t has a size of 92, thus the failure
2022-03-10 05:01:17 +00:00
Dai Zi Yan
1462367eeb
Merge branch 'docs/translate_coexist' into 'master'
...
docs/ translate coexist
Closes DOC-2479
See merge request espressif/esp-idf!16830
2022-03-10 10:59:18 +08:00
Jiang Jiang Jian
7c7e8a83b9
Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
...
Remove legacy system event framework.
Closes IDF-3608
See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
Simon
fb4ee8e31f
Merge branch 'feature/support_hpm_on_flash' into 'master'
...
spi_flash: Building a framework to enable HPM when flash works under high speed mode, take GD as an example.
Closes IDF-4537
See merge request espressif/esp-idf!16660
2022-03-10 03:04:21 +08:00
KonstantinKondrashov
21dd929c72
bootloader: Adds a level selection for the app's test pin.
...
Closes https://github.com/espressif/esp-idf/issues/8332
2022-03-09 19:52:37 +08:00
morris
b841332aa5
Merge branch 'component/esp_websocket_migration' into 'master'
...
websocket: Remove internal component, examples and test
Closes IDF-4076
See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
Cao Sen Miao
8dce0cbf6b
spi_flash: Fix bug that in bootloader dummy is 0 when mosi is 0
2022-03-09 18:49:34 +08:00
Cao Sen Miao
85dd785d8d
spi_flash: Building a framework to enable HPM when flash works under high speed mode
2022-03-09 18:49:34 +08:00
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
morris
da28f7e2d9
Merge branch 'feature/rmt_hal_dma' into 'master'
...
rmt: document and improve LL driver
See merge request espressif/esp-idf!17297
2022-03-09 17:55:08 +08:00
Shubham Kulkarni
a4afeed209
esp_http_server: Minor updates in error messages
...
idf_http_server_test/client.py: Update test script with new error message
2022-03-09 14:43:10 +05:30
Kevin (Lao Kaiyao)
733a991e2f
Merge branch 'bugfix/touch_wait_circle_after_wakeup_from_sleep_on_s3' into 'master'
...
touch: fix the touch sensor wait cycle on s3
See merge request espressif/esp-idf!15531
2022-03-09 16:41:55 +08:00
Darian
98f27378f2
Merge branch 'contrib/github_pr_8372' into 'master'
...
fix: choose_va_arg macro (GitHub PR)
Closes IDFGH-6742
See merge request espressif/esp-idf!17367
2022-03-09 14:40:04 +08:00
David Cermak
42ba8a8338
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98
mdns: Add API to control custom network interfaces
2022-03-09 07:33:23 +01:00
Vamshi Gajjela
bee6053fc0
Merge branch 'feature/ftruncate_vfs_fatfs_support' into 'master'
...
fatfs: Implement ftruncate function in VFS and FAT VFS
Closes IDFGH-6641
See merge request espressif/esp-idf!17389
2022-03-09 13:20:54 +08:00
Kapil Gupta
c098c253b1
wpa_supplicant: Add BTM security checks
2022-03-09 03:58:39 +00:00
Marius Vikhammer
934a3951b8
Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
...
soc: support placing task stacks in external memory for S2 and S3
Closes IDF-2797 and IDF-1805
See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
Anton Maklakov
e7bfc44caf
spiffs: fix format-truncation warning
2022-03-09 10:43:30 +07:00
Jiang Jiang Jian
4778c249e6
Merge branch 'Optimize/null_pointer_judgment_of_eb' into 'master'
...
esp_netif:optimize the null pointer judgment of eb
Closes IDF-4576
See merge request espressif/esp-idf!16934
2022-03-09 11:38:24 +08:00
morris
4dfbc9ee7b
rmt: remove deprecated functions
2022-03-09 10:58:14 +08:00
morris
9f55712c03
rmt: document and improve LL driver
2022-03-09 10:58:12 +08:00
xiongweichao
6514f9e94c
docs: translate coexist from CN to EN
2022-03-09 02:50:00 +00:00
David Čermák
06df46e26a
Merge branch 'bugfix/security_update_pppos_crash' into 'master'
...
lw-ip: Apply security fixes from upstream; Fix PPPoS and NAPT ip-forward
Closes IDFGH-6668 and IDFGH-6825
See merge request espressif/esp-idf!17227
2022-03-09 03:04:52 +08:00
Mahavir Jain
5ca79a00dd
Fix build issues for implicit declaration for esp_fill_random
2022-03-08 14:05:23 +00:00
Sachin Parekh
32a6550e87
mbedtls: Added ECC hardware accelerator support on ESP32C2
...
ESP32C2 has a ECC hardware accelerator capable of performing point
multiplication and point verification with a significant performance
boost
2022-03-08 14:05:23 +00:00
Sachin Parekh
bc1d35a14e
esp32c2/hal: Added ECC HAL layer
2022-03-08 14:05:23 +00:00
David Cermak
98e9426b66
CI/mdns: Fix fuzzer build
2022-03-08 14:25:34 +01:00
David Cermak
bec42ff85d
mdns: Add support for registering custom netif
2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b
mdns: Use predefined interfaces to prepare for custom netifs
2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8
mdns: Prepare for dynamic esp-netif support
2022-03-08 13:39:53 +01:00
Vladimir Chistyakov
216703c0ef
esp_macro: Fix CHOOSE_MACRO_VA_ARG() for C++20
...
Closes https://github.com/espressif/esp-idf/pull/8372
Closes https://github.com/espressif/esp-idf/issues/8371
[darian@espressif.com: Updated macro description and commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-03-08 20:21:26 +08:00
Darian
8b902739ac
Merge branch 'feature/freertos_smp_base_master_483237711' into 'master'
...
Add baseline SMP FreeRTOS
Closes IDF-3420, IDF-3348, IDF-3331, IDF-3333, IDF-3701, IDF-3341, IDF-3346, IDF-3339, IDF-3685, IDF-3338, and IDF-3342
See merge request espressif/esp-idf!17016
2022-03-08 19:58:11 +08:00
Vamshi Gajjela
ea9f7cc370
fatfs: Add ftruncate api support for VFS and FAT-VFS
...
Unit test cases added to verify ftruncate within fatfs tests.
Closes https://github.com/espressif/esp-idf/issues/8279
2022-03-08 16:58:25 +05:30
Omar Chebib
cfee73658b
Merge branch 'bugfix/fix_heap_free_memory' into 'master'
...
Heap: fix free bytes calculation for TLSF heap
Closes IDFGH-6628
See merge request espressif/esp-idf!17337
2022-03-08 18:08:30 +08:00
Shu Chen
fcfe75b7d6
Merge branch 'feature/openthread-update-220303' into 'master'
...
openthread: Update OpenThread submodule
See merge request espressif/esp-idf!17338
2022-03-08 18:02:20 +08:00
laokaiyao
93b162c767
touch: fix the touch sensor wait cycle on s3
2022-03-08 09:11:14 +00:00
David Cermak
92f7ecd632
lwip: Security fixes; PPPoS null-deref; NAPT ip-forward
...
* Cherry-pick important fixes to 2.1.2-esp
- CVE-2020-22283: Attacker could craft a packet that would disclose 8 bytes of some heap memory:
- icmp6: Don't copy too much data
- icmp6: Fix copying of chained pbuf in reply
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages
- CVE-2020-22284: ZEP - ZigBee Encapsulation Protocol/6LoWPAN is not supported in IDF,
the netif module (zepif.c) is not included in the build, but users can still inject
the file into compilation process, implement IO interface and use this.
- zepif: Copy possibly chained output pbuf properly
- Add #define for minimum IPv6 MTU length
- pbuf: Add pbuf_copy_partial_pbuf library function
* PPPoS: Fix null-deref when processing double break packet
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
* NAPT: Fix PBUF_REF type to clone the pbuf before forwarding
- IP-FORWARD: If packet-type is PBUF_REF clone it before forwarding
- Add NAPT unit test to exercise NAT feature for both RAM and REF pbuf types
* version: Update version numbers to match 2.1.2-esp
* Update submodule: 2749568fe1...76303df238
- test/napt: Add unit test for IP forward with PBUF_REF (espressif/esp-lwip@76303df2 )
- napt: Fix PBUF_REF type to clone the pbuf before forwarding (espressif/esp-lwip@39068263 )
- version: Update version numbers to match 2.1.2-esp (espressif/esp-lwip@2b922919 )
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
- pbuf: Add pbuf_copy_partial_pbuf library function (espressif/esp-lwip@1c9cd9c1 )
- Add #define for minimum IPv6 MTU length (espressif/esp-lwip@d2dc577b )
- zepif: Copy possibly chained output pbuf properly (espressif/esp-lwip@64ab7f2a )
- icmp6: Don't copy too much data (espressif/esp-lwip@4a64731b )
- icmp6: Fix copying of chained pbuf in reply (espressif/esp-lwip@7c822ff4 )
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages (espressif/esp-lwip@29100ab6 )
- dns: Add API to clear dns cache (espressif/esp-lwip@ee59f77d )
- CI: Fixed adding gitlab key (espressif/esp-lwip@5a2bdba7 )
- test case: modify test case test_tcp_new_max_num_remove_FIN_WAIT_1 (espressif/esp-lwip@6b090f7d )
Closes https://github.com/espressif/esp-idf/issues/8300
Closes https://github.com/espressif/esp-idf/issues/8451
2022-03-08 09:38:42 +01:00
Darian Leung
c2f2b1e228
freertos: Add SMP FreeRTOS porting notes
...
This commit adds some notes about the SMP FreeRTOS port
2022-03-08 14:59:18 +08:00
Darian Leung
27f5c90e2e
freertos: Fix usage of vTaskSuspendAll()/xTaskResumeAll()
...
IDF FreeRTOS uses vTaskSuspendAll()/xTaskResumeAll() to stop preemption
on a particular core. However, those functions behave differently in FreeRTOS SMP.
This commit replaces all calls of vTaskSuspendAll()/xTaskResumeAll() with
vTaskPreemptionDisable()/vTaskPreemptionEnable() when compiling with SMP FreeRTOS.
2022-03-08 14:59:18 +08:00
Darian Leung
883da858b0
freertos: Fix various build errors
...
This commit fixes various build errors in IDF (and tests) when compiling
with SMP FreeRTOS:
- Updated usage of xTaskGetIdleTaskHandle()
- Disable sysview tracing macros
- Update some task snapshot functions
- Disabled test_freertos_hooks.c test as vApplicationIdleHook() and
vApplicationTickHook() are used.
2022-03-08 14:59:18 +08:00
Darian Leung
9da5d7c40a
freertos: Add changes to FreeRTOS SMP sources
...
This commit adds the necessary changes to the FreeRTOS SMP source and
and header files so that it can be compatible with ESP-IDF.
2022-03-08 14:59:18 +08:00
Darian Leung
37c270b337
freertos: Update Xtensa port files to support FreeRTOS SMP
...
This commit updates the copied Xtensa port to support the new porting interfaces
of the FreeRTOS SMP kernel. These modifications are mainly contained in
- FreeRTOSConfig.h
- FreeRTOSConfig_smp.h
- portmacro.h
- port.c
Some porting interfaces have changed in FreeRTOS SMP. In order to allow building
with IDF, compatibility interfaces have been added.
2022-03-08 14:59:18 +08:00
Darian Leung
163ddc3818
freertos: Update components CMakeLists.txt and Add SMP Kconfig option
...
This commit does the following:
- Add a Kconfig option to select between the IDF FreeRTOS kernel and the
FreeRTOS SMP kernel.
- Updates the freertos component's CMakeLists.txt so that FreeRTOS SMP
files are now built based the the new configuration option.
This commit WILL NOT compile. The port files for FreeRTOS SMP still need to
be updated.
2022-03-08 14:59:18 +08:00
Darian Leung
89dd2fe7f5
freertos: Copy IDF xtensa port files
...
This commit copies over ESP-IDF Xtensa portable files to the
FreeRTOS-Kernel-SMP directory. No changes were made, this commit
only copies the portable source files.
Notes:
- This commit WILL NOT compile
- Some SPDX header dates were updated to pass pre-commit check
2022-03-08 14:59:18 +08:00
Darian Leung
2d1afaf35b
freertos: Add FreeRTOS SMP upstream files
...
This commit copies over the sources files from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/smp based on the
commit 4832377117b4198db43009f2b548497d9cdbf8da
The FreeRTOS SMP sources are added to components/freertos/FreeRTOS-Kernel-SMP
Notes:
- This commit WILL NOT compile correctly. It simply copies over sources files
- copyright_ignore.txt entries added so that we can avoid using SPDX headers
- Portable files are not added yet
2022-03-08 14:58:57 +08:00
Anton Maklakov
b4ebc77975
esp-mqtt: fix warnings
2022-03-08 11:30:56 +07:00
morris
21e29f285f
temp_sensor: avoid coexistence of new and legacy driver
2022-03-08 11:57:53 +08:00
Omar Chebib
4ce4c5a68a
Heap: fix free bytes calculation for TLSF heap
...
* Closes https://github.com/espressif/esp-idf/issues/8270
2022-03-08 11:42:23 +08:00
Cao Sen Miao
12e050b38c
opi_flash: Add new 16MB opi flash (MXIC25UW12345G) support,
...
Closes https://github.com/espressif/esp-idf/issues/7996
2022-03-08 11:02:49 +08:00
Aditya Patwardhan
8f67af174e
Merge branch 'contrib/github_pr_8462' into 'master'
...
Add WolfSSL esp_tls TLS1.3 configuration option (GitHub PR)
Closes IDFGH-6838 and IDFGH-6683
See merge request espressif/esp-idf!17324
2022-03-08 10:57:05 +08:00
MacDue
72e322fbba
esp_http_server: reword error messages
2022-03-07 17:39:02 +00:00
Zim Kalinowski
0440aca4e3
Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
...
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
morris
4aa81975d1
Merge branch 'bugfix/i2c_fix_typo_of_slave_macro' into 'master'
...
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
Closes IDFGH-6893
See merge request espressif/esp-idf!17373
2022-03-07 23:38:13 +08:00
Ivan Grokhotkov
5f1c6ac605
Merge branch 'contrib/github_pr_8500' into 'master'
...
Fix compiler error in mbedtls (GitHub PR)
Closes IDFGH-6879 and IDFGH-6881
See merge request espressif/esp-idf!17380
2022-03-07 22:17:30 +08:00
Vamshi Gajjela
a9454c9776
Merge branch 'feature/sdmmc_erase_cmd_support' into 'master'
...
[sdmmc] Add erase command support
Closes IDFGH-5947 and IDFGH-5935
See merge request espressif/esp-idf!17054
2022-03-07 21:52:23 +08:00
Ivan Grokhotkov
5bc1cd7d26
Merge branch 'feature/flash_emu_linux_component' into 'master'
...
[spi_flash] LINUX target emulation of Partition API
See merge request espressif/esp-idf!13929
2022-03-07 20:36:38 +08:00
Simon
4bf4a020a6
Merge branch 'refactor/abstract_temperature_sensor' into 'master'
...
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3
Closes IDF-3665, IDF-3367, and IDF-1793
See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Alexander Klassen
a46776ad02
Add WolfSSL esp_tls TLS1.3 configuration option
...
Closes https://github.com/espressif/esp-idf/issues/8313
2022-03-07 09:44:23 +00:00
Jiacheng Guo
323b35af58
openthread: Update OpenThread submodule
...
* Remove log region macros and move to the new OpenThread logging module
* Remove TREL support
2022-03-07 15:45:16 +08:00
Island
f31be6ca5d
Merge branch 'feature/add_proxy_conn_and_disconn_event' into 'master'
...
ble_mesh: stack: Add proxy server connect and disconnect event
See merge request espressif/esp-idf!16917
2022-03-07 15:10:22 +08:00
gabsuren
f3c7215565
websocket: Remove internal component, examples and test
2022-03-07 11:07:40 +04:00
0xFEEDC0DE64
9b7c345bce
Fix compiler error in mbedtls
...
Closes https://github.com/espressif/esp-idf/pull/8500
Closes https://github.com/espressif/esp-idf/issues/8499
Closes IDFGH-6879
Closes IDFGH-6881
2022-03-07 12:15:08 +05:30
morris
75e835efe6
Merge branch 'bugfix/fix_regi2c_analog_cali_num_macro' into 'master'
...
regi2c: fix analog calibration register num macro
See merge request espressif/esp-idf!17376
2022-03-07 14:08:47 +08:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Konstantin Kondrashov
e17b0df8ec
Merge branch 'feature/adds_efuses_to_table' into 'master'
...
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
See merge request espressif/esp-idf!17294
2022-03-07 13:05:55 +08:00
Armando
f41c9d154a
regi2c: fix analog calibration register num macro
2022-03-07 11:48:57 +08:00
Kevin Guilloy
1fce1616c4
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
...
Merges: https://github.com/espressif/esp-idf/pull/8513
2022-03-07 10:40:57 +08:00
Armando (Dou Yiwen)
748037708f
Merge branch 'bugfix/fix_adc_digital_not_reset_issue' into 'master'
...
adc: fix adc digital part not reset issue
Closes IDF-4680
See merge request espressif/esp-idf!17279
2022-03-06 13:49:18 +08:00
wangjialiang
089637cfa3
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-05 11:14:28 +00:00
wangjialiang
c49b5b2409
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-05 11:14:28 +00:00
Vamshi Gajjela
964592e189
fatfs: Add trim ioctl call, set FF_USE_TRIM as default option.
...
FF_USE_TRIM is set by default with this commit. Fatfs invokes disk_ioctl
with CTRL_TRIM to erase the sectors calling sdmmc_erase_sectors to choose the right
argument for the erase operation based on media type.
2022-03-05 16:35:37 +05:30
Vamshi Gajjela
ffdbeee9f6
sdmmc: Add erase command-38. Support erase/trim/discard/sanitize
...
options.
Erase command (38) for SD cards allows option for erase/dicard/fule
operation at block level and for MMC cards supports option for
discard/trim at block level. When Sanitize is executed only the
portion of data that was unmapped by a Discard command shall be
removed by the Sanitize command.
Unit test cases added to verify ERASE feature in SD/SDSPI mode.
TRIM/DISCARD/SANITIZE tests for eMMC devices.
Closes https://github.com/espressif/esp-idf/pull/7635
Closes https://github.com/espressif/esp-idf/issues/7623
2022-03-05 16:02:01 +05:30
Armando (Dou Yiwen)
48daa38a63
Merge branch 'bugfix/fix_adc_calibration_light_sleep_issue' into 'master'
...
adc: fix calibration error when waking up from light sleep
Closes IDF-4406, IDF-4605, IDFGH-6252, and IDFGH-6651
See merge request espressif/esp-idf!16259
2022-03-04 23:05:09 +08:00
Martin Vychodil
9a5f39ec2c
spi_flash: Linux target emulation of Partition API
...
Emulator of Partition API layer for Linux OS
2022-03-04 14:36:46 +00:00
xiongweichao
7ee85858b4
Update HFP_HF version to 1.7.2
2022-03-04 11:52:12 +00:00
Ivan Grokhotkov
c8b43ee0c1
Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4641
See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
morris
a0283234cd
Merge branch 'feature/support_esp32h2_gpio' into 'master'
...
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix
Closes IDF-4232 and IDF-3439
See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb
Temperature_sensor: Create new temperature sensor API
2022-03-04 18:13:35 +08:00
Cao Sen Miao
214e206111
Temperature_sensor: Add temperature support for ESP32-S3
2022-03-04 18:13:27 +08:00
Cao Sen Miao
441900caa2
Temperature_sensor: keep legacy drivers
2022-03-04 17:59:07 +08:00
Anton Maklakov
ea0d2123c8
cmake: fix issue with passing cxx_std option for GCC 11, a common workaround
2022-03-04 16:52:37 +07:00
Nonoo
062f6164ae
ledc: Do not drive output during init if the output is inverted
2022-03-04 08:39:57 +01:00
Marius Vikhammer
374712921a
CI: add configs for running S2, S3 unit tests with PSRAM
...
Fixed various minor failures detected with these configs.
2022-03-04 15:29:17 +08:00
Marius Vikhammer
36ef485c4e
soc: support placing task stacks in external memory for S2 and S3
2022-03-04 15:25:52 +08:00
Marius Vikhammer
e543e97c7b
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-03-04 15:25:52 +08:00
rrforte
ffe19e0c8d
Bugfix: LCD component support for large SPI color transfers
2022-03-03 22:43:12 -08:00
Mahavir Jain
171b4ec13a
Merge branch 'fix/update_licenses_of_file_wrt_mbedtls_3_1_change' into 'master'
...
mbedtls: Update licenses of files updated in mbedtls-3.1 update
Closes IDF-4725
See merge request espressif/esp-idf!17335
2022-03-04 13:55:11 +08:00
Jiang Jiang Jian
081828d494
Merge branch 'bugfix/add_pll_track_feature_mr_master' into 'master'
...
Add pll track feature
Closes BT-2030
See merge request espressif/esp-idf!17284
2022-03-04 13:53:59 +08:00
Aditya Patwardhan
4582af75b8
mbedtls: Update licenses of files updated in mbedtls-3.1 update
2022-03-04 05:18:58 +00:00
morris
52fcdbacc3
Merge branch 'feature/pcnt_driver_ng' into 'master'
...
⛵ Driver-NG: Introduce a brand new driver for PCNT
Closes IDF-2196 and IDF-2896
See merge request espressif/esp-idf!10507
2022-03-04 12:25:35 +08:00
Armando
494b996ecc
sleep: restore analog calibration registers after waking up from light sleep
...
Closes https://github.com/espressif/esp-idf/issues/8287
Closes https://github.com/espressif/esp-idf/issues/7921
2022-03-04 12:10:20 +08:00
Armando
d7512d8b38
adc: add adc single read & light sleep test
2022-03-04 12:10:20 +08:00
Omar Chebib
dc25a8a6ba
Merge branch 'refactor_rtc_wdt_code' into 'master'
...
RTC WDT: refactor code to remove duplicated code
See merge request espressif/esp-idf!16845
2022-03-04 11:52:15 +08:00
Armando
e66f59ae0b
rng: fix rng adc digital inpu not disabled issue
2022-03-04 03:49:33 +00:00
Armando
4ca115be98
adc: fix adc digital not reset issue
2022-03-04 03:49:33 +00:00
songruojing
c8c137f2b7
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Anton Maklakov
924178d407
nimble: update because of warnings
2022-03-04 10:00:54 +07:00
Ivan Grokhotkov
6b8e4212be
driver: sdspi: set default DMA channel compatible with S3, C3 or later
2022-03-03 21:40:04 +01:00
Ivan Grokhotkov
c19203be0e
mbedtls: disable files generation, specify Python interpreter to use
...
When GEN_FILES is enabled, Perl interpreter should be available. There
is a check in mbedTLS that disables GEN_FILES on Windows (where Perl
is not available by default) but it is broken for recent CMake
versions.
Also set Python interpreter to the one IDF uses, just to avoid calling
into some other Python version which CMake might manage to find.
2022-03-03 15:56:15 +01:00
morris
0d920a47f7
unit_test: migrate to use pulse_cnt driver
2022-03-03 22:38:32 +08:00
morris
04b3f8b210
pcnt: deprecated as legacy driver
2022-03-03 22:38:32 +08:00
morris
ec8defaa96
pulse_cnt: new driver for PCNT peripheral
2022-03-03 22:38:32 +08:00
Jiang Jiang Jian
1068c7720b
Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
...
Always connect Station in PMF mode if possible
Closes WIFI-4320
See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Sudeep Mohanty
bc82613847
Merge branch 'docs/ulp_documentation_updates' into 'master'
...
docs: Updated ULP documentation
Closes IDF-3306
See merge request espressif/esp-idf!17225
2022-03-03 19:16:27 +08:00
Alex Lisitsyn
dcaac79380
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues' into 'master'
...
modbus: fix tcp slave destroy issues
Closes IDFGH-6568
See merge request espressif/esp-idf!16856
2022-03-03 16:34:33 +08:00
Alex Lisitsyn
224901fed3
modbus: fix tcp slave destroy issues
2022-03-03 16:34:33 +08:00
Song Ruo Jing
ed3469ea65
Merge branch 'bugfix/i2c_iram_placement_fix' into 'master'
...
i2c: Correct hal functions iram placement
Closes IDFGH-6795
See merge request espressif/esp-idf!17282
2022-03-03 16:19:31 +08:00
Yang Zhao
000f398ab9
Update ESP32-C3 and ESP32-S3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-03 07:39:22 +00:00
Omar Chebib
96b362d1da
RTC WDT: Use target name instead of caps for rtc wdt
2022-03-03 13:47:22 +08:00
Omar Chebib
dbba26643f
RTC WDT: refactor code to remove duplicated code
2022-03-03 13:47:22 +08:00
Kevin (Lao Kaiyao)
433d6ee1fd
Merge branch 'bugfix/i2s_dac_incorrect_clock' into 'master'
...
i2s: fix adc/dac clock calculation
Closes IDFGH-6715
See merge request espressif/esp-idf!17233
2022-03-03 12:23:13 +08:00
Song Ruo Jing
b665dcbe68
Merge branch 'feature/esp32c2h2_support_uart' into 'master'
...
UART: Provide support for esp32c2 and esp32h2
Closes IDF-3823, IDF-4154, and IDF-4221
See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Wang Meng Yang
cdc00140d0
Merge branch 'bugfix/a2dp_sniff_master' into 'master'
...
Fix crash when host exit sniff mode
Closes BT-1802
See merge request espressif/esp-idf!14434
2022-03-03 11:26:05 +08:00
morris
869e503875
Merge branch 'bugfix/i2s_mono_issue_on_c3_s3' into 'master'
...
🔧 i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
See merge request espressif/esp-idf!16843
2022-03-03 10:46:13 +08:00
Marius Vikhammer
706a14884f
Merge branch 'feature/riscv_ulp_gpio_intr' into 'master'
...
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor
Closes IDFGH-6589
See merge request espressif/esp-idf!17288
2022-03-03 09:40:03 +08:00
Marius Vikhammer
29db173536
Merge branch 'feature/move_target_kconfig' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!16893
2022-03-03 09:39:54 +08:00
Aditya Patwardhan
72f12a0c8c
Fix issue in wpa_supplicant
2022-03-03 01:37:10 +05:30
Laukik Hase
f5feb7813e
mbedtls: Fix build errors related to TLS 1.3
...
- Kconfig: Enabled MBEDTLS_HKDF_C by default when TLS 1.3 support is enabled
- esp-tls (mbedtls): Forced client to use TLS 1.3 when TLS 1.3 support is enabled
2022-03-03 01:37:10 +05:30
Laukik Hase
0868513ddd
ci: Fix unit test failures
...
- protocomm: Fix leakage due to ECDH context not being
initialised and freed properly
- mbedtls (RSA): Added mandatory RNG parameter wherever required
Disabled `test performance RSA key operations` UT
- mbedtls (AES_GCM): Added mbedtls_gcm_update_ad() wherever required
for updating associated data
- unit_test_app: Fix build issue when heap tracing is enabled
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8cbfb18037
mbedtls-3.x: Update Kconfig macros
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8111286668
Add entropy_poll.h in port directory
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
03ccb1a0b5
mbedtls-3.X: Updated the openthread submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
740f1afe20
Update nimble submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
a52144da04
Update mbedtls submodule to 3.1
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
66a9243d3b
mbedtls 3.X update:
...
*MBEDTLS_ECDH_LEGACY_CONTEXT is now disabled by default.
*Fixed MBEDTLS_ECDH_LEGACY_CONTEXT issue for protocomm component.
*Removed all code under MBEDTLS_DEPRECATED_REMOVED
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
60b167f2d6
mbedtls-3.1 update: Removed the MBEDTLS_PRIVATE
from multiple files
...
after they have been again made public in mbedtls-3.1
*Added `MBEDTLS_ALLOW_PRIVATE_ACCESS` in some files.
2022-03-03 01:37:10 +05:30
Kapil Gupta
6a164cc5bc
Fix issues in wpa2 enterprise with mbedTLS 3.0
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
0483bfbbfe
Initial Changes for updating mbedtls to v3.0
2022-03-03 01:37:09 +05:30
Kapil Gupta
84f9aa13c9
Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
...
esp_example: Enable MbedTLS for DPP enrollee by default
Closes WIFI-4275
See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
KonstantinKondrashov
6d11c57b2a
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
...
Closes https://github.com/espressif/esp-idf/issues/8357
2022-03-02 18:48:42 +08:00
Anton Maklakov
3ab9acddc1
newlib: stdatomic: fix conflicting types for atomic built-in functions
...
Also use `unsigned int`, `short unsigned int`,`long long unsigned int` etc types
instead of uintN_t. Because some platforms have uintN_t types that don't
conrrespont to built-in prototypes.
2022-03-02 16:22:45 +07:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
laokaiyao
db3a1c707e
i2s: add mclk_div underflow check
...
Closes https://github.com/espressif/esp-idf/issues/8344
2022-03-02 04:17:36 +00:00
Stephan Hadinger
2f0e7e9b6c
Fix for mclk/bclk divisors #8326
...
Merges https://github.com/espressif/esp-idf/pull/8327
2022-03-02 04:17:36 +00:00
xiongweichao
3fe222d17b
Fix crash when host exit sniff mode
2022-03-02 03:56:52 +00:00
laokaiyao
b336a838b6
i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
2022-03-02 03:34:25 +00:00
songruojing
24a60c12c6
uart: Provide support for esp32c2 and esp32h2
...
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
Shubham Kulkarni
6e0308d352
Merge branch 'bugfix/http_client_body' into 'master'
...
esp_http_client: Fix data corruption in http_on_body callback
Closes IDF-4597
See merge request espressif/esp-idf!17219
2022-03-02 05:45:09 +08:00
Michael (XIAO Xufeng)
78165c541e
Merge branch 'bugfix/bootloader_uart_custom_gpio' into 'master'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect
Closes IDF-4606
See merge request espressif/esp-idf!16910
2022-03-02 02:35:14 +08:00
Dmitry
a8c3fe56c8
This commit add to GDBstup:
...
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Shubham Kulkarni
18fa343161
esp_http_client: Cache received data in http_on_body callback.
...
This change fixes issue with data loss when multiple body chunks are
received after calling esp_http_client_fetch_headers.
2022-03-01 15:41:36 +00:00
songruojing
b6887416d4
uart: fixed reset logic on ESP32-S3
2022-03-01 18:21:31 +08:00
songruojing
d4334cc109
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-01 18:21:27 +08:00
Michael (XIAO Xufeng)
395cd494f8
bootloader: fixed the issue custom_uart_gpio doesn't take effect
2022-03-01 17:54:34 +08:00
KonstantinKondrashov
7d097511fa
soc: Fix efuse_hal_get_chip_revision for esp32
2022-03-01 16:55:43 +08:00
Sudeep Mohanty
4067bc40fc
docs: Updated ULP documentation
...
This commit updates documentation for ULP.
2022-03-01 09:02:41 +05:30
wuzhenghui
1a4d4b9cd6
remove esp32h2 rev1/2 unsupported efuse field
2022-02-28 19:37:43 +08:00
wuzhenghui
95418fd22e
remove esp32c3 unsupported efuse field
2022-02-28 19:37:38 +08:00
Mahavir Jain
15ab3466fa
Merge branch 'contrib/github_pr_8467' into 'master'
...
Fix typos. (GitHub PR)
Closes IDFGH-6843
See merge request espressif/esp-idf!17289
2022-02-28 16:50:33 +08:00
songruojing
1ceb7c8cd6
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset
...
Closes https://github.com/espressif/esp-idf/issues/8422
2022-02-28 15:44:35 +08:00
Marius Vikhammer
c974a000d7
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor
2022-02-28 14:15:25 +08:00
Mahavir Jain
47fb454baa
esp_system: Fix copyright header
2022-02-28 11:41:02 +05:30
Kevin (Lao Kaiyao)
cc1d89ebba
Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
...
i2c: support i2c on esp32c2 and esp32h2
Closes IDF-3918
See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
Konstantin Kondrashov
44e5ac2c59
Merge branch 'feature/efuse_hal' into 'master'
...
hal: Adds efuse hal layer
See merge request espressif/esp-idf!16354
2022-02-28 13:38:43 +08:00
Eva Dengler
9fd621c7ad
Fix typos.
...
alignement -> alignment
2022-02-25 19:32:15 +01:00
morris
b85eeb3224
Merge branch 'feature/lcd_isr_in_iram' into 'master'
...
refactor LCD unit tests into test apps
Closes IDF-4666
See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
Jing Li
0a64094a60
Merge branch 'bugfix/a_small_fix_for_multi_heap' into 'master'
...
Heap: fix wrong arg passed to assert_valid_block
See merge request espressif/esp-idf!17274
2022-02-25 05:09:13 +00:00
David Čermák
2a91e4c895
Merge branch 'bugfix/mdsn_fuzzer_extend' into 'master'
...
mdns: Extend fuzzing and Fix various petty issues
Closes IDFGH-6675
See merge request espressif/esp-idf!17006
2022-02-24 23:03:50 +00:00
Ivan Grokhotkov
4a553510b7
Merge branch 'bugfix/interrupted_thread_gdb_bt' into 'master'
...
riscv: Fixes GDB backtrace of interrupted threads
See merge request espressif/esp-idf!16939
2022-02-24 20:21:17 +00:00
KonstantinKondrashov
9605f3eb1a
soc: Adds efuse hal
...
Replaced eFuse ROM funcs with hal layer
2022-02-24 22:20:09 +08:00
David Cermak
b5149e3ee7
mdns: Update to drop our own packet if bounced back
2022-02-24 11:01:26 +01:00
David Cermak
51a5de2525
mdns: Fix potential read behind parsed packet
2022-02-24 11:01:26 +01:00
David Cermak
9cbdb8767b
mdns: Fix memleak when adding delegated host
2022-02-24 11:01:26 +01:00
David Cermak
a57be7b7d1
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
2022-02-24 11:01:13 +01:00
David Cermak
2c1007156e
mdns: Update fuzzer test (add delegation, check memory)
...
* Add new config with no services
* Add new test packets and more queries
* Allocate packet to check for mem issues
2022-02-24 09:41:56 +00:00
David Čermák
ca7e5b3ef5
Merge branch 'bugfix/mdns_missing_includes' into 'master'
...
mdns: Added missing includes; Removed deprecated event API
See merge request espressif/esp-idf!17190
2022-02-24 09:39:30 +00:00
Alexey Gerenkov
dea45a9d72
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
72822dfc8f
riscv: Adds support for returning from exception handler
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
088e940528
riscv: Fixes GDB backtrace end function to point to prvTaskExitError
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
54569fb001
riscv: Fixes GDB backtrace of interrupted threads
...
Save missed SP value on stack
2022-02-24 08:55:40 +00:00
morris
8c91ef7599
Merge branch 'contrib/github_pr_8430' into 'master'
...
ADC Fix compiling when included from C++ (GitHub PR)
Closes IDFGH-6804
See merge request espressif/esp-idf!17216
2022-02-24 08:42:06 +00:00
jingli
6c25dd4ec1
fix param passed to assert_valid_block, should be block not ptr
2022-02-24 13:50:16 +08:00
Darian
c2efc1781f
Merge branch 'bugfix/twai_workarounds_default_enable' into 'master'
...
TWAI: Enable ESP32 errata workarounds by default
See merge request espressif/esp-idf!17205
2022-02-24 05:12:50 +00:00
Mahavir Jain
4861ca0179
Merge branch 'update/remove_openssl' into 'master'
...
openssl: Remove deprecated component
Closes IDF-3925 and IDFCI-1102
See merge request espressif/esp-idf!17200
2022-02-24 03:46:01 +00:00
Darian Leung
2f2df82bc5
twai: Enable ESP32 errata workarounds by default
2022-02-23 20:22:02 +08:00
David Cermak
0630834bc3
openssl: Remove deprecated component
2022-02-23 13:08:12 +01:00
Harshit Malpani
1cb9ba5076
Push out coap
to idf-extra-component repository
2022-02-23 15:08:36 +05:30
xueyunfei
473cc00667
optimize the null pointer judgment of eb
2022-02-23 16:01:19 +08:00
laokaiyao
cf353c505a
i2c: support esp32h2
2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae
i2c: support esp32c2
2022-02-23 15:19:37 +08:00
Mahavir Jain
46d5f92533
Merge branch 'bugfix/remove_rtc_dummy_sections' into 'master'
...
System: Memory section .rtc.dummy removed
Closes IDF-4395
See merge request espressif/esp-idf!17242
2022-02-23 06:11:15 +00:00
Kevin (Lao Kaiyao)
1d30c23455
Merge branch 'feature/i2c_use_input_only_pin_in_slave_mode' into 'master'
...
i2c: support using input-only pin as SCL in slave mode
Closes IDFGH-6682
See merge request espressif/esp-idf!17137
2022-02-23 02:54:49 +00:00
Sudeep Mohanty
f163ab26a9
Merge branch 'feature/ulp_fsm_support_on_esp32s3' into 'master'
...
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
See merge request espressif/esp-idf!17197
2022-02-23 02:20:39 +00:00
morris
5951d7480c
Merge branch 'feature/fatfs_14b_update' into 'master'
...
fatfs: Update to version 0.14b
Closes IDF-1981
See merge request espressif/esp-idf!16791
2022-02-23 01:44:37 +00:00
Marius Vikhammer
06d8a5bf33
Merge branch 'bugfix/inline_intrmask_from_isr' into 'master'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
Closes IDFGH-6669
See merge request espressif/esp-idf!16970
2022-02-23 01:05:40 +00:00
Martin Vychodil
0e52b9d230
System: Memory section .rtc.dummy removed
...
ESP32H2 doesn't support access to RTC memory through various buses, thus .rtc.dummy section
makes no sense here. The section is used for blind padding in LD script - to provide proper section offsets)
2022-02-22 13:52:46 +01:00
Jakob Hasse
7963f3a270
Merge branch 'bugfix/spiffs_wear_levelling_update_copyrights' into 'master'
...
spiffs, wear_levelling: update copyright headers
See merge request espressif/esp-idf!17229
2022-02-22 11:57:27 +00:00
Jiang Guang Ming
453146fe75
Merge branch 'bugfix/update_esp32c2_soc_memory_addr' into 'master'
...
soc: update memory address for esp32c2
See merge request espressif/esp-idf!17085
2022-02-22 10:23:35 +00:00
Jiang Jiang Jian
876fedc46b
Merge branch 'bugfix/update_stack_init_check' into 'master'
...
Nimble: Remove stack initialization status from unwanted functions
See merge request espressif/esp-idf!15989
2022-02-22 07:55:40 +00:00
Sudeep Mohanty
4d8a0cce29
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
...
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-02-22 12:25:57 +05:30
Mo Fei Fei
347262f179
Merge branch 'docs/update_wear_levelling_cn_trans' into 'master'
...
docs: update components/wear_levelling/README cn translation
Closes DOC-2721
See merge request espressif/esp-idf!17218
2022-02-22 06:29:48 +00:00
morris
f1235d8418
Merge branch 'bugfix/esp_common_copyrights' into 'master'
...
esp_common: update copyright headers
See merge request espressif/esp-idf!17213
2022-02-22 04:45:17 +00:00
Song Ruo Jing
da3b7f106b
Merge branch 'feature/support_esp32c2_reset_cause' into 'master'
...
esp_system: support esp32c2 reset reason
Closes IDF-3832 and IDF-4244
See merge request espressif/esp-idf!17158
2022-02-22 03:12:44 +00:00
Ivan Grokhotkov
911a8fc714
spiffs, wear_levelling: update copyright headers
2022-02-22 00:09:24 +03:00
Darian
19061022db
Merge branch 'refactor/freertos_legacy_hooks' into 'master'
...
FreeRTOS: Refactor legacy hooks
Closes IDF-4685
See merge request espressif/esp-idf!17199
2022-02-21 15:53:58 +00:00
Adam Múdry
bb8587a139
fatfs: Update to version 0.14b
...
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
Mahavir Jain
307fe58eb6
Merge branch 'bugfix/wpa_supplicant_missing_includes' into 'master'
...
wpa_supplicant: added missing includes
See merge request espressif/esp-idf!17189
2022-02-21 13:35:48 +00:00
morris
116197040f
i2s: update copyright
2022-02-21 21:28:48 +08:00
Ivan Grokhotkov
b8e46ac0da
Merge branch 'feature/flash_size_gt_16mb_pr' into 'master'
...
add support for Flash 32MB..128MB (S2, S3) (Github PR + fixups)
Closes IDF-2961, IDFGH-5984, and IDFGH-6003
See merge request espressif/esp-idf!17211
2022-02-21 12:31:24 +00:00
intern
89bec6cd27
docs: update wear levelling cn trans
2022-02-21 19:10:33 +08:00
John
bcf7608cf8
i2c: Enable I2C Slave mode with input-only pin as SCL.
...
Merges https://github.com/espressif/esp-idf/pull/8312
If we use I2C in slave mode, we can use input-only pin for SCL line (GPI 34-39).
But there is a problem in i2c_set_pin() which is called by i2c_param_config().
In case of using GPI as SCL the following statements are failed:
1. gpio_set_level(scl_io_num, I2C_IO_INIT_LEVEL);
Function fails because it cannot set level for input pin. As a result a ESP_LOGE() is called.
2. gpio_set_direction(scl_io_num, GPIO_MODE_INPUT_OUTPUT_OD);
Function fails because it accepts only GPIO pins. ESP_LOGE() is called, input mode is not enabled for the pin and as a result - no interrupts from the pin.
2022-02-21 17:32:04 +08:00
Ivan Grokhotkov
f071558117
partition_table: add a test for total partition size error
2022-02-21 10:28:29 +03:00
rudi ;-)
f242a1705a
add support for Flash 32MB..128MB (S2, S3)
...
ESP32-S2 and ESP32-S3
supports up to 1 GB of external flash and RAM
add support for
- 32MB
- 64MB
- 128MB ( example NOR spiFLASH 1G-BIT W25Q01JVZEIQ Winbond 0xEF 0x40 0x21 )
Merges https://github.com/espressif/esp-idf/pull/7688
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-21 10:26:41 +03:00
David Čermák
c04803e88b
Merge branch 'bugfix/mdns_clear_notif_value' into 'master'
...
mdns: Clear notification value in mdns_hostname_set
Closes IDFGH-6647
See merge request espressif/esp-idf!17121
2022-02-21 07:20:22 +00:00
David Cermak
e46aa515bd
mdns: Remove legacy esp_event API
2022-02-21 07:54:07 +01:00
Nachiket Kukade
7ed8fdac59
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Ivan Grokhotkov
413375453b
esp_common: update copyright headers
2022-02-21 00:51:49 +03:00
Ivan Grokhotkov
6782971332
sdmmc: accept CMD_DONE being is reported together with RTO
...
SDMMC databook specifies that when an error interrupt is generated
(such as RTO, DCRC, RCRC), CMD_DONE interrupt is also generated.
The code used to break out of the event handling loop to wait for
another interrupt event to happen, reporting CMD_DONE.
However if interrupt processing was delayed, it is possible that
a single event contains both RTO and CMD_DONE. Previously, CMD_DONE
would not be handled, and the state machine would be stuck in
SDMMC_SENDING_CMD state, until a timeout. This didn't change the
outcome (err=0x107), but delayed the handling of response timeout
event.
Fix by not breaking out of the event handler, optionally processing
the CMD_DONE interrupt if it has been reported in the same message.
2022-02-20 12:39:36 +00:00
0xFEEDC0DE64
c86fba7919
Fix compiling when included from C++
2022-02-18 15:37:07 +01:00
Darian Leung
5f5daaa420
freertos: Remove legacy hooks
...
This commit refactors the legacy hooks as follows:
- Removed CONFIG_FREERTOS_LEGACY_HOOKS
- FreeRTOS hooks are now enabled via:
- CONFIG_FREERTOS_USE_IDLE_HOOK
- CONFIG_FREERTOS_USE_TICK_HOOK
- Update IDF hooks documentation
2022-02-18 19:56:35 +08:00
h2zero
83a4ddbd25
mdns: Clear notification value in mdns_hostname_set
...
Merges https://github.com/espressif/esp-idf/pull/8284
2022-02-18 15:23:25 +04:00
Rahul Tank
3387d816e2
Nimble: Check stack initialization status before executing stack command
...
Previous commit added checks in some functions that can be called
without stack initalization. Corrected such instances.
2022-02-18 11:47:48 +05:30
Jakob Hasse
41e1eea9a9
Merge branch 'contrib/github_pr_8388' into 'master'
...
esp_event: constify event_data pointer (GitHub PR)
Closes IDFGH-6760
See merge request espressif/esp-idf!17195
2022-02-17 14:44:32 +00:00
Mahavir Jain
69f51a989c
Merge branch 'feature/pre_encrypted_binary' into 'master'
...
feature: Pre Encrypted Binary during OTA updates
Closes IDF-3256, IDF-3254, and IDFGH-4334
See merge request espressif/esp-idf!16434
2022-02-17 13:36:54 +00:00
Jakob Hasse
28d09c7dbe
mdns: added missing includes
2022-02-17 16:20:52 +08:00
Jakob Hasse
b9d66670e8
wpa_supplicant: added missing includes
2022-02-17 16:11:56 +08:00
Jiang Jiang Jian
b66cc63c41
Merge branch 'bugfix/fix_ble_adv_underrun_error' into 'master'
...
components/bt: Fix ble adv_underrun issue
See merge request espressif/esp-idf!16729
2022-02-17 06:07:04 +00:00
Mahavir Jain
fbc9c729b2
esp_https_ota: rename config option for more clarity
2022-02-17 10:54:06 +05:30
Mahavir Jain
7fd2d5ea03
esp_https_ota: add support for decryption callback
...
- Decryption callback is additional feature, default disabled
- This callback can help to plug in external components managing
additional encapsulation layers on firmware image format
2022-02-17 10:54:04 +05:30
Mahavir Jain
3eb8f3b54e
esp_https_ota: add some return values to API documentation
2022-02-17 10:49:15 +05:30
Mahavir Jain
4ae6cce2a5
esp_https_ota: add check for image descriptor magic in relevant API
2022-02-17 10:49:15 +05:30
Mahavir Jain
0b3a8881e0
esp_https_ota: Increase default ota buffer size and few other cleanups
...
- Increased OTA buffer size to 1K, this can easily cover image headers
- Reduced OTA redirection buffer size, this buffer is used to only consume
redirection headers
- Added static assert to check on OTA buffer size
2022-02-17 10:49:15 +05:30
Marius Vikhammer
b6540b7a4a
Merge branch 'feature/c2_clean_up_not_supported_periphs' into 'master'
...
docs: remove peripherals docs that are not supported on C2
Closes IDF-4201, IDF-4673, and IDF-4658
See merge request espressif/esp-idf!17168
2022-02-17 03:12:04 +00:00
Amaryllis Kulla
1858901241
esp_event: constify event_data pointer
...
Also update copyright headers.
2022-02-16 16:16:45 +01:00
Jakob Hasse
d5e1362e14
bugfix (freertos): added stdint.h to linux portmacro header
2022-02-16 16:51:22 +08:00
xiewenxiang
dd9e2f4ac6
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 16:35:00 +08:00
morris
0d03c17ab2
Merge branch 'bugfix/eth_test_emac_init' into 'master'
...
ci/esp_eth: Fix incorrect esp32 emac init
See merge request espressif/esp-idf!17178
2022-02-16 08:15:47 +00:00
Mahavir Jain
af9a194672
Merge branch 'feature/websocket_server_support_close_handle' into 'master'
...
esp_http_server: Websocket CLOSE frame can support callback function
Closes IDFGH-5785
See merge request espressif/esp-idf!17086
2022-02-16 07:08:57 +00:00
Jiang Jiang Jian
290177c1a1
Merge branch 'bugfix/assoc_comeback_fail_issue' into 'master'
...
Fix assoc comeback causing invalid state & FTM cleanup
Closes WIFI-4299
See merge request espressif/esp-idf!16848
2022-02-16 04:36:24 +00:00
Marius Vikhammer
6d50a8dd7a
docs: remove peripherals that are not supported from C2 docs
2022-02-16 10:22:46 +08:00
Marius Vikhammer
63edf76c36
soc: remove sigma delta and DS caps from soc_caps.h
...
These two peripherals do not exist on C2
2022-02-16 10:21:09 +08:00
David Cermak
25dbf35867
ci/esp_eth: Fix incorrect esp32 emac init
...
Regression from 8da2e4088c
2022-02-15 18:38:40 +01:00
Mahavir Jain
71e29053cf
Merge branch 'refactor/esp_https_server_api_cleanup' into 'master'
...
esp_https_server: API cleanup
Closes IDFGH-6540
See merge request espressif/esp-idf!17136
2022-02-15 16:11:09 +00:00
Ondrej Kosta
7512bdecfe
Merge branch 'feature/emac_start_stop_test' into 'master'
...
test_emac: extended Ethernet start/stop stress test
Closes IDF-4540
See merge request espressif/esp-idf!16755
2022-02-15 13:23:01 +00:00
David Čermák
412fb564ca
Merge branch 'bugfix/emac_config_dma_burst_len' into 'master'
...
esp_eth: Make EMAC DMA burst size configurable (GitHub PR)
Closes IDFGH-6199 and IDFGH-5658
See merge request espressif/esp-idf!16412
2022-02-15 10:36:51 +00:00
jiangguangming
0894a689cc
esptool: update submodule esptool
2022-02-15 15:14:42 +08:00
jiangguangming
0265a86361
soc: update memory address for esp32c2
2022-02-15 15:14:42 +08:00
songruojing
b860fa96e0
esp_system: support esp32c2 reset reason
2022-02-15 13:50:22 +08:00
David Cermak
8da2e4088c
esp_eth: Update esp32's EMAC API to decouple driver and vendor config
2022-02-14 16:17:29 +00:00
David Cermak
1dc60730ee
esp_eth: ESP32 EMAC to use common DMA busrt size for both Tx and Rx
2022-02-14 16:17:29 +00:00
David Cermak
2553fb5845
esp_eth: Make EMAC DMA burst size configurable
...
Merges https://github.com/espressif/esp-idf/pull/7874
Closes https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Simon Schubert
a6ca3d39a8
emac: reduce rx burst length to avoid SPI DMA collision bug
...
See <https://github.com/espressif/esp-idf/issues/7380 >.
2022-02-14 16:17:29 +00:00
AndriiFilippov
d69c11e017
ci/esp_eth: Replaced ethernet download task with ethernet download function
...
Rename eth_download_task to eth_start_download. Remove eth_event_group's
download bit
Delete unused variables
2022-02-14 16:02:45 +01:00
Nachiket Kukade
af51170b99
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-14 19:42:50 +05:30
Harshit Malpani
94056fd4a5
esp_https_server: API cleanup
2022-02-14 16:25:54 +05:30
morris
dbfde65515
lcd: refactor ut into test app
2022-02-14 18:43:50 +08:00
Ondrej Kosta
57225f99c7
Created EMAC start/stop stress test under heavy traffic
2022-02-14 08:21:43 +01:00
Ondrej Kosta
e97fd4b076
esp_eth: EMAC start/stop optimization
2022-02-14 08:21:43 +01:00
Marius Vikhammer
3da0b2249b
Merge branch 'bugfix/ulp_depr_headers' into 'master'
...
ulp: change deprecated headers to use relative includes to avoid recursivly...
See merge request espressif/esp-idf!17112
2022-02-14 03:31:04 +00:00
morris
84b750cbe8
Merge branch 'refactor/lcd_soc_ll_update_according_trm' into 'master'
...
lcd soc ll update according trm
See merge request espressif/esp-idf!16900
2022-02-12 08:13:34 +00:00
Kapil Gupta
20847eeb96
Merge branch 'bugfix/eap_client_crash' into 'master'
...
wpa_supplicant: Fix memory corruption
Closes WIFI-4299
See merge request espressif/esp-idf!16841
2022-02-11 09:54:27 +00:00
Omar Chebib
5bd204eac9
Merge branch 'bugfix/lwip_timeout_not_compliant' into 'master'
...
Make `sys_arch_sem_wait` POSIX compliant (required by lwip_select)
See merge request espressif/esp-idf!16911
2022-02-11 08:48:40 +00:00
Jiang Jiang Jian
019af183ce
Merge branch 'bugfix/fix_s2_phy_bbpll_cal_fail' into 'master'
...
esp_phy: fix s2 sar2 init no cal and bbpll cal fail
See merge request espressif/esp-idf!16948
2022-02-11 08:28:09 +00:00
Ivan Grokhotkov
c372248624
Merge branch 'contrib/github_pr_7710' into 'master'
...
sdspi_host: fix clock being sent out before the bus is acquired (GitHub PR)
Closes IDFGH-6024
See merge request espressif/esp-idf!16851
2022-02-11 08:27:06 +00:00
Marius Vikhammer
8a48b55197
ulp: change deprecated headers to use relative includes to avoid recursivly including the same header
2022-02-11 14:56:11 +08:00
Marius Vikhammer
5ef585b1b9
Merge branch 'feature/remove_frc2_timer' into 'master'
...
esp_timer: remove legacy ESP32 FRC timer implementation
Closes IDF-3805
See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Darian Leung
2cebfcf885
freertos: Refactor configuration files
...
This commit refactors the FreeRTOS configuration headers as follows:
- Layout is now similar to FreeRTOSConfig.h found in other upstream demos
- Separate out Vanilla FreeRTOS configurations and ESP-IDF additions
- Move/remove some irrelevant/unused macros and configurations
2022-02-10 21:23:46 +08:00
Omar Chebib
95cc6cfac4
LWIP: Make system timeout POSIX compliant (required by lwip_select)
...
`lwip_select` uses `sys_arch_sem_wait` function making the assumption that it
is POSIX compliant. This commit makes that function wait for at least
timeout (milliseconds), as required by POSIX specification.
* Relates to https://github.com/espressif/esp-idf/issues/7514
2022-02-10 10:36:09 +00:00
Darian Leung
7d78cec149
ledc: Remove usage of legacy FreeRTOS type
2022-02-10 15:19:36 +08:00
Marius Vikhammer
edb76f14d6
esp_timer: remove legacy ESP32 FRC timer implementation.
2022-02-10 15:17:49 +08:00
Omar Chebib
0cfa7ca20f
Merge branch 'bugfix/fix_i2c_crash' into 'master'
...
I2C: Fix I2C Master operation with repeated start condition
Closes IDFGH-6719 and IDFGH-6724
See merge request espressif/esp-idf!17035
2022-02-10 07:05:59 +00:00
Anton Maklakov
3a04b712fa
Merge branch 'bugfix/fix_abs_using' into 'master'
...
build: fix abs() use
See merge request espressif/esp-idf!16952
2022-02-10 05:18:32 +00:00
Darian
61639fe1ec
Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
...
FreeRTOS: Remove usage of legacy data types
Closes IDF-4566
See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Jiang Jiang Jian
cca2234619
Merge branch 'feature/pmf_support_for_softAP' into 'master'
...
esp_wifi: Add pmf support for softAP.
Closes WIFI-1353
See merge request espressif/esp-idf!14906
2022-02-10 04:17:00 +00:00
ChenJianxing
9909c4a3dc
esp_phy: fix esp32s2 sar2 init no cal and bbpll cal fail
2022-02-10 11:56:37 +08:00
Song Ruo Jing
40d1102ca5
Merge branch 'bugfix/cpu_reset_perip_clk_disable' into 'master'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison
See merge request espressif/esp-idf!15492
2022-02-10 03:44:15 +00:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
aditi_lonkar
a8de305620
esp_wifi: Add softap pmf support for 8684.
2022-02-09 19:00:18 +05:30
aditi_lonkar
c3a661c0fd
esp_wifi: Add pmf support for softAP.
2022-02-09 18:58:37 +05:30
morris
5810ed1d04
Merge branch 'refactor/remove_ets_sys_from_public_header' into 'master'
...
esp_rom: remove ets_sys.h dependency from public header files
See merge request espressif/esp-idf!16919
2022-02-09 12:27:06 +00:00
Martin Vychodil
c143090109
Merge branch 'bugfix/driver_sdmmc_host_disable' into 'master'
...
driver: disable sdmmc in cmake based on soc_caps
Closes IDF-613
See merge request espressif/esp-idf!17069
2022-02-09 11:33:24 +00:00
songruojing
c1dedb33fa
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
2022-02-09 15:54:34 +08:00
morris
5893797bf0
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap' into 'master'
...
rmt: rx wrap doesn't support on esp32s2
Closes IDFGH-6725
See merge request espressif/esp-idf!17052
2022-02-09 06:54:41 +00:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
yuanjm
7f1cba9912
esp_http_server: Websocket CLOSE frame can support callback function
...
Closes https://github.com/espressif/esp-idf/issues/7493
2022-02-09 10:15:36 +08:00
Marius Vikhammer
d57dce5b0e
gpio: update gpio sleep workaround config name
2022-02-09 09:27:27 +08:00
Ivan Grokhotkov
01dd2dd45d
driver: disable sdmmc in cmake based on soc_caps
2022-02-08 21:22:36 +01:00
Kapil Gupta
9b38b15180
wpa_supplicant: Fix invalid memory dereference
2022-02-08 23:08:51 +08:00
morris
9bc2dd0b53
Merge branch 'fix/update_documentation_for_ds_apis' into 'master'
...
Digital Signature (ds):) Update the documentation for ds APIs
Closes IDFGH-6600
See merge request espressif/esp-idf!16997
2022-02-08 10:23:34 +00:00
Roland Dobai
52bdfa6c74
Merge branch 'feature/enable-fat16' into 'master'
...
Enable FAT16 for FATFS generator
Closes IDF-4046
See merge request espressif/esp-idf!16283
2022-02-08 09:05:09 +00:00
morris
955cb4c656
Merge branch 'bugfix/perfmon_copyright_headers' into 'master'
...
perfmon: add SDPX headers
See merge request espressif/esp-idf!17030
2022-02-08 08:38:49 +00:00
Jiang Jiang Jian
ff6b863736
Merge branch 'bugfix/fix_common_clock_bug' into 'master'
...
esp_wifi: fix common clock bug
See merge request espressif/esp-idf!16964
2022-02-08 07:23:16 +00:00
Darian
a00117cb7f
Merge branch 'refactor/freertos_macro_selection' into 'master'
...
freertos: Add CHOOSE_MACRO_VA_ARG selector
See merge request espressif/esp-idf!16904
2022-02-08 06:48:14 +00:00
morris
9887c7e780
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-08 13:57:31 +08:00
Mahavir Jain
79d95455de
Merge branch 'contrib/github_pr_8337' into 'master'
...
Set success when closing socket (GitHub PR)
Closes IDFGH-6709
See merge request espressif/esp-idf!17022
2022-02-08 04:41:26 +00:00
morris
35ad282b5d
Merge branch 'bugfix/spi_flash_unused_variable_warning' into 'master'
...
spi_flash: fix unused variable warning with SPI_FLASH_DANGEROUS_WRITE_ALLOWED
Closes IDFGH-6700
See merge request espressif/esp-idf!17020
2022-02-08 03:53:06 +00:00
Armando (Dou Yiwen)
579bd2cd44
Merge branch 'feature/adc_calibration_version_2_on_c3' into 'master'
...
adc: upgrade adc calibration algorithm to version 2 on c3
Closes IDF-4557
See merge request espressif/esp-idf!16876
2022-02-08 03:45:24 +00:00
Marius Vikhammer
0ffeaf9350
Merge branch 'feature/confgen_rename_many_to_one' into 'master'
...
kconfig: update confgen to handle sdkconfig.rename with target specific markup
Closes IDF-4544
See merge request espressif/esp-idf!16949
2022-02-08 02:38:22 +00:00
Marius Vikhammer
6895a662aa
Merge branch 'bugfix/pm_trace' into 'master'
...
freertos: add pm_trace header include
Closes IDF-4637
See merge request espressif/esp-idf!17039
2022-02-08 01:47:41 +00:00
Martin Gaňo
f3425dea96
fatfsgen.py: enabled automatic detection of the FATFS type for FAT12 and FAT16
2022-02-07 17:22:58 +01:00
Darian Leung
c5fd79547a
freertos: Add CHOOSE_MACRO_VA_ARG selector
...
This commit adds a CHOOSE_MACRO_VA_ARG() selector to allow selection between two
versions of a macro based on the number of arguments. This replaces the previous
portGET_ARGUMENT_COUNT() selector.
- portYIELD_FROM_ISR() now uses CHOOSE_MACRO_VA_ARG()
- portYIELD_FROM_ISR(arg) version added to risc-v port
- Old vPortEvaluateYieldFromISR() and portGET_ARGUMENT_COUNT removed
2022-02-07 20:01:11 +08:00
Mahavir Jain
e97b034b3e
transport_ssl: use return value from close
for non-TLS case
...
Also fix copyright header for this file
2022-02-07 17:17:16 +05:30
Dániel Buga
2ffa82a397
Set success when closing socket
...
Closes https://github.com/espressif/esp-idf/pull/8337
Closes IDFGH-6709
2022-02-07 17:16:36 +05:30
Alex Lisitsyn
6ddf2ea05e
Merge branch 'bugfix/tinyusb_fix_idfgh6508' into 'master'
...
tinyusb: fix idfgh-6508: return type in tu_fifo_peek_n()
See merge request espressif/esp-idf!16858
2022-02-07 10:43:16 +00:00
Ivan Grokhotkov
d3f1867725
Merge branch 'bugfix/apptrace_copyright_headers' into 'master'
...
app_trace: add SPDX headers, mention SystemView in copyrights doc
See merge request espressif/esp-idf!17029
2022-02-07 10:38:58 +00:00
Marius Vikhammer
0fc8ede204
freertos: add pm_trace header include
2022-02-07 17:44:33 +08:00
Ivan Grokhotkov
45ffbd0150
Merge branch 'contrib/github_pr_8338' into 'master'
...
unity: Better readline for interactive test menu (GitHub PR)
Closes IDFGH-6708
See merge request espressif/esp-idf!17021
2022-02-07 09:37:32 +00:00
David Čermák
95c3f96801
Merge branch 'bugfix/wundef_wsign_compare' into 'master'
...
esp_netif: Fix -Wundef issues with esp_netif.h (GitHub PR)
Closes IDFGH-6598
See merge request espressif/esp-idf!16801
2022-02-07 09:03:52 +00:00
xiewenxiang
8ecc8cf40a
component/bt: check the ble ext adv parameters
2022-02-07 16:10:50 +08:00
Ivan Grokhotkov
e27679b636
perfmon: add SDPX headers
2022-02-07 08:02:13 +00:00
Aditya Patwardhan
bb7be628a0
Digital Signature (ds):) Update the documentation for esp_ds_sign and
...
esp_ds_start_sign with additional information.
ii) Updated the DS docs for signature calculation.
Closes https://github.com/espressif/esp-idf/issues/8242
2022-02-07 12:44:06 +08:00
Armando
2f874dbf10
adc: upgrade adc calibration algorithm to version 2 on c3
2022-02-07 12:12:25 +08:00
Marius Vikhammer
ca6f76d831
spi flash: fix cache accessed while disabled issues at -O0
...
mask_get_id and gpio_hal_iomux_func_sel were called while cache
is disabled, but were not inlined as expected at -0O.
Force these functions to always be inlined.
2022-02-07 11:33:33 +08:00
Marius Vikhammer
8220b2bb34
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
...
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.
Closes https://github.com/espressif/esp-idf/issues/8301
2022-02-07 11:32:45 +08:00
Dmitry Koptsov
57716e3d86
I2C: Fix I2C Master operation with repeated start condition
...
* Closes https://github.com/espressif/esp-idf/pull/8353
2022-02-07 10:58:13 +08:00
Mahavir Jain
4c6d72ba90
Merge branch 'bugfix/esp32c3_sysview_examples_build_error' into 'master'
...
riscv: fix portSTACK_GROWTH redefinition error
See merge request espressif/esp-idf!17011
2022-02-05 05:43:05 +00:00
Michael (XIAO Xufeng)
c1b30491dd
Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
...
UART: add uart wakeup event for esp32c3 and esp32s3
Closes IDF-3416
See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
gabsuren
6c26d65203
websocket: Added configs reconnect_timeout_ms
and network_timeout_ms
...
Closes https://github.com/espressif/esp-idf/issues/8263
2022-02-04 04:07:31 +08:00
Ivan Grokhotkov
4cedf84626
app_trace: add SPDX headers, mention SystemView in copyrights doc
...
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-03 17:44:59 +01:00
Erhan Kurubas
88889e2f88
esp32c3: fix portSTACK_GROWTH redefinition error
2022-02-03 14:55:49 +01:00
MacDue
ef25590277
unity: unity_gets remove unnecessary UINT8_MAX clamp + extra comments
2022-02-03 10:09:32 +00:00
Darian Leung
1c60d6a895
freertos: Add SPDX license identifiers and update xtensa port files
...
This commit does the following:
- Adds SPDX license identifiers to FreeRTOS sources. Remove those FreeRTOS sources from
the copyright ignore list.
- Update xtensa port files to match FreeRTOS v10.4.3. Added SPDX license identifiers
to the port files.
- Fixed some improperly licensed files
- Removed portbenchmark.h from RISC-V port
2022-02-03 17:08:14 +08:00
Darian Leung
3336b057d6
xtensa: Move saving of a0 register to match upstream
...
Upstream xtensa exception handling will save PS, PC, and a0 registers
together when saving a minimal context. This commit ppdates the xtensa
exception handling to match upstream behavior.
2022-02-03 17:08:14 +08:00
Mahavir Jain
98a74e431c
spi_flash: fix unused variable warning with SPI_FLASH_DANGEROUS_WRITE_ALLOWED
...
Closes https://github.com/espressif/esp-idf/issues/8329
Closes IDFGH-6700
2022-02-03 09:52:06 +05:30
MacDue
f19f43dce1
unity: Better readline for interactive test menu
...
This commit replaces the use of esp_rom_uart_rx_string() with
a new simple readline function that supports echoing back
the input, along with backspaces.
2022-02-02 13:39:19 +00:00
Mahavir Jain
68f67db984
Merge branch 'feature/efuse_esp8684' into 'master'
...
efuse(esp32c2): Support eFuse key APIs
Closes IDF-3818
See merge request espressif/esp-idf!16290
2022-02-01 11:30:00 +00:00
KonstantinKondrashov
ebdc52d4e2
efuse(esp32c2): Support eFuse key APIs
2022-02-01 17:30:31 +08:00
Mahavir Jain
db58d00d64
Merge branch 'bugfix/ds_gen_test_cases_fix' into 'master'
...
ds: update gen_digital_signature_tests.py to handle different max key sizes
Closes IDFGH-6601
See merge request espressif/esp-idf!16915
2022-02-01 04:25:32 +00:00
Laukik Hase
db914d6272
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-01-31 15:03:54 +05:30
Marius Vikhammer
4a3f50faa0
ds: update gen_digital_signature_tests.py to handle different max key sizes
...
Max key size is now decided by target parameter, and related parameters are
no longer hard coded.
Closes https://github.com/espressif/esp-idf/issues/8243
2022-01-31 12:22:10 +08:00
Marius Vikhammer
23c55946a6
kconfig: also parse target specific sdkconfig.rename.TARGET files
...
Adds functionality for target specific sdkconfig.rename files which can be
used when certain renames are only needed for a specific target.
2022-01-31 11:36:08 +08:00
Jakob Hasse
e899edd793
Merge branch 'bugfix/nvs_coverity_issues' into 'master'
...
bugfix (nvs): Fixed issues found by Coverity
Closes IDF-4391
See merge request espressif/esp-idf!16951
2022-01-29 21:52:18 +00:00
Anton Maklakov
8bb06df68f
components: correct abs() use for unsigned and 64-bit arguments
2022-01-29 12:07:16 +07:00
Shu Chen
095fb1afc1
Merge branch 'feature/ot-multicast-routing' into 'master'
...
openthread: enable 1.2 multicast routing
See merge request espressif/esp-idf!16943
2022-01-28 15:43:04 +00:00
Anton Maklakov
7cdd151612
Merge branch 'bugfix/nocommon' into 'master'
...
enable and fix warnings on common symbols
Closes IDFGH-3055 and IDF-3013
See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
aleks
25578cc926
set to esp-based_on_9e992698
2022-01-28 12:23:56 +00:00
Sudeep Mohanty
1c393a32c4
Merge branch 'refactor/refactor_ulp_component' into 'master'
...
ulp: refactor ulp component
Closes IDF-4520
See merge request espressif/esp-idf!16886
2022-01-28 10:23:56 +00:00
Konstantin Kondrashov
7f1dc675ae
Merge branch 'feature/clean_up_fe_sb_in_bootloader_for_esp32h2' into 'master'
...
bootloader_support: Removes old code of SB and FE for esp32h2
See merge request espressif/esp-idf!16935
2022-01-28 09:44:16 +00:00
David Čermák
5dcd630444
Merge branch 'feature/dhcps_more_client_info' into 'master'
...
lw-IP: Add more client's infor to dhcp server cb
Closes IDFGH-5839
See merge request espressif/esp-idf!16433
2022-01-28 07:31:32 +00:00
Kapil Gupta
096fe163ca
Merge branch 'bugfix/wps_scan_resumption' into 'master'
...
wpa_supplicant: Scan resumption in PBC mode
Closes WIFI-4313
See merge request espressif/esp-idf!16912
2022-01-28 06:00:12 +00:00
Kapil Gupta
f57ccaabee
esp_example: Enable MbedTLS for DPP enrollee by default
2022-01-28 13:53:39 +08:00
morris
9f893130ad
Merge branch 'feature/lcd_i2c_oled_example' into 'master'
...
lcd: add i2c oled example
See merge request espressif/esp-idf!16506
2022-01-28 04:07:34 +00:00
morris
0f11a17678
Merge branch 'docs/add_cb_to_ledc_rst' into 'master'
...
ledc: Mention source clock and fade end callback in LEDC API reference
Closes IDFGH-5637 and IDF-3293
See merge request espressif/esp-idf!14683
2022-01-28 03:12:10 +00:00
Ivan Grokhotkov
05b644ec50
Merge branch 'bugfix/twai_isr_iram' into 'master'
...
hal: fix CONFIG_TWAI_ISR_IN_IRAM for C3, hide TWAI menu for C2
See merge request espressif/esp-idf!16881
2022-01-27 22:14:05 +00:00
Jakob Hasse
4c8c2a8079
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-01-27 19:30:58 +08:00
liuning
2a8c8686ac
esp_wifi: fix common clock bug
2022-01-27 19:21:48 +08:00
songruojing
31f9a69454
ledc: Update LEDC programming guide
...
Add source clock in timer config
Add fade end callback and ledc_fade_stop usage
Explain ledc_fade_mode_t difference and limitation
2022-01-27 19:13:53 +08:00
Ivan Grokhotkov
84d11d1c3e
Merge branch 'refactor/nvs_remove_mbedtls_dep' into 'master'
...
NVS: removed mbedtls as default dependency
Closes IDF-2085
See merge request espressif/esp-idf!16324
2022-01-27 10:17:42 +00:00
Jiacheng Guo
a271753a6a
openthread: enable 1.2 multicast routing
...
This MR enables Thread 1.2 Backbone Border Router(BBR) feature and
multicast routing.
2022-01-27 15:22:27 +08:00
Sudeep Mohanty
2fc9bd61bf
ulp: refactor ulp component
...
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.
This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Anton Maklakov
85462d17a5
components/bt: move deinit_semaphore definition to source file
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
9a7d9b59c1
usb: mark global variable declared in header 'extern'
2022-01-27 11:00:09 +07:00