Omar Chebib
7dd499d1f4
i2c: commands can now be re-used without deleting and creating new cmd links
...
It is now possible to call `i2c_master_cmd_begin()` on the same
`i2c_cmd_handle_t` parameter. Thus, no extra allocation will be performed.
Moreover, as commands contains pointers to data, these can be modified
between two calls to `i2c_master_cmd_begin()`. This becomes very handy
for framebuffers.
2021-06-09 17:03:39 +08:00
Omar Chebib
cfcbca1271
i2c: optimize space allocated for read or write buffers
...
Only a single command will be allocated now when a read or write is
prepared in the command list. The size of a command's buffer is not
limited to 255 bytes anymore.
2021-06-09 15:21:20 +08:00
Omar Chebib
e1f388f114
i2c: add i2c_cmd_link_create_static()
to create commands from a given buffer
...
Application can now provide a buffer in order to allocate commands link.
Fixed few unclear details in the documentation.
Added wrappers to simplify I2C transfers.
Closes https://github.com/espressif/esp-idf/issues/5108
2021-06-09 15:21:20 +08:00
Angus Gratton
bc4eb2071c
Merge branch 'feature/toolchain_2021r1' into 'master'
...
Bring 2021r1 toolchains
Closes IDFGH-5009
See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
Angus Gratton
0716520423
Merge branch 'feature/s3_doc_build' into 'master'
...
build docs: enable building of S3 docs
Closes IDF-3284
See merge request espressif/esp-idf!13661
2021-06-09 04:09:55 +00:00
Island
63e22a1860
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash' into 'master'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13887
2021-06-09 02:47:34 +00:00
Michael (XIAO Xufeng)
afe9b42cbf
Merge branch 'typo_fix/fix_typo_in_comment_in_uart_ll' into 'master'
...
Fix typo in `include/hal/uart_ll.h`
Closes IDFGH-5320
See merge request espressif/esp-idf!13826
2021-06-09 02:13:36 +00:00
Marius Vikhammer
fbd6e9e320
docs: remove duplicate label
2021-06-09 09:30:42 +08:00
Marius Vikhammer
bdfda351bd
build docs: enable building of S3 docs
...
* Added suport for building esp32s3 docs
* Fixed all related warnings
* Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Angus Gratton
d995086621
Merge branch 'bugfix/memprot_bypass' into 'master'
...
System/Security: Memprot bypassing mitigation
Closes IDF-2700
See merge request espressif/esp-idf!13795
2021-06-09 00:02:30 +00:00
Mahavir Jain
3a65e38bfa
Merge branch 'bugfix/check_for_eof' into 'master'
...
esp_http_server, protocomm: Close the connection when recv() returns 0
Closes IDFGH-4735
See merge request espressif/esp-idf!12747
2021-06-08 14:41:33 +00:00
Shu Chen
43278fda3e
Merge branch 'bugfix/openthread-uart-error' into 'master'
...
openthread: fix wrong OpenThread uart read return value handling
See merge request espressif/esp-idf!13909
2021-06-08 13:53:08 +00:00
Jiacheng Guo
c88e1e3712
openthread: fix wrong OpenThread uart read return value handling
2021-06-08 19:49:37 +08:00
He Yin Ling
0ea9ae2920
Merge branch 'ci/asio_example_test_connect_fail' into 'master'
...
CI: fix connection failures in asio example tests
Closes IDFCI-509
See merge request espressif/esp-idf!13697
2021-06-08 08:56:08 +00:00
Angus Gratton
6961e4b3d5
Merge branch 'bugfix/ulp_overflow_rtc_mem' into 'master'
...
ulp: ULP_COPROC_RESERVE_MEM limitation
See merge request espressif/esp-idf!13814
2021-06-08 07:20:46 +00:00
Krzysztof Budzynski
aaa377f6f7
Merge branch 'docs/translate_example_for_WiFi_Coexistence' into 'master'
...
docs: provide EN translation for ble_mesh_wifi_coexist readme
Closes DOC-1409
See merge request espressif/esp-idf!13718
2021-06-08 07:18:04 +00:00
Krzysztof Budzynski
93334ea73a
Merge branch 'docs/update_CN_trans_startup_debugging-example' into 'master'
...
docs:update CN translation for startup and debugging-example
See merge request espressif/esp-idf!13791
2021-06-08 07:09:27 +00:00
Angus Gratton
7529355597
Merge branch 'bugfix/remove_unnecessary_cmake_comment' into 'master'
...
[unity]: deleted unuseful comment for linux target
See merge request espressif/esp-idf!13865
2021-06-08 06:57:11 +00:00
Mahavir Jain
664c9a343a
Merge branch 'feature/prov_mgr_reset_state' into 'master'
...
wifi_provisioning: Add API to erase credentials and reset provisioning state
See merge request espressif/esp-idf!13756
2021-06-08 05:59:58 +00:00
Shu Chen
eae45bb41e
Merge branch 'example/ot_tcp_socket' into 'master'
...
openthread: add ot tcp/udp socket example
See merge request espressif/esp-idf!13730
2021-06-08 05:57:58 +00:00
Siarhei Volkau
ba15970abb
esp_http_server, protocomm: Consider a connection as closed if recv() returns 0
...
This check prevents infinite loop on closed sockets
Closes https://github.com/espressif/esp-idf/pull/6541
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-06-08 05:48:30 +00:00
daiziyan
bb6a02ae53
docs:update CN translation for startup and debugging-example
2021-06-08 11:18:27 +08:00
daiziyan
37c1060462
docs: update both CN and EN vesion for WiFI Coexistence example
2021-06-08 11:02:46 +08:00
Michael (XIAO Xufeng)
b94c61497d
Merge branch 'bugfix/revert_spi_flash_cs_setup_argument' into 'master'
...
spi_flash: reverted unwilling cs_setup argument
See merge request espressif/esp-idf!13866
2021-06-07 16:46:06 +00:00
Anton Maklakov
2e47854c10
Merge branch 'ci/unify_all_target_test_artifacts_paths' into 'master'
...
ci: unify target test artifacts to all .log file and $LOG_PATH
Closes IDFCI-661
See merge request espressif/esp-idf!13838
2021-06-07 15:54:22 +00:00
zhangwenxu
7bc44ad5aa
openthread: add ot tcp and udp socket example
2021-06-07 21:50:19 +08:00
Shubham Kulkarni
f06d1cdc75
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
2021-06-07 12:23:28 +00:00
Shubham Kulkarni
ad0399b2f8
wifi_prov_mgr: Add Kconfig option to restart provisioning
2021-06-07 12:23:28 +00:00
Shubham Kulkarni
34bdbf9ee2
wifi_provisioning: Add API to reset state if provisioning fails
2021-06-07 12:23:28 +00:00
Michael (XIAO Xufeng)
e005ec0899
Merge branch 'feature/s3_base_support' into 'master'
...
soc: S3 base support
See merge request espressif/esp-idf!13827
2021-06-07 12:07:08 +00:00
Anton Maklakov
3b60c2e131
ci: add debug artifacts for test_idf_tools
2021-06-07 18:48:38 +07:00
Anton Maklakov
e5faf4f924
ci: fix test_build_system* fails
2021-06-07 18:48:38 +07:00
Anton Maklakov
f6a91bff87
Update toolchains to esp-2021r1
...
Adds ESP32-C3 support
Updates ESP32-S3 overlay
GDB 9.2 for ESP32-C3 with core dump support
Linker supports eh-frame-hdr for ESP32-C3
Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
Binutils 2.35.1
Closes https://github.com/espressif/esp-idf/issues/6795
2021-06-07 18:46:42 +07:00
xiewenxiang
96811de932
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:28:12 +08:00
Island
731f16fc6a
Merge branch 'bugfix/ble_mesh_sensor_server_model_not_start_on_esp32s3' into 'master'
...
ble_mesh: stack: Add sdkconfig.defaults.esp32s3 for esp32s3.
Closes IDFGH-5301
See merge request espressif/esp-idf!13705
2021-06-07 06:50:06 +00:00
Anton Maklakov
343cc5025b
make build system: fix build for undefined _lock_* funcs
2021-06-07 12:53:45 +07:00
Anton Maklakov
e5d69bf82d
make build system: fix ar warning
2021-06-07 12:53:45 +07:00
Anton Maklakov
b46b50eaa6
newlib: Add ESP_ROM_HAS_RETARGETABLE_LOCKING capability for C3 and S3 chips
2021-06-07 12:53:45 +07:00
Anton Maklakov
5a982ffe7a
hal: fix ee.get_gpio_in command for esp32-s3
2021-06-07 12:52:50 +07:00
Anton Maklakov
0ed7af2c4c
tools: promote ESP32-S3 from preview to supported target
2021-06-07 12:52:28 +07:00
Anton Maklakov
4bb09900ab
tools: fix parsing regex
2021-06-07 12:35:55 +07:00
Angus Gratton
0f1b24891b
Merge branch 'bugfix/esp32_u4wdh_quad_io' into 'master'
...
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
Closes IDFGH-4353
See merge request espressif/esp-idf!13111
2021-06-07 04:50:54 +00:00
Chen Yudong
b3b71bc8ab
CI: fix connection failures in asio example tests
2021-06-07 04:04:14 +00:00
wangjialiang
7c4557fbe0
ble_mesh: stack: Add sdkconfig.defaults.esp32s3 for esp32s3
...
Closes https://github.com/espressif/esp-idf/issues/7061
2021-06-07 04:00:15 +00:00
Angus Gratton
18e3055f75
Merge branch 'bugfix/repl_on_another_uart' into 'master'
...
console: fix a bug preventing us from starting a CLI on non-default UART
Closes IDFGH-5114
See merge request espressif/esp-idf!13594
2021-06-07 03:53:46 +00:00
Marius Vikhammer
19a492bc8d
soc: add base support for ESP32-S3
...
Updates the following with changes from verification branches:
* esp_rom linker files
* rtc_cntl and system reg and struct headers
Also updates:
* GDMA driver with new register layout
* esptool submodule commit
2021-06-07 10:40:14 +08:00
Angus Gratton
dcef04a324
Merge branch 'update_copyright_notice_esp32' into 'master'
...
esp32: update copyright notice
See merge request espressif/esp-idf!13829
2021-06-07 02:12:42 +00:00
Jan Brudný
325deed208
esp32: update copyright notice
2021-06-04 11:51:06 +02:00
Mahavir Jain
1d7068e4be
Merge branch 'test/test_examples_protocol_http_request' into 'master'
...
bugfix/fail on esp32.default.test_examples_protocol_http_request
Closes IDFCI-651
See merge request espressif/esp-idf!13785
2021-06-04 08:04:43 +00:00
Michael (XIAO Xufeng)
dc6d6f225e
spi_flash: reverted unwilling cs_setup argument
...
Partially reverted 08f1bbe0c7
.
The host should have this flexibility, which is consistent to the cs_hold argument.
However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-04 15:29:53 +08:00