Ivan Grokhotkov
7a1e19edf1
nvs_flash: replace strncpy + manual null termination with strlcpy
...
Since libbsd is now a build dependency on Linux, strncpy can be
replaced with the safer and less verbose strlcpy.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
bee241b0e2
nvs_flash: remove leftover ESP_ERROR_CHECKS
...
Similar to the asserts, these are replaced by error checks.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
02661081be
nvs_flash: make nvs_flash_init usable for Linux target
...
Since the partition API is now supported for Linux target builds,
this function can now be used.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
bfb6f31872
nvs_flash: remove unnecessary check that the data pointer is in DROM
...
spi_flash driver knows how to write data from cache (DROM or PSRAM)
into flash, so the extra check in nvs_flash is unnecessary.
Besides, the hardcoded address limit (0x3ff00000) is wrong for some
of the newer chips.
2022-08-17 12:20:36 +02:00
Ivan Grokhotkov
08e41973f0
nvs_flash: update intrusive_list for compatibility with C++17
...
std::iterator is deprecated since C++17, the code produces a warning
when compiled with clang and libc++.
2022-08-17 12:20:36 +02:00
Jakob Hasse
3f95fdcb15
feat (esp_system): simple os abstraction layer for critical sections
2022-08-17 10:04:35 +02:00
wanlei
4757efe21d
spi_master: fix config check of both in&out phases used in half-duplex mode
...
Add a check in spi_master driver to prevent using both 'trans->length'
and 'trans->rxlength' on chips other than ESP32 and ESP32S2 which hardware
not support using both TX and RX phases in half-duplex mode
2022-08-17 15:52:08 +08:00
wanlei
6864f72ab7
test: add new spi-sio multi-board test for all chip
...
test sio master only, and splited into master input & output ability
slave device work on full duplex mode to provide input/output source only
2022-08-17 15:52:08 +08:00
xueyunfei
b9a0a3d5c4
esp_wifi:fix some wifi bugs
...
1 esp32c2: mv multiphy api out of ESP_MESH_SUPPORT macro
2 clear bss info when wifi stop
3 add clear ap list interface
2022-08-17 15:43:40 +08:00
xueyunfei
601982ccad
esp_wifi:add clear ap list interface
2022-08-17 15:32:47 +08:00
Mahavir Jain
4d14c2ef2d
Merge branch 'feature/coap_examples_test' into 'master'
...
example: Add coap_client example_test
See merge request espressif/esp-idf!19470
2022-08-17 15:16:10 +08:00
wanlei
5726f3d8cb
spi_master: add check for 'post_cb' when flag 'SPI_DEVICE_NO_RETURN_RESULT' is set
...
There are two ways to know which transaction descriptor is finished,
by either calling `spi_device_get_trans_result`, or getting it from `post_cb`.
When `SPI_DEVICE_NO_RETURN_RESULT` is set, driver will not push finished
transaction descriptors into the queue. So you can't get it from
`spi_device_get_trans_result`. The only way to know this is via `post_cb`.
update document for function `spi_bus_add_device`
2022-08-17 15:08:06 +08:00
Mahavir Jain
bc7b6c983c
Merge branch 'bugfix/blufi_checksum_failure_err' into 'master'
...
examples: blufi: fix API usage for generating dhm secret
Closes IDF-5796 and IDFGH-7977
See merge request espressif/esp-idf!19548
2022-08-17 14:41:51 +08:00
chenjianhua
e29170bce9
Bluedroid: Configurable option to modify max gatt service attributes count
2022-08-17 14:36:12 +08:00
morris
fc1aa2848b
rgb_lcd: support yuv converter
2022-08-17 06:33:06 +00:00
morris
2c5a866ea3
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
morris
104b9c3fb1
Merge branch 'feature/introduce_lcd_color_space_enum' into 'master'
...
lcd: deprecate esp_lcd_color_space_t
See merge request espressif/esp-idf!19576
2022-08-17 14:19:12 +08:00
Laukik Hase
85d00a4dac
ci: Fix host-test failures
2022-08-17 10:59:32 +05:30
Laukik Hase
ae932c8c4e
docs: Added migration guide for app_update
...
- Deprecated functions and alternatives
2022-08-17 10:59:31 +05:30
Laukik Hase
fb93901d5b
esp_app_format: Added test-app
2022-08-17 10:59:31 +05:30
Laukik Hase
0071ea498f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-17 10:59:31 +05:30
Laukik Hase
0519f604db
app_update: Moved app metadata to new component esp_app_format
2022-08-17 10:59:25 +05:30
Jing Li
b51d4dfacd
Merge branch 'bugfix/fix_clk_cali_logic_for_c2' into 'master'
...
esp32c2/clk_cali: fix rtc slow clk cali logic
See merge request espressif/esp-idf!19553
2022-08-17 11:11:19 +08:00
Armando
02fb570253
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-17 10:38:49 +08:00
jincheng
b87eb50ada
Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
...
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.
Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:07:01 +08:00
Anton Maklakov
453300490f
Merge branch 'contrib/github_pr_9563' into 'master'
...
Add git-lfs to docker container (GitHub PR)
Closes IDFGH-8060
See merge request espressif/esp-idf!19579
2022-08-17 09:33:28 +08:00
Abhik Roy
933a2a69fe
tcp_client example: support for Linux target.
2022-08-16 23:48:18 +05:30
Ivan Grokhotkov
512b59f388
Merge branch 'test/newlib_blksize' into 'master'
...
newlib: add test for st_blksize and FILE buffer size
See merge request espressif/esp-idf!19366
2022-08-16 23:02:59 +08:00
Pedro
792186a3da
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-08-16 11:48:17 -03:00
David Cermak
1f7b2d4860
Examples: Remove SLIP protocol example
2022-08-16 14:08:15 +00:00
David Cermak
b439319409
esp_netif: Add docs on creating custom network stack connection layer
2022-08-16 14:08:15 +00:00
David Cermak
83b8556f10
esp_netif: Migrate SLIP interface to user-space
2022-08-16 14:08:15 +00:00
Ivan Grokhotkov
985f44c158
Merge branch 'bugfix/partition_api_linux_test' into 'master'
...
spi_flash: convert Linux partition API test to Unity, bug fixes
See merge request espressif/esp-idf!19567
2022-08-16 21:28:41 +08:00
Jiang Jiang Jian
3ff6cf26eb
Merge branch 'bugfix/a2dp_sink_reconfig_i2s_clk_fail' into 'master'
...
bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail
Closes BT-2680
See merge request espressif/esp-idf!19530
2022-08-16 21:18:43 +08:00
David Cermak
14c6d3a889
lwip: Reference official 2.1.3-esp branch
...
Actual changes against 2.1.3-esp-dev:
* Fix IPv6 zoning violations
* Melted on-demand timer's commits into one
2022-08-16 13:03:53 +00:00
Kevin (Lao Kaiyao)
38bb2debea
Merge branch 'feature/touch_element_sleep' into 'master'
...
touch_element: add low-power support and example into touch element
Closes IDF-3027 and IDF-4353
See merge request espressif/esp-idf!13001
2022-08-16 18:57:46 +08:00
Mahavir Jain
af1eca80d5
docs: update copyright page for removed (migrated) components
2022-08-16 15:53:08 +05:30
Mu Hai Dong
cd39088c9c
Merge branch 'bugfix/fix_init_memory_leak_issue' into 'master'
...
esp_wifi: done beacon monitor timer when call pm deattach
Closes WIFI-4675, WIFI-4676, WIFI-4694, and WIFI-4695
See merge request espressif/esp-idf!19375
2022-08-16 17:43:17 +08:00
Mahavir Jain
6c2c05e8a0
Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
...
Push out esp-cryptoauthlib to component manager
See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
AndriiFilippov
5433abebfa
Re-enable unit test for C2 tcp_transport
2022-08-16 08:45:20 +00:00
AndriiFilippov
0013ad5bb9
Replaced logging tags with lower case in tcp_transport component to unite all tags under common structure.
2022-08-16 08:38:57 +00:00
Tim Pambor
dba5ff8b3a
Add git-lfs to docker container
2022-08-16 09:33:31 +02:00
morris
bc372f8f55
rgb_lcd: deprecate esp_lcd_color_space_t
2022-08-16 14:35:08 +08:00
Mahavir Jain
1e3bbd03de
examples: blufi: fix API usage for generating dhm secret
...
API usage for `mbedtls_dhm_calc_secret` was incorrect, fixed by
providing correct RNG function pointer. This behavior was changed in
mbedTLS-3.x update.
Tested BluFi provisioning with this fix.
Closes IDF-5796
Closes https://github.com/espressif/esp-idf/issues/9488
2022-08-16 11:36:48 +05:30
Alex Lisitsyn
c7558690ca
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues' into 'master'
...
driver: uart rs485 fix test sync issues and fail threshold
See merge request espressif/esp-idf!19556
2022-08-16 13:10:13 +08:00
Alex Lisitsyn
c78f126eed
driver: uart rs485 fix test sync issues and fail threshold
2022-08-16 13:10:13 +08:00
Mahavir Jain
4a38d9875d
Merge branch 'feature/build_docker_on_submodules_change' into 'master'
...
ci: updates rules to trigger docker build on submodules change
See merge request espressif/esp-idf!19467
2022-08-16 12:47:08 +08:00
Harshit Malpani
f1aa0eb15b
example: Add coap_client example_test
2022-08-16 09:52:00 +05:30
Jiang Jiang Jian
10330d153c
Merge branch 'ci/add_integration_test_env' into 'master'
...
CI: add integration test env
Closes TRM-82 and TRM-83
See merge request espressif/esp-idf!19368
2022-08-16 12:14:19 +08:00
Anton Maklakov
5b11895700
Merge branch 'bugfix/pytest_host_artifacts' into 'master'
...
ci: enable artifacts for test_pytest_qemu
See merge request espressif/esp-idf!19225
2022-08-16 11:30:19 +08:00