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
yuanjm
2e31779931
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-07 20:05:21 +08:00
chenjianxing
7a9947f3c6
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-01-07 19:59:41 +08:00
David Cermak
1882cbe44e
mdns: Make fuzzer layers compatible with llvm>=6
2022-01-07 16:18:32 +08:00
Fu Hanxi
4f779bb7c6
ci: use python -m coverage
instead of coverage
executable
2022-01-07 16:18:32 +08:00
morris
705788a13f
unit_tests: replace legacy timer group with gptimer
2022-01-07 14:59:09 +08:00
morris
02f6b83f47
app_trace: support gptimer as timestamp source
2022-01-07 14:59:09 +08:00
morris
7000f5d85a
legacy_timer: move unit test to test app
2022-01-07 14:44:50 +08:00
morris
5deb83b12d
gptimer: new driver for previous timer group
2022-01-07 14:44:50 +08:00
Marius Vikhammer
79cc650d75
Merge branch 'feature/deprecate_freertos_assert' into 'master'
...
freertos: remove FREERTOS_ASSERT option
Closes IDF-2294
See merge request espressif/esp-idf!16563
2022-01-07 06:35:05 +00:00
Anton Maklakov
d500c8205e
Merge branch 'bugfix/fix_spi_cs_hold_time_issue' into 'master'
...
spi_master: fix spi cs_ena_posttrans issue
Closes IDFGH-6077
See merge request espressif/esp-idf!15925
2022-01-07 04:06:12 +00:00
Marius Vikhammer
ba3f12a9fe
rsa: add generate RSA keys test case
2022-01-07 11:35:35 +08:00
Wang Meng Yang
da63b3bb5a
Merge branch 'bugfix/config_parse_crash_after_flash_erase' into 'master'
...
component_bt: fixed config parse crash after flash_erase
Closes IDFGH-4331
See merge request espressif/esp-idf!16677
2022-01-07 03:05:40 +00:00
Wang Meng Yang
5f28c0c36b
Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
...
bugfix/handle_3_esp_hid_PRs
Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586
See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
Marius Vikhammer
7255497146
freertos: remove FREERTOS_ASSERT option
...
Freertos asserts are now configured the same way as all other asserts in IDF,
i.e. by configuring COMPILER_OPTIMIZATION_ASSERTION_LEVEL.
2022-01-07 09:16:48 +08:00
morris
4bf67afd0a
Merge branch 'refactor/remove_public_api_soc_dependency' into 'master'
...
remove public api soc dependency
Closes IDF-4424, IDF-3670, and IDFGH-6525
See merge request espressif/esp-idf!16541
2022-01-06 23:50:24 +00:00
Jiang Jiang Jian
cde8b94a65
Merge branch 'bugfix/dpp_no_ip_issue' into 'master'
...
Fix STA not getting IP after DPP issue
Closes IDFGH-5958
See merge request espressif/esp-idf!15578
2022-01-06 15:16:47 +00:00
morris
f7c9b8fd58
soc: remove dport register assert for esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8176
2022-01-06 23:10:22 +08:00
morris
869bed1bb5
soc: don't expose unstable soc header files in public api
2022-01-06 23:10:22 +08:00
Ivan Grokhotkov
24c20d188e
esp_rom: remove functions which depend on sizeof(struct stat)
...
...and all their callers.
With the upcoming switch from sizeof(time_t)==4 to sizeof(time_t)==8,
sizeof(struct stat) is also increasing.
A few newlib functions present in ROM allocate 'struct stat' on the
stack and call _fstat_r on this structure. The implementation of
fstat is provided in ESP-IDF. This implementation will often do
memset(st, 0, sizeof(*st)), where st is 'struct stat*', before setting
some fields of this structure. If IDF is built with sizeof(st)
different from sizeof(st) which ROM was built with, this will lead
to an out-of-bounds write and a stack corruption.
This commit removes problematic ROM functions from the linker script.
Here are the functions which allocate 'struct stat':
* _isatty_r (in ROM)
* __swhatbuf_r, called by __smakebuf_r, called by __swsetup_r and
__srefill_r (in ROM)
* _fseeko_r (not in ROM)
* glob2 (not in ROM)
* _gettemp (not in ROM)
As a result, these functions are used from libc.a, and use correct
size of 'stat' structure.
Closes https://github.com/espressif/esp-idf/issues/7980
2022-01-06 15:20:04 +01:00
morris
24acdf23ee
soc: move peripheral base address into reg_base.h
2022-01-06 21:43:12 +08:00
morris
8cdcb4e291
rmt: move RMT item definition from soc to driver
2022-01-06 21:43:12 +08:00
morris
d8f2eaf94e
gpio: remove legacy rtc_io description for esp32
2022-01-06 21:43:12 +08:00
Darian
d95b15c557
Merge branch 'feature/usb_host_cleanup' into 'master'
...
USB: Host stack cleanup and QOL update
Closes IDFGH-6120, IDF-2747, IDFGH-4592, and IDFGH-6402
See merge request espressif/esp-idf!16349
2022-01-06 12:18:47 +00:00
xiongweichao
6d86b07546
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-06 20:17:43 +08:00
Armando
56a707eef4
spi_master: fix spi cs_ena_posttrans issue
2022-01-06 17:54:58 +08:00
Omar Chebib
51917cb49c
espcoredump: add a test for coredump dumped sections
2022-01-06 16:53:41 +08:00
Omar Chebib
b0afae5e60
espcoredump: fix a bug where tracked DRAM data where not dumped
...
Variables marked as COREDUMP_DRAM_ATTR will now be part of the core dump.
* Closes https://github.com/espressif/esp-idf/issues/8151
2022-01-06 16:53:35 +08:00
Darian Leung
ada1c9c5b8
usb: Add USB Host Library documentation
...
This commit adds the USB Host Library documentation and fixes some nitpicks
in the Host Stack types.
Closes https://github.com/espressif/esp-idf/issues/6408
2022-01-06 15:15:32 +08:00
Darian Leung
b6dfadb168
usb: Update USB Host Library
...
This commit updates the USB Host Library as follows:
- usb_helpers.h
- Removed dependency on USB Host Library API
- Added function to print string descriptors
- usbh
- Fixed bug where an interface/endpoint could be claimed/allocated multiple times
- Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-01-06 15:14:10 +08:00
Darian Leung
22c152c388
usb: Hub Driver and USBH recover port automatically after disconnection
...
This commit updates the Hub Driver and USBH as follows:
- Updated communication mechanism between Hub Driver and USBH
- USBH notifies the Hub Driver via Hub request callback (usbh_hub_req_cb_t)
- Hub Driver notifies the USBH via usbh_hub_pass_event()
- Hub Driver now defers all event handling to hub_process.
- Hub Driver and USBH will now automatically recover the port after a disconnected
device has been closed.
- Fixed incorrect assert in usbh_dev_close()
2022-01-06 15:12:16 +08:00
Darian Leung
1aad12468a
usb: Hub Driver Update and Refactor
...
Hub Driver is refactored as follows:
This commit update and refactors the Hub Driver as follows:
- Refactored enumeration state machine and stage functions
- Enumeration stage is now incremented
- Combined transfer stages of enumeration into common functions
- Comments updated
- Fixed usbh_hal_disable_debounce_lock() that would cause root_port_handle_events()
to fail the HCD_PORT_CMD_RESET call because the previous port connection interrupt
was not cleared.
The following features were added to the Hub Driver
- Enumeration config descriptor is now fetched in two separate stages
- Header is fetched first to determine the wTotalLength of the descriptor
- Fetching the full descriptor will request exactly wTotalLength bytes
- This works around some non-compliant devices that will babble/return zero
when requesting a length > wTotalLength
- Closes https://github.com/espressif/esp-idf/issues/7799
- Enumeration now stores string descriptors
- The Manufacturer, Product, and Serial Number string descriptors are
now read and stored during enumeration
- String descriptors are now part of usb_device_info_t
- Added unit test to test enumeration
2022-01-06 15:11:13 +08:00
Darian Leung
854127a57c
usb: USB Host stack uses USB PHY driver
...
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.
- The hcd_install() now expects the USB PHY and OTG Contorller to be
already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
the user wants to setup their own USB PHY (e.g., in the case of using
and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY
Closes https://github.com/espressif/esp-idf/issues/8061
2022-01-06 15:09:39 +08:00
Darian Leung
5a2ef15565
usb: HCD multiple fixes
...
This commit fixes the following bugs in the HCD
- HCD control pipes fill incorrect transfer size
_buffer_fill_ctrl() would fill the transfer descriptors length with
wLength instead of transfer->num_bytes. Therefore, the remaining length
would be incorrect when a control transfer requests more bytes than are
available.
- Fix USB_TRANSFER_FLAG_ZERO_PACK behavior
The previous behavior of USB_TRANSFER_FLAG_ZERO_PACK was incorrect, and did not
support interrupt pipes. A zero length packet can now be added to Bulk/Interrupt
OUT transfers where the length is a multiple of the endpoint's MPS.
- Fixed HCD port suspend and resume test case
Halting a control pipe mid control transfer can lead some test devices to get stuck
2022-01-06 15:07:56 +08:00
Darian Leung
bb29b199ad
usb: Tidy up usbh
...
- Remove enum_todo_flags from usbh
- USBH move config_desc to constant fields
2022-01-06 15:06:44 +08:00
xiongweichao
83b9320d2e
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-06 14:10:18 +08:00
xiongweichao
688700f33b
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-06 14:02:03 +08:00
xiongweichao
c5af97759f
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-06 14:02:03 +08:00
xiongweichao
061ae4c07a
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-06 14:02:03 +08:00
Michael (XIAO Xufeng)
476da74796
Merge branch 'bugfix/ledc_fade_array_check' into 'master'
...
ledc: fixed check to s_ledc_fade_rec array
See merge request espressif/esp-idf!16086
2022-01-06 03:28:10 +00:00
Michael (XIAO Xufeng)
466f3a91cb
ledc: fixed check to s_ledc_fade_rec array
2022-01-06 03:28:05 +00:00
Michael (XIAO Xufeng)
b84abb1b17
Merge branch 'bugfix/rtcio_increase_size' into 'master'
...
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue
Closes IDF-4526 and IDF-4505
See merge request espressif/esp-idf!16617
2022-01-06 03:03:58 +00:00
Wang Meng Yang
d29755b7d5
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs' into 'master'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue
Closes ESPCS-7232
See merge request espressif/esp-idf!15919
2022-01-06 00:39:47 +00:00
Tomas Rezucha
af28416116
Merge branch 'feature/usb_device/multi_cdc' into 'master'
...
USB: Extend USB CDC device with second channel
See merge request espressif/esp-idf!16458
2022-01-05 09:53:04 +00:00
Ondrej Kosta
fa9cc49b9e
Merge branch 'bugfix/esp_eth_start_tx_buff' into 'master'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size`
Closes WIFI-4194
See merge request espressif/esp-idf!16457
2022-01-05 09:40:12 +00:00
Jiang Jiang Jian
477cf09f45
Merge branch 'bugfix/ci_check_blobs' into 'master'
...
ci: improve checks for Wi-Fi/PHY libraries
See merge request espressif/esp-idf!16625
2022-01-05 09:26:42 +00:00
Tomas Rezucha
6330d5d312
usb: Extend CDC device with second CDC channel
...
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Guo Jia Cheng
fa8364a544
Merge branch 'bugfix/openthread-socket-multicast' into 'master'
...
openthread: sync lwip multicast groups to Thread stack
See merge request espressif/esp-idf!16490
2022-01-05 07:04:30 +00:00
Mahavir Jain
6e1f534cab
Merge branch 'feature/esp_tls_api_cleanup' into 'master'
...
esp-tls: mark esp_tls_conn_delete API as deprecated
See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
jincheng
6a9afa65a2
fix cs event for rd_rem_ext_feats delayed issue
2022-01-05 14:48:04 +08:00
Murray Fordyce
00a23ec544
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
morris
ce2a220098
Merge branch 'refactor/make_adc2_wifi_private' into 'master'
...
clean up deprecated and private header files for driver and esp_hw_support component
See merge request espressif/esp-idf!16605
2022-01-05 05:42:42 +00:00
morris
ef5cfb217c
Merge branch 'contrib/github_pr_8172' into 'master'
...
Fix compile issue when TinyUSB task is not enabled. (GitHub PR)
Closes IDFGH-6521
See merge request espressif/esp-idf!16611
2022-01-04 13:21:23 +00:00
Jiacheng Guo
d610282742
openthread: sync lwip multicast groups to Thread stack
...
This MR synchornizes the lwIP multicast groups to the Thread stack. This
will fix sockets failing to receive messages sent to multicast groups
issue.
2022-01-04 20:08:15 +08:00
Nachiket Kukade
02a415d494
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
Closes https://github.com/espressif/esp-idf/issues/7646
2022-01-04 16:24:45 +05:30
Jiang Jiang Jian
69757842aa
Merge branch 'bugfix/ftm_misc_issues' into 'master'
...
Miscellaneous FTM bugfixes
Closes WIFI-4126
See merge request espressif/esp-idf!16525
2022-01-04 10:39:42 +00:00
Mahavir Jain
201e0b39a7
esp-tls: remove redundant snippet from CMakeList
2022-01-04 15:41:06 +05:30
Mahavir Jain
c26500cd5a
esp-tls: mark esp_tls_conn_delete API as deprecated
...
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
Jack
9802bf41d6
phy: update phy lib to remove ets_printf references
2022-01-04 15:41:58 +08:00
morris
113cbb88a6
hw_support: remove deprecated header files
2022-01-04 14:16:17 +08:00
morris
090b4aa1f3
adc: make adc2_wifi share resource private
2022-01-04 13:59:24 +08:00
Wang Meng Yang
7e39aa61fa
Merge branch 'bugfix/fix_null_pointer_deference_issue_master_mr' into 'master'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16502
2022-01-04 04:06:27 +00:00
Omar Chebib
a8b40927b5
Merge branch 'bugfix/i2c_spiram_bug' into 'master'
...
I2C: fix buffer check when SPIRAM used as a heap
Closes IDFGH-6522
See merge request espressif/esp-idf!16612
2022-01-04 02:48:46 +00:00
morris
6e661871c5
tusb: optional compile tusb_task
2022-01-04 10:38:13 +08:00