Commit Graph

30448 Commits

Author SHA1 Message Date
Jiang Jiang Jian
fb1902773f Merge branch 'bugfix/sdp_event_status_overwritten_by_handle' into 'master'
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle

Closes IDFGH-9219

See merge request espressif/esp-idf!22153
2023-02-02 19:54:45 +08:00
Sumeet Singh
3361718976 NimBLE: Added custom gatt server functionality 2023-02-02 17:07:28 +05:30
morris
15b9352f60 mcpwm: support esp32h2 2023-02-02 19:05:31 +08:00
David Čermák
b37980d26e Merge branch 'bugfix/mqtt_docs_migration_5.x' into 'master'
mqtt/docs: Mention removal of user_context in 5.x migration guide

Closes IDFGH-9261

See merge request espressif/esp-idf!22177
2023-02-02 18:55:29 +08:00
laokaiyao
f27cd67c00 driver: pack peripherals 2023-02-02 18:19:58 +08:00
Dai Zi Yan
b97a98a703 Merge branch 'docs/sync_up_translation_Jan' into 'master'
docs: sync up translation for api-reference

Closes DOC-4445 and DOC-3673

See merge request espressif/esp-idf!22150
2023-02-02 18:07:21 +08:00
David Cermak
2f8b12deb4 mqtt/docs: Mention removal of user_context in 5.x migration guide
update CN for migration-guides/release-5.x/5.0/protocols.rst
Co-Authored-By: Wang Zi Yan <wangziyan@espressif.com>

Closes https://github.com/espressif/esp-idf/issues/10644
2023-02-02 10:41:21 +01:00
yuanjianmin
fecf4768f0 tcp_transport: Add authorization header for websocket client 2023-02-02 17:35:44 +08:00
morris
753eab91ee Merge branch 'feature/usj_support_h2' into 'master'
USJ console support on esp32h2

Closes IDF-6239

See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Erhan Kurubas
dbdffd7329 Merge branch 'fix_jtag_debugging_update_doc_esp32c6' into 'master'
doc: fix usb-jtag configure efuse section

See merge request espressif/esp-idf!22166
2023-02-02 17:06:46 +08:00
David Čermák
4414e7f09e Merge branch 'bugfix/precommit_isort_deprecation' into 'master'
ci: Fix pre-commit hook per isort deps deprecation

See merge request espressif/esp-idf!22203
2023-02-02 17:03:41 +08:00
Island
c8de3e54c7 Merge branch 'bugfix/esp32c6_ble_adv_issues' into 'master'
Bugfix/esp32c6 ble adv issues

Closes EBLE50Y23-19

See merge request espressif/esp-idf!22179
2023-02-02 16:37:05 +08:00
Xu Si Yu
389d07b9c1 openthread: add ci for esp32c6 2023-02-02 16:29:19 +08:00
Jiang Jiang Jian
ec8a702a8f Merge branch 'bugfix/optimize_abnormal_beacon_log' into 'master'
esp_wifi:bugfix for optimize abnormal beacon log

Closes IDFGH-7742

See merge request espressif/esp-idf!21565
2023-02-02 16:29:18 +08:00
David Cermak
6e29d3c8ad ci: Fix pre-commit hook per isort deps deprecation
isorts dependecy became deprecated. Fixed to use 5.12.0 version of isort pre-commit
2023-02-02 08:44:09 +01:00
Frantisek Hrbata
8e893db5f3 docs: allow to use SPDX LicenseRef-[idstring] indentifier
In a very rare cases there is a need to use custom license, which is not
present on the SPDX list. Now, files under such license are added to the
check_copyright ignore list. For example zigbee examples introduced
by !16205. SPDX has a LicenseRef-[idstring] identifier[1] for such cases,
so let's try to use it in license representation[2]. The idea is that licenses
not on the SPDX list can be added into the LICENSES[3] directory and used as

	SPDX-License-Identifier: LicenseRef-Special-License

