Commit Graph

732 Commits

Author SHA1 Message Date
Cao Sen Miao
fd3e0b0b18 esp32h2(ci): enable target test 2023-02-15 10:20:43 +08:00
KonstantinKondrashov
c191e95300 ci: Run test_examples_efuse_with_virt_secure_boot_v2 only on ESP32 ECO3 2023-02-14 18:16:51 +08:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
Roland Dobai
4bd5ebb4a1 Merge branch 'tools/monitor_move' into 'master'
Tools(idf_monitor): Move idf_monitor to separate repo

Closes IDF-4109

See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Peter Dragun
3e3533f918 feat(idf_monitor): move idf_monitor to separate repo 2023-02-03 11:20:15 +01:00
jingli
13b5e625a7 UT/esp32c2: reenable pm and sleep related UT 2023-02-02 20:26:08 +08:00
Rahul Tank
9916eb688a Merge branch 'bugfix/add_return_type_nimble_port_init' into 'master'
Nimble: Added return value (success / failure ) to nimble_port_init  / nimble_port_deinit

See merge request espressif/esp-idf!21718
2023-02-01 19:45:44 +08:00
wuzhenghui
7a4d38eac1 example: bringup light sleep example for esp32c6 2023-01-31 22:12:58 +08:00
Rahul Tank
826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
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
KonstantinKondrashov
74f26b1e19 examples(efuse): Tests can be run on generic runners 2023-01-24 22:10:01 +08:00
KonstantinKondrashov
086766d83b examples(efuse): Set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
For efuse example test, we set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE=y
by default because in the python test we expect secure boot is in RELEASE mode
2023-01-24 17:09:15 +08:00
Alexey Lapshin
8b824d4f79 apptrace: fix SystemView example test
add trace svdat file to artifacts
2023-01-24 00:34:53 +07: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
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
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Mahavir Jain
fd34bdb70a Merge branch 'feature/secure_features_are_enabled_correctly' into 'master'
security: Adds new APIs to check that all eFuse security features are enabled correctly

Closes IDF-1814

See merge request espressif/esp-idf!19532
2023-01-13 15:09:55 +08:00
KonstantinKondrashov
696f7495a0 security: Adds new APIs to check that all eFuse security features are enabled correctly 2023-01-10 23:35:13 +08:00
jiangguangming
f95ccb09f2 deep sleep example: typo corrected in readme 2023-01-10 17:03:54 +08:00
jiangguangming
0869f785f2 add pytest for example deep sleep wake stub 2023-01-10 17:03:54 +08:00
jiangguangming
51ec91c637 add example deep sleep wake stub 2023-01-10 17:03:50 +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
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
Sudeep Mohanty
099f648686 ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.

Closes https://github.com/espressif/esp-idf/issues/10301
2022-12-27 07:44:26 +00:00
Chen Yudong
677e2fb19a CI: fix test case test_base_mac_address 2022-12-21 10:39:15 +08:00
Darian
c83078b765 Merge branch 'bugfix/example_pytest_expectations_startup_dependence' into 'master'
pytest: Expect "Calling app_main()" to indicate start of application

See merge request espressif/esp-idf!21510
2022-12-13 15:41:57 +08:00
Marius Vikhammer
3146da37cf Merge branch 'bugfix/system_examples_print_format' into 'master'
system: fix printf format errors in all system examples

See merge request espressif/esp-idf!21532
2022-12-12 16:15:30 +08:00
Marius Vikhammer
55879e36ab system: fix printf format errors in all system and cxx examples 2022-12-12 12:55:02 +08:00
Darian Leung
cdbd8ebeaa pytest: Expect "Calling app_main()" to indicate start of application
This commit updates variousf pytest scripts to expect
"main_task: Calling app_main()" instead of "cpu_start: Starting scheduler" as
indicator of the start of an application.
2022-12-09 19:40:40 +08:00
Fu Hanxi
dc3c630919 ci: move more openocd scripts into pytest-embedded 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
Song Ruo Jing
b4196c3176 ci: Fix ci regression on esp_timer example caused by enabling esp32c6 target test 2022-11-29 20:15:05 +08:00
Song Ruo Jing
56302544f6 Merge branch 'ci/enable_esp32c6_target_test_stage' into 'master'
CI: Enable esp32c6 target test stage

Closes IDF-5830 and IDF-5831

