Commit Graph

27774 Commits

Author SHA1 Message Date
Frantisek Hrbata
b8fdff2008 examples/zigbee: use LicenseRef-Included as SPDX-License-Identifier
Examples for zigbee are using custom license, which is not present
on the SPDX license list. This was discussed on !16205 and a decision
was made that the examples will be put on check-copyright's ignore list.
SPDX has LicenseRef-[idstring] identifier for such cases, so let's try
to use it. In this particular case the LicenseRef-Included is used to
express that the full license text is included in the source file.
Note that the LicenseRef-Included is not part of SPDX. It's just
something I used. No change is needed on the check-copyright side.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-27 08:24:27 +01:00
Mahavir Jain
0e64ef61e5 Merge branch 'feature/http_server_example_url_decode' into 'master'
example/protocols: Added URI encoding/decoding feature

Closes IDFGH-9057 and IDFGH-9170

See merge request espressif/esp-idf!22031
2023-01-27 12:31:34 +08:00
Guillaume Souchere
a26ecafa0d Merge branch 'fix/malloc_cap_exec_on_esp32c6' into 'master'
heap: Fix allocation issue when trying to allocate in IRAM on esp32c6

Closes IDF-6306

See merge request espressif/esp-idf!22077
2023-01-26 17:45:23 +08:00
Darian
066bdec383 Merge branch 'docs/usb_host_maintainers_notes_design_coding' into 'master'
USB Host: Add maintainer's notes (Design and Architecture)

See merge request espressif/esp-idf!21728
2023-01-25 22:52:31 +08:00
Zim Kalinowski
50ad61cbee Merge branch 'feature/remove-cxx-experimental' into 'master'
cxx: removed cxx experimental components

See merge request espressif/esp-idf!20411
2023-01-25 21:29:32 +08:00
Zim Kalinowski
47570993b4 Merge branch 'feature/heap-replace-bzero-call-with-memset' into 'master'
heap: replace usage of bzero() with memset() across the component

Closes IDFGH-3073

See merge request espressif/esp-idf!22125
2023-01-25 20:49:18 +08:00
Laukik Hase
167618d6a4
examples/protocols: Added URI encoding/decoding feature
- http_server/simple: Decoding received query
  - esp_http_client: Sending encoded query
2023-01-25 17:47:14 +05:30
Zim Kalinowski
3574fc1918 cxx: removed cxx experimental components 2023-01-25 12:34:58 +01:00
Kapil Gupta
de42b2912c Merge branch 'bugfix/update_wps_api_documentation' into 'master'
wpa_supplicant: Update WPS API documentation

Closes IDFGH-8996

See merge request espressif/esp-idf!21714
2023-01-25 18:52:51 +08:00
Guillaume Souchere
fb9a7f36d4 heap: replace usage of bzero() with memset() across the component
See https://github.com/espressif/esp-idf/issues/5095
2023-01-25 09:28:56 +01:00
Guillaume Souchere
11f99ef649 heap: Add memory protection activation test
Check that when trying to allocate in IRAM with the system memory protection enabled,
null pointer is returned, or that an address in IRAM is returned if the memory protection
is disabled.
2023-01-25 07:20:57 +01:00
Mahavir Jain
d825753387 Merge branch 'fix/mbedtls_null_pointer_dereference' into 'master'
mbedtls: fix null pointer dereference of variable iv_off

See merge request espressif/esp-idf!22122
2023-01-25 13:37:34 +08:00
Mahavir Jain
ef242ed68b Merge branch 'ci/fix_efuse_example_test' into 'master'
examples(efuse): Enable all tests on CI

See merge request espressif/esp-idf!22118
2023-01-25 11:17:17 +08:00
KonstantinKondrashov
74f26b1e19 examples(efuse): Tests can be run on generic runners 2023-01-24 22:10:01 +08:00
KonstantinKondrashov
73d756d073 bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:16:19 +08:00
KonstantinKondrashov
086766d83b examples(efuse): Set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
For efuse example test, we set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE=y
by default because in the python test we expect secure boot is in RELEASE mode
2023-01-24 17:09:15 +08:00
harshal.patil
75899755b7 mbedtls: fix null pointer dereference of variable iv_off
iv_off gets dereferenced before being check for NULL
2023-01-24 12:20:00 +05:30
Darian Leung
a57496acfe usb_host: Add maintainer's notes (Design, Architecture)
This commit adds some parts of the USB Host Stack's maintainers notes
(specifically "Design" and "Architecture").
2023-01-24 02:49:35 +08:00
Roland Dobai
2c794ea9c4 Merge branch 'bugfix/gdbinit_target_hoookpost' into 'master'
tools: fix idf.py gdb memory access before remote target is connected

