Commit Graph

31113 Commits

Author SHA1 Message Date
Armando
ae6d9e2b93 fix(cache): added alignment check for M2C direction 2023-07-20 12:20:42 +08:00
Rahul Tank
c68b5b0b39 Merge branch 'bugfix/handle_conn_type_and_array_reset' into 'master'
fix(nimble): Update connection type in reattempt connection code

Closes BLEQABR23-354

See merge request espressif/esp-idf!24839
2023-07-20 11:44:18 +08:00
Lou Tianhao
a80c8c018c feat(pm/deepsleep): Support EXT1 wakeup pin select 2023-07-20 11:43:57 +08:00
Lou Tianhao
e70763f9a4 feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep 2023-07-20 11:43:57 +08:00
Song Ruo Jing
99c2691467 change(driver/rtcio): Describe RTCIO CAPS with more accurate note 2023-07-20 11:43:57 +08:00
Lou Tianhao
7bd92287c4 change(pm/deepsleep): Update deep_sleep pmu analog parameter for esp32h2 2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8 feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2 2023-07-20 11:43:57 +08:00
gaoxiaojie
640d391783 fix(rom_cache): use assembly to implement api cache_writeback_items_freeze
ensure cache freeze -> Writeback enable -> wait done -> cache unfreeze routine
never trigger a window overflow
2023-07-20 10:47:17 +08:00
Armando
eb1831f8d7 fix(cache): no longer use freeze in esp_cache_msync
Writeback and invalidation don't need cache to be frozen first
2023-07-20 10:45:57 +08:00
Chen Yu Dong
5c215405a4 Merge branch 'ci/add_patterns_for_fast_template_job' into 'master'
Ci: add patterns for fast template job

See merge request espressif/esp-idf!24820
2023-07-20 10:40:06 +08:00
Jakob Hasse
fd11e1130f Merge branch 'bugfix/included-missing-limits-h-in-time-c' into 'master'
fix(newlib): included limits.h to fix warning

See merge request espressif/esp-idf!24722
2023-07-20 09:37:27 +08:00
Zim Kalinowski
140f78b66d Merge branch 'bugfix/fixed-log-related-warning-in-freertos' into 'master'
fix(freertos): fixed log related warning

See merge request espressif/esp-idf!24725
2023-07-20 07:36:26 +08:00
Zim Kalinowski
4cb8f24805 Merge branch 'bugfix/fixed-log-related-warnings-in-pthread' into 'master'
bugfix(pthread): fixed log related warning

See merge request espressif/esp-idf!24726
2023-07-20 06:26:43 +08:00
Zim Kalinowski
72757bf68b fix(freertos): fixed log related warning 2023-07-20 06:22:36 +08:00
Darian Leung
0a77949477 fix(freertos): Removed croutine.h from v10.5.1
Remove croutine.h as is not supported in ESP-IDF
2023-07-19 23:09:19 +03:00
Ivan Grokhotkov
0ebe2cecfa
feat(system): add an error log and a hint on failed interrupt alloc
When interrupt allocation fails, esp_intr_alloc will now print a
message telling that no free interrupt was found. This message is
then checked in hints.yml, to give a link to the troubleshooting
guide.
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
375ebb1a41
docs(system): add a section on interrupt allocation debugging
Related to https://github.com/espressif/esp-idf/issues/6709
Related to https://github.com/espressif/esp-idf/issues/7767
Related to https://github.com/espressif/esp-idf/issues/9880
Related to https://github.com/espressif/esp-idf/issues/11462
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
2bcb227542
ci(system): add test app for esp_intr_dump 2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
621afc48b1
feat(system): add esp_intr_dump function to debug interrupt alloc
esp_intr_dump function can be used to print the list of allocated and
free interrupts. It can be used as a debugging aid when interrupt
allocation fails.
2023-07-19 16:47:40 +02:00
Chen Yudong
ec39de3992 change(esp_prov): also remove print_function from esp_prov 2023-07-19 21:05:30 +08:00
Chen Yudong
2ffc5ac6e6 change(esp_prov): remove future usage
drop python2 support for esp_prov
2023-07-19 21:05:06 +08:00
Roland Dobai
141dba58ea ci(pre-commit): Use the newest copyright checker 2023-07-19 14:56:02 +02:00
morris
57879e772d feat(gdma): support channel allocator on esp32p4
There's two GDMA groups on ESP32P4, one is connected to AHB bus,
and another one is connected AXI bus.
We now have two seperate APIs for allocating DMA channels,
depends on the bus type.
2023-07-19 18:18:07 +08:00
Wang Tao
0ac1ee4358 Merge branch 'contrib/github_pr_9694' into 'master'
add low power doc and picture (GitHub PR)

Closes IDFGH-8201

See merge request espressif/esp-idf!20675
2023-07-19 17:54:29 +08: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
Frantisek Hrbata
6a7a7317f2 feat(tools): use ESP_PYTHON during install
Currently ESP_PYTHON is used in the install.sh script, but it's
overwritten in detect_python.sh. This allows to explicitly specify
python binary, which should be used to create venv.

