Sonika Rathi
12e7e3f1a2
Merge branch 'update/sdmmc_test_app' into 'master'
...
fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app
See merge request espressif/esp-idf!26799
2023-12-15 23:50:08 +08:00
Song Ruo Jing
bc09031496
refactor(uart_vfs): Move uart implementation of vfs to esp_driver_uart
...
Deprecated esp_vfs_dev_uart_xxx APIs
vfs_uart test case moved to esp_driver_uart test_apps
Astyle fixed for uart_vfs
2023-12-15 17:14:55 +08:00
laokaiyao
2b44d62e43
feat(esp32c5): support esp32c5 g0 components
2023-12-08 15:12:24 +08:00
Erhan Kurubas
892315292b
Merge branch 'save_twdt_to_coredump' into 'master'
...
feat(coredump): save twdt panic output to coredump elf file
Closes IDF-908
See merge request espressif/esp-idf!27024
2023-12-07 17:47:58 +08:00
sonika.rathi
8e0ce2fda4
fix(sdmmc): remove the legacy test cases from 'components/sdmmc/test'
2023-12-06 11:14:20 +01:00
sonika.rathi
1b35373e01
fix(sdmmc): add pytest script to component test app
2023-12-06 11:14:20 +01:00
sonika.rathi
a7a0245d8e
fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app
2023-12-06 11:07:33 +01:00
Zhang Wen Xu
636092d2a4
Merge branch 'feature/add_config_to_set_using_custom_mac_as_base_mac' into 'master'
...
feat(mac): Add a configuration to set custom MAC as base MAC
See merge request espressif/esp-idf!26820
2023-12-06 16:29:41 +08:00
zwx
a58c416a60
feat(mac): Add a configuration to set custom MAC as base MAC
2023-12-06 10:46:22 +08:00
Erhan Kurubas
58ee206c99
feat(coredump): save twdt panic output to coredump elf file
2023-12-05 13:28:51 +01:00
Armando (Dou Yiwen)
96c1aea50a
Merge branch 'change/split_fpga_overrides.c' into 'master'
...
bringup: added bypass rng configuration for bringup stage
See merge request espressif/esp-idf!27657
2023-12-05 16:55:43 +08:00
Darian
e3191df37a
Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
...
change(xtensa): Deprecate legacy include paths
Closes IDF-7230
See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Armando
8de0c82295
change(ram_app): added --no-reset for ran_app readme
2023-12-05 11:38:35 +08:00
Marius Vikhammer
9a6de4cb3e
fix(panic): fixed cache error being reported as illegal instruction
...
On riscv chips accessing cache mapped memory regions over the ibus would
result in an illegal instructions exception triggering faster than the cache
error interrupt/exception.
Added a cache error check in the panic handler, if any cache errors are active
the panic handler will now report a cache error, even if the trigger exception
was a illegal instructions.
2023-12-04 10:49:00 +08:00
Darian Leung
33b7e40223
fix(freertos/idf): Fix invalid xCoreID arguments in single-core
...
IDF FreeRTOS v10.5.1 no longer accepts out of range xCoreID arguments in
"PinnedToCore" task creation functions when building for single-core. This
commit fixes those violations through ESP-IDF.
2023-12-02 15:46:07 +08:00
Darian Leung
a5d5ee7445
change(xtensa): Deprecate ".../xtensa_context.h" include path
...
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Armando (Dou Yiwen)
d36fe73960
Merge branch 'test/improve_sdmmc_tests' into 'master'
...
sd: improve tests and added on CI
See merge request espressif/esp-idf!27384
2023-11-30 10:21:11 +08:00
Armando
368a11b618
refactor(sdmmc): remove sdmmc_console duplicate test cases
2023-11-29 12:13:03 +08:00
Armando
4aadacbcdc
refactor(sdspi): added component pytest cases and enabled them on CI
2023-11-29 12:13:03 +08:00
Marius Vikhammer
b96f93b879
ci(system): fixed and enabled misc system build tests
2023-11-28 14:00:16 +08:00
Marius Vikhammer
4bb8f5c577
Merge branch 'feature/remove_esp_spi_g1' into 'master'
...
refactor(spi): moved spi hw sharing func to hw support
Closes IDF-8503
See merge request espressif/esp-idf!27110
2023-11-21 10:26:55 +08:00
Armando
c50e364a97
refactor(sdspi): place sdspi driver into a new component
2023-11-20 12:30:03 +08:00
Marius Vikhammer
52e3f09b32
refactor(spi): moved spi hw sharing func to hw support
...
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to
a more fitting location in esp_hw_support (shared HW resource control).
This also allows us to decouple the spi_flash driver from esp_driver_spi, removing
esp_driver_spi and esp_ringbuf from G1 builds.
2023-11-20 12:07:54 +08:00
Armando
a2a489354b
refactor(sdmmc): move sdmmc test apps to tools/test_apps
2023-11-16 15:37:32 +08:00
Sudeep Mohanty
11097a4fc2
Merge branch 'bugfix/fix_unity_mem_leaks' into 'master'
...
fix(unity): Fixed memory leaks in unity tests
Closes IDFCI-1869
See merge request espressif/esp-idf!27164
2023-11-16 11:43:20 +08:00
Sudeep Mohanty
a583063664
fix(unity): Fixed memory leaks in unity tests
...
This commit fixes memory leaks in unity tests when the debug option
CONFIG_FREERTOS_USE_LIST_DATA_INTEGRITY_CHECK_BYTES is enabled. The
commit increases the threshold to 1200 bytes from 1024 bytes.
2023-11-15 09:06:06 +01:00
Jakob Hasse
7b4cd55d97
refactor(ci): removed unnecessary hal and soc mock header files
2023-11-15 12:15:08 +08:00
Sudeep Mohanty
bf237a2bd4
Merge branch 'feature/freertos_expose_list_integrity_check_option' into 'master'
...
feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
Closes IDF-8366
See merge request espressif/esp-idf!26960
2023-11-14 21:27:19 +08:00
Marius Vikhammer
74887d81c9
refactor(system): removed dependency on driver from g1 components
...
esp-system and esp-hw-support, and the rest of the g1 components, now only depend on
esp_driver_spi and esp_driver_gpio. Removing the rest of the driver components from g1 builds.
2023-11-13 15:42:48 +08:00
morris
ed6ede696e
Merge branch 'feature/esp_driver_mcpwm' into 'master'
...
feat(mcpwm): refactor mcpwm driver into a component
Closes IDF-8379
See merge request espressif/esp-idf!26738
2023-11-13 15:26:56 +08:00
Alexey Lapshin
fc7ac87b61
feat(tools): update gdb version to 12.1_20231023
2023-11-10 06:37:33 +00:00
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