Or if the custom license is present directly in a source file we can use
a special LicenseRef-Included identifier to state that the license
is included.

	SPDX-License-Identifier: LicenseRef-Included

Please note that LicenseRef-Included is just a made up identifier to
state the fact that the license is included directly in the source file.
There is nothing in the SPDX spec about this usage.

This relatively small adjustment allows to refer to custom licenses
without a need to skip check_copyright for them.

[1] https://spdx.github.io/spdx-spec/v2.3/other-licensing-information-detected/#101-license-identifier-field
[2] https://spdx.github.io/spdx-spec/v2.3/using-SPDX-short-identifiers-in-source-files/#e4-representing-multiple-licenses
[3] https://reuse.software/spec/

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-02 08:21:47 +01:00
Kevin (Lao Kaiyao)
6cef87fea3 Merge branch 'feature/support_i2c_on_h2' into 'master'
i2c: support i2c on esp32h2

Closes IDF-6233 and IDF-6689

See merge request espressif/esp-idf!21982
2023-02-02 15:18:37 +08:00
Anton Maklakov
e5c14a9789 Merge branch 'bugfix/public_header_check_cosmetic' into 'master'
ci: Fix false positive err-logs on static-assert check

See merge request espressif/esp-idf!22194
2023-02-02 14:56:30 +08:00
daiziyan
4667f1b3ef docs: sync up translation for api-reference 2023-02-02 14:44:13 +08:00
wanlei
a69c3ceaed ci: fix pattern sdio prefix issue 2023-02-02 13:53:27 +08:00
David Čermák
5ada761a7b Merge branch 'update/esp_netif_test_cleanup' into 'master'
esp_netif/tests: Consolidate test_apps/unit_test

Closes IDF-5579 and IDF-5047

See merge request espressif/esp-idf!21929
2023-02-02 13:49:43 +08:00
wanlei
7cf82ac032 ci: add pattern for esp flash 2023-02-02 12:45:05 +08:00
Mahavir Jain
cba1095508 Merge branch 'fix/heap-get-allocated-size' into 'master'
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled

Closes IDF-3917

See merge request espressif/esp-idf!22176
2023-02-02 12:44:25 +08:00
David Cermak
cbff23cfdb ci: Fix false positive err-logs on static-assert check 2023-02-02 04:14:34 +00:00
Jiang Jiang Jian
25a56d13d7 Merge branch 'bugfix/fix_potential_null_pointer_dereference' into 'master'
Fix potential null pointer dereference

Closes IDF-6493

See merge request espressif/esp-idf!21662
2023-02-02 11:22:17 +08:00
xueyunfei
11c579f4ae esp_wifi:bugfix for optimize abnormal beacon log 2023-02-02 11:13:50 +08:00
Wu Zheng Hui
04987ac201 Merge branch 'feature/add_ram_loadable_app_support' into 'master'
feature: add ram loadable app support

See merge request espressif/esp-idf!19465
2023-02-02 10:28:13 +08:00
Jiang Jiang Jian
2707c95a5f Merge branch 'bugfix/max_connection_limit' into 'master'
esp_wifi: Improvements in station and softAP for connection management

Closes WIFI-4869

See merge request espressif/esp-idf!21641
2023-02-02 03:12:33 +08:00
Jiang Guang Ming
851c10aded Merge branch 'bugfix/fix_typo_naming_of_flash_multi' into 'master'
ci: fix typos tag naming of all flash_multi

See merge request espressif/esp-idf!22181
2023-02-01 23:46:34 +08:00
Frantisek Hrbata
4ee00623a3 tools: allow to use hints for debug targets
The debug targets are currently not utilizing hints, because they
are not using RunTool() helper from tools.py to spawn sub-processes.
Adjusting debug targets to use RunTool() would require some significant
changes to debug targets and RunTool() as well. Since debug targets
are already storing their output in logs, we can use these and process
them for hints.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-01 15:06:39 +01:00
David Cermak
7ae58e223d esp_netif/tests: Consolidate test_apps/unit_test
* Remove duplicated test cases
* Migrated remaining unit tests to test_apps
2023-02-01 14:17:09 +01:00
Darian
c10414ae58 Merge branch 'feature/freertos_tidy_up_linker_script' into 'master'
FreeRTOS: Update function placements rules and tidy up linker fragment files