See merge request espressif/esp-idf!21010
2022-11-29 19:54:05 +08:00
KonstantinKondrashov
f6f173e3d3 esp_timer: Fix tests for C2 chip 2022-11-28 20:02:06 +08:00
Song Ruo Jing
1575b9e43a ci: Disable all currently failed target tests for esp32c6 2022-11-28 12:09:08 +08:00
Song Ruo Jing
7466ddfa8c ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py) 2022-11-28 11:58:30 +08:00
Konstantin Kondrashov
55578295db Merge branch 'feature/api_to_define_user_mac_addres' into 'master'
esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address

Closes IDFGH-5534 and IDFGH-8022

See merge request espressif/esp-idf!21036
2022-11-17 15:26:35 +08:00
KonstantinKondrashov
244cf14ea8 esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address
Closes https://github.com/espressif/esp-idf/pull/7261
Closes https://github.com/espressif/esp-idf/issues/9531
2022-11-16 19:23:10 +08:00
Mahavir Jain
f7274940b9 Merge branch 'feature/esp_https_ota_events' into 'master'
esp_https_ota: Added support for esp_events

See merge request espressif/esp-idf!20898
2022-11-14 15:14:21 +08:00
Song Ruo Jing
8c40017d2d examples: system/deep_sleep
1. Fix EXT0 wakeup pin error on ESP32: GPIO3 is not a RTC IO, change to use GPIO25.
2. Add ESP_ERROR_CHECK to explicitly show the runtime error
3. Improve example README
2022-11-11 20:39:04 +08:00
Harshit Malpani
a80dfe85bc
esp_https_ota: Send data to event handler 2022-11-11 11:44:17 +05:30
Harshit Malpani
784089bf09
esp_https_ota: Added support for esp_events 2022-11-09 12:30:50 +05:30
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
Ivan Grokhotkov
b14116ff95 Merge branch 'feature/partition_api_new_component_2' into 'master'
Storage: Partition APIs moved to the new component 'esp_partition'

Closes IDF-1234

See merge request espressif/esp-idf!20747
2022-11-04 14:59:08 +08:00
laokaiyao
2cccf3a804 dac: update API and file format aligning to the rule 2022-11-03 13:04:50 +08: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
morris
84be4db4e5 Merge branch 'contrib/github_pr_10087' into 'master'
fixed url to console component (GitHub PR)

Closes IDFGH-8642

See merge request espressif/esp-idf!20896
2022-11-02 16:02:29 +08:00
morris
8d637ec985 doc: redirect console page
Previous the console doc is moved from api-guide to api-reference, which
broken the URL as well, this commit added a redirect link to ensure the
old URL can still work.
2022-11-02 14:21:57 +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
Mahavir Jain
f88dca1596
examples/efuse: fix issue with flash related commands in CI tests
Relevant:
311504b982

Closes IDFCI-1502
2022-10-31 11:22:24 +05:30
Mahavir Jain
37d44c5846
examples/efuse: update import path as per pytest 1.0 release 2022-10-28 13:43:53 +05:30
Aditya Patwardhan
9b7dffd4a8 examples/efuse: Rename the example test name to avoid multiple python
files with same name
2022-10-28 11:44:59 +05:30
Aditya Patwardhan
b2ce7b3c8c Merge branch 'feature/update_efuse_example_test_to_pytest' into 'master'
efuse_exmple_test: Update to pytest framework

See merge request espressif/esp-idf!18702
2022-10-28 11:52:53 +08:00
KonstantinKondrashov
3b4f384b69 configs: Removes leftover of CONFIG_MEMMAP_SMP 2022-10-26 19:45:42 +08:00
laokaiyao
8ef9fd4623 dac: optimize the dma stratege 2022-10-25 17:14:59 +08:00
laokaiyao
f9f9a09dfb dac: update unit-test docs and examples for driver-NG 2022-10-25 17:00:41 +08:00
Aditya Patwardhan
401e560f49 pytest_efuse: Update conftest
pytest_efuse: Update pytest_efuse.py
2022-10-20 06:53:39 +00:00
Aditya Patwardhan
dd60eef2ca efuse_exmple_test: Update to pytest framework 2022-10-20 06:53:39 +00:00
Sudeep Mohanty
a28791dbed ulp: fix incorrect bit-width operator while reading RTC_CNTL_LOW_POWER_ST_REG during wakeup
This commit fixes a bug wherein an incorrect bit-width of 0 was being
used while reading the RTC_CNTL_LOW_POWER_ST_REG in ulp_fsm example code
while judging whether the system is ready for wakeup. The correct value
should be a bit-width of 1 to read bit#27 (RTC_CNTL_MAIN_STATE_IDLE) of
the RTC_CNTL_LOW_POWER_ST_REG register on esp32.
2022-10-17 10:59:26 +02:00
Gao Xu
1005c3b9d5 Merge branch 'feature/add_flash_copy_to_psram_example' into 'master'
system: add an example showing moving Flash content to PSRAM feature

