Commit Graph

836 Commits

Author SHA1 Message Date
Marius Vikhammer
dacc51dd2b ulp/lp-core: added gpio API for lp core as well as an example showcasing it. 2023-05-29 11:13:47 +08:00
Alexey Lapshin
a77f723962 Merge branch 'feature/riscv-gdbstub-runtime' into 'master'
esp_gdbstub: implement runtime gdbstub for riscv

Closes IDF-5621

See merge request espressif/esp-idf!23110
2023-05-22 17:20:17 +08:00
Alexey Lapshin
9322c2b82d esp_gdbstup: implement runtime gdbstub for riscv 2023-05-19 20:15:58 +08:00
Sudeep Mohanty
ec742abb25 lp-i2c: Added support for LP I2C peripheral to LP core
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:27:51 +02:00
Marius Vikhammer
a300b3eb81 ci: fix invalid kconfig options in system test apps 2023-05-09 11:27:55 +08:00
Zim Kalinowski
4ba38c2105 Merge branch 'fix/console-build-error' into 'master'
console: Fix building issue when serial JTAG is set

Closes IDFGH-9327

See merge request espressif/esp-idf!23311
2023-05-04 20:15:42 +08:00
Ivan Grokhotkov
0eb2bdf3dc Merge branch 'contrib/github_pr_11204' into 'master'
Fix function signature in flash suspend example (GitHub PR)

Closes IDFGH-9888

See merge request espressif/esp-idf!23254
2023-05-02 17:09:57 +08:00
Harshit Malpani
47740e3da5
Add esp32c6 in supported target for ota examples 2023-04-28 10:57:33 +05:30
Guillaume Souchere
c84f0b25ac console: Fix building issue when serial JTAG is set
Closes https://github.com/espressif/esp-idf/issues/10707
2023-04-27 15:28:23 +08:00
Zim Kalinowski
4a647d08de Merge branch 'feature/c6_ulp_sleep' into 'master'
ulp: added sleep support for lp core

Closes IDF-7012

See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Marius Vikhammer
359b237cc5 ulp: added sleep support for lp core
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-25 11:51:35 +08:00
laokaiyao
49f16eefbb esp32h4: checked all the corner stuffs of the removal 2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
laokaiyao
1f84f6c6ed esp32h4: remove esp32h4 target from ci 2023-04-20 15:19:47 +08:00
Ivan Grokhotkov
274fa56e71 Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
system: support USB_OTG CDC console on ESP32-S3

Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835

See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Daniel Mangum
7a19213198 Fix function signature in flash suspend example
Fixes misspelling of function signature in the flash suspend example.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2023-04-15 21:27:10 -04:00
Ivan Grokhotkov
def9dadf1e
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/9364
2023-04-12 11:17:41 +02:00
Marius Vikhammer
8a5b5610b9 ulp-riscv: enable ULP-RISCV ADC example for esp32s2
ADC can now be used from the ULP-RISCV on S2 after the RTC power parameters were
fixed in a624d8d061

Closes https://github.com/espressif/esp-idf/issues/11052
Closes https://github.com/espressif/esp-idf/issues/11040
2023-04-11 13:08:36 +08:00
Ivan Grokhotkov
75d1a050a2 Merge branch 'bugfix/console_examples_reenable' into 'master'
examples: re-enable console examples for C2, C6, H2

See merge request espressif/esp-idf!22927
2023-04-10 21:55:32 +08:00
Fu Hanxi
08df42ae06 ci: sdkconfig.ci.xxx.TARGET now have correct config name xxx 2023-04-06 09:18:58 +08:00
Sudeep Mohanty
88e4c06028 ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors
The current ULP RISC-V RTC I2C driver got stuck in an infinite loop if
there is a I2C transaction error. This commit amends the driver flow to
abort the read/write operation if met with errors. It also adds a loop
timeout to avoid getting stuck in an infinite loop.The commit also
updates the default bus timing parameters for RTC I2C to be faster.
This commit also adds documentation help to guide users when they meet
with issues while working with the RTC I2C driver on the ULP RISC-V coprocessor.
2023-03-29 13:25:46 +02:00
Jakob Hasse
39087f3157 Merge branch 'contrib/github_pr_11028' into 'master'
Bugfix: Fix compile error for ESP32 FSM ULP GPIO Example (GitHub PR)

Closes IDFGH-9687

See merge request espressif/esp-idf!22884
2023-03-27 15:35:47 +08:00
Ivan Grokhotkov
bb3f1fd261
examples: re-enable console examples for C2, C6, H2
- Split the sleep-related system commands into a separate file
- Don't compile that file and don't register sleep commands for H2 yet
- Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
2023-03-25 17:41:56 +01:00
Mahavir Jain
f1465c6ad8 Merge branch 'featue/factory_reset_state' into 'master'
bootloader_support: Adds API to detect Factory reset has happened

