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