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
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
Ivan Grokhotkov
67c52657cf
bluedroid: mark dequant_long_* as extern variables
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
20286b37b2
blufi: remove duplicate definition of blufi_env
...
Keeping the single definition in blufi_prf.c
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
f770cf721a
fatfs: make global constants extern
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
771f5d32eb
tinyusb: removed set-but-never-used global variable tusb_desc_set
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
336d0b64de
riscv: fix panic_reasons being an instance of enum, not type name
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
d4190a9471
wpa_supplicant: mark global variables defined in headers 'extern'
...
...to avoid defining common symbols.
GCC since version 10 defaults to -fno-common and doesn't generate
common symbols, leading to duplicate definitions of these symbols.
2022-01-27 11:00:09 +07:00
Konstantin Kondrashov
c4d91581ca
Merge branch 'bugfix/efuse_timesettings_for_esp32s3' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32S3
See merge request espressif/esp-idf!16907
2022-01-26 09:33:39 +00:00
Jakob Hasse
1d4061d3f2
refactor (nvs_flash)!: removed mbedtls as default dependency
...
mbedtls is only required in NVS if NVS encryption is enabled.
Hence the mbedtls dependency is now only added if encryption
is enabled, otherwise it is not added.
BREAKING CHANGE: Removed mbedtls as default dependency
2022-01-26 17:32:23 +08:00
KonstantinKondrashov
f761cee32e
bootloader_support: Removes old code of SB and FE for esp32h2
2022-01-26 15:21:20 +08:00
David Cermak
05911fd4a1
lwip: Add dhcp servers post processing hook
...
In order to access DHCP messages from clients in different states
and possibly to implement custom handlers that alter the current state,
e.g. reject a client with specific hostname using NAK.
2022-01-26 07:18:48 +01:00
Song Ruo Jing
3821a09f83
Merge branch 'bugfix/ledc_consecutive_fade' into 'master'
...
ledc: Bugfixes for issues related to fade protection on ESP32
Closes IDFGH-4918 and IDFGH-5565
See merge request espressif/esp-idf!14568
2022-01-26 06:00:59 +00:00
Omar Chebib
08b1d7544b
Merge branch 'breaking/remove_custom_uart_isr' into 'master'
...
UART & I2C: remove custom ISR registration function
See merge request espressif/esp-idf!16798
2022-01-26 03:54:14 +00:00
Wu Zheng Hui
76614e39ca
Merge branch 'bugfix/fix_console_linenosie' into 'master'
...
console: fix console stuck in auto test
See merge request espressif/esp-idf!16913
2022-01-26 03:28:39 +00:00
Zim Kalinowski
67f51a4ce5
Merge branch 'bugfix/riscv_i2c_description' into 'master'
...
i2c: fix the controller count in the header description
Closes IDFGH-6476
See merge request espressif/esp-idf!16718
2022-01-26 03:13:07 +00:00
KonstantinKondrashov
45d2d2470b
efuse: Fixes eFuse timesettings issue on esp32S3
2022-01-25 22:09:14 +08:00
Jiang Jiang Jian
3fa37be643
Merge branch 'ci/split_assign_test_and_add_c3_integration_test' into 'master'
...
ci: split assign test and add esp32c3 integration tests
See merge request espressif/esp-idf!16664
2022-01-25 13:06:06 +00:00
Mahavir Jain
0027483e93
Merge branch 'feature/mbedtls-2.28.0' into 'master'
...
mbedtls: Upgrading to v2.28.0
Closes IDFGH-6478
See merge request espressif/esp-idf!16568
2022-01-25 12:41:19 +00:00
KonstantinKondrashov
3a23340e40
bootloader_support: Support eFuse key APIs in SB and FE
2022-01-25 20:25:39 +08:00
David Cermak
e3d71c984a
lwip: Add client's MAC addr to dhcp server cb
...
* Extended storage for staipassigned events to pass client's MAC address.
* Added client's MAC to dhcp server callback
* Posting the staipassigned events with clients IP and MAC address
2022-01-25 13:08:43 +01:00
Roland Dobai
019be31a6c
Merge branch 'feat/tools_monitor_console_baud' into 'master'
...
Tools: IDF Monitor follows the UART console baud rate by default
Closes IDF-1866
See merge request espressif/esp-idf!16878
2022-01-25 11:17:56 +00:00
Kapil Gupta
dfb60c0436
wpa_supplicant: Scan resumption in PBC mode
2022-01-25 16:41:51 +05:30
laokaiyao
c4cfb654d2
uart: support light sleep on esp32s3
2022-01-25 17:43:02 +08:00
Chen Wu
35941de800
debug: esp32c3 uart1 wakeup
2022-01-25 17:43:02 +08:00
Chen Yi Qun
56e9920958
uart: add wakeup event for esp32c3
2022-01-25 17:43:02 +08:00
Ivan Grokhotkov
0ebf93c01e
Merge branch 'bugfix/linux_taret_fixes' into 'master'
...
linux target: various minor fixes
See merge request espressif/esp-idf!16905
2022-01-25 08:43:38 +00:00
wuzhenghui
ee532d55c5
fix console stuck in auto test
2022-01-25 16:19:35 +08:00
Omar Chebib
473974c8f6
UART & I2C: remove custom ISR registration function
...
Breaking change for v5.0: custom UART ISR and I2C ISR cannot be installed anymore.
2022-01-25 14:46:43 +08:00
Laukik Hase
424c45df91
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
2022-01-25 10:51:27 +05:30
Laukik Hase
befc93aa2d
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-01-25 10:51:27 +05:30
Laukik Hase
09de379731
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-01-25 10:51:27 +05:30
Laukik Hase
76a29cd68d
wpa_supplicant: Saved message-type digest used in handshake for PRF operations
2022-01-25 10:51:27 +05:30
Laukik Hase
8bf7882e84
mbedtls: Moved mbedtls_mpi_mul_int to port layer
2022-01-25 10:51:27 +05:30
Laukik Hase
285790e5aa
mbedtls: Added config options for v2.28.0 upgrade
2022-01-25 10:51:27 +05:30
Laukik Hase
547d5f84b8
mbedtls: Upgrade to v2.28.0
2022-01-25 10:51:27 +05:30
Mahavir Jain
34c21cb693
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_when_image_invalid' into 'master'
...
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
Closes IDFGH-6633
See merge request espressif/esp-idf!16906
2022-01-25 04:23:56 +00:00
Chen Yudong
dd4f27801f
ci: move integration test related files outside of components
2022-01-25 11:49:55 +08:00
Chen Yudong
151d8cdcd2
ci: split assign tests
2022-01-25 11:49:53 +08:00
Mahavir Jain
c4ddfc9f06
Merge branch 'bugfix/efuse_timesettigs_in_burn_op' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32c3
Closes FCS-849
See merge request espressif/esp-idf!16885
2022-01-25 03:44:51 +00:00
songruojing
68e12f7092
ledc: Add ledc_fade_stop API to support stopping the fade operation.
...
Note that ESP32 cannot support this new feature.
2022-01-25 11:19:20 +08:00
songruojing
be2ab09832
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
2022-01-25 11:19:10 +08:00
morris
cf9a7d8509
Merge branch 'example/pytest_for_component_ut' into 'master'
...
Example/pytest for component ut
See merge request espressif/esp-idf!16234
2022-01-25 02:34:34 +00:00
David Čermák
a4e54e5b06
Merge branch 'feature/mdns_null_value_txt' into 'master'
...
mdns: Support for null-value TXT records
Closes IDFGH-6624
See merge request espressif/esp-idf!16887
2022-01-24 18:29:52 +00:00
KonstantinKondrashov
4eef5fd36f
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
...
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 02:16:18 +08:00
Ivan Grokhotkov
f18d16d5e6
esp_common: don't generate custom sections when building for Linux
...
When building for Linux, a standard linker script is used. Ignore
all attributes related to custom sections.
2022-01-24 18:53:12 +01:00
Ivan Grokhotkov
f72ce6720d
linux: add dummy sys/lock.h implementation (single threaded only)
...
Useful for building IDF code which relies on the legacy locking
functions from newlib.
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
7830af1eb9
partition_table: allow enabling this component for Linux target
...
Currently partition_table_bin target is not added as a dependency
when building Linux app, and has to be specified manually
(idf.py partition-table).
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
fd1c213be4
esp_rom: support building for Linux target with Clang
...
This fixes passing -Wimplicit-fallthrough=0 flag to Clang, which it
doesn't recognize, and is not necessary for this file.
Also the flag is changed from PUBLIC to PRIVATE since it is necessary
when compiling this component only.
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
e7e059cc0a
linux: allow "sys/queue.h" to be used on macOS
...
macOS and other BSD-like systems have <sys/queue.h> header. Fall back
to it if bsd/sys/queue.h (provided on Linux by libbsd) is not found.
2022-01-24 18:51:40 +01:00
Roland Dobai
36a4011ff8
Tools: Custom baud-rate setup is not possible for IDF Monitor from menuconfig anymore
...
IDF Monitor follows the console baud rate by default. Other baud rate
can be set from command line by "idf.py monitor -B <baud>" or through
environment variables. Run "idf.py monitor --help" for more information.
2022-01-24 18:13:38 +01:00
Roland Dobai
aedb846a20
Tools: IDF Monitor follows the UART console baud rate by default
2022-01-24 18:13:38 +01:00
David Čermák
4a3d0525f2
Merge branch 'update/mqtt_refs' into 'master'
...
mqtt: Fix sending log data; dup flag after queue
See merge request espressif/esp-idf!16874
2022-01-24 15:04:21 +00:00
songruojing
e175086226
ledc: Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
2022-01-24 19:36:13 +08:00
David Cermak
6aefe9c185
mdns: Use memcpy() for copy to support non-text TXTs
2022-01-24 12:27:26 +01:00
David Cermak
23c2db406d
mdns: Support for null-value TXT records
...
Closes https://github.com/espressif/esp-idf/issues/8267
2022-01-24 12:27:26 +01:00
morris
2ab7d92785
lcd: improve LL driver according to TRM
2022-01-24 18:58:37 +08:00
morris
1938d7c006
log: skip unused tag string wanring in esp_check.h
2022-01-24 18:45:46 +08:00
Fu Hanxi
62a397a9b5
ci: add flaky test
2022-01-24 16:37:23 +08:00
Fu Hanxi
a801555299
ci: replace all component ut with pytest-embedded
2022-01-24 16:37:23 +08:00
David Čermák
faf0f61cdb
Merge branch 'bugfix/mdns_txt_alloc_issue' into 'master'
...
mdns: Fix alloc issue if TXT has empty value
See merge request espressif/esp-idf!16888
2022-01-21 18:22:38 +00:00
David Cermak
205f6ba854
mdns: Fix alloc issue if TXT has empty value
2022-01-21 14:18:22 +01:00
Ivan Grokhotkov
e090b6b031
Merge branch 'bugfix/semihosting_vfs_asm' into 'master'
...
xtensa: fix semihosting arguments potentially begin optimized out
See merge request espressif/esp-idf!16880
2022-01-21 10:28:19 +00:00
KonstantinKondrashov
4ede9aaa26
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-21 16:45:50 +08:00
Alex Lisitsyn
2cad565781
Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict' into 'master'
...
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)
See merge request espressif/esp-idf!12162
2022-01-21 05:18:01 +00:00
Alex Lisitsyn
e9cdb3e0d3
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)
2022-01-21 05:18:00 +00:00
morris
24e6fdf3c6
lcd: add i2c oled example with lvgl port
2022-01-21 11:21:38 +08:00
morris
dcee019311
Merge branch 'feature/rgb_panel_example' into 'master'
...
lcd: add rgb panel example
Closes IDF-4429
See merge request espressif/esp-idf!16459
2022-01-21 03:06:04 +00:00
Marius Vikhammer
cbe23087fc
Merge branch 'feature/ulp_stop' into 'master'
...
ULP: add functions for stopping/restarting the ulp-riscv
Closes IDFGH-6588
See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
Ivan Grokhotkov
2ebde60cbb
hal: fix CONFIG_TWAI_ISR_IN_IRAM not taking effect for C3/H2
2022-01-20 22:24:27 +01:00
Ivan Grokhotkov
355b501126
driver: show TWAI config menu only if TWAI is supported
2022-01-20 22:23:45 +01:00
Ivan Grokhotkov
aeed91b589
xtensa: fix semihosting arguments potentially begin optimized out
...
The compiler was not informed that the assembly block should be
treated as a memory barrier and could optimize out the initialization
of local arrays which could be used as semihosting arguments.
This resulted in garbage values being passed as semihosting call
arguments.
Additionally this commit changes the approach for placing values into
specific register. Instead of clobbers, local register variables are
used. This results in simpler generated code, since the compiler is
able to place values directly into the registers used for semihosting
arguments, avoiding additional moves.
2022-01-20 19:48:05 +01:00
morris
821634b24e
lcd: add rgb panel example
2022-01-20 22:09:23 +08:00
morris
0e15844706
lcd: alloc framebuffer in alignment
2022-01-20 22:06:02 +08:00
morris
8ea1c12d80
lcd: split gpio check for de and hv mode
2022-01-20 22:06:02 +08:00
David Cermak
2d4cd7772e
mqtt: Fix sending log data; dup flag after queue
...
* Fix sending mqtt message longer than Tx buffer size
* Fix enqueue API to send data with correct dup flag
* Update submodule: git log --oneline b86d42c130ac64a916ce6cf299d99f9756692394..985078affa8a2d2b56b87c8e6455252850f895c6
Detailed description of the changes:
* Isolate IDF env for v4.4 and v5.0(master)
- See merge request espressif/esp-mqtt!111
- ci: Isolate IDF env for v4.4 and v5.0(master) (espressif/esp-mqtt@4c5a65c )
* Client: Remove usage of legacy FreeRTOS types
- See merge request espressif/esp-mqtt!120
- ci: Fix build issues with IDF-4.4 against master (espressif/esp-mqtt@c28a56d )
- See commit https://github.com/espressif/esp-mqtt/commit/6ef98d6
* mqtt_client: Fix mqtt send long data error
- See merge request espressif/esp-mqtt!117
- Closes https://github.com/espressif/esp-mqtt/issues/214
- See commit https://github.com/espressif/esp-mqtt/commit/372b323
* Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1
- See merge request espressif/esp-mqtt!116
- See commit https://github.com/espressif/esp-mqtt/commit/df8dc92
2022-01-20 12:58:55 +01:00
Simon
e04d4ac2b5
Merge branch 'bugfix/remove_usb_check' into 'master'
...
usb_serial_jtag: remove the strict condition check in esp_phy
See merge request espressif/esp-idf!16857
2022-01-20 10:48:33 +00:00
David Čermák
af221101db
Merge branch 'bugfix/mdns_service_instance_crash' into 'master'
...
mdns: Fix random crash when defalt service instance queried
Closes IDFGH-6606
See merge request espressif/esp-idf!16850
2022-01-20 08:27:46 +00:00
David Čermák
d7d22ef0fd
Merge branch 'bugfix/fix_tcp_transport_exeception' into 'master'
...
tcp_transport: fix tcp trasnport exception
See merge request espressif/esp-idf!16793
2022-01-20 06:48:07 +00:00
Marius Vikhammer
ff6f927b5f
ULP: add functions for stopping/restarting the ulp-riscv
...
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
Michael (XIAO Xufeng)
81b92af5cf
Merge branch 'bugfix/adc2_cal_assert_arbiter_failed' into 'master'
...
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration
See merge request espressif/esp-idf!16836
2022-01-19 15:55:07 +00:00
xutao
e794786c74
tcp_transport: fix tcp transport execption pointer
2022-01-19 13:44:20 +01:00
Cao Sen Miao
bf8ea223ac
usb_serial_jtag: remove the strict condition check in esp_phy
2022-01-19 19:08:35 +08:00
Kevin (Lao Kaiyao)
bf8d4d55d0
Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
...
esp8684: rename esp8684 to esp32c2
Closes IDF-4530
See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
Wu Zheng Hui
1415106db2
Merge branch 'feature/memory_layout_config_for_esp8684' into 'master'
...
heap_init: Adjust the stack/DRAM region size for ESP8684
See merge request espressif/esp-idf!16725
2022-01-19 08:57:55 +00:00
Wang Qi Xiang
41640e2e03
heap_init: Adjust the stack/DRAM region size for ESP8684
2022-01-19 08:57:54 +00:00
laokaiyao
a8ab869a84
i2s: fix mclk stop issue when setting clock
2022-01-19 11:52:09 +08:00
Jiang Jiang Jian
b35a66e173
Merge branch 'bugfix/btdm_fix_common_symbols' into 'master'
...
components/bt: avoid defining common symbols in libbtdm_app.a of ESP32
See merge request espressif/esp-idf!16810
2022-01-19 03:30:08 +00:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
lovyan03
8bb95150bf
sdspi_host: bugfix The clock may be sent out before the bus that was used immediately before is released.
...
Merges https://github.com/espressif/esp-idf/pull/7710
2022-01-18 21:07:10 +00:00
David Cermak
f46dffca62
mdns: Fix random crash when defalt service instance queried
...
Merges https://github.com/espressif/esp-idf/pull/8248
2022-01-18 17:15:35 +01:00
songruojing
5f6a128b64
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY
2022-01-18 22:44:05 +08:00
David Čermák
004c02b8bd
Merge branch 'contrib/github_pr_8164' into 'master'
...
Replace lwIP byte order functions with built-in functions (GitHub PR)
Closes IDFGH-6512
See merge request espressif/esp-idf!16627
2022-01-18 12:35:12 +00:00
Ivan Grokhotkov
187e6ff66f
Merge branch 'bugfix/config_desc_total_length' into 'master'
...
Bugfix: make wTotalLength uint16_t to avoid truncation
See merge request espressif/esp-idf!16833
2022-01-18 10:45:55 +00:00
Ivan Grokhotkov
76c7fd6664
Merge branch 'contrib/github_pr_7754' into 'master'
...
Fix infinite recursion in FLAG_ATTR operator (GitHub PR)
Closes IDFGH-6073
See merge request espressif/esp-idf!16631
2022-01-18 10:30:25 +00:00
David Čermák
0fa3c5b331
Merge branch 'bugfix/mqtt_docs_custom_outbox' into 'master'
...
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implementation
Closes IDFGH-6554
See merge request espressif/esp-idf!16828
2022-01-18 09:39:35 +00:00
Sudeep Mohanty
d4db7aeabf
Merge branch 'feature/ulp_riscv_support_for_esp32s3' into 'master'
...
ulp: Added ULP RISC-V support for esp32s3
Closes IDF-1833
See merge request espressif/esp-idf!16549
2022-01-18 09:04:14 +00:00
Marius Vikhammer
6566c1f394
Merge branch 'bugfix/rsa_gen_key_test' into 'master'
...
mpi: reduce RSA generate key test key size
See merge request espressif/esp-idf!16837
2022-01-18 08:53:15 +00:00
morris
a416b13d4c
Merge branch 'bugfix/unused_tag_string_warnings' into 'master'
...
Fix build warnings when CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is set to true
Closes IDFGH-6608
See merge request espressif/esp-idf!16827
2022-01-18 05:57:52 +00:00
Sudeep Mohanty
2ed15d8b1e
ulp: Added ULP RISC-V support for esp32s3
...
This commit adds support for ULP RISC-V for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Michael (XIAO Xufeng)
403577e3ff
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration
...
Issue exist since first IDF version supporting ESP32-S2.
2022-01-18 12:26:55 +08:00
Marius Vikhammer
90ad86e0d8
Merge branch 'feature/more_aes_gcm_test' into 'master'
...
AES: improve AES-GCM test coverage.
See merge request espressif/esp-idf!16792
2022-01-18 02:19:52 +00:00
Marius Vikhammer
b9415373d3
mpi: reduce RSA generate key test key size
...
Reduce key size to make the test run faster in CI, reduce the chance of timeouts.
2022-01-18 10:06:38 +08:00
morris
a298e44b33
gptimer: added a section to describe the thread safety
2022-01-18 10:06:26 +08:00
morris
608a1dc237
driver: place iram functions by linker generator
2022-01-18 10:06:26 +08:00
morris
e51474ef70
build: fix unused tag string
...
Closes https://github.com/espressif/esp-idf/issues/8250
2022-01-18 10:06:08 +08:00
Zim Kalinowski
d0890037c5
Merge branch 'feature/esp_ipc_isr_init_in_ipc_task' into 'master'
...
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
See merge request espressif/esp-idf!16495
2022-01-18 00:54:37 +00:00
David Čermák
9fc95216da
Merge branch 'contrib/github_pr_8103' into 'master'
...
mdns: Fix mDNS memory leak
Closes IDFGH-6448
See merge request espressif/esp-idf!16701
2022-01-17 14:56:45 +00:00
Martin Valik
022fc12ed1
Bugfix: make wTotalLength uint16_t to avoid truncation
2022-01-17 13:43:37 +01:00
David Cermak
c9794ad08f
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implentation
...
Closes https://github.com/espressif/esp-mqtt/issues/217
2022-01-17 10:47:59 +01:00
David Cermak
fad62cc1ed
mdns: Fix minor memory leaks when creating services
2022-01-17 08:31:16 +01:00
David Čermák
124b5f5245
Merge branch 'feature/mdns_unicast_query_api' into 'master'
...
mdns: Allow for unicast PTR queries
Closes IDFGH-6263
See merge request espressif/esp-idf!16441
2022-01-17 06:54:32 +00:00
David Čermák
c45d34aea2
Merge branch 'bugfix/lwipopts_cleanup' into 'master'
...
lw-IP: Cleanup of config options and flags
Closes IDF-3594
See merge request espressif/esp-idf!15248
2022-01-17 06:46:27 +00:00
Otto Winter
eb29ee27ef
bugfix (esp_common): remove infinite recursion in FLAG_ATTR operator
...
Closes https://github.com/espressif/esp-idf/pull/7754
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-01-17 12:22:42 +08:00
wangmengyang
941165e380
components/bt: fix the definition of "le_scan_duplicate_option" to avoid defining common symbols
2022-01-17 10:46:00 +08:00
Cao Sen Miao
5bf739aef3
spi_flash: Add hint for explaining erase yield
2022-01-17 09:52:54 +08:00
Michael (XIAO Xufeng)
3ba47f1628
Merge branch 'test/remove_spi_flash_perf_thr' into 'master'
...
spi_flash_test: remove threshold from unit test
See merge request espressif/esp-idf!16803
2022-01-16 19:19:15 +00:00
Michael (XIAO Xufeng)
1cbf9506b2
spi_flash_test: remove threshold from unit test
2022-01-16 19:19:14 +00:00
Mahavir Jain
b149ff8dda
Merge branch 'bugfix/http_auto_redirect' into 'master'
...
esp_http_client: Added event for HTTP redirection
Closes IDFGH-6371
See merge request espressif/esp-idf!16753
2022-01-16 05:59:21 +00:00
Mahavir Jain
7b87ea2a15
Merge branch 'feature/expat_to_component_manager' into 'master'
...
Push out `expat` to idf-extra-components repository
Closes IDF-4546
See merge request espressif/esp-idf!16785
2022-01-16 05:49:36 +00:00
Martin Vychodil
f76d695aba
Merge branch 'feature/vfs_semihosting_c3' into 'master'
...
vfs: add support for semihosting on ESP32-C3
Closes IDF-2287
See merge request espressif/esp-idf!11890
2022-01-14 20:20:26 +00:00
Martin Vychodil
f01b9a583e
Merge branch 'bugfix/vfs_open_errno' into 'master'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR)
Closes IDFGH-6378
See merge request espressif/esp-idf!16790
2022-01-14 17:23:07 +00:00
David Cermak
125c312552
mdns: Use multi/uni-cast types in API
2022-01-14 17:12:51 +00:00
David Cermak
7eeeb01ea7
mdns: Allow for unicast PTR queries
...
Adresses https://github.com/espressif/esp-idf/issues/7932
2022-01-14 17:12:51 +00:00
David Cermak
99dd8eedb1
mdns: Fix potential null deref for ANY query type
2022-01-14 17:12:51 +00:00
Ivan Grokhotkov
876f4d6a1c
vfs: add support for semihosting on ESP32-C3
2022-01-14 17:29:03 +01:00
David Cermak
5d7489eae4
lwip: Fix minor lwip dependency issue
...
Clean-up config option rename file
2022-01-14 16:41:38 +01:00
David Cermak
b597dbff7c
vfs: Warn aobut using deprecated select option
...
Add LWIP_USE_ONLY_LWIP_SELECT for compatibility, as the dependency may
break backward compatibility if LWIP_USE_ONLY_LWIP_SELECT=y.
2022-01-14 16:41:38 +01:00
David Cermak
cfc52bacbc
lwip: Cleanup lwipopts flags and options
...
* Removed unused and flags
* Fixed comments
* Order of flags lwip/esp-specific
* Used 1/0 logic for boolean flags
2022-01-14 16:41:38 +01:00
Scott Shawcroft
94ce8444fc
esp_netif: Fix -Wundef issues with esp_netif.h
...
Partially addresses https://github.com/espressif/esp-idf/pull/5179
2022-01-14 16:19:31 +01:00
Ivan Grokhotkov
bce69ab7c1
vfs: add test for errno value after 'open'
2022-01-14 13:34:22 +01:00
hörbert
71fe41d0e0
vfs: don't overwrite errno by a hard coded ENOENT
...
Calling "open" in CHECK_AND_CALL sets a perfectly correct errno.
There is no need to overwrite that with a value of ENOENT, since doing
so hides lower level errors like EIO.
Closes https://github.com/espressif/esp-idf/pull/8036
2022-01-14 13:34:21 +01:00
Ivan Grokhotkov
f010729e74
Merge branch 'contrib/esp_idf_github_pr_7413' into 'master'
...
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails (Github PR)
Closes IDFGH-5692
See merge request espressif/esp-idf!14972
2022-01-14 12:32:20 +00:00
morris
6050388f51
Merge branch 'feature/i80_lcd_psram_s3' into 'master'
...
lcd: i80 lcd can transfer framebuffer in PSRAM
Closes IDFGH-6426
See merge request espressif/esp-idf!16548
2022-01-14 06:36:08 +00:00
Mahavir Jain
833f8bf6fb
Merge branch 'bugfix/check_chip_id_at_start_ota' into 'master'
...
esp_https_ota: fix for checking chip id at start of OTA
Closes IDF-1724
See merge request espressif/esp-idf!16739
2022-01-14 04:14:01 +00:00
morris
a611b39254
lcd: update i80 lcd example to work with PSRAM
2022-01-14 11:35:34 +08:00
morris
070dc53e0b
lcd: i80 bus can transfer PSRAM buffer
...
Closes https://github.com/espressif/esp-idf/issues/8085
2022-01-14 11:03:50 +08:00
Marius Vikhammer
ef3724411e
AES: improve AES-GCM test coverage.
2022-01-14 10:55:06 +08:00
caixf
6c3b528917
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails
...
Closes https://github.com/espressif/esp-idf/pull/7413
2022-01-13 17:17:42 +01:00
KonstantinKondrashov
f49787ac9f
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
...
It helps to reduce the memory usage at startup.
Closes https://github.com/espressif/esp-idf/issues/8111
2022-01-13 21:28:08 +08:00
Omar Chebib
bb730292d4
i2c: fix the controller count in the header description
...
Closes https://github.com/espressif/esp-idf/issues/8133
2022-01-13 18:25:41 +08:00
Harshit Malpani
c0b796532b
esp_https_ota: fix for checking chip id at start of OTA
2022-01-13 15:20:26 +05:30
Shu Chen
991874ae43
Merge branch 'feature/lwip-ip6-input-hook' into 'master'
...
ladd ip6 input hook
See merge request espressif/esp-idf!16646
2022-01-13 07:21:15 +00:00
Armando (Dou Yiwen)
ebf7e811b1
Merge branch 'refactor/spiram_common_file' into 'master'
...
psram: abstract MMU/Cache and PSRAM hardware related code into lower layer on ESP32S2
Closes IDF-4328
See merge request espressif/esp-idf!16090
2022-01-13 05:49:34 +00:00
Jiacheng Guo
d6c4e2cb34
lwip: add ip6 input hook
...
The MR adds Kconfig options and a default weak implementation for the
lwIP ip6 input hook.
2022-01-13 12:23:38 +08:00
Armando
7240ad2b3a
psram: refactor spiram.c on esp32s2
2022-01-13 11:07:57 +08:00
Armando
9cf4126656
psram: add a ut for putting flash.text and rodata in psram
2022-01-13 11:07:57 +08:00
Ivan Grokhotkov
b83d249e61
Merge branch 'feature/cmake_time_t_automatic' into 'master'
...
newlib: auto-detect sizeof(time_t)
See merge request espressif/esp-idf!16682
2022-01-12 23:49:22 +00:00
Michael (XIAO Xufeng)
7fb3e06c69
Merge branch 'bugfix/adc_include_sdkconfig' into 'master'
...
adc: add explicit sdkconfig.h include
See merge request espressif/esp-idf!16746
2022-01-12 15:35:13 +00:00
Michael (XIAO Xufeng)
a2fc3629bd
adc: add explicit sdkconfig.h include
2022-01-12 15:35:12 +00:00
Armando (Dou Yiwen)
342c830d9b
Merge branch 'feature/support_spi_on_8684' into 'master'
...
spi: support spi on 8684
Closes IDF-4470 and IDF-4024
See merge request espressif/esp-idf!16475
2022-01-12 09:10:21 +00:00
Hrudaynath Dhabe
190b31bb1b
Merge branch 'bugfix/eap_method_selection' into 'master'
...
esp_wifi: Fix the negotiation of method with eap server.
Closes IDFGH-6088
See merge request espressif/esp-idf!16246
2022-01-12 08:46:32 +00:00
Yuan Jian Min
9485873669
Merge branch 'bugfix/fix_smartconfig_setopt_fail' into 'master'
...
smartconfig: Fix smartconfig set socket option fail
Closes IDFGH-6539
See merge request espressif/esp-idf!16634
2022-01-12 06:16:47 +00:00
Laukik Hase
ca84d2d6c9
esp_http_client: Added event for HTTP redirect
...
- Allows users to manually intercept and process the HTTP redirection
when disable_auto_redirect (from the esp_http_client handle) is set to true
Closes https://github.com/espressif/esp-idf/issues/8029
2022-01-12 11:40:32 +05:30
Mahavir Jain
b08323c903
Push out expat
to idf-extra-components repository
...
This component will be used through IDF component manager.
2022-01-12 10:13:23 +05:30
Armando
6a74cb695d
spi: support spi on 8684
2022-01-12 11:30:29 +08:00
Ivan Grokhotkov
d2b894862c
newlib: auto-detect sizeof(time_t)
...
To make the transition from 32-bit time_t to 64-bit time_t smoother,
detect the size of this type in CMake and remove the manual option in
Kconfig.
The information about 64-bit time_t support is moved from Kconfig help
string into the "system time" section of the API reference.
2022-01-11 19:01:21 +01:00
yuanjm
467a8726c4
esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
...
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-11 22:01:17 +08:00
Mahavir Jain
fba8582da4
Merge branch 'feature/nghttp_sh2lib_component_manager' into 'master'
...
Push out nghttp and sh2lib to IDF component manager
Closes IDF-4529
See merge request espressif/esp-idf!16618
2022-01-11 13:45:59 +00:00
Ivan Grokhotkov
18af031791
Merge branch 'bugfix/rom_time_t_size_deps' into 'master'
...
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers
Closes IDFGH-6318
See merge request espressif/esp-idf!16679
2022-01-11 12:58:55 +00:00
David Čermák
8f476e586f
Merge branch 'bugfix/lwip_lowpan6_config' into 'master'
...
lw-ip: Prepare lwip CMake for 6LoWPAN options (GitHub PR)
Closes IDFGH-5731
See merge request espressif/esp-idf!14956
2022-01-11 09:09:08 +00:00
Omar Chebib
a07b3acf9a
Merge branch 'bugfix/coredump_data_section' into 'master'
...
espcoredump: fix a bug where tracked DRAM data were not dumped
Closes IDFGH-6498
See merge request espressif/esp-idf!16573
2022-01-11 07:43:25 +00:00
Jiang Jiang Jian
1d6f6044f8
Merge branch 'bugfix/support_esp32s2_eco1' into 'master'
...
ESP32S2: Support ESP32S2 ECO1
Closes WIFI-4227
See merge request espressif/esp-idf!16264
2022-01-11 07:12:25 +00:00
Kevin (Lao Kaiyao)
cc3adce8d7
Merge branch 'bugfix/i2s_return_error_code' into 'master'
...
i2s: revert the reading/writing can return timeout error
Closes IDFGH-6464
See merge request espressif/esp-idf!16546
2022-01-11 07:06:01 +00:00
Kevin (Lao Kaiyao)
7e36902ea7
Merge branch 'feature/peripherals_support_chip_specific_clock_frequency' into 'master'
...
ESP32H2: Fix the unit of apb frequency
Closes IDF-3614
See merge request espressif/esp-idf!15834
2022-01-11 06:21:17 +00:00
Mahavir Jain
77929ec0ac
docs/en: Add entry for http_parser in copyrights page
2022-01-11 10:26:25 +05:30
Mahavir Jain
e7db313c63
mqtt: replace nghttp with http_parser references
2022-01-11 10:26:25 +05:30
Mahavir Jain
8e94cf2bb1
Add http_parser (new component) dependency
2022-01-11 10:26:25 +05:30
Mahavir Jain
a67d7b7d5b
nghttp: Remove component and move to idf-extra-components repository
...
This component will now be used through ESP-IDF component manager
2022-01-11 10:26:25 +05:30
Mahavir Jain
d2956f208b
http_parser: Split nghttp port and create new http_parser component
...
Note: nghttp will be moved to IDF component manager
2022-01-11 10:26:24 +05:30
Jiang Jiang Jian
8b38fe6dda
Merge branch 'bugfix/move_lib_printf_esp_phy' into 'master'
...
Bugfix:Move lib_printf.c to esp_phy
See merge request espressif/esp-idf!16728
2022-01-11 04:07:34 +00:00
marcusbirkin
b65447ac09
lwIP: Remove redundant lowspan6 source files
...
This is a preparation for adding 6LoWPAN config options. We would
optionally add:
* "lwip/src/netif/lowpan6_common.c"
* "lwip/src/netif/lowpan6.c"
* "lwip/src/netif/lowpan6_ble.c"
But only if LWIP_LOWPAN6_SUPPORT is enabled in lwip menuconfig.
Merges https://github.com/espressif/esp-idf/pull/7436
2022-01-10 11:51:13 +01:00
morris
f8bb2741d4
Merge branch 'refactor/remove_toolchain_prefix_in_kconfig' into 'master'
...
cmake: using toolchain prefix determined by cmake itself
See merge request espressif/esp-idf!16703
2022-01-10 10:17:33 +00:00
likunqiao
8b3cddf09a
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-10 17:51:52 +08:00
Fu Hanxi
60c5b37bfe
Merge branch 'refactor/ldgen' into 'master'
...
refactor: ldgen
Closes IDF-605 and IDFGH-6271
See merge request espressif/esp-idf!16509
2022-01-10 09:15:44 +00:00
laokaiyao
6e39b4b3bd
i2s: revert reading/writing return error code
...
Closes https://github.com/espressif/esp-idf/issues/8121
Revert reading/writing return ESP_ERR_TIMEOUT introduced in commit b26da6f
2022-01-10 15:51:01 +08:00
laokaiyao
cd10bb7fa2
esp32h2: fix apb freq bug
2022-01-10 12:43:31 +08:00
Wang Meng Yang
df1f9ec26e
Merge branch 'bugfix/a2dp_source_congest' into 'master'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
Closes IDFGH-6485
See merge request espressif/esp-idf!16537
2022-01-10 03:00:05 +00:00
morris
1267738149
cmake: using toolchain prefix determined by cmake itself
2022-01-10 10:06:09 +08:00
David Čermák
7d43be9675
Merge branch 'contrib/github_pr_8106' into 'master'
...
Add mDNS miss comment (GitHub PR)
Closes IDFGH-6445
See merge request espressif/esp-idf!16629
2022-01-07 15:58:13 +00:00
David Cermak
6f2e0d53a4
lwip: Fix spacing issue
2022-01-07 16:38:40 +01:00
David Cermak
c83678f64f
mdns: Fix copyright
2022-01-07 16:16:31 +01:00
Mahavir Jain
397639da7d
Merge branch 'feature/rsa_intr' into 'master'
...
MPI: add kconfig option for doing intr-based exp-mod operations
Closes IDF-4389
See merge request espressif/esp-idf!16558
2022-01-07 13:27:53 +00:00