Closes IDFGH-9379

See merge request espressif/esp-idf!22822
2023-03-24 21:32:30 +08:00
Jakob Hasse
9757e62bd1 bugfix: made C code C++ compatible 2023-03-24 11:40:25 +08:00
Kampi
5d9ddd4c1d bugfix: Change namespace variable to nvs_namespace (C++ compatibility)
Closes https://github.com/espressif/esp-idf/pull/11028
2023-03-24 11:39:13 +08:00
Jiang Jiang Jian
5032f834f2 Merge branch 'feature/add_wakeup_cost_info_to_dslp_wakestub_example' into 'master'
doc: optimize deep_sleep_wake_stub README

See merge request espressif/esp-idf!22724
2023-03-22 15:59:32 +08:00
wuzhenghui
261f5c1b9f doc: optimize deep_sleep_wake_stub README 2023-03-22 11:05:22 +08:00
KonstantinKondrashov
017f55862d examples: Remove a duplicate Kconfig option 2023-03-22 02:15:22 +08:00
Marius Vikhammer
54b9f7ebf0 Merge branch 'ci/fix_efuse_secure_tests' into 'master'
efuse: Do not check key number

See merge request espressif/esp-idf!22767
2023-03-15 15:13:39 +08:00
Marius Vikhammer
558e61b19f Merge branch 'apptrace_usb_jtag_test_fix_' into 'master'
example/apptrace_basic: remove port parameter from pytest

See merge request espressif/esp-idf!22681
2023-03-15 14:14:16 +08:00
KonstantinKondrashov
f80e74c983 efuse: Do not check key number 2023-03-14 21:08:52 +08:00
Erhan Kurubas
dd8a8eca01 example/apptrace_basic: remove port parameter from pytest 2023-03-13 11:56:47 +03:00
Wu Zheng Hui
c8364fb921 Merge branch 'feature/add_wakeup_cost_info_to_dslp_wakestub_example' into 'master'
feature: add wake up time cost info to deep_sleep_wake_stub example

See merge request espressif/esp-idf!22683
2023-03-11 15:11:53 +08:00
wuzhenghui
e489902ea7 doc: update deep_sleep_wake_stub readme 2023-03-10 16:37:06 +08:00
wuzhenghui
8820efe2e1 feature: add wake up time cost info to deep_sleep_wake_stub example 2023-03-10 16:37:02 +08:00
Mahavir Jain
6620411889 Merge branch 'feature/enables_efuse_example_tests' into 'master'
examples: Enables eFuse example tests for C6/H2/S3

Closes IDF-7011

See merge request espressif/esp-idf!22637
2023-03-10 14:07:31 +08:00
jingli
b6580ea4ac example: refactor deep sleep example to make codes more structured 2023-03-09 15:23:56 +08:00
KonstantinKondrashov
11815b324f examples: Enables eFuse example tests for C6/H2/S3
Closes IDF-7011
2023-03-07 17:04:42 +08:00
jingli
49b40f1999 esp32c2/ci: reenable deep sleep example test 2023-03-06 10:58:18 +08:00
jingli
baaef3bd48 examples/system/deep_sleep:
Use nvs instead of RTC_DATA_ATTR to record deep sleep enter time when
the target chip does not have rtc mem.
2023-03-06 10:56:59 +08:00
jingli
001c6f5e86 examples/system/light_sleep:
Add some hints in README to remind users that they can try to power down
the CPU and SPI Flash for lower power consumption.
2023-03-06 10:34:37 +08:00
Song Ruo Jing
51777a6862 gpio: Fix io hold functionality on esp32c6 and esp32h2 2023-03-02 18:10:10 +08:00
wuzhenghui
7ee64bd8e8 refactor: always jump to wake stub wrapper after wakeup 2023-03-02 18:10:06 +08:00
wuzhenghui
38c4910996 ci: enable esp32c6 deepsleep ci tests 2023-03-02 15:06:05 +08:00
wuzhenghui
9eae151f7c esp32c6: bringup deepsleep examples 2023-03-02 15:06:05 +08:00
wuzhenghui
709adaaa37 soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
Close IDF-5924
2023-03-02 15:06:05 +08:00
Chen Yudong
9a357df11d CI: change test env of test_examples_efuse_with_virt_sb_v2_and_fe 2023-02-24 17:12:28 +08:00
KonstantinKondrashov
f3394c488a efuse: Add support for esp32h2 2023-02-21 08:18:14 +00:00
Omar Chebib
5e5343d429 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08: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
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
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
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