Commit Graph

28062 Commits

Author SHA1 Message Date
Marius Vikhammer
43c899b2bd Merge branch 'bugfix/remove_undefined_rom_funcs' into 'master'
esp_rom:  cleanup unsupported functions

See merge request espressif/esp-idf!22041
2023-01-29 11:47:39 +08:00
morris
774a05399b soc: fix wrong APB_CLK_FREQ value on esp32c6 2023-01-28 06:33:23 +00:00
Alexey Lapshin
236fa5e669 Merge branch 'feature/upgrade-systemview-to-3_32' into 'master'
app_trace: sys_view: upgrade to version 3.42

Closes IDF-4646

See merge request espressif/esp-idf!21306
2023-01-28 11:24:13 +08:00
Lou Tianhao
a07c736d71 bugfix: make ahb freq consistent with cpu freq 2023-01-28 10:48:51 +08:00
Ivan Grokhotkov
248bc8a346 Merge branch 'feature/modbus_add_esp32c2_esp32c6_targets' into 'master'
examples: modbus add esp32c2 esp32c6 targets

See merge request espressif/esp-idf!22017
2023-01-28 00:45:47 +08:00
Alex Lisitsyn
464b6d803c examples: modbus add esp32c2 esp32c6 targets 2023-01-28 00:45:46 +08:00
Alexey Lapshin
18e5627a86 sys_view: upgrade to version 3.42 2023-01-27 22:22:33 +07:00
Abhik Roy
9cf70e0c98 Merge branch 'lwip/restrict_dhcp_server_client_together' into 'master'
esp-lwip: Restrict configuring DHCP server and client together

See merge request espressif/esp-idf!22137
2023-01-27 22:36:30 +08:00
Mahavir Jain
68a3bb295e Merge branch 'contrib/github_pr_10378' into 'master'
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR)

Closes IDFGH-8966

See merge request espressif/esp-idf!22104
2023-01-27 21:23:39 +08:00
Abhik Roy
b44f9d6b6f Merge branch 'lwip/esp_netif_def_iface' into 'master'
esp-lwip: Added API to return default esp-netif.

See merge request espressif/esp-idf!22124
2023-01-27 21:07:27 +08:00
Roman Leonov
456eaf9196 Merge branch 'feature/usbh_hid_keyboard' into 'master'
[Peripheral Drivers/USB Host] HID Host example update

Closes IDF-6649
Closes IDF-6650

See merge request espressif/esp-idf!22052
2023-01-27 20:06:32 +08:00
Roman Leonov
bb1e1737d3 usbh: hid change key event handler 2023-01-27 11:13:33 +01:00
Barabas Raffai
005196d86d
Clean up wifi provisioning in the esp_event thread
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
2023-01-27 15:39:08 +05:30
Marek Fiala
9beb663f1a Tools: Rewrite build system unit tests to python - rebuild tests 2023-01-27 09:55:52 +00:00
Roland Dobai
d063e48c41 Merge branch 'feature/add-esp32c6-esp32h2-to-roms_json' into 'master'
tools: add esp32c6, esp32h2 to roms.json

Closes IDF-6734

See merge request espressif/esp-idf!22111
2023-01-27 17:01:29 +08:00
Roland Dobai
fda3cf5607 Merge branch 'bugfix/ctrlc_port_detection' into 'master'
tools: allow to interrupt port detection

Closes IDF-6656

See merge request espressif/esp-idf!22062
2023-01-27 16:51:26 +08:00
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
Abhik Roy
d762f9a1a5 esp-lwip: Added check in esp_netif_new() to restrict configuring DHCP
server and client together.
2023-01-26 20:59:04 +05:30
Guillaume Souchere
6382f28998 heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
If memory protection is enabled on esp32c3 and esp32s3, we don't want to the heap component to see
the startup stack memory as D/IRAM but as DRAM only. Introduce a new type to make this possible in
the same fashion the regular D/IRAM regions are handled.
2023-01-26 10:52:34 +01: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
gauri patankar
85de6f3f9a wpa_supplicant: Restore DEBUG_PRINT in supplicant 2023-01-25 16:57:44 +05:30
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
Abhik Roy
7e81518a57 esp-lwip: Added API to expose default esp-netif. 2023-01-25 12:03:02 +05:30
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
isha.pardikar@espressif.com
8c6cbf5ff5 Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event 2023-01-24 17:37:45 +05:30
Rahul Tank
4a2eb28d14 Nimble: Fix runtime assertion in bleprph due to two disconnect events 2023-01-24 15:52:39 +05:30
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
Alexey Lapshin
8b824d4f79 apptrace: fix SystemView example test
add trace svdat file to artifacts
2023-01-24 00:34:53 +07:00
Alexey Lapshin
dd40877ab2 sys_view: upgrade to version 3.32 2023-01-24 00:26:58 +07: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
Alexey Lapshin
dd503eab24 tools: add esp32c6, esp32h2 to roms.json 2023-01-23 12:30:51 +07: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