Closes IDF-5156

See merge request espressif/esp-idf!19340
2022-09-21 12:15:19 +08:00
Marius Vikhammer
cb48a7b9f9 Merge branch 'feature/ulp_fsm_adc_s3' into 'master'
ulp-fsm: Update ulp-fsm ADC example with S3 support

Closes IDFGH-6299

See merge request espressif/esp-idf!19924
2022-09-19 14:08:33 +08:00
gaoxu
47c02efa72 system: add an example and pytest to showing moving Flash content to PSRAM feature. 2022-09-19 12:25:30 +08:00
Omar Chebib
79598b1db7 Flash: fix flash_suspend example to include worst case
flash_suspend example will now test the worst case in order to be able
to detect real regression:
- shorter response time is acceptable, as the tested function may be in the cache already
- response time longer than 120us will be considered a potential regression
2022-09-15 14:37:59 +08:00
Omar Chebib
6798bfc4b0 TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog 2022-09-15 14:37:59 +08:00
Omar Chebib
53c7dd4efc WDT: implement interrupt wdt and task wdt for ESP32-C2
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
Sudeep Mohanty
e9ef5e9c51 Merge branch 'feature/ulp_fsm_wakeup_in_normal_mode' into 'master'
ulp: Updated ULP docs and ulp_fsm example for wakeup when SoC is not in sleep mode.

Closes IDFGH-6712 and IDFGH-3261

See merge request espressif/esp-idf!19967
2022-09-12 16:26:11 +08:00
Marius Vikhammer
77ba84eeb7 ulp-fsm: Update ulp-fsm ADC example with S3 support
Closes https://github.com/espressif/esp-idf/issues/7963
2022-09-07 16:48:06 +08:00
Sudeep Mohanty
867745a05c Merge branch 'feature/ulp-rtc-i2c-driver-support' into 'master'
ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3

Closes IDF-1715 and IDF-5798

See merge request espressif/esp-idf!19549
2022-09-06 16:43:36 +08:00
Sudeep Mohanty
afbea0a04c ulp: Updated ULP docs and ulp_fsm example for wakeup when SoC is not in sleep mode.
This commit updates the ULP documentation and the ulp_fsm example with
the scenario when a wakeup is triggered from the ULP coproc when the
main CPU is not in sleep mode.

Closes https://github.com/espressif/esp-idf/issues/8341
Closes https://github.com/espressif/esp-idf/issues/5254
2022-09-06 10:32:05 +02:00
Sudeep Mohanty
4fde033a5f ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3
This commit adds support for using the RTC I2C peripheral on the ULP
RISC-V core for esp32s2 and esp32s3. It also adds an example to demonstrate the
usage of the RTC I2C peripheral.

This commit also modifies the rtc_i2c register structure files to enable
the use of bitfields in the ULP RISC-V RTC I2C driver.
2022-09-05 10:21:43 +02:00
Marius Vikhammer
c36cd5238c bootloader: allow skip image validation on C2
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-08-25 16:51:44 +08:00
Chen Yu Dong
01ec3382f7 Merge branch 'ci/ota_example_bluedroid_gatts_timeout' into 'master'
CI: modify timeout of advanced_https_ota_example_bluedroid_gatts

Closes IDFCI-1434

See merge request espressif/esp-idf!19636
2022-08-22 12:42:18 +08:00
Chen Yudong
f5894c7562 CI: modify timeout of advanced_https_ota_example_bluedroid_gatts 2022-08-19 16:41:36 +08:00
Laukik Hase
0071ea498f
esp_app_format: Fixed build errors and resolved dependencies 2022-08-17 10:59:31 +05:30
laokaiyao
62ab4456a8 touch_sleep: complete the support for touch sleep 2022-08-15 20:04:57 +08:00
Roland Dobai
bab3830797 Tools: Fix flake8 version 5 warnings 2022-08-12 08:13:13 +00:00
Roland Dobai
f0c56c1025 Merge branch 'update_sysview_supported_targets' into 'master'
Update SysView supported targets

