Laukik Hase
6e0e7e34ea
test_app: Extend panic
app to include memprot
-related tests
...
- Add support for esp32s2, esp32c3 and esp32c2 for the `memprot`-related tests
- Preliminary support for esp32s3 has also been added,
the test app will be enabled for esp32s3 later when
the memprot-related issues are fixed.
- Override panic handler to dump the violation intr status
- Dump the `memprot` violation registers before calling the
real panic handler
- Handle `Illegal Instruction` exception in case of memprot permission violation
* In esp32c3 with `memprot` enabled, if we try to execute arbitrary code
from RTC_FAST_MEM we get an `Illegal Instruction` exception from the panic
handler rather than a `Memory Protection Fault`.
* This is because the Illegal Instruction interrupt occurs earlier than the
memory protection interrupt due to a higher interrupt latency.
2023-02-16 17:13:56 +05:30
Laukik Hase
4cf889b692
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-02-16 15:27:11 +05:30
Laukik Hase
fa27795048
test_app: Split panic
test app into separate source files
...
- Added minor improvements to `panic` test app
* Replaced existing API to disable flash cache which did not disabled cache always
(`esp_flash_default_chip->os_func->start(esp_flash_default_chip->os_func_data)`)
with `spi_flash_enable_interrupts_caches_and_other_cpu`
* Included some required headers explicitly (`esp_memory_utils.h` and `esp_heap_caps.h`)
2023-02-16 15:26:47 +05:30
morris
4a604be7fd
Merge branch 'feature/expose_rmt_channel_id' into 'master'
...
rmt: expose private API to get channel ID
Closes IDFGH-9206, IDF-6846, IDF-6810, and IDF-6783
See merge request espressif/esp-idf!22384
2023-02-16 16:54:46 +08:00
Alexey Lapshin
31b7f8f1d8
Merge branch 'fix/revert-sdio-slave-gcc11-workaround' into 'master'
...
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
Closes GCC-277
See merge request espressif/esp-idf!22085
2023-02-16 14:32:59 +08:00
Fu Hanxi
610102ace1
Merge branch 'ci/move_stdout_print_to_stderr_logging' into 'master'
...
ci: move stdout print to stderr logging in gitlab api
See merge request espressif/esp-idf!22387
2023-02-16 13:45:55 +08:00
morris
195f6b99ad
rmt: expose private API to get channel ID
...
Closes https://github.com/espressif/esp-idf/issues/10596
2023-02-16 11:37:25 +08:00
Armando (Dou Yiwen)
76989b504a
Merge branch 'refactor/move_isr_core_id_enum_to_g1' into 'master'
...
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
See merge request espressif/esp-idf!22182
2023-02-16 11:02:56 +08:00
Marius Vikhammer
29d347acdf
Merge branch 'docs/system_feature_general_notes_c6_h2' into 'master'
...
docs: update misc docs for C6 and H2
Closes IDF-5938 and IDF-6675
See merge request espressif/esp-idf!22390
2023-02-16 10:19:14 +08:00
Erhan Kurubas
a3df4d5386
Merge branch 'apptrace_pytest' into 'master'
...
Generic apptrace example with pytest support
Closes IDF-5620
See merge request espressif/esp-idf!22195
2023-02-16 03:41:19 +08:00
Armando
b96c370ab8
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
2023-02-15 19:52:06 +08:00
Roland Dobai
2237847967
Merge branch 'fix/idf_tools_python_dir_change' into 'master'
...
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
Closes IDFGH-9085
See merge request espressif/esp-idf!22372
2023-02-15 19:07:52 +08:00
Wan Lei
814df0ea28
Merge branch 'bugfix/fix_h4_spi_file_missing' into 'master'
...
spi: fix spi support on h4 after diver/cmakelist refactored
See merge request espressif/esp-idf!22358
2023-02-15 18:41:49 +08:00
Darian
c94e0a9892
Merge branch 'docs/freertos_doc_organization' into 'master'
...
Docs: Update FreeRTOS documentation organization for IDF and Amazon SMP FreeRTOS
See merge request espressif/esp-idf!22264
2023-02-15 18:13:53 +08:00
Wang Zi Yan
d4e79801a9
docs: update CN for api-guides/app_trace.rst
2023-02-15 10:30:41 +01:00
Erhan Kurubas
db10697b74
example/system: remove app_trace_to_host example. Instead use app_trace_basic
2023-02-15 10:30:32 +01:00
Erhan Kurubas
1ee5c8d877
example/system: add generic apptrace example with pytest support
2023-02-15 10:30:08 +01:00
Marius Vikhammer
b67c822d10
docs: update misc docs for C6 and H2
2023-02-15 17:27:31 +08:00
Roland Dobai
beb1c08d25
Merge branch 'feature/rewrite_build_sys_tests_v2' into 'master'
...
Rewrite build system unit tests to python v2
Closes IDF-6778
See merge request espressif/esp-idf!22180
2023-02-15 17:04:59 +08:00
Wu Zheng Hui
113132e4f4
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_top' into 'master'
...
esp32c6: support light_sleep (Stage 2: support Digital Peripheral power down)
See merge request espressif/esp-idf!22197
2023-02-15 16:17:53 +08:00
Sachin Parekh
774f0ef636
Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
...
ESP32C6: Enable ECDSA secure boot
Closes IDF-5357 and IDF-5931
See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00
Fu Hanxi
8d0dda23b0
ci: move stdout print to stderr logging in gitlab api
2023-02-15 15:34:10 +08:00
Guillaume Souchere
b1f9d7a8ee
Merge branch 'feature/use-linked-list-for-heap-trace-records' into 'master'
...
heap: fix Leaks perf on large records by using doubly linked list
Closes IDFGH-9121 and IDF-1244
See merge request espressif/esp-idf!22009
2023-02-15 15:14:19 +08:00
Island
50ae186ff7
Merge branch 'bugfix/esp32c2_fixed_adv_stop' into 'master'
...
ble:Fixed issues of adv error stop and abnormal reporting of connection update...
Closes BT-3137 and BT-3144
See merge request espressif/esp-idf!22310
2023-02-15 14:20:51 +08:00
David Čermák
31f5c73d5f
Merge branch 'esp32h2_spi_ethernet_support' into 'master'
...
ESP32H4 SPI ETHERNET SUPPORT
See merge request espressif/esp-idf!21183
2023-02-15 13:55:30 +08:00
Jiang Jiang Jian
0b921fda14
Merge branch 'bugfix/nvs_save_for_new_config' into 'master'
...
esp_wifi: Add nvs code for new config params
See merge request espressif/esp-idf!21513
2023-02-15 13:00:45 +08:00
Darian Leung
3b638b12ad
freertos: Update ESP-IDF FreeRTOS and FreeRTOS Additions documentation
...
This commit updates the ESP-IDF FreeRTOS and FreeRTOS Additions to account for
the fact that there are now two implementations of SMP FreeRTOS (i.e., IDF SMP
vs Amazon SMP).
2023-02-15 12:42:18 +08:00
Darian Leung
bec82aa0cf
freertos: Update FreeRTOS overview document
...
This commit updates "freertos.rst" to act as an overview document of FreeRTOS
in ESP-IDF, outlining the different FreeRTOS implementations (IDF vs Amazon)
and various supplemental features. The details of each implementation will be
separated to their own documents.
2023-02-15 12:42:18 +08:00
Darian Leung
69433a9660
freertos: Rename SMP changes document to ESP-IDF FreeRTOS
...
This commit renames "freertos-smp" docuemnt to "freertos_idf". This fits better
with the current dual FreeRTOS implementation (i.e., IDF FreeRTOS and Amazon
SMP FreeRTOS), both of which are SMP capable.
2023-02-15 12:42:04 +08:00
C.S.M
ae9713d227
Merge branch 'bugfix/wrap_init' into 'master'
...
spi_flash: initialize wrap in app stage
See merge request espressif/esp-idf!22362
2023-02-15 12:39:12 +08:00
C.S.M
8ba96ab873
Merge branch 'feature/esp32h2_target_test' into 'master'
...
esp32h2(ci): ESP32H2 enable target stage test
See merge request espressif/esp-idf!22084
2023-02-15 12:34:13 +08:00
C.S.M
a2ed523f97
Merge branch 'bugfix/mcpwm_config_name' into 'master'
...
mcpwm: modify wrong config name
See merge request espressif/esp-idf!22348
2023-02-15 12:21:48 +08:00
wanlei
217e36bec0
spi: fix spi support on h4 after diver/cmakelist refactored
2023-02-15 12:12:22 +08:00
Mahavir Jain
db48197619
Merge branch 'ci/fix_test_examples_efuse_with_virt_secure_boot_v2' into 'master'
...
ci: Run test_examples_efuse_with_virt_secure_boot_v2 only on ESP32 ECO3
Closes IDFCI-1600
See merge request espressif/esp-idf!22233
2023-02-15 11:54:01 +08:00
wuzhenghui
a0492202b7
bugfix: unhold SPI CS pin in pd_top lightsleep
2023-02-15 11:46:41 +08:00
wuzhenghui
0b0da680d2
codeclean: turn on the regdma clock only once
2023-02-15 11:46:40 +08:00
wuzhenghui
248aa6109d
codeclean: add sleep_mode args to esp_sleep_start()
2023-02-15 11:46:40 +08:00
Li Shuai
aec3f6db1d
light sleep: supported SoC TOP domain powered down
2023-02-15 11:46:40 +08:00
Li Shuai
6e307c04a3
clock retention: supported soc and modem system power and clock sleep retention
2023-02-15 11:46:40 +08:00
fuzhibo@espressif.com
e252748d92
periph retention: runtime critical digital peripherals sleep retention support
2023-02-15 11:46:40 +08:00
Li Shuai
d097bbe40b
sleep retention: wraps the regdma link and hardware driver to provide system sleep retention (WiFi, BLE, 15.4 and digital peripheral) support
2023-02-15 11:46:40 +08:00
Li Shuai
8c18393d23
regdma: add regdma link operation api support
2023-02-15 11:46:36 +08:00
Li Shuai
d3e0e3e3b6
pau: implement the pau regdma driver for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
5850cd7492
pau: implement the pau regdma hal&ll layer for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
180199319b
soc_caps: add pau link number caps
...
soc_caps: add SOC_PAU_SUPPORTED caps
soc_caps: add SOC_PM_SUPPORT_TOP_PD caps
2023-02-15 10:45:44 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Mahavir Jain
01734d15c8
Merge branch 'feature/apm_support_esp32h2' into 'master'
...
apm: added support for APM on esp32h2
Closes IDF-6277, IDF-6278, and IDF-5909
See merge request espressif/esp-idf!22345
2023-02-15 03:48:28 +08:00
Roland Dobai
afe554c753
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
...
IDF_PYTHON_ENV_PATH is the path where the Python environment is created
and used. By default it is inside IDF_TOOLS_PATH. IDF_PYTHON_ENV_PATH
was exported by idf_tools.py but was not imported back. This fixes the
issue and ESP-IDF will honor the value of IDF_PYTHON_ENV_PATH.
Closes https://github.com/espressif/esp-idf/issues/10489
2023-02-14 17:26:04 +01:00
Kapil Gupta
1c35430012
esp_wifi: Add nvs for new config params after esp32c2
2023-02-14 19:42:37 +05:30
Roland Dobai
6f0bea38cd
Merge branch 'doc_update_esp32h2_jtag' into 'master'
...
docs: JTAG debugging update for ESP32-H2
Closes IDF-6666
See merge request espressif/esp-idf!22216
2023-02-14 19:46:53 +08:00