Closes IDF-6195

See merge request espressif/esp-idf!21394
2023-02-01 20:50:07 +08:00
Himel Patel
77bd7b38ce Add maximum speed to I2C slave config in docs 2023-02-01 23:33:44 +11:00
David Čermák
ceef29a270 Merge branch 'bugfix/ci_sntp_test_flaky' into 'master'
lwip/test: Fixed flaky SNTP example test

Closes IDFCI-1597

See merge request espressif/esp-idf!22186
2023-02-01 20:00:42 +08:00
Rahul Tank
9916eb688a Merge branch 'bugfix/add_return_type_nimble_port_init' into 'master'
Nimble: Added return value (success / failure ) to nimble_port_init  / nimble_port_deinit

See merge request espressif/esp-idf!21718
2023-02-01 19:45:44 +08:00
wuzhenghui
772d32fd77 ci: add ci workaround for gdb_loadable_elf
since flash config parameters are no longer generated when APP_BUILD_TYPE_RAM is enabled, this will cause load_ram in pytest_embedded_idf to fail
2023-02-01 17:57:28 +08:00
wuzhenghui
3256e4279d ci: add pytests for ram_loadable_app 2023-02-01 17:57:28 +08:00
wuzhenghui
151c3b335b example: add example for ram loadable app 2023-02-01 17:57:28 +08:00
wuzhenghui
db61945537 bugfix: dual core chip haven't started the pro cpu in the bootloader, so no workaround is needed 2023-02-01 17:57:28 +08:00
wuzhenghui
c0d2fcded7 refactor: move bootloader_init_spi_flash to bootloader_flash_config_{target}.c 2023-02-01 17:57:28 +08:00
wuzhenghui
0cbb4227b2 feature: add build framework support 2023-02-01 17:57:25 +08:00
wuzhenghui
44df5b31af feature: add ram loadable app support 2023-02-01 17:57:22 +08:00
AlbertWDev
18a1b4c9b9 bt: fix SDP event status overwritten by handle 2023-02-01 10:53:42 +01:00
Guillaume Souchere
ba1d7f8d1c heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).

test_malloc.c extended with a new test assuring that  heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-01 10:04:38 +01:00
jgujarathi
88ea8c5fed wpa_supplicant : Prevent h2e config overwrite
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.

Add one preventative condition to take care of this.
2023-02-01 14:04:23 +05:30
likunqiao
fde11f6e2b zigbee: example API update 2023-02-01 16:00:54 +08:00
Darian Leung
903ac5dff9 freertos(IDF): Update IDF FreeRTOS linker fragment file
This commit updates the linker fragment file for IDF FreeRTOS.

- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
  fragment file.
- Some extra functions are now placed in flash in accordance to the new
  placement rules.
2023-02-01 15:15:51 +08:00
Darian Leung
321254a776 freertos(SMP): Update SMP FreeRTOS linker fragment file
This commit updates the linker fragment file for Amazon SMP FreeRTOS.

- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
  fragment file.
- Some extra functions are now placed in flash in accordance to the new
  placement rules.
2023-02-01 15:15:51 +08:00
Darian Leung
0574e63e6f freertos: Add linker fragments for common functions
This commit adds a separate linker fragment file "linker_common.lf" for the
functions in "port_common.c". The placement rules are now clearly specified
inside the linker fragment file.
2023-02-01 15:09:46 +08:00
David Cermak
7294438329 sntp/test: Fixed flaky example test
From SNTP update in a71fa821, the example test uses notification event
(before it simply polled the state in 2 seconds interval). With this
change it is possible that the time gets synchronized before retrying,
i.e. printing "Waiting for system time to be set... (2/15)". (it was
theoretically possible also before this change, but practically never
happened)
2023-02-01 08:01:54 +01:00