$ ESP_PYTHON=/usr/bin/python3.7 ./install.{sh,fish}
$ ESP_PYTHON=/usr/bin/python3.7 ./export.{sh,fish}

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-07-19 10:10:56 +02:00
Zim Kalinowski
1f3aec2e67 bugfix(pthread): fixed log related warning 2023-07-19 15:51:56 +08:00
Armando
83683d8b12 fix(rom_cache): use esp_rom_caps.h itself 2023-07-19 15:10:35 +08:00
gaoxiaojie
b1436633c5 fix(esp32s3): patch Cache_WriteBack_Addr api
avoid accessing cachelines that are being writebacked
2023-07-19 15:10:35 +08:00
Jiang Jiang Jian
5199201d6d Merge branch 'ci/wifi_station_only_example_test' into 'master'
ci(example): disable softap in wifi station example

See merge request espressif/esp-idf!24513
2023-07-19 15:10:12 +08:00
morris
ff4a1bb5cf Merge branch 'bugfix/fix_gpio_driver_calloc' into 'master'
fix(gpio): fix potential crash when processing gpio isr

Closes IDFGH-10644

See merge request espressif/esp-idf!24878
2023-07-19 15:09:02 +08:00
Fu Hanxi
4a8c9ecb60 Merge branch 'ci/fix_skipping_qemu_test' into 'master'
CI: fix skipping qemu test

See merge request espressif/esp-idf!24880
2023-07-19 15:06:06 +08:00
morris
b488cb70e7 Merge branch 'contrib/github_pr_11878' into 'master'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR)

Closes IDFGH-10647 and IDFGH-10646

See merge request espressif/esp-idf!24825
2023-07-19 15:01:27 +08:00
Jakob Hasse
52279c0837 Merge branch 'refactor/esp_event_test' into 'master'
ESP Event: improved tests to fail less frequently on QEMU

See merge request espressif/esp-idf!24783
2023-07-19 14:54:23 +08:00
Aditya Patwardhan
b8a8dfedfd Merge branch 'feature/add_documentation_for_externally_enabling_secure_boot' into 'master'
docs/security: Added host based worlflow to enable secure boot externally

See merge request espressif/esp-idf!24409
2023-07-19 14:41:41 +08:00
Rahul Tank
9a7106c6a1 Merge branch 'doc/update_kconfig_example_ext_adv_usage' into 'master'
doc(nimble): Update Kconfig help section for Example Ext Adv

See merge request espressif/esp-idf!24869
2023-07-19 14:28:18 +08:00
Aditya Patwardhan
083e943704 docs(security): Added host based workflow to enable secure boot externally
* Styling changes for the host-based workflow document
* Fix formatting for the document for host based security wofkflows
2023-07-19 10:11:30 +05:30
morris
fb7cc00378 Merge branch 'refactor/reorganize_the_interrupt_description_files' into 'master'
refactor(interrupt): Put the interrupts definitions in soc/interrupts.h

Closes IDF-5776

See merge request espressif/esp-idf!24578
2023-07-19 12:05:56 +08:00
Song Ruo Jing
4ac2d436ea fix(gpio): fix potential crash when processing gpio isr
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".

Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 12:03:38 +08:00
Fu Hanxi
f5984d482a
ci: fix skipping qemu test always 2023-07-19 12:02:59 +08:00
Fu Hanxi
e872b69c12
ci: show mr.env env file 2023-07-19 11:50:53 +08:00
Jakob Hasse
a703d7aa89 refactor(esp_event): improved tests to fail less frequently on QEMU
* improved setup/teardown to not put shared event system into
  inconsistent state
* reduced timing-dependency of several tests by using
  a semaphore instead of waiting for a guessed timeout
* Deactivated WDT (both Interrupt WDT, Task WDT) for QEMU tests
* Ignore esp_timer-based test for QEMU, CPU timing is different
  on ESP32 simulation in QEMU
2023-07-19 11:50:44 +08:00
morris
b589355a10 feat(mcpwm): support open drain output for generator IO
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 11:32:35 +08:00
Fu Hanxi
7610e535ea
ci: ignore test scripts under managed_components 2023-07-19 11:21:49 +08:00
Jiang Jiang Jian
9d872ee34e Merge branch 'bugfix/esp32h2_revision_config_prompt' into 'master'
fix(esp32h2): correct typo in chip revision prompt

See merge request espressif/esp-idf!24877
2023-07-19 10:19:10 +08:00
Roland Dobai
79b15bd410 Merge branch 'feature/rewrite_build_sys_tests_v6' into 'master'
Tools: Rewrite build system unit tests to python - git

Closes IDF-7386

See merge request espressif/esp-idf!23860
2023-07-19 01:20:06 +08:00
Roland Dobai
c5b355143a Merge branch 'contrib/github_pr_11836' into 'master'
fix: create-project & create_component with proper file permission (GitHub PR)

Closes IDFGH-10599

See merge request espressif/esp-idf!24854
2023-07-19 01:16:38 +08:00
Mahavir Jain
6431091ce6
fix(esp32h2): correct typo in chip revision prompt 2023-07-18 20:46:45 +05:30
Mahavir Jain
8dc7d3bc17
fix(provisioning): build failure with secure boot enabled case
Application partition size was not correctly declared per secure
boot alignment requirements. This was causing build failure when
example was built with secure boot enabled.
2023-07-18 20:30:19 +05:30
Marek Fiala
f4e3c9c03a refactor(tools): Rewrite build system unit tests to python
Rewritten parts:
 - git
 - version
 - build
2023-07-18 15:51:04 +02:00