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