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
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
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