Closes IDF-6723

See merge request espressif/esp-idf!22106
2023-01-23 23:47:17 +08:00
Guillaume Souchere
a5d6f62e7e heap: Prevent alloc from IRAM to call dram_alloc_to_iram() on esp32c6 target
Since DRAM and IRAM are superposed on esp32c6 it is not necessary to convert a freshly allocated
DRAM addr to its IRAM equivalent when MALLOC_CAP_EXEC is passed to heap_caps_malloc(). Instead,
proceed with a default allocation since the address returned by multi_heap_malloc() already belongs
to the IRAM region.

Applies for esp32c6 and every boards with superposed DRAM and IRAM addresses.
2023-01-23 07:42:20 +01:00
Mahavir Jain
8db02b36ac Merge branch 'bugfix/fix_potential_buffer_overflow_http_client_example' into 'master'
esp_http_client example: fix potential buffer overflow while copying data recieved in HTTP response

Closes IDFGH-9027

See merge request espressif/esp-idf!21869
2023-01-23 12:03:51 +08:00
Kevin (Lao Kaiyao)
49551cc48c Merge branch 'refactor/cmakelist_in_soc' into 'master'
refactor soc CMakeLists

Closes IDF-6732

See merge request espressif/esp-idf!22089
2023-01-21 09:08:05 +08:00
laokaiyao
3b450fb865 refactor soc CMakeLists 2023-01-20 22:07:50 +08:00
Mahavir Jain
e7ca2f2622 Merge branch 'feature/esp32c6_enable_hmac_and_ds_support' into 'master'
Feature/esp32c6 enable hmac and ds support

Closes IDF-5355 and IDF-5360

See merge request espressif/esp-idf!21761
2023-01-20 20:30:54 +08:00
Frantisek Hrbata
9d1c62becb tools: fix idf.py gdb memory access before remote target is connected
Currently loading of esp32s3 ROM ELF symbols fails with
"Cannot access memory at address 0x3ff194ad". Let's perform
add-symbol-file after connection to the target.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-20 11:02:26 +01:00
Harshit Malpani
dd490f7915
esp_http_client example: fix potential buffer overflow while copying data recieved in HTTP response
Closes https://github.com/espressif/esp-idf/issues/10436
2023-01-20 15:05:41 +05:30
Mahavir Jain
7943a920d3 Merge branch 'fix/protocomm_kconfig_flag' into 'master'
protocomm: Fix Kconfig flag dependency on wifi_provisioning component

Closes IDFGH-7925

See merge request espressif/esp-idf!22083
2023-01-20 17:10:31 +08:00
Roland Dobai
1731007e6a Merge branch 'bugfix/fix_idf_size_csv_diff_display' into 'master'
Fix idf_size.py archives diff display when using the CSV output mode

Closes IDF-6324

See merge request espressif/esp-idf!22037
2023-01-20 17:08:12 +08:00
Ondrej Kosta
46c00b2478 Merge branch 'contrib/github_pr_10554' into 'master'
Verify w5500 chip properly (GitHub PR)

Closes IDFGH-9158

See merge request espressif/esp-idf!22073
2023-01-20 15:41:50 +08:00
Jiang Guang Ming
fe3e54eb70 Merge branch 'bugfix/esp_rom_wdt_linker_issue' into 'master'
esp_rom: fix esp_rom_wdt linker issue

See merge request espressif/esp-idf!22099
2023-01-20 14:59:03 +08:00
Martin Vychodil
a2b0068478 Merge branch 'bugfix/linux_build_errors' into 'master'
fix(linux): fix build errors without --skip-setting-flags

See merge request espressif/esp-idf!22063
2023-01-20 14:46:36 +08:00
Laukik Hase
7759079362
protocomm: Fix Kconfig dependency on wifi_provisioning component config
- `protocomm` depends on a config option `CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION`
  from `wifi_provisioning`; however, a lower layer component (`protocomm`) should
  not have any `#ifdef` guard dependent on an upper layer component (`wifi_provisioning`).