See merge request espressif/esp-idf!19354
2022-08-12 15:46:24 +08:00
Erhan Kurubas
587ecc6fe8 examples/sysview: add missing supported targets to readme 2022-08-11 11:06:10 +02:00
Darian Leung
85c009eb67 esp_event: Fix flakey esp_event example test
The execution order of the "task_event_source" and "application_task" tasks
on startup can vary. This will result a different order of logs, thus leading
to the example test failing.

This commit synchronizes both tasks on startup.
2022-08-11 16:02:48 +08:00
Marius Vikhammer
ca0201dfa9 Merge branch 'bugfix/efuse_base_mac_test' into 'master'
ci: fix base_mac_address test failure for S2 chips

Closes IDFCI-1417

See merge request espressif/esp-idf!19428
2022-08-11 09:22:40 +08:00
Mahavir Jain
2bd1888e47 Merge branch 'feature/adds_c2_tests' into 'master'
ci: Adds CI tests (secure_boot and flash encryption) for esp32c2

Closes IDF-5610

See merge request espressif/esp-idf!18485
2022-08-10 11:35:52 +08:00
Marius Vikhammer
18e19ba3ec ci: fix base_mac_address test failure for S2 chips
Some esp32s2 chips was burned with one MAC address by mistake.
The MAC address code contains a special case for these chips,
update MR to handle this special case.
2022-08-08 13:51:11 +08:00
Jing Li
c25c254666 Merge branch 'feature/further_support_esp32c2_sleep' into 'master'
esp32c2/sleep: further support sleep for esp32c2 with 26MHz XTAL

Closes IDF-5544

See merge request espressif/esp-idf!19017
2022-08-08 13:26:15 +08:00
jingli
a61abcc22e examples/system/light_sleep: fix uart garbled output 2022-08-05 19:10:53 +08:00
jingli
ee17949e39 examples/system/light_sleep: fix baudrate for uart wakeup source 2022-08-05 19:10:53 +08:00
Harshit Malpani
048e7f75b9 example: fix memory leak in pre_encrypted_ota example.
Closes: https://github.com/espressif/esp-idf/issues/9489
2022-08-05 15:12:17 +05:30
KonstantinKondrashov
346cba9c57 efuse example: Adds CI tests for ESP32-C2 2022-08-04 13:14:24 +00:00
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
KonstantinKondrashov
3f6a1625bb efuse: Adds missing header 2022-08-02 22:43:12 +08:00
Marius Vikhammer
1fa411d515 Merge branch 'feature/system_test_pytest' into 'master'
CI: migrate esp_event and select example to pytest

See merge request espressif/esp-idf!19295
2022-08-02 10:50:46 +08:00
Marius Vikhammer
5d23a757d6 Merge branch 'feature/ulp_uart' into 'master'
ulp-riscv: uart print

See merge request espressif/esp-idf!19229
2022-08-02 09:14:48 +08:00
Marius Vikhammer
7c78de7be8 CI: migrate esp_event and select example to pytest 2022-08-01 12:20:06 +08:00
Marius Vikhammer
32efa1e92d Add ULP-RISCV print and bitbanged UART tx API
Add example to demonstrate the use of this API.
2022-07-29 12:18:01 +08:00
Erhan Kurubas
b0881a1e6c examples/gcov: add missing supported targets to readme 2022-07-28 13:59:29 +02:00
Erhan Kurubas
3a9f711f77 examples/gcov: set esp32c2 default blink gpio 2022-07-28 13:59:29 +02:00
Darian
c8ee369a7c Merge branch 'feature/deprecate-old-cpu-api' into 'master'
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API

Closes IDF-4919 and IDF-5032

See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
morris
741b031e83 soc: added SOC_TOUCH_SENSE_SUPPORTED macro 2022-07-22 00:12:36 +00:00
Guillaume Souchere
6005cc9163 hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
GengYuchao
fd055d3ba6 Fix example after removing API esp_nimble_hci_and_controller_init 2022-07-20 11:44:00 +08:00
Marius Vikhammer
3c2c9206dd Merge branch 'bugfix/lightsleep_example_test_flaky' into 'master'
ci: fixed flakey light sleep example test

Closes IDFCI-1373

See merge request espressif/esp-idf!19102
2022-07-20 09:16:21 +08:00