Commit Graph

4620 Commits

Author SHA1 Message Date
Frantisek Hrbata
dc580bdc97 tools: add hints for openocd
This moves one hint, which was hardcoded in debug_ext.py to
hints.yml and adds a new one when openocd process does not have
permissions to the USB JTAG/serial device.

Also hint replacing the original 'Please check JTAG connection!'
hardcoded message is added.

Suggested-by: Alexey Lapshin <alexey.lapshin@espressif.com>
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-03 14:56:14 +01: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
Wu Zheng Hui
33ae2e1073 Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
esp32c6: support light_sleep (Stage 1: support CPU power down)

See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
Li Shuai
9b99fc9033 cpu retention: software cpu retention support for esp32c6
cpu retention: add riscv core sleep critical and non-critical register layout structure definition

cpu retention: add assembly subroutine for cpu critical register backup and restore

cpu retention: add cpu core critical register context backup and restore support

cpu retention: add cpu core non-critical register context backup and restore support

cpu retention: add interrupt priority register context backup and restore support

cpu retention: add cache config register context backup and restore support

cpu retention: add plic interrupt register context backup and restore support

cpu retention: add clint interrupt register context backup and restore support

cpu retention: wait icache state idle before pmu enter sleep
2023-01-31 22:12:54 +08:00
David Čermák
dba0718f47 Merge branch 'feature/lwip_linux' into 'master'
lwip: Add support for linux target

Closes IDF-5707, IDF-5647, and IDF-6003

See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
Ondrej Kosta
5da702bab3 Merge branch 'feature/iperf_pytest_migration' into 'master'
iperf pytest migration

Closes IDFCI-1143

See merge request espressif/esp-idf!21726
2023-01-31 18:04:59 +08:00
Mahavir Jain
d193521eb8 Merge branch 'example/remove_cbor_example' into 'master'
example: remove CBOR example from IDF.

See merge request espressif/esp-idf!22164
2023-01-31 17:16:23 +08:00
David Cermak
fa97004faf lwip: Support for linux target
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
Roland Dobai
733aadd6dc Merge branch 'feature/rewrite_build_sys_tests_v1' into 'master'
Rewrite build system unit tests to python v1

Closes IDF-6736

See merge request espressif/esp-idf!21639
2023-01-30 19:41:51 +08:00
Harshit Malpani
928c5e84d9
example: remove CBOR example from IDF.
CBOR example has been moved to https://github.com/espressif/idf-extra-components/tree/master/cbor/examples/cbor
2023-01-30 16:58:32 +05:30
Jakob Hasse
a8b830ca92 Merge branch 'contrib/github_pr_10509' into 'master'
Make macro defined event base variables immutable (GitHub PR)

Closes IDFGH-9106

See merge request espressif/esp-idf!22032
2023-01-29 17:04:04 +08:00
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
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
Alexey Lapshin
18e5627a86 sys_view: upgrade to version 3.42 2023-01-27 22:22:33 +07:00
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
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
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
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
Alexey Lapshin
dd503eab24 tools: add esp32c6, esp32h2 to roms.json 2023-01-23 12:30:51 +07: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
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
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
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
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
Marius Vikhammer
0eda9b9215 esp-rom: remove unsupported ROM functions 2023-01-19 10:09:09 +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
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
Armando (Dou Yiwen)
9f3fd2802f Merge branch 'feature/sdio_slave_c6' into 'master'
sdio: c6 support

Closes IDF-5809

See merge request espressif/esp-idf!21486
2023-01-18 16:42:32 +08:00
Roland Dobai
abf5022f9e Merge branch 'bugfix/fix_windows_path_case_sensitivity' into 'master'
bugfix: Fix windows path case sensitivity

Closes IDFGH-8858

See merge request espressif/esp-idf!21775
2023-01-18 15:48:07 +08:00
wanlei
184145817c spi_master: add feature spi periph clk source selectable 2023-01-18 15:40:12 +08:00
Ivan Grokhotkov
cef0744299 Merge branch 'bugfix/linux_target_gen_partition_table' into 'master'
multiple fixes for linux target

Closes IDF-6641

See merge request espressif/esp-idf!21993
2023-01-18 11:57:08 +08:00
Armando
f1de9faa71 sdio: c6 support 2023-01-18 02:34:46 +00:00
Jakob Hasse
9991862a10 fix(linux): fix build errors and warnings, remove ignore file 2023-01-18 09:24:28 +08:00
Djordje Nedic
17d1e9ae36 bugfix: Fix windows path case sensitivity
This commit fixes an issue where paths on Windows are case insensitive, for instance when setting the build folder its name would be converted to lowercase.

The culprit is our realpath() function, that was calling os.path.normcase() internally, since we are removing that call it makes sense to just remove the function entirely and call os.path.realpath() wherever necessary.

Closes https://github.com/espressif/esp-idf/issues/10282
2023-01-17 20:51:46 +01:00
David Cermak
a71fa82177 esp_netif/lwip: Fix core-locking config
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
* Fix openthread libs

Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-01-17 16:15:58 +01:00
Frantisek Hrbata
92565a259f tools: allow to interrupt port detection
The main idf.py process has a handler for SIGINT, which actually just
ignores it. The get_default_serial_port() function is called within the
idf.py context to detect port for several tools(monitor,flash) and it's
not possible to terminate it because of this. Let's ignore SIGINT only
while running idf_monitor, which uses it to spawn gdb.

Fixes: c6e3eb0922 ("idf.py.exe changes to handle Ctrl+C in correct way. H..")

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-17 13:13:54 +01:00
morris
d9825f5165 Merge branch 'feature/add_clk_tree_get_frequency_api' into 'master'
clk_tree: Stage 4 - Add a general API to get the frequency of different clocks

Closes IDF-6569

See merge request espressif/esp-idf!21830
2023-01-17 17:08:23 +08:00
Song Ruo Jing
2c9aa4559c clk_tree: Add a general API to get the frequency of different clocks
Add basic clk_tree driver and hal implementation.
2023-01-17 11:30:24 +08:00
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Ondrej Kosta
7aa4462d0b Ethernet & WiFi iperf test migration to pytest 2023-01-16 15:45:56 +01:00
Fu Hanxi
51adb9ab27 test: temp workaround for linux test apps 2023-01-16 10:25:55 +08:00