morris
eb5183f503
feat(mcpwm): refactor mcpwm driver into a component
2023-11-09 22:05:06 +08:00
Sudeep Mohanty
d507a86285
feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
...
This commit exposes the FreeRTOS List integrity check option
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES via menuconfig.
2023-11-09 14:54:13 +01:00
Armando
fca46eac52
refactor(spi): make spi driver as component
2023-11-09 14:50:05 +08:00
Jakob Hasse
af0a502f97
Merge branch 'bugfix/linux_gpio_definitions' into 'master'
...
fix(driver): gpio number definitions on Linux
Closes IDFGH-11376
See merge request espressif/esp-idf!26934
2023-11-07 12:24:29 +08:00
morris
2ef14fe55e
refactor(gptimer): refactor gptimer driver into a component
2023-11-06 17:09:31 +08:00
Song Ruo Jing
8029946cba
Merge branch 'refactor/esp_driver_gpio' into 'master'
...
refactor(gpio): make gpio driver as component
See merge request espressif/esp-idf!26509
2023-11-06 15:03:30 +08:00
Jakob Hasse
96d7e0762d
fix(driver): gpio number definitions on Linux
...
* Removed gpio_types.h as it is already available
for Linux in the hal component.
* Moved gpio_num.h from tools/mocks to soc component
and added missing GPIO pin definitions
Closes https://github.com/espressif/esp-idf/issues/12520
2023-11-06 11:16:50 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Xiao Xufeng
24ef7f6034
ci(ram_load_app): enable target tests for all targets
2023-11-01 02:01:45 +08:00
Mahavir Jain
11c8501f32
Merge branch 'refactor/hal_mpu_test' into 'master'
...
refactor(tools/test_apps): Move HAL tests for MPU to the `panic` test-app
Closes IDF-5590
See merge request espressif/esp-idf!26422
2023-10-27 20:50:19 +08:00
morris
cfbf857924
Merge branch 'refactor/esp_driver_pcnt' into 'master'
...
refactor(pcnt): make pcnt driver as component
Closes IDF-8380
See merge request espressif/esp-idf!26476
2023-10-27 12:37:36 +08:00
Marius Vikhammer
d6a79b5108
Merge branch 'feature/hello_world_linux' into 'master'
...
feat(linux_target): enable hello world example for linux target
See merge request espressif/esp-idf!26638
2023-10-25 10:22:49 +08:00
Xiao Xufeng
1f5fb3f921
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart
2023-10-24 10:38:08 +08:00
Marius Vikhammer
8c52b0845d
feat(linux_target): enable hello world example for linux target
2023-10-24 10:04:09 +08:00
morris
98b5ea7bdf
refactor(pcnt): make pcnt driver as component
2023-10-23 01:45:43 +00:00
Euripedes Rocha
9628c9b5b8
ci(mqtt): Move publish tests to nightly
...
Publish test cases are prone to fail depending on Ci load.
2023-10-20 07:44:35 +02:00
Zim Kalinowski
fa1a3ce0b5
Merge branch 'refactor/components_linux_compatible' into 'master'
...
Exclude all currently incompatible components from Linux build
Closes IDF-8318 and IDF-5996
See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Jakob Hasse
548022fbe6
refactor(linux): excluded all non-Linux components from build
...
* All components which won't build (yet) on Linux are excluded.
This enables switching to Linux in an application without
explicitly setting COMPONENTS to main in the main
CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available
doc(linux): brought section
"Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files
2023-10-16 10:23:09 +02:00
Fu Hanxi
ca63d0f943
test: move network_tests from examples/ to tools/test_apps
2023-10-16 10:18:03 +02:00
Mahavir Jain
1501aef1b3
Merge branch 'feature/enable_secure_boot_esp32p4' into 'master'
...
feat(secure_boot): add secure boot support for esp32p4
Closes IDF-7544 and IDF-7745
See merge request espressif/esp-idf!26335
2023-10-16 11:07:14 +08:00
Laukik Hase
3f67722274
refactor(tools/test_apps): Move HAL tests for MPU to the panic
test-app
2023-10-13 10:16:57 +05:30
Martin Vychodil
64befdca3a
Merge branch 'feature/partition_readonly_flag' into 'master'
...
feat(partition_table): Add read-only partition flag and functionality
Closes IDF-6421
See merge request espressif/esp-idf!24855
2023-10-13 11:11:07 +08:00
Rocha Euripedes
ade6384954
Merge branch 'ci/publish_connect_refactor' into 'master'
...
Publish connect test refactor
See merge request espressif/esp-idf!25311
2023-10-12 20:03:28 +08:00
harshal.patil
f46a93e565
feat(secure_boot): add secure boot support for esp32p4
2023-10-12 10:12:54 +05:30
Euripedes Rocha
fba535756e
ci(mqtt): Refactor publish connect test
2023-10-11 14:38:52 +02:00
Adam Múdry
ab1eb37fe8
feat(partition_table): Add read-only partition flag and functionality
2023-10-11 00:01:05 +02:00
KonstantinKondrashov
a2802ef121
feat(tools): Enables unicore_bootloader test for ESP32P4
2023-10-10 11:11:32 +00:00
C.S.M
b2d7f4d0cd
Merge branch 'bugfix/compile_usj_fail_c6' into 'master'
...
ci(usb_serial_jtag): Add a pytest for usb_serial_jtag print.
Closes IDF-3201
See merge request espressif/esp-idf!26231
2023-10-10 13:47:19 +08:00
Cao Sen Miao
403f237825
feat(usb_serial_jtag): Add pytest for usb_serial_jtag
2023-10-10 10:05:46 +08:00
Alexey Lapshin
5c41edb863
fix(tools): fix panic test gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
KonstantinKondrashov
28b8a5d9b4
fix(esp_system): Fix mixing logs, remove early info logs for 2nd CPU
...
Fixes mixing logs when two cores use esp_rom_printf
2023-10-02 12:50:40 +00:00
Harshit Malpani
5d9ebd2473
Merge branch 'bugfix/fix_condition_to_verify_when_no_SB' into 'master'
...
fix(bootloader_support): Fix condition for checking signature in the application
See merge request espressif/esp-idf!26026
2023-09-26 14:38:08 +08:00
Harshit Malpani
7d98bdd495
feat: Add test app to verify SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
...
Add a test app to verify the working of the application when
SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT is selected in the menuconfig
and the application is not signed
2023-09-25 12:02:58 +05:30
Ivan Grokhotkov
2fe4fe2c19
ci(system): re-enable build test app for C2 and C6, clean up configs
...
Since we can use CONFIG_NAME now to specify build rules, we don't need
to have target-specific config files.
2023-09-22 13:46:00 +02:00
Peter Dragun
3981aae79f
feat(tools/monitor): move target tests to monitor repo
2023-09-15 16:04:11 +02:00
harshal.patil
66bbe8c156
fix: Fix esptool usage in the secure boot test application
2023-09-13 10:29:51 +05:30
wuzhenghui
6fea0260a3
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled
2023-09-12 16:30:42 +08:00
Liu Linyan
5bab168b0e
feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview)
2023-09-08 21:37:33 +08:00
Rocha Euripedes
10c21f704c
Merge branch 'bugfix/module_logging_tag_lower_case' into 'master'
...
mqtt: unite supported components tags under common structure
See merge request espressif/esp-idf!22418
2023-09-05 14:06:33 +08:00
Roland Dobai
2fbb63124f
Merge branch 'feature/coredump_panic_details' into 'master'
...
feat(coredump): add panic details to the elf file
Closes IDF-7788 and IDF-7789
See merge request espressif/esp-idf!25198
2023-08-28 13:05:58 +08:00
Darian
ede131ce73
Merge branch 'refactor/freertos_tslfcb_and_coproc_cleanup' into 'master'
...
refactor(freertos): Remove portCLEAN_UP_COPROC() and TLSP deletion callback kernel changes from IDF FreeRTOS
See merge request espressif/esp-idf!25481
2023-08-25 15:34:40 +08:00
Darian Leung
57eb41ce83
refactor(freertos): Call TLSP deletion callback from portCLEAN_UP_TCB()
...
Previously, TLSP deletion callbacks were...
- Stored in a seprate TCB member "pvThreadLocalStoragePointersDelCallback"
- Called separately via multipole prvDeleteTLS() insertions in tasks.c
This commit refactors how TLSP deletion callbacks are stored and called:
- TLSP deletion callbacks are now stored in "pvThreadLocalStoragePointers"
directly. configNUM_THREAD_LOCAL_STORAGE_POINTERS is doubled in size so that
the deletion callbacks are stored in the latter half of the array
- The callbacks are now called via "portCLEAN_UP_TCB()". As such, the
prvDeleteTLS() additions are no longer needed and the function can be removed
- Removed some legacy TLSP tests using the old method of storing the callback
pointers.
This commit reduces the source code diff between IDF FreeRTOS and upstream
vanilla FreeRTOS, in preparation for v10.5.1 upgrade.
2023-08-24 19:32:06 +08:00
Erhan Kurubas
4714521b21
feat(coredump): add panic details to the elf file
2023-08-24 10:20:56 +02:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Rocha Euripedes
9552ef012d
Merge branch 'ci/publish_connect_fix' into 'master'
...
Fix publish connect mqtt test
See merge request espressif/esp-idf!25479
2023-08-24 08:30:53 +08:00
Darian Leung
39cf3638ae
change(freertos): Deprecate usage of vPortCleanUpTCB() by applications
...
Previously, if CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP was enabled, users
would provide a definition for a vPortCleanUpTCB() hook function that is called
right before a task's memory is freed in prvDeleteTCB(). However,
vPortCleanUpTCB() will be reclaimed by ESP-IDF for internal use in v6.0.
This commit introduces the following changes...
Introduced a new CONFIG_FREERTOS_TASK_PRE_DELETION_HOOK option:
- Provides the same pre-deletion hook functionality. But users now define
vTaskPreDeletionHook() instead.
- CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP still exists, but is marked as
deprecated. This is to maintain compatibility with existing applications
that already define vPortCleanUpTCB().
- Removed redundant --wl --wrap workaround with vPortCleanUpTCB()
- Added todo notes to remove support for user defined vPortCleanUpTCB()
completely in v6.0.
- Updated test cases to use new CONFIG_FREERTOS_TASK_PRE_DELETION_HOOK option
Freed up portCLEAN_UP_TCB() to call a new internal vPortTCBPreDeleteHook():
- vPortTCBPreDeleteHook() now replaces the previous "wrapped" implementation
of vPortCleanUpTCB().
- vPortTCBPreDeleteHook() is an internal task pre-delete hook for IDF FreeRTOS
ports to inject some pre-deletion operations.
- Internal pre-delete hook now invokes user provided vTaskPreDeletionHook()
if enabled.
- Relocated vPortTCBPreDeleteHook() to correct section in port.c
2023-08-23 17:50:08 +08:00
Euripedes Rocha
d80a2881d1
ci: Fix publish connect mqtt test
...
Minor changes necessary to make the test run correctly
2023-08-23 10:04:19 +02:00
Lu Ze Yu
14d87655da
Merge branch 'fix/fix_intr_alloc_expected_result' into 'master'
...
fix(ci): fix expected intr_dump result
Closes IDFCI-1790
See merge request espressif/esp-idf!25459
2023-08-22 15:21:42 +08:00
Planck (Lu Zeyu)
99ee7d6b18
fix(ci): fix expected intr_dump result
2023-08-22 12:25:53 +08:00
Marius Vikhammer
a63e067d64
Merge branch 'ci/c6_c2_system_build' into 'master'
...
ci(build_test): enable system/build apps for C6 and C2
See merge request espressif/esp-idf!25400
2023-08-22 11:16:22 +08:00
Marius Vikhammer
f371679a8d
ci(build_test): enable system/build apps for C6 and C2
2023-08-18 13:08:06 +08:00
Michael (XIAO Xufeng)
47c153b949
Merge branch 'ci/pre-commit-check-build-test-rule-exist' into 'master'
...
pre-commit: add check that build-test-rule paths must exist
See merge request espressif/esp-idf!25231
2023-08-17 02:25:45 +08:00
Jakob Hasse
f0e7474d30
Merge branch 'feature/wifi_mock' into 'master'
...
feat(linux): added very simple esp_wifi mock
Closes IDFGH-9190
See merge request espressif/esp-idf!24400
2023-08-16 15:23:15 +08:00
Xiao Xufeng
f51258ec18
ci(pre-commit): add check that build-test-rule paths must exist
2023-08-11 17:04:35 +08:00
Andrii
6a42266795
fix(mqtt): Unite supported components tags under common structure
2023-08-10 09:06:16 +00:00
Armando (Dou Yiwen)
337aeb4b78
Merge branch 'feature/add_esp32p4_hello_world' into 'master'
...
esp32p4: introduced new chip ESP32P4: Hello World! 🌏
Closes IDF-7523
See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
Jakob Hasse
8b9f8555ea
refactor(tools): public header check also checks c++ now
...
* Also changed --only-dir argument to accept system-wide
directories instead of directories from IDF root
2023-08-09 16:23:13 +08:00
Alexey Lapshin
16f34704cb
fix(gdbstub): skip xtensa_stepping_bug testcase until fixed
2023-08-04 07:41:21 +04:00
Chen Yu Dong
ad84b8f4b4
Merge branch 'ci/add_test_case_phy_tsens' into 'master'
...
ci: add new test tsens phy coexist
See merge request espressif/esp-idf!24298
2023-08-03 11:17:34 +08:00
Alexey Lapshin
47e400c296
feature(gdbstub): Move runtime gdbstub out of panic config
...
Closes https://github.com/espressif/esp-idf/pull/11569
2023-08-01 14:28:07 +04:00
Chen Yudong
fe1b03308e
ci(tsens): add new test tsens phy coexist
2023-07-31 12:13:24 +08:00
Alexey Lapshin
5f07ed87f6
Merge branch 'fix/esp32c2-gdbstub-runtime' into 'master'
...
fix(freertos): enable esp32c2 runtime-gdbstub
See merge request espressif/esp-idf!24858
2023-07-28 15:41:07 +08:00
Ivan Grokhotkov
2bcb227542
ci(system): add test app for esp_intr_dump
2023-07-19 16:47:41 +02:00
Zim Kalinowski
1b6ef8a812
Merge branch 'bugfix/included-esp-system-in-helloworld-example' into 'master'
...
fix(example): included esp_system.h in helloworld example in order to fix warning
See merge request espressif/esp-idf!24729
2023-07-19 16:20:49 +08:00
Alexey Lapshin
99ac68246e
fix(freertos): enable esp32c2 runtime-gdbstub
2023-07-18 12:15:33 +04:00
Roland Dobai
30672c7c65
Merge branch 'docs/monitor_rom_address_decoding' into 'master'
...
esp_idf_monitor: ROM ELF address decoding docs and tests
Closes IDF-372
See merge request espressif/esp-idf!24271
2023-07-17 18:52:29 +08:00
wuzhenghui
797efb1dd3
ci: add pd_vddsdio in lightsleep UT tests
...
- Add pd_vddsdio in lightsleep UT tests to ensure proper functionality
2023-07-14 21:21:23 +08:00
Zim Kalinowski
d155a04fd5
fix(example): included esp_system.h in helloworld example in order to fix warning
2023-07-12 10:09:41 +08:00
Jakob Hasse
9ed56031b2
feat(linux): added esp_wifi mocking support
2023-07-10 19:40:09 +08:00
Jakob Hasse
54450fa4c2
feat(driver): Added usb serial mock
2023-07-10 17:46:59 +08:00
Jakob Hasse
fad3294f04
Merge branch 'refactor/merge_linux_driver_build_test' into 'master'
...
Linux: Merged rmt and driver Linux build test to one application
See merge request espressif/esp-idf!24395
2023-07-10 15:44:50 +08:00
Armando (Dou Yiwen)
adb93a3770
Merge branch 'feature/add_esp32p4_soc_support_part_3' into 'master'
...
soc: added soc headers for esp32p4 (part 3)
See merge request espressif/esp-idf!24481
2023-07-07 11:44:46 +08:00
Armando
611c1037a2
feat(soc): added soc_caps.h on esp32p4
2023-07-06 17:54:31 +08:00
morris
f0c07f82b5
fix(test): check call graph for hal component
2023-07-05 09:09:01 +08:00
Alexey Lapshin
4df3ff619e
feat(esp_system): implement hw stack guard for riscv chips
...
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
radim.karnis
6a2a7521c8
ci(esp_idf_monitor): Extend test_app for ROM ELF address decoding
2023-06-28 15:42:05 +02:00
Martin Vychodil
65bc1ed055
System: remove digital-system reset within OS restart when Memprot on
2023-06-26 20:22:59 +02:00
Jakob Hasse
775a7eb566
refactor(CI): Merged rmt and driver Linux build test
2023-06-25 17:25:49 +08:00
Konstantin Kondrashov
c350c3c504
Merge branch 'feature/cleanup_wrong_log_use' into 'master'
...
all: Removes unnecessary newline character in logs
Closes IDFGH-10197
See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Marius Vikhammer
86c5b437b5
Merge branch 'ci/trim_test_apps' into 'master'
...
core-system: limit build components for core-system test apps
Closes IDF-7092
See merge request espressif/esp-idf!24167
2023-06-13 15:31:00 +08:00
Marius Vikhammer
6d11c37ff1
core-system: trim build components for core-system test apps
2023-06-13 09:14:42 +08:00
Alexey Gerenkov
d4e1935ba8
Merge branch 'feature/compiler_rt_support' into 'master'
...
build: Adds support for compiler-rt in Clang toolchain
See merge request espressif/esp-idf!21213
2023-06-09 04:41:34 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Alexey Gerenkov
e9345bcced
build: Adds support for Clangs's toolchain compiler-rt
2023-06-08 16:49:37 +03:00
Marius Vikhammer
c60b79978d
Merge branch 'ci/system_test_apps_optimize' into 'master'
...
ci: cleanup tools/system test apps
See merge request espressif/esp-idf!23886
2023-06-01 13:32:00 +08:00
Marius Vikhammer
350650eb73
ci: cleanup tools/system test apps
2023-05-30 15:42:37 +08:00
Alexey Lapshin
9220eea4e4
test: gdbstub_runtime: initial commit
2023-05-19 20:15:58 +08:00
Alexey Lapshin
96768d7596
test: panic: use gdb-no-python to have ability to send signals
2023-05-19 20:15:58 +08:00
KonstantinKondrashov
b605404b06
esp_app_format: IRAM space optimization
2023-05-17 23:40:59 +08:00
KonstantinKondrashov
69838403f9
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
...
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
Jakob Hasse
bc7a7e8451
Merge branch 'bugfix/cmake_cxx_language_standard' into 'master'
...
cmake: Corrected setting of C++ language standard
See merge request espressif/esp-idf!23520
2023-05-10 10:28:43 +08:00
Marius Vikhammer
a300b3eb81
ci: fix invalid kconfig options in system test apps
2023-05-09 11:27:55 +08:00
Jakob Hasse
0244c24c8d
cmake: Corrected setting of C++ language standard
...
* reverted old faulty mechanism to set different
standard according to the toolchain
* Using -std=gnu++2b now for both gcc and clang
* Added a build test app to check the C++ standard in IDF
* Updated english docs to reflect the change to C++23
2023-05-09 10:09:19 +08:00
Jakob Hasse
0a3cfce671
Merge branch 'contrib/github_pr_10895' into 'master'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR)
Closes IDFGH-9541
See merge request espressif/esp-idf!23429
2023-05-04 10:41:46 +08:00
Jakob Hasse
9f4236f825
ci: increased freertos SMP linux target test timeout
2023-04-28 17:49:37 +08:00
Jakob Hasse
ca44fc3847
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-04-26 19:06:39 +08:00
Marius Vikhammer
1a5e47bd07
ci: fixed test apps overriding pytest configs
2023-04-26 11:07:35 +08:00
Zim Kalinowski
98bf5a71c5
Merge branch 'refactor/optimize_test_app_builds' into 'master'
...
tools: setting components to main to reduce build time
See merge request espressif/esp-idf!23253
2023-04-25 22:40:05 +08:00
Jakob Hasse
620cc586a2
tools: setting components to main to reduce build time
2023-04-25 15:42:22 +08:00
Jakob Hasse
d6fe302904
freertos: Added partial unit tests for Linux simulator
...
* The unit tests are derived from the FreeRTOS test app
in components/freertos/test_apps/freertos. They are
quite incompatible with the main test application, which
is why they have been placed under
tools/test_apps/linux_compatible/linux_freertos for now.
2023-04-25 13:58:57 +08:00
Marius Vikhammer
edb2994da9
ci: disable test_dram_reg2_execute_violation on esp32s2
2023-04-25 09:57:23 +08:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
Kevin (Lao Kaiyao)
4fd62bce13
Merge branch 'refacor/remove_esp32h4_target_stage1' into 'master'
...
esp32h4: remove esp32h4 target (stage 1)
See merge request espressif/esp-idf!23237
2023-04-20 20:29:58 +08:00
David Čermák
e888bb0cf8
Merge branch 'bugfix/esp_netif_recieve_returns' into 'master'
...
esp_netif: Report error if esp_netif_receive() fails
Closes IDFGH-9398
See merge request espressif/esp-idf!22936
2023-04-20 17:47:28 +08:00
laokaiyao
1f84f6c6ed
esp32h4: remove esp32h4 target from ci
2023-04-20 15:19:47 +08:00
Ivan Grokhotkov
35ea136d5a
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
...
This feature allows calling fsync even if the vfs component is not
used.
The second part of the commit adds an fsync call in the panic test app
enabling it to be used over usb-serial-jtag.
2023-04-18 11:19:36 +02:00
Ivan Grokhotkov
79a9615022
ci: add build test for CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF
2023-04-12 11:17:41 +02:00
Alexey Lapshin
2b6de209c8
tests: panic: add esp32c6 esp32h2
2023-04-10 17:49:51 +08:00
Marius Vikhammer
7108ff093d
Merge branch 'feature/sram1_iram' into 'master'
...
system: add kconfig option for using parts of SRAM1 for IRAM
Closes IDFGH-8351 and IDF-942
See merge request espressif/esp-idf!21214
2023-04-10 13:58:40 +08:00
Marius Vikhammer
5cbd311ecf
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00:00
Marius Vikhammer
ff7fce9739
ci: fixed custom partition table subtype test not compiling for linux
2023-04-07 12:29:30 +08:00
Fu Hanxi
01fd87bd05
ci: remove ttfw related info in tools/test_apps
2023-04-07 12:29:30 +08:00
David Cermak
7d6241e761
esp_netif: Make esp_netif_receive() return value configurable
2023-04-05 12:18:21 +02:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
KonstantinKondrashov
444c27e4e6
test_apps: Test multicore app can be run by unicore bootloader
2023-03-29 03:47:55 +08:00
Aditya Patwardhan
780f7f2669
secure_boot_test_app: Update the test_app to use pytest framework
...
* Added custom class IdfFpgaDut in pytest from ttfw_idf.IDFFPGADUT
2023-03-28 16:10:00 +05:30
Mahavir Jain
86b6f87d68
Merge branch 'bugfix/ram_loadable_elf_flash_mmap_issue' into 'master'
...
Fix flash mmap data integrity issue for RAM loadable ELF case
See merge request espressif/esp-idf!22802
2023-03-23 12:13:35 +08:00
Jakob Hasse
2b895ef9d8
Merge branch 'feature/rmt_mock' into 'master'
...
Mocks: added RMT mock
See merge request espressif/esp-idf!22060
2023-03-22 20:18:46 +08:00
Armando
eee34bcf70
mspi: fix build failure under assertion disable
2023-03-21 10:14:59 +08:00
Mahavir Jain
d0c8b01956
test_apps: add test case for flash mmap data integrity in ram loadable app
2023-03-20 11:12:11 +05:30
Jakob Hasse
7dbe9687f9
Merge branch 'bugfix/esp_shared_stack_watchpoint_setting' into 'master'
...
bugfix(esp_system): made watchpoint setting configuration-dependent
Closes IDFGH-9003
See merge request espressif/esp-idf!21738
2023-03-20 10:19:05 +08:00
Jiang Jiang Jian
2658fb7623
Merge branch 'feature/add_memprot_support_for_esp32h2' into 'master'
...
esp32h2: enable memory protection scheme using PMA and PMP
Closes IDF-6452 and IDF-6332
See merge request espressif/esp-idf!22699
2023-03-17 15:19:52 +08:00
Jakob Hasse
f679218cb6
feat(driver): added RMT mock
2023-03-17 14:54:48 +08:00
Wan Lei
3b62bf59c4
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'
...
mspi: turn down freq to fix crash when sleep
Closes IDF-6881
See merge request espressif/esp-idf!22491
2023-03-16 14:11:21 +08:00
wanlei
a48d1a85c1
mspi: add test_app measuring time cost of mspi APIs
...
and merge mspi unit test into this
2023-03-16 11:11:43 +08:00
Mahavir Jain
b29ed0ba0b
test_apps: enable memprot tests for ESP32-H2 target
2023-03-15 13:16:26 +05:30
Armando
929b7717ff
system: fixed ram app cannot use mmu correctly issue
2023-03-15 10:59:20 +08:00
Jakob Hasse
03bc6488de
bugfix(esp_system): made watchpoint setting configuration-dependent
...
esp_execute_shared_stack_function always restored the stack watchpoint
regardless of CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK. This would lead
to an abondoned but active watchpoint on a former stack once the task
calling esp_execute_shared_stack_function is deleted, if
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is inactive.
This has been fixed now.
Closes https://github.com/espressif/esp-idf/issues/10414
2023-03-13 14:24:15 +08:00
Sachin Parekh
ed0a1f7b52
esp32c6: Fix incorrect PMP configuration
...
- Enable pytest memprot tests for C6
2023-03-09 11:37:29 +05:30
Armando
c56eb8646b
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-22 12:37:40 +08:00
Marius Vikhammer
89190fab02
Merge branch 'bugfix/allow_coredump_gdb_simu' into 'master'
...
coredump: allow coredump at panic even if gdbstub is used.
Closes IDFGH-8567
See merge request espressif/esp-idf!22103
2023-02-20 16:07:57 +08:00
Marius Vikhammer
eb40fc913a
Merge branch 'bugfix/linux_target_driver_mock' into 'master'
...
linux-target: fixed driver mock being broken due to changes in driver folder structure
Closes IDFGH-9375
See merge request espressif/esp-idf!22375
2023-02-20 15:38:38 +08:00
Omar Chebib
d55060d184
Merge branch 'staging/rename_twdt_config_examples' into 'master'
...
TWDT: Use the new TWDT Kconfig options in the examples and tests
See merge request espressif/esp-idf!20363
2023-02-20 10:42:23 +08:00
Marius Vikhammer
ec57895db9
coredump: allow coredump at panic even if gdbstub is used.
...
Closes https://github.com/espressif/esp-idf/issues/10017
2023-02-17 15:15:36 +08:00
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
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
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
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
Marius Vikhammer
b68b0ea714
linux-target: fixed driver mock being broken due to changes in driver folder structure
...
Closes https://github.com/espressif/esp-idf/issues/10749
2023-02-15 11:16:51 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Marek Fiala
165c0d852b
Tools: Rewrite build system unit tests to python - other target tests
2023-02-09 16:08:04 +01:00
Armando
34e77d6ccd
test_panic: add CONFIG_HAL_ASSERTION_DISABLE to coredump_flash_bin_crc config
...
Without this commit, under this config, the static D/IRAM usage is 97%
2023-02-07 20:23:52 +08:00
Armando
4564f6cc4b
g1: add esp_mm to g1 list
2023-02-07 20:23:52 +08:00
Armando
af15b6d885
mmu: simplify mmu vaddr region macro on esp32c2
...
ESP32C2 mmu vaddr region macros, and related mask macros in
ext_mem_defs.h depends on mmu page size.
2023-02-07 20:23:51 +08:00
Peter Dragun
3e3533f918
feat(idf_monitor): move idf_monitor to separate repo
2023-02-03 11:20:15 +01:00
David Čermák
5ada761a7b
Merge branch 'update/esp_netif_test_cleanup' into 'master'
...
esp_netif/tests: Consolidate test_apps/unit_test
Closes IDF-5579 and IDF-5047
See merge request espressif/esp-idf!21929
2023-02-02 13:49:43 +08:00
David Cermak
7ae58e223d
esp_netif/tests: Consolidate test_apps/unit_test
...
* Remove duplicated test cases
* Migrated remaining unit tests to test_apps
2023-02-01 14:17:09 +01:00
wuzhenghui
772d32fd77
ci: add ci workaround for gdb_loadable_elf
...
since flash config parameters are no longer generated when APP_BUILD_TYPE_RAM is enabled, this will cause load_ram in pytest_embedded_idf to fail
2023-02-01 17:57:28 +08:00
wuzhenghui
3256e4279d
ci: add pytests for ram_loadable_app
2023-02-01 17:57:28 +08:00
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
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
Fu Hanxi
b02687a6c4
test: migrate linux target host test jobs into pytest-embedded
2023-01-16 10:25:55 +08: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
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
Cao Sen Miao
4e67332b74
ESP32H2: Add small CI test for ESP32H2
2022-12-29 11:00:42 +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
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
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
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
Jakob Hasse
cb9786d35e
refactor(esp_system): reboot delay: added docs, protected by watchdog
2022-12-20 15:51:00 +08:00
muhaidong
d912bbbcb0
esp_phy: add country code 01 to country code map type table
2022-12-18 14:25:17 +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
Jakob Hasse
b36c0e823f
Merge branch 'feature/linux_esp_hw_support' into 'master'
...
linux target: add support for building esp_hw_support, soc and hal components for linux target
See merge request espressif/esp-idf!21502
2022-12-12 09:59:31 +08:00
Marius Vikhammer
4ddbaa4166
linux target: add support for building esp_hw_support, soc and hal components for linux target
2022-12-09 13:59:39 +08:00
Fu Hanxi
1148980383
test: pytest_gdb.py avoid LIBUSB_ERROR_BUSY
...
- stop using `shell=True`
- use `terminate()`
2022-12-08 14:25:02 +08:00
Fu Hanxi
dc3c630919
ci: move more openocd scripts into pytest-embedded
2022-12-08 14:25:02 +08:00
Fu Hanxi
09a32437b3
ci: migrate ttfw gdb_loadable_elf test to pytest
2022-12-08 14:25:02 +08:00
Fu Hanxi
67cd264535
pytest: check duplicates test case/script names
2022-12-08 09:49:12 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
C.S.M
86aa012c26
Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
...
I2C: Add i2c support for ESP32C6
Closes IDF-5326 and IDF-5327
See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
Cao Sen Miao
803fc3fbe0
I2C: Add i2c support for ESP32C6
2022-11-07 14:12:53 +08:00
Michael (XIAO Xufeng)
c546de8d82
Merge branch 'feature/apply_new_version_logic' into 'master'
...
all: Apply new version logic (major * 100 + minor)
Closes IDF-4932 and IDF-4939
See merge request espressif/esp-idf!18787
2022-11-04 16:01:32 +08:00
KonstantinKondrashov
1f9260d790
all: Apply new version logic (major * 100 + minor)
2022-11-03 08:36:23 +00:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
Fu Hanxi
7bb4aea90e
ci: use .txt files instead of .log file for better preview
2022-11-02 10:15:00 +08:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
Fu Hanxi
c756e0f477
ci: fix import path
2022-10-20 20:34:51 +08:00
Marius Vikhammer
23b5e54974
CI: add common debug helper sdkconfig that can be used in test apps
2022-10-12 11:47:04 +08:00
Ivan Grokhotkov
39319c0750
test_apps: move PanicTestDut from conftest into a separate module
...
pytest_panic used to do 'from conftest import PanicTestDut'. This
stopped working when another conftest.py file was added in
tools/test_build_system/conftest.py.
In this case we can't rename conftest.py since both are necessary
for pytest to install the hooks in the respective test cases.
Fix by moving PanicTestDut into a separate module, then importing
it from there.
2022-10-03 21:44:28 +02:00
Jakob Hasse
f33ac0a037
Merge branch 'feature/freertos_sim' into 'master'
...
FreeRTOS Single Core Simulator PoC
See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Jakob Hasse
bfbbd9d790
feat(freertos): Added FreeRTOS POSIX/Linux Simulator
...
* Added port layer from the FreeRTOS POSIX port, added
additional port code for ESP-IDF.
* Created another hello world example using that POSIX
port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
wuzhenghui
fca7d70e05
esp32c6: add minimal ci support
...
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Alexey Lapshin
0fd4b09a46
tools: add test for ROM symbols in GDB
2022-09-21 22:39:03 +04:00
Alexey Lapshin
b9ed89228d
test_apps: fix monitor_ide_integration test
2022-09-21 22:39:03 +04:00
Tomas Rezucha
cf59a8a2bd
Merge branch 'feature/usb_v5_qol' into 'master'
...
usb: USB IDF v5 update
Closes IDF-4690 and IDF-5767
See merge request espressif/esp-idf!19875
2022-09-08 19:50:22 +08:00
Roland Dobai
67506f9a3f
Tools: Increase the delay before producing exception in the Monitor IDE test app
2022-09-07 11:27:10 +02:00
Tomas Rezucha
c6fbefcd84
usb_host: Remove custom test_app
2022-09-05 20:14:56 +02:00
Mahavir Jain
4aaf02b093
bootloader_support: fix stringop-overflow warning with PERF
compiler optimization
...
This commit fixes build issue because of function `bootloader_common_reset_rtc_retain_mem`
getting inlined with compiler optimization level set to `PERF` (-O2).
Build failure log:
-----------------
In function 'bootloader_common_reset_rtc_retain_mem',
inlined from 'bootloader_common_update_rtc_retain_mem' at /h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:183:13:
/h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:159:5: error: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
159 | memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-05 10:42:11 +05:30
Marius Vikhammer
dfaaefe2ce
Merge branch 'bugfix/uart_sclk_freq' into 'master'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled
Closes IDFGH-8144
See merge request espressif/esp-idf!19792
2022-08-30 16:24:38 +08:00