wuzhenghui
151c3b335b
example: add example for ram loadable app
2023-02-01 17:57:28 +08:00
wuzhenghui
0cbb4227b2
feature: add build framework support
2023-02-01 17:57:25 +08: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
gauri patankar
d14d001e44
wpa_supplicant:Fix potential null pointer dereference
2023-01-31 21:54:43 +05:30
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
Rahul Tank
826495a145
Nimble: Added return value (success / failure ) to nimble_port_init
2023-01-31 12:01:02 +05:30
morris
b7799ec84d
rom: patch uart function to switch buffer
2023-01-31 13:11:32 +08: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
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
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