- Added a new `ble_link_encryption` flag in `protocomm_ble_config_t` to manage the same

Closes https://github.com/espressif/esp-idf/issues/9443
2023-01-20 11:01:01 +05:30
jiangguangming
a14c2c298c esp_rom: fix esp_rom_wdt linker issue 2023-01-20 13:03:02 +08:00
Marius Vikhammer
e2d3f7c54c Merge branch 'feature/c6_wdt' into 'master'
wdt: add support for WDTs on C6

Closes IDF-5935 and IDF-5340

See merge request espressif/esp-idf!21038
2023-01-20 10:36:42 +08:00
Alexey Lapshin
6c674f12fa Merge branch 'fix/idf-gdb-remove-ROM-access-workaround' into 'master'
tools: remove obsolete workaround for reading ROM data from flash

See merge request espressif/esp-idf!21944
2023-01-19 23:58:35 +08:00
Mahavir Jain
91c25b519c Merge branch 'fix/hardware_ecc_port' into 'master'
mbedtls/ecp: Fix incorrect ECP parameter value

Closes IDF-6706

See merge request espressif/esp-idf!22046
2023-01-19 22:14:46 +08:00
Darian
ac1c550c52 Merge branch 'bugfix/rmt_tx_synchronization_tests' into 'master'
driver(RMT): Fix RMT TX multi channel test

See merge request espressif/esp-idf!22051
2023-01-19 19:19:40 +08:00
Ondrej
5fdb49698a esp_eth: fixed copyright for W5500 2023-01-19 07:56:22 +00:00
Marius Vikhammer
5e9e8c396f wdt: add support for WDTs on C6 2023-01-19 12:58:26 +08:00
Laukik Hase
45c6631a00
ci: Enable build stage for mqtt/ssl_ds example for esp32c6 2023-01-19 10:00:00 +05:30
Aditya Patwardhan
2a46fecb36
esp32c6: Enable documentation for esp32c6 hmac and ds 2023-01-19 09:53:35 +05:30
Aditya Patwardhan
4084ab38a1
esp32c6/soc: Enable DS and HMAC capabilities for esp32c6 in soc_caps.h 2023-01-19 09:53:34 +05:30
Aditya Patwardhan
4831edc624
esp32c6/hal: Added support for HMAC and DS on esp32c6
* Update DS test_apps for esp32c6 SoC
2023-01-19 09:53:34 +05:30
Kevin (Lao Kaiyao)
668e125dd4 Merge branch 'feature/support_i2s_on_h2' into 'master'
i2s: support i2s on esp32h2

Closes IDF-6219 and IDF-6700

See merge request espressif/esp-idf!21948
2023-01-19 10:47:33 +08:00
Armando (Dou Yiwen)
8f82c5cdee Merge branch 'feature/adc_oneshot_api_calibrated_result' into 'master'
esp_adc: added an all-in-one API to get calibrated voltage

Closes IDF-6651

See merge request espressif/esp-idf!22055
2023-01-19 10:01:03 +08:00
Erhan Kurubas
9d6383340f Merge branch 'doc_update_esp32c6_jtag' into 'master'
docs: JTAG debugging update for ESP32C6

Closes IDF-6033

See merge request espressif/esp-idf!22028
2023-01-19 03:44:43 +08:00
Shang Zhou
fa33755de4 Merge branch 'docs/sync_up_translation_january' into 'master'
docs: Sync up CN and EN versions for files in api-guides and hw-reference (Jan)

Closes DOC-4458

See merge request espressif/esp-idf!22047
2023-01-19 02:22:58 +08:00
Wan Lei
e7c520e849 Merge branch 'feature/add_spi_ckl_source_selectable' into 'master'
spi_master: add feature spi periph clk source selectable

Closes IDF-6289

See merge request espressif/esp-idf!21324
2023-01-19 00:54:24 +08:00
Erhan Kurubas
7cb79db71e docs: JTAG debugging update for ESP32C6 2023-01-18 15:17:23 +01:00
David Čermák
2f1d30d155 Merge branch 'bugfix/lwip_core_locking' into 'master'
esp_netif/lwip: Fix core-locking config

Closes IDFGH-8445, IDFGH-9098, and IDFGH-9063

See merge request espressif/esp-idf!20840
2023-01-18 20:31:25 +08:00