Adam Simpkins
ff75c4f3b5
Tools: resolve symlinks in IDF_PATH when installing
...
Use `pwd -P` to resolve any symlinks in the current directory path.
This makes the behavior in the shell script similar to the idf_tools.py
code, which calls `os.path.realpath()`. Without this, multiple entries
can get created in the `idfInstalled` dictionary in idf-env.json, and
the installed targets and features are not fully present in all entries.
This results in a broken installation, where `export.sh` cannot set up
the environment correctly afterwards.
2022-07-19 21:13:00 +02:00
Roland Dobai
715e851c12
Merge branch 'feature/idf_targets_data_and_actions' into 'master'
...
Tools: Export selected target idf.py actions
Closes IDF-4500
See merge request espressif/esp-idf!18780
2022-07-20 02:38:44 +08:00
Marek Fiala
9c0969b512
Tools: Export selected target actions
...
Added option --json to action help, for export selected target actions
2022-07-19 20:02:55 +02:00
Ivan Grokhotkov
de3990f1c0
Merge branch 'doc/esp32c2_jtag' into 'master'
...
docs: update JTAG related information for ESP32-C2
Closes IDF-4327
See merge request espressif/esp-idf!18496
2022-07-20 01:55:23 +08:00
Wang Ning
394a195015
Merge branch 'docs/restructure_migration_guide' into 'master'
...
Docs/Restructure Migration Guides
See merge request espressif/esp-idf!18920
2022-07-19 23:15:07 +08:00
Song Ruo Jing
4734b1433b
Merge branch 'bugfix/gpio_hal_coverity_fix' into 'master'
...
gpio: Fix ESP32S3 GPIO48 does not support hold function bug and Fix coverity report
Closes IDF-4901
See merge request espressif/esp-idf!18805
2022-07-19 21:37:15 +08:00
Armando (Dou Yiwen)
9f6f61345b
Merge branch 'feature/adc_driver_ng' into 'master'
...
ADC Driver NG
Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979
See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Roland Dobai
b59309852a
Merge branch 'features/check_SPDX_license' into 'master'
...
Add SPDX license check
Closes PACMAN-386
See merge request espressif/esp-idf!18664
2022-07-19 18:57:05 +08:00
Wang Ning
4526a5abf5
docs/restructure_migration_guides
2022-07-19 18:54:51 +08:00
Sudeep Mohanty
5e1437deb8
freertos: Fixed a bug where xTimerIsTimerActive incorrectly returns pdTRUE from callback
...
This commit fixes the following:
- Fixes a bug wherein the timer status is active for oneshot timers that
expire before they are started.
- Callback calls for periodic timers where made before the timers were
auto-reloaded.
- Timer expiry trace was being set after the timer callback is called.
Closes https://github.com/espressif/esp-idf/issues/8014
2022-07-19 10:42:09 +02:00
Chen Jian Xing
4808f9b725
Merge branch 'bugfix/fix_write_to_null_pointer_if_malloc_failed_issue' into 'master'
...
Bugfix/fix write to null pointer if malloc failed issue
Closes IDFGH-7836
See merge request espressif/esp-idf!19087
2022-07-19 16:32:44 +08:00
Ivan Grokhotkov
c0e94c6688
Merge branch 'feature/update-gdb-to-11.2_20220715' into 'master'
...
tools: update gdb version to '11.2_20220715'
Closes IDFGH-7787
See merge request espressif/esp-idf!19071
2022-07-19 16:04:07 +08:00
Mahavir Jain
0c09406173
examples/cbor: keep newlib nano disabled in the example
...
CBOR parsing fails with newlib nano configuration, observed on ESP32-C2.
Closes IDFCI-1375
2022-07-19 13:27:51 +05:30
Jakob Hasse
1f75fc0aa1
bugfix (esp_timer): made os spinlock static
2022-07-19 15:35:32 +08:00
Marius Vikhammer
12dcb95644
Merge branch 'ci/remove_temp_deepsleep_tag' into 'master'
...
ci: remove temp deepsleep tag runner
Closes IDF-5213
See merge request espressif/esp-idf!18654
2022-07-19 14:58:33 +08:00
Mo Fei Fei
f3a16d5122
Merge branch 'docs/update_nvs_encryption_cn_trans' into 'master'
...
Docs: Update CN translation for nvs encryption docs
Closes DOC-3202
See merge request espressif/esp-idf!18938
2022-07-19 14:47:16 +08:00
Simon
7c14328daa
Merge branch 'fix/i2c_clk_26M' into 'master'
...
I2C: Add the I2C clock tree, and support 26M XTAL on ESP32-C2
Closes IDF-5005, IDF-5415, and IDF-4535
See merge request espressif/esp-idf!19057
2022-07-19 13:34:22 +08:00
Chen Jian Xing
c449abc8cd
Merge branch 'feat/esp32c2_26M_phy_support' into 'master'
...
esp_phy: Support 26M and 40M crystal for esp32c2 phy
See merge request espressif/esp-idf!19010
2022-07-19 13:00:55 +08:00
Adam Simpkins
9961061811
Tools: fix a crash in idf_monitor.py
...
If self.elf_exists is false, self.gdb_helper is None, which caused this
code to crash. It looks like this guard was missed in e30329ffe2
.
Previously the code could crash like this:
Traceback (most recent call last):
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 376, in <module>
main()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 367, in main
monitor.main_loop()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 163, in main_loop
self._main_loop()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 268, in _main_loop
super()._main_loop()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 203, in _main_loop
self.serial_handler.handle_commands(data, self.target, self.run_make, self.console_reader,
File "/usr/local/src/esp-idf/tools/idf_monitor_base/serial_handler.py", line 203, in handle_commands
run_make_func('encrypted-flash' if self.encrypted else 'flash')
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 150, in run_make
run_make(target, self.make, self.console, self.console_parser, self.event_queue, self.cmd_queue,
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 237, in __exit__
self.serial_reader.gdb_exit = self.gdb_helper.gdb_exit # write gdb_exit flag
AttributeError: 'NoneType' object has no attribute 'gdb_exit'
2022-07-18 21:34:18 -07:00
Chen Yu Dong
2e9a620659
Merge branch 'ci/fix_advanced_ota_sdkconfig' into 'master'
...
CI: fix sdkconfig in advanced https ota example
Closes IDFCI-1369 and IDFCI-1370
See merge request espressif/esp-idf!19078
2022-07-19 12:28:00 +08:00
Marius Vikhammer
e4cbaa6f2b
ci: remove temp deepsleep tag runner
2022-07-19 12:12:46 +08:00
Shu Chen
6ebdeb3e1c
Merge branch 'feature/ot-cli-extension-component' into 'master'
...
openthread: use managed component for extension commands
See merge request espressif/esp-idf!19025
2022-07-19 11:57:07 +08:00
Jiang Jiang Jian
547785fb86
Merge branch 'feature/enable_h2beta2' into 'master'
...
esp32h2: use esp32h2-beta2 by default
See merge request espressif/esp-idf!19099
2022-07-19 11:46:14 +08:00
Cao Sen Miao
53580a62b5
I2C: Fullfill the I2C clock tree, and support 26M XTAL on ESP32-C2
2022-07-19 11:41:42 +08:00
Marius Vikhammer
a9ed589501
ci: fixed flakey light sleep example test
...
A wake-up from timer would trigger before the gpio wakeup in certain cases,
failing the test.
Change the regex to only expect the GPIO wakeup, so that even if there is an extra
timer wakeup it wont fail the test.
2022-07-19 11:03:16 +08:00
David Čermák
d1dc30fd70
Merge branch 'example/icmpv6_ping' into 'master'
...
examples: Add ICMPv6 Echo Request/Reply example.
See merge request espressif/esp-idf!18731
2022-07-19 05:04:02 +08:00
Ivan Grokhotkov
eeb2808a32
Merge branch 'bugfix/check_readmes_pre_commit_idf_path' into 'master'
...
ci: allow running check-readmes pre-commit hook without IDF_PATH set
See merge request espressif/esp-idf!19055
2022-07-19 04:46:30 +08:00
simon.chupin
a141be4add
tools: Improve the error message for handling NotImplementedError on Windows
2022-07-18 19:03:55 +02:00
Mahavir Jain
508661b03e
Merge branch 'bugfix/ipc_O0_stack' into 'master'
...
ipc: Increase stacksize when compiling with -O0
Closes IDFCI-1372 and IDFCI-1360
See merge request espressif/esp-idf!19083
2022-07-19 00:37:08 +08:00
Mahavir Jain
a94c74c26b
mbedtls: remove dependency on driver component
...
- keep `esp_pm` dependency conditional in mbedtls
- refactor `bt` cmakelist to keep dependencies as private
Related: IDF-1265
2022-07-18 21:10:51 +05:30
David Čermák
5548f5acd6
Merge branch 'bugfix/lwip_ondemand_timers_num_system_timeout' into 'master'
...
lw ip: Fix on-demand timers to update internal system touts
Closes IDFGH-7595
See merge request espressif/esp-idf!18724
2022-07-18 21:56:57 +08:00
Shu Chen
b45ee118f3
esp32h2: use esp32h2-beta2 by default
2022-07-18 19:52:21 +08:00
Roland Dobai
9c61e5ccb0
Merge branch 'fix/tools_python_checker_message' into 'master'
...
Tools: Improve the message for missing setuptools in the Python checker
See merge request espressif/esp-idf!19091
2022-07-18 19:50:11 +08:00
Chen Yudong
84942f9121
CI: improve target test rules for ethernet and wifi tests
2022-07-18 18:47:01 +08:00
morris
9df1b0e3a1
Merge branch 'bugfix/not_test_bounce_buffer_mode_iram_safe' into 'master'
...
rgb_lcd: don't test bounce buffer mode with iram-safe
See merge request espressif/esp-idf!19089
2022-07-18 18:22:53 +08:00
Roland Dobai
b738953e90
Tools: Improve the message for missing setuptools in the Python checker
2022-07-18 11:56:32 +02:00
Jiang Jiang Jian
5b771082bd
Merge branch 'bugfix/wifi_owe_memory_leak' into 'master'
...
esp_wifi:bugfix for wifi owe memory leak
Closes WIFI-4589
See merge request espressif/esp-idf!19011
2022-07-18 17:53:51 +08:00
Kapil Gupta
9d98cd8f8d
WiFi: Do not disconnect in WPS disable incase WPS is done/scanning
...
Closes https://github.com/espressif/esp-idf/issues/9341
2022-07-18 14:57:01 +05:30
Jiang Jiang Jian
633a9f744a
Merge branch 'bugfix/OWE_memory_leak' into 'master'
...
esp_wifi : fixed OWE memory leak
See merge request espressif/esp-idf!19061
2022-07-18 17:20:36 +08:00
Jiacheng Guo
558ce70f40
openthread: use managed component for extension commands
2022-07-18 16:39:30 +08:00
morris
05c51093c8
rgb_lcd: don't test bounce buffer mode with iram-safe
...
(cherry picked from commit 3ece942704
)
2022-07-18 14:57:50 +08:00
morris
3ece942704
rgb_lcd: don't test bounce buffer mode with iram-safe
2022-07-18 14:55:11 +08:00
Abhik Roy
25c310b3da
examples: Add ICMPv6 Echo Request/Reply example.
...
Added example to create a raw ICMPv6 socket and sends an ICMPv6 Echo-Request
to the destination ipv6 address and wait for Echo-Reply for esp32 and Linux target.
2022-07-18 12:13:23 +05:30
Fu Hanxi
29307e0dbf
Merge branch 'ci/fix_nightly_run_missing_app' into 'master'
...
Ci/fix nightly run missing app
Closes IDFCI-1367 and IDFCI-1359
See merge request espressif/esp-idf!18915
2022-07-18 14:41:07 +08:00
intern
4866e91398
docs: update nvs encryption cn trans
2022-07-18 14:40:56 +08:00
Kapil Gupta
882ad4e5e7
Merge branch 'feature/eloop_debug_framework' into 'master'
...
wpa_supplicant: Add debug info for eloop functions
See merge request espressif/esp-idf!18451
2022-07-18 14:17:25 +08:00
Marius Vikhammer
ccc184de51
ipc: Increase stacksize when compiling with -O0
2022-07-18 13:55:03 +08:00
Krzysztof Budzynski
45ba00544a
Merge branch 'contrib/github_pr_9357' into 'master'
...
corrected a typo (GitHub PR)
Closes IDFGH-7828
See merge request espressif/esp-idf!19074
2022-07-18 10:58:11 +08:00
Fu Hanxi
d28c1be711
ci: build but set preserve to false for different nightly_run scenarios
2022-07-18 10:17:54 +08:00
Fu Hanxi
4317448f71
ci: allow pytest pass when no tests collected
2022-07-18 09:11:37 +08:00