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
Fu Hanxi
b02687a6c4
test: migrate linux target host test jobs into pytest-embedded
2023-01-16 10:25:55 +08:00
Fu Hanxi
74794c64f5
ci: fix ci_build_apps.py for linux target
2023-01-16 08:33:25 +08:00
Djordje Nedic
7cf3e284f5
Fix idf_size.py archives diff display when using the CSV output mode
...
This commit fixes two issues:
1. Part of the header containing annotations for curr, reference and diff values for archive diffs wasn't formatted correctly
2. Only one third of the values in the table were displayed because of the wrong line format
2023-01-13 23:04:40 +01:00
Alexey Lapshin
30cc5e9da9
tools: upgrade rom elfs to version 20230113
2023-01-13 14:44:57 +07:00
Ivan Grokhotkov
98d1f7de4b
tools: fix idf_monitor.py not working on macOS for Linux target
...
Since the introduction of PCAddressMatcher, the executable produced
by the build system is passed to elftools.elf.elffile.ELFFile.
However on macOS, native executables are not ELF files, so the
ELFFile class raises a rather unhelpful AssertionError exception.
Given that the rest of the idf_monitor.py doesn't have assumptions
that the "elf_file" argument is an ELF file (rather than just an
executable), check if the file is a real ELF file inside
PCAddressMatcher.
2023-01-13 08:14:55 +01:00
Jakob Hasse
01b4c7d8b1
fix(esp_event): removed header from pre-commit ignore list
2023-01-13 11:16:50 +08:00
Frantisek Hrbata
8934233b0b
tools: fix unnecessary port detection for multiple targets
...
When multiple targets are specified, e.g. idf.py flash monitor, the
automatic port detection is performed twice. Keep the port value in
args.port and avoid multiple calls to get_default_serial_port().
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-11 16:13:28 +01:00
Darian
20f0afd684
Merge branch 'feature/esp_pm_unit_test_migration' into 'master'
...
esp_pm: Migrate unit tests to test app
Closes IDF-5581
See merge request espressif/esp-idf!21229
2023-01-10 21:35:43 +08:00
Darian Leung
412b09abf4
esp_pm: Migrate unit tests to test app
...
This commit migrates the esp_pm unit tests from the legacy unit test to a
stand alone test app. The following CI configurations are provided
- Default: Automatic light sleep with mostly default configurations
- Options: Enables all of the optional esp_pm features
- Limits: Limit tests esp_pm
2023-01-10 15:43:33 +08:00
Ivan Grokhotkov
10e3b8edef
Merge branch 'feature/esp32h2_backtrace' into 'master'
...
tools: gdb_panic_server: add esp32h2
See merge request espressif/esp-idf!21901
2023-01-09 22:06:57 +08:00
Chen Yu Dong
e72905ee35
Merge branch 'ci/enable_more_wifi_tests' into 'master'
...
CI: enable more wifi cases
See merge request espressif/esp-idf!21488
2023-01-09 14:42:10 +08:00
Alexey Lapshin
a0bac6d309
tools: remove obsolete workaround for reading ROM data from flash
2023-01-09 11:36:11 +07:00
Guillaume Souchere
9b2f6f01d6
tools: Fix esp32c2_data_info.yaml memory values to match documentation
2023-01-06 09:30:36 +00:00
Chen Yudong
8aca3932b0
CI: enable more wifi cases
2023-01-06 06:03:52 +00:00
Roland Dobai
ec0466e0e5
Merge branch 'fix/idf_monitor_pc_addr_intervals' into 'master'
...
Tools: IDF Monitor: Determine possible instruction addresses based on ELF segments
Closes IDF-6174
See merge request espressif/esp-idf!21393
2023-01-05 14:44:19 +08:00
Ivan Grokhotkov
38d36530f2
tools: gdb_panic_server: add esp32h2
2023-01-04 17:00:16 +01:00
Ivan Grokhotkov
8020407d3d
Merge branch 'test/panic_add_riscv' into 'master'
...
tests: panic: add esp32s3, esp32c3, esp32c2 support
Closes IDF-5692
See merge request espressif/esp-idf!21349
2023-01-04 18:29:01 +08:00
Konstantin Kondrashov
708a9047e8
Merge branch 'feature/adds_funcs_to_read_efuses_from_cmake' into 'master'
...
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
Closes IDFGH-8890
See merge request espressif/esp-idf!21585
2023-01-04 17:17:47 +08:00
Guillaume Souchere
8fe13d53b1
Merge branch 'feature/re-enable-newlib-test-c2' into 'master'
...
newlib: Remove tests using RTC related features from the esp32c2 test set
Closes IDF-5057
See merge request espressif/esp-idf!21858
2023-01-04 14:46:58 +08:00
Fu Hanxi
bcf19a275c
Merge branch 'ci/use_same_build_flags' into 'master'
...
CI: use same build flags in ci_build_apps.py
Closes IDFCI-1564
See merge request espressif/esp-idf!21868
2023-01-04 10:33:40 +08:00
Fu Hanxi
59304efa9a
test: add test to make sure the build flags are the same as the CI ones
2023-01-04 09:12:47 +08:00
Fu Hanxi
3ae9ec5faf
ci: use ci build flags in ci_build_apps.py
2023-01-04 09:12:23 +08:00
Roland Dobai
fa0db2c329
Tools: Improve idf.py error message when the argument value collides with the environment variable
...
Closes https://github.com/espressif/esp-idf/issues/10475
2023-01-03 18:56:50 +01:00
KonstantinKondrashov
fd721c5b09
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
...
Closes https://github.com/espressif/esp-idf/issues/10311
2023-01-04 00:30:38 +08:00
Ivan Grokhotkov
6495810c5d
test: panic: run tests on esp32s3, esp32c3, esp32c2
2023-01-03 15:29:58 +01:00
Roland Dobai
17286337ea
Tools: IDF Monitor: Determine possible instruction addresses based on ELF segments
2023-01-03 13:22:26 +01:00
Guillaume Souchere
ec34a0f5f5
newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
...
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:
- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:33:38 +01:00
Fu Hanxi
a92dce463f
Merge branch 'ci/remove_debug_backend' into 'master'
...
ci: remove debug_backend dependency
See merge request espressif/esp-idf!21811
2023-01-03 10:30:12 +08:00
Ivan Grokhotkov
e48b8eecff
Merge branch 'bugfix/tools_json_riscv_gdb_targets' into 'master'
...
tools: fix RISC-V GDB not being installed for C2, C6, H2
See merge request espressif/esp-idf!21763
2023-01-02 16:55:04 +08:00
Ivan Grokhotkov
9368096123
Merge branch 'bugfix/test_build_system_fixtures' into 'master'
...
build system tests: fix issues with idf_copy and get_idf_build_env
See merge request espressif/esp-idf!21754
2023-01-02 16:14:38 +08:00
Shu Chen
2ce330bd34
Merge branch 'feature/add_openthread_and_i154_lib_for_c6' into 'master'
...
openthread: add 802.15.4 and Thread support for ESP32-C6
See merge request espressif/esp-idf!21780
2022-12-30 09:41:39 +08:00
morris
cb7e957cc4
Merge branch 'feature/io_mux_use_pll80_c6' into 'master'
...
io_mux: support change clock source to PLL_F80M
Closes IDF-6342 and IDF-6345
See merge request espressif/esp-idf!21613
2022-12-29 22:06:52 +08:00
Xu Si Yu
c35759448a
openthread: add 802.15.4 and Thread support lib for ESP32-C6
2022-12-29 17:29:18 +08:00
morris
cbe297e5a0
sdm: support derive clock source from IO MUX
2022-12-29 14:46:16 +08:00
Cao Sen Miao
4e67332b74
ESP32H2: Add small CI test for ESP32H2
2022-12-29 11:00:42 +08:00
Guillaume Souchere
a74ae7fba7
Merge branch 'feature/heap-trace-improve-spi-ram-support' into 'master'
...
heap_trace: improvements to formatting, code, comments of heap trace standalone
Closes IDFGH-8699
See merge request espressif/esp-idf!21506
2022-12-28 15:07:30 +08:00
wuzhenghui
a898c3ddc6
soc: regenerate modem header with regtool
2022-12-27 21:31:21 +08:00
Roland Dobai
a5b4e3bb3e
Merge branch 'tools/add_idf_size_c6_support' into 'master'
...
tools: Add tests for idf_size.py esp32c6 output
Closes IDF-6173
See merge request espressif/esp-idf!21644
2022-12-27 21:20:35 +08:00
Fu Hanxi
0da5cf8cd7
ci: remove debug_backend dependency
2022-12-27 17:34:11 +08:00
Omar Chebib
5eb8defb30
Merge branch 'staging/coredump_extram_support' into 'master'
...
coredump: enable support for stacks in external RAM
Closes IDF-5497 and IDF-2391
See merge request espressif/esp-idf!21067
2022-12-26 17:52:41 +08:00
Darian Leung
c318c89453
freertos(IDF): Remove dependency on portUSING_MPU_WRAPPERS
...
This commit removes the dependency on portUSING_MPU_WRAPPERS on the Xtensa port
of IDF FreeRTOS. This dependency was added due to a hack implemented in the
upstream port that required the usage of the "xMPUSettings" member of the TCB.
The "xMPUSettings" would be used as a pointer to the task's coprocessor save
area on the stack, even though FreeRTOS MPU support was not available.
The hack has now been removed, and the CPSA pointer is now calculated using
a combination of constant offsets values and the pxEndOfStack member of the
TCB.
Note: This impelemtation was copied from the Xtensa port of Amazon SMP FreeRTOS.
2022-12-23 15:29:17 +08:00
Kevin (Lao Kaiyao)
42c6ae3522
Merge branch 'feature/support_rtcio_on_c6' into 'master'
...
rtcio: support rtcio on c6
Closes IDF-6027
See merge request espressif/esp-idf!21603
2022-12-23 10:56:49 +08:00
Omar Chebib
835263e50a
Coredump: add a test to check that coredump supports stacks in SPIRAM
2022-12-22 12:47:22 +01:00
Ivan Grokhotkov
2a1e5e1939
tools: fix RISC-V GDB not being installed for C2, C6, H2
2022-12-22 10:11:48 +01:00
Ivan Grokhotkov
6020bb0f90
Merge branch 'feature/gdbstub_esp32c2' into 'master'
...
gdb stub: re-enable for ESP32-C2
Closes IDF-4135 and IDF-4245
See merge request espressif/esp-idf!21386
2022-12-22 16:00:01 +08:00
laokaiyao
7a002ab7a6
rtcio: support rtcio on c6
2022-12-22 14:14:38 +08:00
Djordje Nedic
370bc8a59d
tools: Add tests for idf_size.py esp32c6 output
...
This MR adds tests for idf_size.py support for the esp32c6 chip.
2022-12-21 20:11:08 +01:00
Mahavir Jain
9c99080841
Merge branch 'fix/wifi_prov_scan_method' into 'master'
...
Changed wifi provisioning scan method
See merge request espressif/esp-idf!20408
2022-12-22 01:20:25 +08:00
Ivan Grokhotkov
03c542ecf7
test_build_system: fix incomplete env returned by get_idf_build_env
...
Previously get_idf_build_env didn't include the default environment
(os.environ) in its output, so the environment only contained the
variables returned by "idf_tools.py export".
If PATH already contains all the right paths, "idf_tools.py export"
doesn't return the PATH variable.
Therefore the environment returned by get_idf_build_env was usually
incomplete. Fix by combining the output of "idf_tools.py export" with
os.environ.
2022-12-21 17:22:55 +01:00
Ivan Grokhotkov
5d2f900bef
test_build_system: fix idf_copy fixture not changing IDF_PATH
2022-12-21 17:22:50 +01:00
Suren Gabrielyan
e5926d1b1b
Merge branch 'examples/mqtt_tests_migration_pytest' into 'master'
...
Examples: migration mqtt examples to pytest
See merge request espressif/esp-idf!20957
2022-12-21 21:23:14 +08:00
Jakob Hasse
102b501b10
Merge branch 'contrib/github_pr_9962' into 'master'
...
[Panic] add user configurable reboot delay in seconds (GitHub PR)
Closes IDFGH-8506
See merge request espressif/esp-idf!21305
2022-12-21 21:12:21 +08:00
Ivan Grokhotkov
e3a4d47fd9
gdb stub: re-enable for ESP32-C2
2022-12-21 13:21:41 +01:00
Fu Hanxi
b7a2d77e59
ci: remove ttfw print_heap_size
since it's migrated to pytest
2022-12-21 10:25:33 +08:00
Suren Gabrielyan
b68203bfb5
Examples: migration mqtt examples to pytest
2022-12-20 17:48:48 +04:00
Jiang Jiang Jian
8cd0571cc9
Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue' into 'master'
...
esp_phy: add country code 01 to country code map type table
Closes IDFCI-1299
See merge request espressif/esp-idf!21656
2022-12-20 21:31:24 +08:00
sanket.wadekar
bd6a74fcac
Changed wifi provisioning scan method
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
2022-12-20 17:04:30 +05:30
Jakob Hasse
cb9786d35e
refactor(esp_system): reboot delay: added docs, protected by watchdog
2022-12-20 15:51:00 +08:00
Chen Yu Dong
e5b318ab71
Merge branch 'ci/fix_socket_ipv6_test' into 'master'
...
CI: Migrate socket example tests to pytest
See merge request espressif/esp-idf!21596
2022-12-20 11:13:09 +08:00
Ivan Grokhotkov
32754865da
Merge branch 'feature/spiflash_override_cmake_function' into 'master'
...
build system: Add spi_flash_add_link_dependency function for spi_flash custom driver
Closes IDF-3167
See merge request espressif/esp-idf!14186
2022-12-19 22:21:40 +08:00
Jiang Jiang Jian
066dc196af
Merge branch 'feature/esp32c6_wifi_bt_common_dependcy_support' into 'master'
...
esp32c6: support esp32c6 phy
Closes IDF-5680
See merge request espressif/esp-idf!21576
2022-12-19 12:16:11 +08:00
muhaidong
d912bbbcb0
esp_phy: add country code 01 to country code map type table
2022-12-18 14:25:17 +08:00
Angus Gratton
d89652b382
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding
2022-12-16 16:26:44 +01:00
David Čermák
a3dd334081
Merge branch 'bugfix/netif_test_rules' into 'master'
...
esp_netif various fixes: dependency cleanup, default flags, CI rules
Closes IDF-5550, IDFGH-7023, IDF-1261, and IDF-2155
See merge request espressif/esp-idf!20301
2022-12-16 21:26:05 +08:00
wuzhenghui
5822cdf93b
esp_phy: enable for esp32c6
2022-12-16 15:47:56 +08:00
Ivan Grokhotkov
75c92a8811
ci: use latest esp-clang for code analysis
2022-12-15 19:32:42 +01:00
Island
7283a406e4
Merge branch 'bugfix/remove_-Wno-formate_in_ble_mesh_examples' into 'master'
...
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples
See merge request espressif/esp-idf!21523
2022-12-15 17:54:30 +08:00
David Cermak
38dec0be48
esp-netif: Support non-lwip mode, add test
...
It is required to define a mandatory dependency on lwip, so we
introduced esp_netif_stack component and made it require lwip, instead
of directly depending on lwip.
This enables building w-out lwip and support other TCP/IP stacks.
2022-12-14 14:12:50 +00:00