harshal.patil
779aef401e
esp_prov: added support for session cookie in SoftAP mode
2022-10-27 18:17:38 +05:30
Zim Kalinowski
0954c5e5d0
Merge branch 'refactor/nvs_define_ns_name_len' into 'master'
...
refactor(nvs): using define for namespace len instead of magic number
Closes IDFGH-8174
See merge request espressif/esp-idf!20353
2022-10-27 14:53:30 +08:00
KonstantinKondrashov
3b4f384b69
configs: Removes leftover of CONFIG_MEMMAP_SMP
2022-10-26 19:45:42 +08:00
Konstantin Kondrashov
554f3bdc38
Merge branch 'feature/efuse_migrate_from_ut_app_to_test_app' into 'master'
...
efuse: Migrate efuse unit tests from unit-test-app to component test app
Closes IDF-5570
See merge request espressif/esp-idf!20756
2022-10-26 18:25:20 +08:00
Jiang Jiang Jian
f191b2f034
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32' into 'master'
...
esp32/rtc: fix xtal unstable in some cases when sleep
Closes ESPCS-869
See merge request espressif/esp-idf!20425
2022-10-26 15:57:48 +08:00
KonstantinKondrashov
beba771031
efuse: Migrate efuse unit tests from unit-test-app to component test app
2022-10-26 15:41:48 +08:00
Zim Kalinowski
e0077e67d7
Merge branch 'feature/freertos_unit_test_migration' into 'master'
...
FreeRTOS: Migrate unit tests to test app
Closes IDF-5589
See merge request espressif/esp-idf!20625
2022-10-26 03:01:22 +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
laokaiyao
351a18415c
dac: driver-ng framework
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9777c9d5b1
dac: refactor to new api on esp32s2
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9e4ff3d374
dac_dma: Support DAC_DMA on esp32s2
2022-10-25 17:00:41 +08:00
Darian Leung
c36e06c45c
freertos: Add test app sdkconfig
...
This commit adds the sdkconfig files for the FreeRTOS test app. These
configurations were dervied from the various legacy unit test app's
config files that included the FreeRTOS component.
This commit tries to keep a 1 to 1 config parity with the legacy test app.
Meaning, if FreeRTOS test were run on a particular target with a particular
config, that config will be represented in one of the test app's
sdkconfig.ci.XXX files.
However, the following configurations were removed for FreeRTOS tests:
- The "freertos_flash" option was removed due to redudancy (already tested in
freertos_options)
2022-10-23 20:02:14 +08:00
morris
4176cb68de
twai: remove deprecated code and add hint
...
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.
Please use "TWAI" driver instead.
2022-10-22 18:20:07 +08:00
Jakob Hasse
674fa9377f
refactor(nvs): using define for namespace len instead of magic number
...
Closes https://github.com/espressif/esp-idf/issues/9671
2022-10-21 18:12:24 +02:00
harshal.patil
9f6e433bb5
ci: Migrate app_update unit tests from unit-test-app to component-test-app
2022-10-21 07:37:37 +00:00
Kevin (Lao Kaiyao)
81375c5d82
Merge branch 'feature/support_multi_dev_unity_signal_transportation' into 'master'
...
test: add a script for supporting multi-dev and multi-stage cases
Closes IDFCI-1377 and IDF-5989
See merge request espressif/esp-idf!20302
2022-10-21 10:29:51 +08:00
Fu Hanxi
c756e0f477
ci: fix import path
2022-10-20 20:34:51 +08:00
laokaiyao
cf528deeb1
test: add a script for supporting multi-dev and multi-stage case
2022-10-20 18:35:51 +08:00
Roland Dobai
818a1866e6
Merge branch 'fix/detect_diff_cmake_python' into 'master'
...
Tools: Detect if the project is configured for a different Python
Closes IDFGH-8540
See merge request espressif/esp-idf!20672
2022-10-19 22:28:21 +08:00
Xue Yun Fei
c941691711
Merge branch 'Bugfix/increase_ping_task_stack_size' into 'master'
...
lwip:bugfix for increase ping task stack size
Closes WIFI-4903
See merge request espressif/esp-idf!20664
2022-10-19 19:19:25 +08:00
Song Ruo Jing
c8c9ce0a8b
Merge branch 'feature/esp32c6_gpio_support' into 'master'
...
gpio: bringup driver on esp32c6 FPGA
Closes IDF-5870 and IDF-5937
See merge request espressif/esp-idf!20364
2022-10-19 18:44:30 +08:00
xueyunfei
8c17b04cef
lwip:bugfix for increase ping task stack size
2022-10-19 10:49:13 +08:00
Marius Vikhammer
978c03c0c3
Merge branch 'feature/test_apps_def_config' into 'master'
...
CI: add common debug helper sdkconfig that can be used in test apps
See merge request espressif/esp-idf!20213
2022-10-19 10:37:48 +08:00
Roland Dobai
2083e4d359
Tools: Detect if the project is configured for a different Python
...
Closes https://github.com/espressif/esp-idf/issues/9993
2022-10-18 15:56:43 +02:00
morris
ab20e3e5d5
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues' into 'master'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
See merge request espressif/esp-idf!20630
2022-10-18 17:18:08 +08:00
Song Ruo Jing
6d24e8bcf4
gpio: Add support for esp32c6
2022-10-18 12:38:36 +08:00
Marius Vikhammer
439455b440
Merge branch 'feature/esp_event_pytest' into 'master'
...
esp_event: move tests to pytest framework
Closes IDF-5574
See merge request espressif/esp-idf!20533
2022-10-18 11:18:18 +08:00
Jiang Jiang Jian
e08e2f071f
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on' into 'master'
...
Coexistence: fix part of modem module not reset when power up
See merge request espressif/esp-idf!19849
2022-10-18 11:13:10 +08:00
jiangguangming
7daadc5a92
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:04:01 +08:00
Marius Vikhammer
afd7f1e9b7
idf.py hints: add hint IRAM overflow
2022-10-18 02:24:51 +00:00
Aleksei Apaseev
0da9d9ffea
tools: fixed the coredump package's suppressed print
2022-10-17 16:34:58 +08:00
Laukik Hase
aff551c4ee
esp_prov: Update deprecated APIs
...
- Updated deprecated APIs for bleak module
- Updated README and troubleshooting reference for
BLE transport
2022-10-14 16:53:40 +05:30
Marius Vikhammer
d73e1d9754
esp_event: move tests to pytest framework
2022-10-14 11:07:58 +08:00
Ivan Grokhotkov
659460525f
Merge branch 'test/spiffs_component_test_app' into 'master'
...
spiffs: move tests from unit-test-app to a component test app
Closes IDF-5602
See merge request espressif/esp-idf!20485
2022-10-13 20:01:39 +08:00
Ivan Grokhotkov
8a45ff0957
Merge branch 'bugfix/reenable_ut_c2_fatfs_vfs_spi_flash' into 'master'
...
vfs, spi_flash: re-enable unit tests for C2
Closes IDF-5137 and IDF-5139
See merge request espressif/esp-idf!20444
2022-10-13 05:40:12 +08:00
David Čermák
950800be9e
Merge branch 'update/lwip_sntp_comment_i32_timestamp' into 'master'
...
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
Closes IDF-5956 and IDF-5592
See merge request espressif/esp-idf!20283
2022-10-12 20:06:42 +08:00
Ivan Grokhotkov
7b709aacc9
spiffs: move tests from unit-test-app to a component test app
2022-10-12 12:08:13 +02:00
Ivan Grokhotkov
0a352a6ff2
vfs, spi_flash: re-enable unit tests for C2
2022-10-12 11:09:36 +02:00
David Čermák
0b6bc7045e
Merge branch 'feat/network_hints' into 'master'
...
tools: Update idf-py hints with networking component info
Closes IDF-5672
See merge request espressif/esp-idf!20471
2022-10-12 16:27:11 +08:00
Marius Vikhammer
23b5e54974
CI: add common debug helper sdkconfig that can be used in test apps
2022-10-12 11:47:04 +08:00
Chen Yu Dong
fa5d0a3513
Merge branch 'feature/pytest_timeout_per_case' into 'master'
...
pytest: set default timeout for each case
See merge request espressif/esp-idf!20455
2022-10-12 00:47:02 +08:00
Sudeep Mohanty
952ba77edb
Merge branch 'tests/migrate_esp_ringbuf_tests_to_pytest' into 'master'
...
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
Closes IDF-5582
See merge request espressif/esp-idf!20476
2022-10-11 23:12:03 +08:00
Roland Dobai
cd8f4c75cd
Merge branch 'fix/idf_tools_venv_check' into 'master'
...
Tools: Check venv the same way how it will be used later
See merge request espressif/esp-idf!20525
2022-10-11 22:20:37 +08:00
Sudeep Mohanty
6feab513e4
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
...
This commit migrates the esp_ringbuf tests to the pytest framework.
2022-10-11 11:31:04 +02:00
David Cermak
ca709e7dc5
tools: Update idf-py hints with networking component info
2022-10-11 05:56:51 +00:00
Ivan Grokhotkov
5f6f4ef3ac
Merge branch 'bugfix/build_rules_check_ignore' into 'master'
...
ci: ignore build_test_app when checking build_test_rules
See merge request espressif/esp-idf!20517
2022-10-10 22:28:53 +08:00
Fu Hanxi
1a95860559
Merge branch 'ci/improve_ci_build_apps' into 'master'
...
Ci/improve ci build apps
See merge request espressif/esp-idf!20503
2022-10-10 18:43:14 +08:00
Roland Dobai
404612b130
Tools: Check venv the same way how it will be used later
...
It is possible that import of venv passes but it still cannot be
started. This can happen with the embedded Python deployed by the
ESP-IDF installer.
2022-10-10 12:31:23 +02:00
Fu Hanxi
2d27e09b4f
ci: make bringup process for check_build_test_rules.py more friendly
2022-10-10 16:58:11 +08:00
Fu Hanxi
27e199605a
ci: remove unused rules
2022-10-10 16:58:11 +08:00
Marius Vikhammer
6f5beb70e4
ci: ignore build_test_app when checking build_test_rules
2022-10-10 16:23:03 +08:00
Roland Dobai
40b48a5393
Merge branch 'tools/idf_py_size_output_file_opt' into 'master'
...
tools: Add --output-file argument to idf.py size commands
Closes IDF-5954
See merge request espressif/esp-idf!20354
2022-10-10 15:54:00 +08:00
Roland Dobai
e2d275a382
Merge branch 'fix/export_without_constraint_download' into 'master'
...
Tools: The Python dependency checker should not update the constraint file
Closes IDF-6010
See merge request espressif/esp-idf!20460
2022-10-10 15:39:09 +08:00
jingli
0a44d09f4f
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-09 19:58:58 +08:00
Chen Yudong
aa822339aa
pytest: set default timeout for each case
2022-10-08 04:47:35 +00:00
Martin Vychodil
1abd4eac2c
Merge branch 'test/fatfs_component_test_apps' into 'master'
...
fatfs: migrate unit tests to component test app, re-enable test for C2
Closes IDF-5588 and IDF-5136
See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Roland Dobai
a6792c2673
Merge branch 'feature/use_tools_json_to_check_toolchain_ver' into 'master'
...
Tools: use tools.json to double-check toolchain version when building
See merge request espressif/esp-idf!19894
2022-10-06 16:22:41 +08:00
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2
2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
39319c0750
test_apps: move PanicTestDut from conftest into a separate module
...
pytest_panic used to do 'from conftest import PanicTestDut'. This
stopped working when another conftest.py file was added in
tools/test_build_system/conftest.py.
In this case we can't rename conftest.py since both are necessary
for pytest to install the hooks in the respective test cases.
Fix by moving PanicTestDut into a separate module, then importing
it from there.
2022-10-03 21:44:28 +02:00
Ivan Grokhotkov
104f2da4c6
Merge branch 'feature/pytest_build_system' into 'master'
...
build system: add initial version of pytest-based build system tests
See merge request espressif/esp-idf!19498
2022-10-04 01:18:58 +08:00
Alexey Lapshin
e6f7b1a3a0
tools: cmake: check tool supported version with idf_tools.py
2022-10-03 19:01:32 +04:00
Roland Dobai
d50f574a31
Tools: The Python dependency checker should not update the constraint file
...
The Python dependency checker called from the export scripts and before
build remains offline, i.e. it will use the previously downloaded
constraint file but won't download a newer version.
Related to https://github.com/espressif/esp-idf/pull/9328
2022-10-03 11:39:28 +02:00
Michael (XIAO Xufeng)
9bc18ba480
Merge branch 'feat/sdio_slave_disable_hs' into 'master'
...
sdio_slave: allow disabling highspeed mode
Closes IDF-5994
See merge request espressif/esp-idf!20312
2022-10-01 01:52:47 +08:00
David Čermák
bea755605e
Merge branch 'ci/fix_mqtt5_broker_not_available' into 'master'
...
ci: Fix mqtt broker is not available
Closes IDFCI-1476
See merge request espressif/esp-idf!20434
2022-09-30 19:42:52 +08:00
yuanjianmin
a839121285
ci: Fix mqtt broker is not available
2022-09-30 10:07:19 +08:00
Martin Gaňo
41742c2369
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
2022-09-29 16:16:36 +02:00
Jakob Hasse
f33ac0a037
Merge branch 'feature/freertos_sim' into 'master'
...
FreeRTOS Single Core Simulator PoC
See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Jakob Hasse
bfbbd9d790
feat(freertos): Added FreeRTOS POSIX/Linux Simulator
...
* Added port layer from the FreeRTOS POSIX port, added
additional port code for ESP-IDF.
* Created another hello world example using that POSIX
port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Djordje Nedic
09e61e8a23
tools: Add --output-file argument to idf.py size commands
...
This commit ads the corresponding --output-file option from idf_size.py to idf.py.
This is needed because piping the idf.py size output to a file would result in CMake output being present in the file as well.
2022-09-27 15:41:36 +02:00
Michael (XIAO Xufeng)
507864c4f1
sdio_slave: allow disabling highspeed mode
2022-09-27 18:38:35 +08:00
morris
88c0053172
Merge branch 'feature/esp32c6_bringup' into 'master'
...
ESP32C6: Introduce new chip target esp32c6
Closes IDF-5247
See merge request espressif/esp-idf!19286
2022-09-27 13:23:21 +08:00
Zim Kalinowski
04ecfacbdd
Merge branch 'feature/migrate-console-tests-to-pytest' into 'master'
...
console: move unit tests to pytest
Closes IDF-5568
See merge request espressif/esp-idf!20192
2022-09-27 00:44:52 +08:00
wuzhenghui
fca7d70e05
esp32c6: add minimal ci support
...
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Zim Kalinowski
c37ccfb84e
console: migrate console tests to pytest
2022-09-26 12:02:38 +02:00
Roland Dobai
02605f1a31
Merge branch 'fix/idf_tools_download_issues' into 'master'
...
Tools: Improve download error messages coming from idf_tools.py
Closes IDFGH-8120
See merge request espressif/esp-idf!20325
2022-09-26 16:55:48 +08:00
Roland Dobai
d08898aabc
Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
...
tools: fixed elf symbols load if gdbinit specified
Closes IDF-4991 and GCC-246
See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Roland Dobai
e2c66520db
Tools: Improve download error messages coming from idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/9618
2022-09-23 14:00:31 +02:00
Guillaume Souchere
bf18a05a5f
unit-tests: Move the leak related tests from the heap component to test_utils
2022-09-23 09:49:09 +02:00
Guillaume Souchere
405c26da6d
heap: migrate unit tests to pytest
2022-09-23 09:49:07 +02:00
Roland Dobai
a1eee69e8f
Merge branch 'fix/openocd-prints-old-logs' into 'master'
...
tools: fix openocd old logs print
See merge request espressif/esp-idf!20176
2022-09-22 15:21:07 +08:00
jingli
cce2af9193
wifi/bt: fix part of modem module not reset when power up
2022-09-22 11:45:20 +08:00
morris
d609884407
Merge branch 'refactor/esp_rom_pytest' into 'master'
...
esp_rom: migrate ut to pytest
Closes IDF-5583
See merge request espressif/esp-idf!20258
2022-09-22 10:31:37 +08:00
Alexey Lapshin
4539020dac
tools: fix openocd old logs print
2022-09-21 22:41:16 +04:00
Alexey Lapshin
c17a7f446c
tools: move cmake executable check into function uses it
...
Before this change idf.py could exit with reason cmake does not exist in PATH
even cmake will not be executed by idf.py (e.g., 'idf.py gdb').
2022-09-21 22:39:03 +04:00
Alexey Lapshin
0fd4b09a46
tools: add test for ROM symbols in GDB
2022-09-21 22:39:03 +04:00
Alexey Lapshin
b9ed89228d
test_apps: fix monitor_ide_integration test
2022-09-21 22:39:03 +04:00
Alexey Lapshin
29655fe22a
tools: fixed elf symbols load if gdbinit specified
...
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-09-21 22:39:03 +04:00
Alexey Lapshin
fd2846c95e
tools: add esp-rom-elfs version '20220823'
2022-09-21 22:39:03 +04:00
David Cermak
9e31c5077d
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
2022-09-21 17:38:37 +02:00
Rocha Euripedes
819dae8008
Merge branch 'feature/mqtt_cmakefile_cleanup' into 'master'
...
Mqtt: Cmakelists.txt file simplification.
See merge request espressif/esp-idf!19966
2022-09-21 15:21:07 +08: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
Ivan Grokhotkov
4a69a3f7ef
Merge branch 'feature/cmake_use_new_features' into 'master'
...
cmake: use features introduced between 3.5 and 3.16
Closes IDF-5955
See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
morris
65767769a9
esp_rom: migrate ut to pytest
2022-09-21 10:42:13 +08:00
Marius Vikhammer
0b0a541c7d
Merge branch 'feature/pthread_pytest' into 'master'
...
pthread: migrate unit tests to pytest test app
Closes IDF-5600
See merge request espressif/esp-idf!20188
2022-09-20 17:58:20 +08:00
Ivan Grokhotkov
adcf07b3b8
cmake: strip -D prefix from COMPILE_DEFINITIONS property values
2022-09-20 11:35:46 +02:00
Ivan Grokhotkov
66554aa215
cmake: remove unused defines from several host test apps
...
These macros are seemingly only used in the NVS host test, and are not
necessary in the other host test apps.
2022-09-20 11:35:45 +02:00
Ivan Grokhotkov
c392c06216
cmake: remove -D prefix from COMPILE_DEFINITIONS property
...
Unlike COMPILE_OPTIONS, COMPILE_DEFINITIONS CMake property assumes
values without the -D prefix, such as NAME or NAME=VAL.
Previously, IDF build system was passing COMPILE_DEFINITIONS build
property to CMake COMPILE_OPTIONS property, so -D prefix was not
a problem.
Now that COMPILE_DEFINITIONS CMake property is used, -D prefix has
to be removed.
(Note that this doesn't affect 'target_compile_definitions' function,
which strips -D prefix before adding the definition to the property.)
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
49dedb77ac
cmake: use add_compile_definitions supported since 3.12
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Roland Dobai
c658d09a98
Merge branch 'bugfix/writable_idf_tools_path' into 'master'
...
Tools: Support ESP-IDF installed in system-wide shared directory for all users
Closes IDFGH-7790 and IDFGH-7791
See merge request espressif/esp-idf!19479
2022-09-19 22:14:33 +08:00
Roland Dobai
d9d646f20e
Merge branch 'bugfix/idf_py_size_default_format' into 'master'
...
tools: default to text output format in 'idf.py size'
Closes IDF-5952
See merge request espressif/esp-idf!20088
2022-09-19 17:46:34 +08:00
Marius Vikhammer
46c092c04a
pthread: migrate unit tests to pytest test app
2022-09-19 17:43:33 +08:00
Euripedes Rocha
736424c366
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-09-19 09:11:15 +00:00
Euripedes Rocha
dd441ef713
Makes COMPONENT_LIB available for mock components
...
- COMPONENT_LIB wasn't available for parent scope
2022-09-19 09:11:15 +00: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
harshal.patil
68a7da3f0b
test_utils: reset critical lwip leap level
...
Test cases calling test_case_uses_tcpip() set critical lwip leak level to 4095, but do not reset it to default.
Hence, 4095 used to get added while calculating the critical threshold for the testcases following them.
2022-09-17 14:31:36 +05:30
harshal.patil
317eeddce4
fix: memory leaks check added
2022-09-17 14:31:36 +05:30
harshal.patil
146f101289
ci: Migrate mbedtls unit tests from unit-test-app to component-test-app
2022-09-17 14:31:36 +05:30
Darian
03b25c6a0d
Merge branch 'bugfix/riscv_interrupt_function_naming' into 'master'
...
riscv: Fix interrupt function naming and redundancy
See merge request espressif/esp-idf!19251
2022-09-17 00:33:33 +08:00
Jiang Jiang Jian
40d13002d0
Merge branch 'ci/optimize_ats_ci_flow' into 'master'
...
CI: optimize ATS ci flow
See merge request espressif/esp-idf!20131
2022-09-16 20:34:03 +08:00
Zim Kalinowski
d9df69e815
Merge branch 'feature/bootloader_pytest' into 'master'
...
bootloader support: move unit tests to pytest
Closes IDF-5566
See merge request espressif/esp-idf!20157
2022-09-16 17:35:06 +08:00
Darian Leung
0c97fbd5ba
riscv: Remove redundant riscv_interrupts.h header
...
This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:
- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
"rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
placed in rv_utils.h
2022-09-16 16:45:43 +08:00
Marek Fiala
c63ec6cf08
Tools: Support ESP-IDF installed in system-wide shared directory for all users
...
Closes: https://github.com/espressif/esp-idf/issues/9329
Closes: https://github.com/espressif/esp-idf/pull/9328
2022-09-16 09:15:19 +02:00
Mahavir Jain
961bdde289
Merge branch 'ci/migrate_esp-tls_unit_test_app' into 'master'
...
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
Closes IDF-5571
See merge request espressif/esp-idf!20099
2022-09-16 14:34:44 +08:00
Ivan Grokhotkov
0503cb52eb
build system: add the initial set of pytest-based build system tests
2022-09-16 00:07:55 +02:00
Ivan Grokhotkov
bfc17ce35a
tools: default to text output format in 'idf.py size'
2022-09-15 16:44:21 +02:00
Marius Vikhammer
7cef82e0df
bootloader support: move unit tests to pytest
2022-09-15 15:19:42 +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
harshal.patil
aaf8b5d98e
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
2022-09-14 12:03:49 +05:30
Chen Yudong
bfa96bc597
CI: optimize ATS ci flow
2022-09-14 13:39:12 +08:00
Wan Lei
f7748beb4d
Merge branch 'bugfix/spi2_add_device_cs_more_than_3' into 'master'
...
spi_master: fix error when use `spi_bus_add_device` add more than 3 devices
Closes IDFGH-7288
See merge request espressif/esp-idf!19798
2022-09-14 10:33:37 +08:00
Ivan Grokhotkov
16dbb8f249
Merge branch 'feature/ulp_binutils_multi_target' into 'master'
...
ulp: support the new multi-target ULP-FSM binutils
Closes IDFGH-4618
See merge request espressif/esp-idf!19818
2022-09-13 21:35:53 +08:00
Roland Dobai
7c4096486d
Merge branch 'fix/python_dbus_linux' into 'master'
...
Tools: Install dbus-python on Linux only
See merge request espressif/esp-idf!20109
2022-09-13 20:54:16 +08:00
Alexey Lapshin
a9bd454529
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-13 12:55:48 +04:00
Aditya Patwardhan
ce32183749
tcp_transport: Add support of setting the common name fot the TLS
...
context
2022-09-13 05:31:43 +00:00
Roland Dobai
0c41149b9b
Tools: Install dbus-python on Linux only
2022-09-12 16:17:20 +02:00
Ivan Grokhotkov
5aa688ad4a
tools: update bundled root certificate in idf_tools.py
...
dl.espressif.com is now using the same root certificate as github.com.
This commit replaces the previously-used ISRG X1 root certificate
with the DigiCert Root CA certificate.
As a result, even if the certificates are not installed (as it happens
on macOS with python.org installers, if the user forgets to run
'Install Certificates.command'), the download is successful.
Related to https://github.com/espressif/esp-idf/issues/4081
2022-09-09 17:33:33 +02:00
Tomas Rezucha
cf59a8a2bd
Merge branch 'feature/usb_v5_qol' into 'master'
...
usb: USB IDF v5 update
Closes IDF-4690 and IDF-5767
See merge request espressif/esp-idf!19875
2022-09-08 19:50:22 +08:00
Roland Dobai
67506f9a3f
Tools: Increase the delay before producing exception in the Monitor IDE test app
2022-09-07 11:27:10 +02:00
Mahavir Jain
fb9c931538
Merge branch 'ci/remove_redundant_component_from_unit_test_config' into 'master'
...
unit_test: remove redundant component from unit test app config
See merge request espressif/esp-idf!19983
2022-09-06 22:12:58 +08:00
Roland Dobai
f27a426013
Merge branch 'bugfix/fix_hints_templates' into 'master'
...
tools: Fix hint regular expression syntax
See merge request espressif/esp-idf!19965
2022-09-06 21:36:13 +08:00
Harshit Malpani
61fb0c1d2d
unit_test: remove redundant component from unit test app config
2022-09-06 14:07:52 +05:30
Fu Hanxi
24c31bd7fb
Merge branch 'ci/run_build_test_check_when_soc_updated' into 'master'
...
CI: run build test check when soc caps updated
See merge request espressif/esp-idf!19940
2022-09-06 09:33:01 +08:00
Tomas Rezucha
c6fbefcd84
usb_host: Remove custom test_app
2022-09-05 20:14:56 +02:00
Denys Almazov
53d62d2e60
tools: hints.yml fix
2022-09-05 21:03:19 +08:00
Roland Dobai
a565f0635b
Merge branch 'fix/impr_idf_hint_error_handling' into 'master'
...
Tools: Handle IO error in idf.py output capturing
Closes IDFGH-8153
See merge request espressif/esp-idf!19926
2022-09-05 16:32:35 +08:00
Mahavir Jain
4aaf02b093
bootloader_support: fix stringop-overflow warning with PERF
compiler optimization
...
This commit fixes build issue because of function `bootloader_common_reset_rtc_retain_mem`
getting inlined with compiler optimization level set to `PERF` (-O2).
Build failure log:
-----------------
In function 'bootloader_common_reset_rtc_retain_mem',
inlined from 'bootloader_common_update_rtc_retain_mem' at /h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:183:13:
/h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:159:5: error: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
159 | memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-05 10:42:11 +05:30
wanlei
96aa2792f8
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-05 12:10:22 +08:00
Fu Hanxi
7d9dd41cbf
ci: run build check for all apps when soc header changed
2022-09-05 11:17:02 +08:00
Fu Hanxi
74619b04e1
ci: add esp32c6 target
2022-09-05 10:30:04 +08:00
Song Ruo Jing
0637ea91a3
Merge branch 'bugfix/fix_gpio_intr_lost' into 'master'
...
gpio: Fix interrupt lost issue
Closes IDFGH-5069
See merge request espressif/esp-idf!19625
2022-09-02 18:54:17 +08:00
Roland Dobai
9307a932ad
Tools: Handle IO error in idf.py output capturing
...
Closes https://github.com/espressif/esp-idf/issues/9649
2022-09-02 10:49:29 +02:00
Roland Dobai
6539d0af6d
Merge branch 'feature/add_tests_for_hints' into 'master'
...
tools: add unit tests for hints
See merge request espressif/esp-idf!19788
2022-09-02 01:32:26 +08:00
Mahavir Jain
251faf98f9
Merge branch 'ci/migrate_protocomm_unit_test_app' into 'master'
...
ci: Migrate protocomm unit tests from unit-test-app to component-test-app
Closes IDF-5599
See merge request espressif/esp-idf!19781
2022-09-01 23:16:36 +08:00
simon.chupin
92ef2a4c83
Tools: Add unit tests for idf.py hints
2022-09-01 17:09:46 +02:00
Song Ruo Jing
61282cc5dd
gpio: Fix interrupt lost issue
...
In previous gpio default isr, interrupt status bits get cleared at the exit of the isr.
However, for edge-triggered interrupt type, the interrupt status bit should be cleared before entering the per-pin handlers to avoid any potential interrupt lost.
Closes https://github.com/espressif/esp-idf/pull/6853
2022-09-01 16:01:01 +08:00
harshal.patil
a17313ad32
ci: Migrate protocomm unit tests from unit-test-app to component-test-app
2022-09-01 10:24:33 +05:30
wuzhenghui
1d299a8976
esp32c6: add hal support
2022-09-01 12:37:51 +08:00
songruojing
9d515185d0
esp32c6: clean up existing soc files and header file inclusion in IDF to be compatible with the new chip
2022-09-01 12:28:06 +08:00
Roland Dobai
b4b9d993db
Merge branch 'feature/build_color_output' into 'master'
...
build system, tools: enable compiler color diagnostics by default, update CMake to 3.24.0
See merge request espressif/esp-idf!19864
2022-09-01 02:35:07 +08:00
Ivan Grokhotkov
4d9018e925
Merge branch 'feature/ulp_cmake_cleanups' into 'master'
...
ulp: CMake and python cleanups
See merge request espressif/esp-idf!19817
2022-08-31 17:59:05 +08:00
wuzhenghui
c31aaeda2a
ll: add reset interface to rtc_cntl_ll
2022-08-31 01:59:36 +00:00
Ivan Grokhotkov
1ba3d58b78
tools: cmake: upgrade from 3.23.1 to 3.24.0
2022-08-30 16:38:14 +02:00
Ivan Grokhotkov
13881a3832
idf.py: ensure that build log is always sanitized from color sequences
...
The actual output from the build tool (CMake/Ninja) may or may not
contain color escape codes, depending on various factors. The output
written to the log file should never include color escape codes,
though. This is because color escape codes in files are usually not
rendered as "color" in editors, and complicate reading. Also escape
codes would break the regular expressions used to display hints for
compilation errors.
2022-08-30 16:38:14 +02:00
Ivan Grokhotkov
d04b554065
tools: idf.py: enable CLICOLOR_FORCE for interactive builds
...
If stdout is a TTY (meaning that the output is not redirected), tell
the build tool (GNU Make or Ninja) to enable colorized output.
GNU Make and Ninja also check if their stdout is redirected and
strip color escape sequences in that case. CLICOLOR_FORCE environment
variable overrides this behavior.
With this change, if the compiler was launched with the
-fcolor-diagnostics flag and idf.py output is not redirected, the
final output in the terminal will be colorized.
(-fcolor-diagnostics is handled at CMake level by the previous commit)
2022-08-30 16:38:13 +02:00
Ivan Grokhotkov
56e6263350
cmake: enable CMAKE_COLOR_DIAGNOSTICS by default
...
Related to https://github.com/espressif/esp-idf/issues/4162
Setting this option informs CMake that it should pass
-fcolor-diagnostics flag to the compiler.
(Colorized build system output, like from GNU Make, is produced even
without this flag.)
Note that if the build is done using Ninja and the build output is
redirected (not a TTY), Ninja will still strip the escape codes from
the output. For the case of idf.py, this is handled in the next
commit.
2022-08-30 16:38:13 +02:00
Mahavir Jain
a8c8946766
Merge branch 'fix/mqtt_ssl_ds_remove_unwanted_readme_section' into 'master'
...
mqtt/ssl_ds: Remove unwanted readme section
See merge request espressif/esp-idf!19841
2022-08-30 22:30:22 +08:00
Roland Dobai
cb81d14892
Merge branch 'bugfix/build_color_output_windows' into 'master'
...
tools: idf.py: use actual sys.stdout instead of the memoized one
See merge request espressif/esp-idf!19847
2022-08-30 16:31:42 +08:00
Marius Vikhammer
dfaaefe2ce
Merge branch 'bugfix/uart_sclk_freq' into 'master'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled
Closes IDFGH-8144
See merge request espressif/esp-idf!19792
2022-08-30 16:24:38 +08:00
Ivan Grokhotkov
b548d9345e
Revert "Merge branch 'feature/build_color_output' into 'master'"
...
This reverts merge request !19330
2022-08-30 15:14:47 +08:00
Aditya Patwardhan
6c7fd1edc0
mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
...
the DS documentation
2022-08-30 10:54:15 +05:30
Ivan Grokhotkov
2916bf9b6c
ulp: esp32ulp_mapgen: remove the special case for RISC-V, cleanup
...
There are multiple changes in this commit:
1. Unify the RISC-V and ULP-FSM code paths in esp32ulp_mapgen.py.
It seems that these were originally introduced because `nm` output
for the RISC-V case contained symbol sizes, while for the ULP-FSM
no symbol sizes were reported. This makes sense, because the
ULP-FSM object files are produced from assembly source, symbol
sizes have to be added manually using the .size directive.
In the case of RISC-V, the object files are built from C sources
and the sizes are automatically added by the compiler.
Now 'posix' output format is used for both RISC-V and ULP-FSM.
2. Move BASE_ADDR out of esp32ulp_mapgen.py. This now has to be passed
from CMake, which should make it easier to modify if a new chip
with a different RTC RAM base address is added.
3. Add C++ guards to the generated header file.
4. Switch from optparse to argparse for similarity with other IDF
tools.
5. Add type annotations.
2022-08-30 02:34:28 +02:00
Ivan Grokhotkov
2c5b62f10e
tools: idf.py: use actual sys.stdout instead of the memoized one
...
This fixes the issue with build output not being colorized on Windows,
while the hints messages are colorized.
The issue occurred because sys.stdout and sys.stderr get overridden
by colorama.init() at runtime, but the default argument
output_stream=sys.stdout holds the reference to the"original"
sys.stdout.
colorama.init() (which, by the way, gets called via a curious chain
of imports, via idf_component_tools.manifest and tqdm package)
overrides standard streams, on Windows only. The overridden streams
contain logic to convert ANSI color codes into Windows Console API
calls to colorize the text.
Since read_and_write_stream function used the default value of
output_stream evaluated at module loading time, it was using the
original sys.stdout, not the one overridden by colorama.
One extra note is that while this does fix the coloring issue, the
solution is a bit fragile, as it relies on one of the following
(on Windows):
- colorama.init() is called (this can change if idf-component-manager
stops importing tqdm)
- Sufficiently new version of Windows 10 is used, and ANSI color codes
support is enabled in the Registry.
2022-08-30 01:30:32 +02:00
Fu Hanxi
4f3610f957
Merge branch 'ci/upload_elf_map_to_minio' into 'master'
...
ci: upload elf map file to s3 server to reduce artifacts size
Closes IDFCI-1385
See merge request espressif/esp-idf!19756
2022-08-30 01:06:11 +08:00
Roland Dobai
84acc58d3c
Merge branch 'fix/disable_idf_py_moinitor_hints' into 'master'
...
Tools: Disable idf.py hints for IDF Monitor
Closes IDFGH-8110
See merge request espressif/esp-idf!19782
2022-08-29 22:51:55 +08:00
Roland Dobai
9d75833884
Merge branch 'contrib/github_pr_9656' into 'master'
...
upgrade ccache installed version to 4.6.2 (GitHub PR)
Closes IDFGH-8160 and IDFGH-6735
See merge request espressif/esp-idf!19834
2022-08-29 22:34:46 +08:00
Ivan Grokhotkov
02a19c6df5
Merge branch 'feature/build_color_output' into 'master'
...
build system, tools: enable compiler color diagnostics by default
Closes IDFGH-1965
See merge request espressif/esp-idf!19330
2022-08-29 20:32:42 +08:00
Ivan Grokhotkov
4f0967d44c
Merge branch 'feature/update-gdb-to-11.2_20220823' into 'master'
...
tools: update gdb version to '11.2_20220823'
Closes IDFGH-4276 and IDF-842
See merge request espressif/esp-idf!19723
2022-08-29 19:34:40 +08:00
Ivan Grokhotkov
990681764e
tools: cmake: upgrade from 3.23.1 to 3.24.0
2022-08-29 11:15:25 +02:00
Ivan Grokhotkov
712743d777
idf.py: ensure that build log is always sanitized from color sequences
...
The actual output from the build tool (CMake/Ninja) may or may not
contain color escape codes, depending on various factors. The output
written to the log file should never include color escape codes,
though. This is because color escape codes in files are usually not
rendered as "color" in editors, and complicate reading. Also escape
codes would break the regular expressions used to display hints for
compilation errors.
2022-08-29 11:15:16 +02:00
Ivan Grokhotkov
12abe1f316
tools: idf.py: enable CLICOLOR_FORCE for interactive builds
...
If stdout is a TTY (meaning that the output is not redirected), tell
the build tool (GNU Make or Ninja) to enable colorized output.
GNU Make and Ninja also check if their stdout is redirected and
strip color escape sequences in that case. CLICOLOR_FORCE environment
variable overrides this behavior.
With this change, if the compiler was launched with the
-fcolor-diagnostics flag and idf.py output is not redirected, the
final output in the terminal will be colorized.
(-fcolor-diagnostics is handled at CMake level by the previous commit)
2022-08-29 11:15:00 +02:00
morris
d36af75642
Merge branch 'feature/add_esp32c6_rom_header_file' into 'master'
...
esp_rom: add esp32c6 header files
See merge request espressif/esp-idf!19796
2022-08-29 17:14:09 +08:00
Ivan Grokhotkov
41cffbb2f2
cmake: enable CMAKE_COLOR_DIAGNOSTICS by default
...
Related to https://github.com/espressif/esp-idf/issues/4162
Setting this option informs CMake that it should pass
-fcolor-diagnostics flag to the compiler.
(Colorized build system output, like from GNU Make, is produced even
without this flag.)
Note that if the build is done using Ninja and the build output is
redirected (not a TTY), Ninja will still strip the escape codes from
the output. For the case of idf.py, this is handled in the next
commit.
2022-08-29 11:05:15 +02:00
Fu Hanxi
2484e00a94
ci: move LDGEN_CHECK_MAPPING to configure_ci_environment.sh
2022-08-29 16:57:31 +08:00
Roland Dobai
94a2d9f16a
Merge branch 'bugfix/fix_hints_templates' into 'master'
...
tools: fix hints templates
See merge request espressif/esp-idf!19789
2022-08-29 16:43:14 +08:00
Roland Dobai
55b7b42724
Merge branch 'bugfix/fix_CN_letters_in_monitor' into 'master'
...
tools: fix multi-byte character appearance in idf.py monitor
See merge request espressif/esp-idf!19566
2022-08-29 16:36:01 +08:00
morris
b82d6ce928
md5_hash: fix copyright checker
2022-08-29 15:40:37 +08:00
wuzhenghui
fbeb6195c2
esp_rom: add esp32c6 header files
2022-08-29 15:40:37 +08:00
Dominic Cerquetti
823ae5cf45
upgrade ccache installed version to 4.6.2
...
- primary reason: 4.6.2 fixes errors if the user's home directory contains a space
- alternative fix: the CCACHE_DIR env var can be set to something without a space in it, or set to TMP which properly escapes the home dir name
- there may be other issues with spaces in filenames on builds in other parts of ESP-IDF, see https://github.com/espressif/esp-idf/issues/8364 for more info
tested locally on windows only, use at your own risk
2022-08-27 14:28:20 -04:00
Djordje Nedic
5ee663d592
tools: Add CSV support to idf_size.py
...
This adds CSV support to idf_size.py and idf.py size actions and using the --format argument which accepts 'text', 'json' or 'csv' as input.
idf_size.py --json argument is deprecated but left to avoid a breaking change.
For idf.py size actions OUTPUT_JSON environment variable set at configuration time is overriden at target build time if --format is used.
Additionally, this commit refactors big parts of code, unified usage of json_dict and manually generated dictionaries for textual output and improves code quality in many parts.
2022-08-26 15:34:21 +02:00
morris
ebd3081d97
Merge branch 'bugfix/fix_rtc_gpio_hold' into 'master'
...
gpio: Fix missing set hold bit in rtc gpio register
Closes IDFGH-2489
See merge request espressif/esp-idf!19760
2022-08-26 18:13:14 +08:00
Omar Chebib
2f8c76abf2
Merge branch 'bugfix/rename_configs_not_set' into 'master'
...
Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed
See merge request espressif/esp-idf!19751
2022-08-26 16:33:27 +08:00
Ondrej Kosta
9c73c00a05
Merge branch 'bugfix/iperf_py_script_upt' into 'master'
...
ci iperf: fixed condition for waiting to iperf server is up in DUT
Closes IDFCI-1285
See merge request espressif/esp-idf!19575
2022-08-26 16:32:49 +08:00
Marius Vikhammer
b844df8c85
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-08-26 11:52:46 +08:00
Omar Chebib
0030e46a96
Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed
2022-08-26 03:36:28 +00:00
simon.chupin
e635492c95
tools: fix hints templates
2022-08-25 18:00:23 +02:00
Roland Dobai
352cb3fb5e
Merge branch 'bugfix/idf_tools_test_timeout' into 'master'
...
ci: increase timeout for python packages install test
Closes IDFCI-1436
See merge request espressif/esp-idf!19775
2022-08-25 21:01:59 +08:00
Roland Dobai
ff38cb8e0d
Tools: Disable idf.py hints for IDF Monitor
...
The feature will be re-enabled later after a proper fix for the
following Github issue.
Closes https://github.com/espressif/esp-idf/issues/9610
2022-08-25 14:53:41 +02:00
Ivan Grokhotkov
5c8db0ea7f
ci: increase timeout for python packages install test
...
On the build runners, the installation frequently takes around 150
seconds, which is above the current timeout. This change increases
the timeout.
Closes IDFCI-1436
2022-08-25 10:45:03 +02:00
Alexey Lapshin
244a1b5e6a
tools: fix test_abort backtrace
2022-08-24 23:00:30 +04:00
Alexey Lapshin
3556536748
tools: update gdb version to '11.2_20220823'
...
Closes https://github.com/espressif/esp-idf/issues/6124
2022-08-24 23:00:30 +04:00
Jan Procházka
ebef6bc97e
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-24 13:49:05 +02:00
Omar Chebib
f6ac350337
I2C: i2c_port_t type is now an enumeration
...
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-08-24 10:51:09 +08:00
Ivan Grokhotkov
ae256e9ca2
Merge branch 'bugfix/docker_remove_libpython2.7' into 'master'
...
tools: Docker: remove libpython2.7
See merge request espressif/esp-idf!19703
2022-08-24 02:06:18 +08:00
simon.chupin
1cb4f8fdf4
tools: fix multi-byte character appearance in idf.py monitor
2022-08-23 13:25:38 +00:00
Ivan Grokhotkov
d5973b8b14
build system: add 'linux' component to common requirements
...
'linux' component provides some of the common header files, such as
'sys/queue.h' and 'sys/lock.h'. For chip targets, it is possible to
include these files without having to add any extra requirements.
With this change, the same behavior will apply for the linux target.
2022-08-22 14:50:19 +02:00
Ivan Grokhotkov
b679c95ddc
tools: Docker: remove libpython2.7
...
libpython2.7 was added to the container to allow running GDB built
with Python 2.7 support and distributed as part of the cross-compiler
toolchain.
Now that we have a new release of GDB which works with Python 3.x,
the GDB shipped with the cross-compiler is no longer used. Removing
libpython2.7 should reduce the image size.
This reverts commit be0372b1db
.
2022-08-22 13:25:09 +02:00
Michael (XIAO Xufeng)
0a2e5a7774
Merge branch 'feat/support_esp32c2_uart' into 'master'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL
Closes IDF-5424 and IDF-4332
See merge request espressif/esp-idf!19274
2022-08-22 14:24:26 +08:00
Darian
1de6f9662c
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies' into 'master'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath
Closes IDFGH-7728
See merge request espressif/esp-idf!19461
2022-08-22 11:23:17 +08:00
morris
9d9e320274
Merge branch 'ci/increase_test_flash_psram_timeout' into 'master'
...
ci: increase test_flash_psram timeout
See merge request espressif/esp-idf!19657
2022-08-21 16:21:32 +08:00
Darian Leung
fbcde6777f
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d188e
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-21 15:27:50 +08:00
Ondrej Kosta
d3dd094f79
ci iperf: fixed condition for waiting to iperf server is up in DUT
2022-08-19 07:55:47 +00:00
Armando
5c617a0ff7
ci: increase test_flash_psram timeout
2022-08-19 12:13:00 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
Simon Chupin
1669a5d861
Merge branch 'feature/add_templates_for_hints' into 'master'
...
tools: add support of templates for hints
Closes IDF-5612
See merge request espressif/esp-idf!19227
2022-08-18 22:38:33 +08:00
Mahavir Jain
a2f028abe7
Merge branch 'feature/app_metadata_to_esp_system' into 'master'
...
app_update: Moved app metadata to new component `esp_app_format`
Closes IDF-4808
See merge request espressif/esp-idf!18862
2022-08-18 21:51:32 +08:00
simon.chupin
cc1eb81b2e
tools: add support of templates for hints
2022-08-18 13:37:32 +02:00
Fu Hanxi
52b4e57db7
ci: remove unused check_build_warnings script
2022-08-18 15:55:08 +08:00
Fu Hanxi
2a13d29759
ci: ignore partition nearly full warning
2022-08-18 15:51:49 +08:00
morris
5b48a33ad5
Merge branch 'feature/use_esp_jpeg_for_example' into 'master'
...
examples/tjpgd: Use esp_jpeg component in tjpgd and SPI examples
Closes IDF-5652
See merge request espressif/esp-idf!19464
2022-08-18 14:42:20 +08:00
Fu Hanxi
f10e6145dc
ci: simplify the python env to idf venv only
2022-08-18 11:40:22 +08:00
Fu Hanxi
e7bcecb8b5
ci: improve requirements ci/ttfw files
2022-08-18 11:39:11 +08:00
morris
31d4ab6e04
Merge branch 'bugfix/mcpwm_operator_naming_issue_with_cxx' into 'master'
...
mcpwm: don't use keyword operator
Closes IDFGH-8000
See merge request espressif/esp-idf!19581
2022-08-18 10:56:15 +08:00
David Čermák
8033878507
Merge branch 'bugfix/esp_netif_remove_slip' into 'master'
...
esp_netif: Migrate SLIP interface to user-space
Closes IDF-5678
See merge request espressif/esp-idf!19202
2022-08-18 03:53:30 +08:00
Vilem Zavodny
a00e8771a7
tjpgd: Remove ROM patches and tests.
2022-08-17 14:42:45 +02:00
morris
2c5a866ea3
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
Laukik Hase
0071ea498f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-17 10:59:31 +05:30
Anton Maklakov
453300490f
Merge branch 'contrib/github_pr_9563' into 'master'
...
Add git-lfs to docker container (GitHub PR)
Closes IDFGH-8060
See merge request espressif/esp-idf!19579
2022-08-17 09:33:28 +08:00
David Cermak
83b8556f10
esp_netif: Migrate SLIP interface to user-space
2022-08-16 14:08:15 +00:00
Mahavir Jain
6c2c05e8a0
Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
...
Push out esp-cryptoauthlib to component manager
See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
Tim Pambor
dba5ff8b3a
Add git-lfs to docker container
2022-08-16 09:33:31 +02:00
Jiang Jiang Jian
10330d153c
Merge branch 'ci/add_integration_test_env' into 'master'
...
CI: add integration test env
Closes TRM-82 and TRM-83
See merge request espressif/esp-idf!19368
2022-08-16 12:14:19 +08:00
Michael (XIAO Xufeng)
746f4b814c
uart: move frequency of clock sources out of HAL
2022-08-15 18:55:43 +00:00
Roland Dobai
f8bcec07fa
Merge branch 'fix/idf_py_logging' into 'master'
...
Tools: Fix idf.py hints to be enabled all the time and being able to disable them
See merge request espressif/esp-idf!19542
2022-08-15 22:36:15 +08:00
Roland Dobai
bd5e999408
Merge branch 'fix/idf_hints_errors_in_name' into 'master'
...
Tools: Correct idf.py hints for possible syntax errors
Closes IDF-5745
See merge request espressif/esp-idf!19545
2022-08-15 22:21:54 +08:00
Roland Dobai
8649afb0ae
Merge branch 'feature/add_hints_for_freertos_breaking_changes' into 'master'
...
hints: added compilation hints for FreeRTOS breaking changes
See merge request espressif/esp-idf!19539
2022-08-15 21:38:31 +08:00
Roland Dobai
24e63fd2c0
Merge branch 'feature/test_idf_tools_artifact_logs' into 'master'
...
Tools: Added test_idf_tools_python_env output log file
See merge request espressif/esp-idf!19518
2022-08-15 19:06:56 +08:00
Roland Dobai
152ce8884b
Tools: Fix idf.py hints to be enabled all the time and being able to disable them
2022-08-15 13:01:39 +02:00
Sudeep Mohanty
f6d9617b28
hints: added compilation hints for FreeRTOS breaking changes
2022-08-15 12:48:51 +02:00
Roland Dobai
50819ca05a
Merge branch 'feat/pytest_monitor_ide_integration' into 'master'
...
CI: Migrate monitor IDE integration test to pytest
Closes IDFCI-1383
See merge request espressif/esp-idf!19224
2022-08-15 14:40:43 +08:00
Marek Fiala
24fc499b6c
Tools: Added test_idf_tools_python_env output log file
2022-08-14 00:28:16 +02:00
Roland Dobai
571a074dd9
Merge branch 'fix/flake8_v5_warnings' into 'master'
...
Tools: Fix flake8 version 5 warnings
See merge request espressif/esp-idf!19488
2022-08-12 23:27:14 +08:00
Roland Dobai
23441c2102
Tools: Correct idf.py hints for possible syntax errors
2022-08-12 16:50:30 +02:00
Roland Dobai
8c10a14782
Merge branch 'refactor/remove_dependency_on_future' into 'master'
...
Remove the dependency on the future package
See merge request espressif/esp-idf!18925
2022-08-12 21:38:35 +08:00
Roland Dobai
e6259117cf
Merge branch 'feature/update-gdb-to-11.2_20220808' into 'master'
...
tools: update gdb version to '11.2_20220808'
Closes IDFGH-8012
See merge request espressif/esp-idf!19452
2022-08-12 17:44:58 +08:00
Roland Dobai
c896a62e28
Merge branch 'fix/idf_py_missing_component_man' into 'master'
...
Tools: Detect missing component manager and print proper error message
See merge request espressif/esp-idf!19435
2022-08-12 16:58:54 +08:00
Roland Dobai
bab3830797
Tools: Fix flake8 version 5 warnings
2022-08-12 08:13:13 +00:00
Roland Dobai
656936d32a
Merge branch 's3_sysview_irq_names' into 'master'
...
Fix ESP32-S3 interrupt names used by SystemView
See merge request espressif/esp-idf!19373
2022-08-12 16:01:19 +08:00
Mahavir Jain
42b4601039
tools: add hint for using esp-cryptoauthlib from manager
2022-08-12 11:27:22 +05:30
Mahavir Jain
1edc761ef2
cleanup remaining references for esp-cryptoauthlib
2022-08-12 11:25:29 +05:30
Armando (Dou Yiwen)
cdd50aff1a
Merge branch 'docs/add_migration_notes_about_removing_esp_adc_cal_component' into 'master'
...
Docs: add migration notes / hints about removing esp adc cal component
See merge request espressif/esp-idf!19392
2022-08-12 10:52:40 +08:00
Roland Dobai
8bfec98dce
Merge branch 'feat/tools_upgrade_pip' into 'master'
...
Tools: Upgrade pip and setuptools if venv is not able
See merge request espressif/esp-idf!19495
2022-08-11 22:06:44 +08:00
Erhan Kurubas
66e3a6f6a3
esp32s3: fix interrupt names used by SystemView
2022-08-11 11:23:03 +02:00
Erhan Kurubas
f8d439dee3
replace CAN with TWAI in the esp_isr_names table
2022-08-11 11:23:03 +02:00
Tomas Rezucha
71566c4d7e
Merge branch 'feature/usb_device/pytests' into 'master'
...
tinyusb: Add TinyUSB example tests
See merge request espressif/esp-idf!19194
2022-08-11 17:17:34 +08:00
Roland Dobai
cacd27f93e
Merge branch 'staging/add_hints_esp_system' into 'master'
...
Build: add hints for the breaking changes of esp_system related components
Closes IDF-5757
See merge request espressif/esp-idf!19499
2022-08-11 15:51:19 +08:00
Sachin Parekh
3a050cde26
Merge branch 'fix/s3_world_controller_headers' into 'master'
...
esp32s3: Update world controller headers
Closes IDF-5648
See merge request espressif/esp-idf!19219
2022-08-11 13:38:53 +08:00
morris
6aa08af572
Merge branch 'bugfix/remove_format_warnings_in_driver' into 'master'
...
driver: remove -Wno-format flag
Closes IDF-5764
See merge request espressif/esp-idf!19401
2022-08-11 12:19:50 +08:00
Omar Chebib
49613ab832
Build: add hints for the breaking changes of esp_system related components
2022-08-11 11:35:04 +08:00
Armando
d792b49804
idf.py hints: add build error hints when legacy adc calibration driver is used
2022-08-11 11:26:20 +08:00
Ivan Grokhotkov
afc6fba7f5
Merge branch 'bugfix/exclude_component_dirs_pacman' into 'master'
...
build: fix excluded components being passed to component manager
Closes PACMAN-422
See merge request espressif/esp-idf!19443
2022-08-11 01:10:17 +08:00
Tomas Rezucha
d777b790d0
tinyusb: Add TinyUSB example tests
2022-08-10 14:51:18 +02:00
Roland Dobai
03bce377c8
Merge branch 'feature/update-toolchain-to-esp-2022r1-11.2.0' into 'master'
...
tools: update toolchain version to 'esp-2022r1-11.2.0'
Closes GCC-264
See merge request espressif/esp-idf!19151
2022-08-10 20:36:22 +08:00
Roland Dobai
e6c313b5f0
Tools: Upgrade pip and setuptools if venv is not able
...
venv upgrades pip and setuptools by the --upgrade-deps option available
since Python 3.9. This commit adds manual upgrade for Pythons 3.7 and 3.8.
2022-08-10 14:04:14 +02:00
Sachin Parekh
41c5359703
esp32s3: Update world controller headers
2022-08-10 07:22:02 +00:00
Laukik Hase
f887922cf4
protocols/provisioning: Added hints for breaking changes
...
- For migrating from ESP-IDF v4.4.x to v5.0
2022-08-10 10:39:54 +05:30
Roland Dobai
887368e7b3
CI: Migrate monitor IDE integration test to pytest
2022-08-09 18:09:56 +02:00
Wang Yuan Ze
debf2c0b70
Merge branch 'test/move_touch_related_unit_tests_to_test_apps' into 'master'
...
test: move touch related unit tests to test apps
Closes IDFCI-1283, IDFCI-1156, and IDF-5766
See merge request espressif/esp-idf!19348
2022-08-09 23:15:18 +08:00
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
Roland Dobai
e2abad6db9
Merge branch 'feature/add-esp-hw-support-breaking-change-hints' into 'master'
...
system/esp_hw_support: Added hints for breaking changes
Closes IDF-5758
See merge request espressif/esp-idf!19388
2022-08-09 21:40:38 +08:00
Roland Dobai
0b2acbf974
Merge branch 'feature/system_migration_hints' into 'master'
...
idf.py hints: added hints for misc system breaking changes.
Closes IDF-5759
See merge request espressif/esp-idf!19390
2022-08-09 21:26:58 +08:00
Guillaume Souchere
dfcd7c3b88
esp_hw_support: add hints for breaking changes.
...
hints are added:
- to indicate that esp_cpu_ccount_t must be replaced by esp_cpu_cycle_count_t
- to indicate that esp_cpu_get/set_ccount must be replaced by esp_cpu_get/set_cycle_count
- to indicate that soc/cpu.h and compare_set.h were removed and user must include esp_cpu.h instead
- to indicate that esp_intr.h was removed and user must include esp_intr_alloc.h instead
- to indicate that esp_panic.h was made private and user must use the functionalities from esp_debug_helper.h instead
- to indicate that spilock.h, clk_ctrl_os.h and rtc_wdt.h must be included without the soc/
- to indicate that soc_log.h was renamed esp_hw_log.h and made private
2022-08-09 07:15:57 +02:00
Alexey Lapshin
2bfffa68ca
tools: update gdb version to '11.2_20220808'
...
Closes https://github.com/espressif/esp-idf/issues/9522
2022-08-08 22:04:11 +04:00
Roland Dobai
311ab428c7
Merge branch 'bugfix/idf_py_gdb_s3_c3' into 'master'
...
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3
See merge request espressif/esp-idf!19418
2022-08-08 22:53:39 +08:00
Roland Dobai
e07497a1b2
Merge branch 'bugfix/hints_dir_regex' into 'master'
...
idf.py hints: fix header not found regex to also match headerpaths with path seperator
See merge request espressif/esp-idf!19400
2022-08-08 22:41:12 +08:00
Chen Yudong
38bd98acf0
CI: add integration test env
2022-08-08 22:07:40 +08:00
wangyuanze
b239b03aa7
touch_element: move unit tests to test_app
2022-08-08 19:12:56 +08:00
Ivan Grokhotkov
3b7eee3978
build: fix excluded components being passed to component manager
...
`__COMPONENT_TARGETS` is evaluated very early when components and
component directories are added to the build, which means that all
components (including the ones which are in EXCLUDE_COMPONENTS) have
a build system target defined. The component manager was given the
list of all known components (derived from the list of targets), not
the list of components after EXCLUDE_COMPONENTS were processed.
Because of that, EXCLUDE_COMPONENTS didn't effectively exclude the
component from the consideration of the component manager.
2022-08-08 13:09:20 +02:00
morris
d91c8759c0
driver: remove -Wno-format flag
2022-08-08 08:30:09 +00:00
Roland Dobai
abd754f487
Tools: Detect missing component manager and print proper error message
2022-08-08 09:43:31 +02: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
Guillaume Souchere
16c2cb3f1b
Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
...
heap: Remove TLSF related files and replace them with the TLSF submodule
Closes IDF-4967
See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
Ivan Grokhotkov
d366664b0d
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3
...
Since both chips have built-in JTAG functionality, and there are no
official boards with FT2232H for these chips, use the built-in JTAG
by default.
To use them with esp-prog, set:
OPENOCD_COMMANDS="-f board/esp32c3-ftdi.cfg"
or pass this via the --openocd-commands argument to idf.py.
2022-08-05 18:22:30 +02:00
jingli
ee3423834e
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-05 19:12:29 +08:00
Marius Vikhammer
dec246af1f
idf.py hints: fix header not found regex to also match headerpaths with path seperator
2022-08-05 11:07:48 +08:00
Ivan Grokhotkov
012fafb827
versions: Update version to 5.1.0
2022-08-04 09:55:43 +02:00
Marius Vikhammer
5beea010e2
idf.py hints: added hints for misc system breaking changes.
2022-08-04 15:34:15 +08:00
Marius Vikhammer
bc08de5f46
Merge branch 'feature/ulp_test_app' into 'master'
...
ulp: migrate tests to pytest embedded
Closes IDF-5605
See merge request espressif/esp-idf!19342
2022-08-04 09:12:56 +08:00
Alexey Lapshin
03ce915668
build system: re-add -Wno-format as private flag for some test_apps
2022-08-03 16:42:47 +04:00
Alexey Lapshin
d10d57a597
build system: remove -Wno-format global option
2022-08-03 16:42:47 +04:00
morris
38264f0812
Merge branch 'bugfix/kconfig_allow_pain_comment' into 'master'
...
kconfig: support plain comment in the menu
See merge request espressif/esp-idf!19345
2022-08-03 19:43:43 +08:00
Omar Chebib
b2eb0e16d4
Merge branch 'bugfix/TWDT_link_interruptee_stack' into 'master'
...
Task WDT: Interuptee task stack is now used for backtracing
Closes IDF-4976
See merge request espressif/esp-idf!19026
2022-08-03 18:23:28 +08:00
morris
104bd44377
kconfig: support plain comment in the menu
2022-08-03 17:03:54 +08:00
morris
307d26659e
Merge branch 'bugfix/rmt_hw_issue' into 'master'
...
rmt: only use register to control the IDLE state (hardware issue workaround)
See merge request espressif/esp-idf!19344
2022-08-03 17:01:44 +08:00
Shubham Kulkarni
7bfb89e3b3
Merge branch 'feature/custom_partition_subtypes' into 'master'
...
gen_esp32part.py: Support custom partition types
See merge request espressif/esp-idf!18656
2022-08-03 16:43:57 +08:00
Konstantin Kondrashov
e57257a6db
Merge branch 'feature/adds_efuse_hdr' into 'master'
...
efuse: Adds missing header
Closes IDF-5734
See merge request espressif/esp-idf!19328
2022-08-03 13:43:44 +08:00
Shubham Kulkarni
24f9e348c9
test_apps: Add a test to verify working of custom partition subtypes
2022-08-03 05:18:37 +00:00
Shubham Kulkarni
b6d69840e8
partition_table: Support registering custom subtypes
2022-08-03 05:18:37 +00:00
Shu Chen
e380704731
Merge branch 'feature/otbr-nat64' into 'master'
...
openthread: add NAT64 and DNS64 support
See merge request espressif/esp-idf!18708
2022-08-03 12:01:23 +08:00
morris
8de9fd8cd7
rmt: only use register to control IDLE state
...
hardware issue: we can't control the IDLE level by the stop item
when loop transmission is enabled.
But we can always control the IDLE state by register.
2022-08-03 10:51:43 +08:00
Marius Vikhammer
035924a8f1
ulp: migrate tests to pytest embedded
2022-08-03 09:36:17 +08:00
Ivan Grokhotkov
f332790af5
Merge branch 'feature/update-gdb-to-11.2_20220729' into 'master'
...
tools: update gdb version to '11.2_20220729'
Closes IDFGH-7851
See merge request espressif/esp-idf!19293
2022-08-02 23:59:19 +08:00
KonstantinKondrashov
3f6a1625bb
efuse: Adds missing header
2022-08-02 22:43:12 +08:00
Ivan Grokhotkov
a0689f0434
Merge branch 'feature/format-hint' into 'master'
...
Tools: Add hint to resolve [u]int32_t formatting errors
See merge request espressif/esp-idf!19296
2022-08-02 22:41:06 +08:00
Guillaume Souchere
3737bf8322
heap: Remove TLSF related files and replace them with the tlsf submodule
...
As the tlsf implementation is a fork from https://github.com/mattconte/tlsf ,
the sources are moved to a separate repository and used as a submodule in the esp-idf instead.
In this commit:
- Removing TLSF related files and using tlsf submodule instead.
- Adding components/heap/tlsf_platform.h header gathering all IDF specifics.
- The multi_heap_poisoning.c provides the declaration of the
function block_absorb_post_hook() definied weak in the TLSF repository.
- The tlsf_platform.h includes the tlsf_common.h file after the definition
of FL_INDEX_MAX_PLATFORM macro to make sure that this macro will be available
in tlsf_common.h without having to include tlaf_platform.h from IDF in the
tlsf_common.h header from the TLSF repository.
- Add missing include from tlsf_block_functions.h in the multi_heap.c file.
Change related to the changes made in TLSF repository (tlsf_block_functions.h
no longer included in tlsf.h)
2022-08-02 12:55:31 +02:00
Alexey Lapshin
5fb109f2e8
Tools: Add hint to resolve [u]int32_t formatting errors
2022-08-02 12:45:10 +04:00
Fu Hanxi
f315986401
Merge branch 'feat/add_ci_related_requirements_txt' into 'master'
...
Feat/add ci related requirements txt
Closes IDF-4590 and IDFCI-1389
See merge request espressif/esp-idf!19246
2022-08-02 15:49:36 +08:00
Omar Chebib
2f7bae7a6e
Task WDT: add a panic test case for to test panic on both CPU cores
2022-08-02 12:41:14 +08:00
Fu Hanxi
7720e348c2
Merge branch 'ci/system_apps_pytest' into 'master'
...
ci: migrate system flash_psram test app to pytest
Closes IDFCI-1141
See merge request espressif/esp-idf!19161
2022-08-01 16:45:09 +08:00
Fu Hanxi
17e312f87b
docs: improve the installation instructions
2022-08-01 15:52:21 +08:00
Fu Hanxi
d0a2849b02
feat: add requirements.ttfw.txt
2022-08-01 15:52:21 +08:00
Fu Hanxi
01baaf33ed
feat: add requirements.ci.txt
2022-08-01 15:49:15 +08:00
Fu Hanxi
742663dd9b
feat: add requirements.docs.txt
2022-08-01 15:49:15 +08:00
Jiang Jiang Jian
b885499c74
Merge branch 'refactor/move_common_adc_part_to_hw_support' into 'master'
...
esp_adc: move esp_adc out of g1 dependency list
Closes IDF-5637
See merge request espressif/esp-idf!19159
2022-08-01 15:39:45 +08:00
Jiacheng Guo
905856a054
openthread: add NAT64 and DNS64 support
...
* Add required configs and headers for NAT64 and DNS64
* Add hook for DNS name resolution
* Add NAT64 and DNS64 example commands
2022-08-01 15:31:49 +08:00
Roland Dobai
592afea93e
Merge branch 'ci/lift_restriction_on_ttfw_idf' into 'master'
...
ci: lift the restriction on pygdbmi in ttfw_idf
See merge request espressif/esp-idf!18982
2022-08-01 14:55:04 +08:00
Ivan Grokhotkov
0d4a533b74
Merge branch 'bugfix/usb_console_reset' into 'master'
...
esp_system: usb_console: fix restart when Wi-Fi is working
Closes IDFGH-5683
See merge request espressif/esp-idf!19289
2022-08-01 13:36:44 +08:00
Kevin (Lao Kaiyao)
6658b7eb0a
Merge branch 'feature/setup_target_test_for_c2_26m' into 'master'
...
ci: setup 26mhz esp32c2 runner
Closes IDF-5526
See merge request espressif/esp-idf!19032
2022-08-01 11:54:09 +08:00
Wan Lei
1265a2db9d
Merge branch 'refactor/add_missing_include_path_for_soc_struct_files' into 'master'
...
Fix check_public_headers violations for soc component
Closes IDF-5397
See merge request espressif/esp-idf!19158
2022-08-01 10:14:04 +08:00
Wu Zheng Hui
7c17a04733
Merge branch 'feature/optimize_chips_memory_allocation' into 'master'
...
system: Optimize chips bootloader and heap memory allocation
Closes IDF-4585 and IDF-4299
See merge request espressif/esp-idf!18807
2022-08-01 10:11:01 +08:00
Alexey Lapshin
f44196c46b
tools: update gdb version to '11.2_20220729'
...
Closes https://github.com/espressif/esp-idf/issues/9379
2022-07-29 13:47:34 +04:00
laokaiyao
4ab8f00b47
ci: setup 26mhz esp32c2 runner
2022-07-29 17:10:34 +08:00
wuzhenghui
7cb9304b65
Clean IRAM and DRAM address space conversion macros
2022-07-29 17:07:39 +08:00
David Čermák
fdfda6e064
Merge branch 'feat/add_netif_dependency_test' into 'master'
...
esp_netif/ci: Add test to verify dependencies to/from lwip/drivers
See merge request espressif/esp-idf!19179
2022-07-29 13:18:12 +08:00
Aleksei Apaseev
22f65d961f
ci: lift the restriction on pygdbmi in ttfw_idf
2022-07-29 11:24:12 +08:00
wanlei
bb5a95f1aa
soc: fix register header files not self-contain
2022-07-29 11:18:06 +08:00
Ivan Grokhotkov
bf10146a15
esp_system, vfs: fix incomplete blocking reads in vfs_cdcacm
...
Blocking read from cdcacm VFS could return less bytes than requested.
This didn’t match the behaviour of other VFS drivers, and higher level
code could misbehave.
2022-07-28 17:28:08 +02:00
yuanjm
66e0171c42
test: Add mqtt5 unit-test
2022-07-28 06:24:43 +00:00
Armando
4f80c0f27e
esp_adc: remove esp_adc from g1 component dependencies
2022-07-28 03:49:48 +00:00
Armando
5e6a16380a
esp_adc: move adc common hw related code into esp_hw_support
2022-07-28 03:49:48 +00:00
laokaiyao
ba235c5615
ci: add xtal_40mhz tag for c2 tests
2022-07-28 02:02:18 +00:00
Roland Dobai
9b87390daf
Merge branch 'bugfix/fix_the_monitor_consol_problem' into 'master'
...
tools: Fix the monitor console problem
Closes IDF-5514 and IDFGH-7913
See merge request espressif/esp-idf!19129
2022-07-28 01:05:48 +08:00
morris
96c29841bb
Merge branch 'feature/mcpwm_new_driver' into 'master'
...
⛵ MCPWM Driver-NG
Closes IDF-2471, IDF-2895, IDF-20, and IDF-3945
See merge request espressif/esp-idf!11480
2022-07-27 19:25:06 +08:00
simon.chupin
5468d79382
tools: fix idf.py monitor consol problem
...
Closes https://github.com/espressif/esp-idf/issues/9432
2022-07-27 08:35:30 +00:00
Ivan Grokhotkov
0330e952d1
Merge branch 'feature/add-wl-support-fatfsparse' into 'master'
...
fatfsparse.py: Add support for WL
Closes IDF-4994 and IDF-5522
See merge request espressif/esp-idf!18760
2022-07-27 16:01:02 +08:00
morris
1557a533fe
example: update servo example with new driver API
2022-07-27 15:22:24 +08:00
morris
938b3d717f
example: update bdc speed control example with new driver API
2022-07-27 15:22:24 +08:00
Fu Hanxi
eb3be68b2a
ci: fix syntax error
2022-07-27 11:11:09 +08:00
Fu Hanxi
f5cbe88c22
ci: fix no subtyping for type annotation in python3.7
...
https://peps.python.org/pep-0544/
2022-07-27 11:11:09 +08:00
Roland Dobai
2cf1370115
Merge branch 'refactor/add_python_types_hints_to_ci' into 'master'
...
ci: Add python types hints
See merge request espressif/esp-idf!18726
2022-07-26 21:52:17 +08:00
Martin Gaňo
2ddcda29b3
fatfsparse.py: Add support for WL
2022-07-26 14:50:07 +02:00
Marius Vikhammer
c2a5f48498
ci: migrate system test apps to pytest
2022-07-26 11:47:28 +08:00
Anton Maklakov
5d80b1295f
tools: update toolchain version to 'esp-2022r1-11.2.0'
...
Closes https://github.com/espressif/esp-idf/issues/6113
2022-07-26 10:31:15 +07:00
Fu Hanxi
7ed174aee0
Merge branch 'ci/fix_wrongly_cleanup_preserve_dirs' into 'master'
...
ci: fix cleanup bin wrongly when extra_preserve_dir equals to the app dir
See merge request espressif/esp-idf!19214
2022-07-26 10:35:09 +08:00
David Cermak
9806dff253
esp_netif/ci: Add test to verify dependencies to/from lwip/drivers
2022-07-25 16:58:05 +02:00
Roland Dobai
0f08d4050d
Merge branch 'feat/add_hints' into 'master'
...
Tools: Add more hint examples on how to resolve breaking changes of v5.0
See merge request espressif/esp-idf!19178
2022-07-25 16:04:32 +08:00
Fu Hanxi
59cc82349a
ci: fix cleanup bin wrongly when extra_preserve_dir equals to the app dir
2022-07-25 15:54:54 +08:00
Chen Jian Xing
feefe820a4
Merge branch 'bugfix/esp32c2_coex_timer_clk_src' into 'master'
...
esp_wifi: select slowclk as coex hardware timer source on esp32c2
See merge request espressif/esp-idf!19170
2022-07-23 11:37:35 +08:00
simon.chupin
819d5a2b61
ci: Add python types hints
2022-07-22 21:15:01 +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
liuning
bc2f2a3100
esp_wifi: select slowclk as coex hardware timer source on esp32c2
2022-07-22 21:44:11 +08:00
Roland Dobai
6928d1f3ec
Tools: Add more hint examples on how to resolve breaking changes of v5.0
2022-07-22 13:47:31 +02:00
Armando (Dou Yiwen)
1fc4d2b598
Merge branch 'bugfix/remove_psram_dependency_in_idf_as_lib_example' into 'master'
...
idf_as_lib: remove dependency to esp_psram
Closes IDF-5238
See merge request espressif/esp-idf!18992
2022-07-22 13:17:08 +08:00
morris
c4e84751a5
driver: fix public header exceptions for driver
2022-07-22 00:12:36 +00:00
morris
741b031e83
soc: added SOC_TOUCH_SENSE_SUPPORTED macro
2022-07-22 00:12:36 +00:00
Guillaume Souchere
50a58b4a83
esp_hw_support: Fix formatting of intr_alloc.h and test_panic.c
2022-07-22 00:06:06 +08:00
Guillaume Souchere
dcae121d80
hal: Deprecate soc_hal.h and soc_ll.h interface
...
This commit marks all functions in soc_hal.h and soc_ll.h as deprecated.
Users should use functions from esp_cpu.h instead.
Also added missing wrap funcions for esp_cpu_stall() in test_panic.c files.
2022-07-22 00:06:06 +08: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
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Jiang Jiang Jian
cf5b097c88
Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
...
system/sleep: further fix spi flash/ram current leakage
Closes IDF-4720
See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Roland Dobai
0406fe819a
Merge branch 'bugfix/fix_test_cmake_warning_full' into 'master'
...
CI: Fix the test "smallest partition is nearly full"
See merge request espressif/esp-idf!19156
2022-07-21 19:09:29 +08:00
Simon
62bc3348d5
Merge branch 'ci/flash_encryption_test' into 'master'
...
flash_encryption: Add several test environments for flash encryption test
Closes IDF-5530
See merge request espressif/esp-idf!19043
2022-07-21 18:38:18 +08:00
laokaiyao
edee3ee3cd
i2s: add slot sequence table
...
Closes: https://github.com/espressif/esp-idf/issues/9208
When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb
i2s: add basic examples for STD/TDM/PDM mode
2022-07-21 15:52:39 +08:00
Omar Chebib
4e7ba0f8bd
CI: Fix the test "smallest partition is nearly full"
...
This test will not fail anymore if the binary size is bigger than 170K.
2022-07-21 15:49:20 +08:00
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
morris
8944479bcd
Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
...
⛵ SDM Driver-NG (Sigma-Delta channel allocator)
Closes IDF-5261 and IDF-2877
See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
David Čermák
e7ccaaf9ca
Merge branch 'feature/update_mqtt_client' into 'master'
...
[MQTT] - Updates esp_mqtt configuration struct
See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Ivan Grokhotkov
e56b1fd59d
Merge branch 'feature/unity_runner_get_test_list' into 'master'
...
unity: expose some internal functions to allow iterating over tests
See merge request espressif/esp-idf!19056
2022-07-20 16:57:49 +08:00
Roland Dobai
9012e7b59f
Merge branch 'bugfix/fix_NotImplementedError_on_windows_by_updating_error_msg' into 'master'
...
tools: Improve the error message for handling NotImplementedError on Windows
See merge request espressif/esp-idf!19097
2022-07-20 16:48:40 +08:00
Roland Dobai
39a0925836
Merge branch 'contrib/github_pr_9385' into 'master'
...
Tools: Avoid the crash of IDF Monitor when it is run without an ELF file
Closes IDFGH-7859
See merge request espressif/esp-idf!19141
2022-07-20 16:46:12 +08:00
morris
edb5600348
sdm: refactor example with new driver
2022-07-20 14:59:50 +08:00
morris
4154eaec93
sdm: clean up soc/hal/ll code
2022-07-20 14:59:50 +08:00
morris
9e532696f4
pcnt: add const qualifier to event data
2022-07-20 14:59:50 +08:00
Cao Sen Miao
e69f658ac6
flash_encryption: Add several test environments for flash encryption test
2022-07-20 12:49:42 +08:00
morris
bec44ca2e9
gptimer: test on c2 with xtal 26mhz
2022-07-20 04:40:28 +00:00
GengYuchao
fd055d3ba6
Fix example after removing API esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +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
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
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
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
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
Roland Dobai
b738953e90
Tools: Improve the message for missing setuptools in the Python checker
2022-07-18 11:56:32 +02: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
7bab78014f
fix: run_cmd
2022-07-18 09:10:33 +08:00
David Čermák
1334011d4f
Merge branch 'bugfix/transport_foundation_intialization' into 'master'
...
tcp_transport: Fix initialition of transport
See merge request espressif/esp-idf!17869
2022-07-16 16:28:49 +08:00
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Chen Yu Dong
309440c687
Merge branch 'bugfix/update_get_ip_for_multiple_interfaces' into 'master'
...
ci: Fix wifi and ethernet test cases
See merge request espressif/esp-idf!18733
2022-07-15 22:07:48 +08:00
Alexey Lapshin
868baf76f3
tools: update gdb version to '11.2_20220715'
2022-07-15 14:59:39 +04:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00
songruojing
145454356b
gpio: Fix ESP32S3 GPIO48 does not support hold function bug
...
GPIO_HOLD_MASK array was missing the last item
Add __Static_assert to check array sizes for all gpio_periph.c files to prevent same mistake in the future.
2022-07-15 16:51:25 +08:00
songruojing
0c4b9a0101
gpio: Fix HAL bad bit shift operation on gpio_num_t reported from coverity
...
All gpio hal and ll functions input arguments gpio_num_t are changed to uint32_t type.
Validation of gpio num should be guaranteed from the driver layer.
2022-07-15 16:51:25 +08:00
Chen Yudong
d54e1e8379
CI: make sure that reading of the ipv4 address has finished
2022-07-15 14:21:39 +08:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
David Čermák
1a7dfa42e6
Merge branch 'bugfix/cpp_include_fix_newlib_net_if_h' into 'master'
...
Add C++ include guard to if.h (to fix linker errors in asio) (GitHub PR)
Closes IDFGH-7718
See merge request espressif/esp-idf!18850
2022-07-15 13:16:47 +08:00
Ivan Grokhotkov
09c70d5781
unity: expose some internal functions to allow iterating over tests
2022-07-14 19:47:46 +02:00
Chen Yudong
472ac26712
CI: update test cases to use different environment variables
...
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Chen Yudong
5d0302e49f
CI: add some common test methods
2022-07-15 01:16:35 +08:00
Chen Yudong
bf0e4943be
common_components: add wifi connect console commands
2022-07-15 01:16:27 +08:00
Roland Dobai
958819323d
Merge branch 'feat/tools_python_constraints_env' into 'master'
...
Tools: Disable Python constraint files with environment variable
Closes IDFGH-7722
See merge request espressif/esp-idf!18830
2022-07-14 23:05:22 +08:00
Ivan Grokhotkov
8870ffc6e1
ci: allow running check-readmes pre-commit hook without IDF_PATH set
...
... which may happen when making a git commit using a GUI tool.
2022-07-14 16:32:20 +02:00
Fu Hanxi
9653af8d04
Merge branch 'ci/cache_submodules' into 'master'
...
CI: cache submodules
Closes IDFCI-1158
See merge request espressif/esp-idf!19009
2022-07-14 20:34:34 +08:00
Euripedes Rocha
5778a7c726
[tcp_transport] Fix initialition of transport
...
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-07-14 12:29:58 +00:00
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
Roland Dobai
de37f9dc33
Tools: Disable Python constraint files with environment variable
...
Constraint files can be disabled with environment variable as well which
is useful when one uses the install/export scripts instead of
idf_tools.py directly. This is option is useful for offline build as
well.
Closes https://github.com/espressif/esp-idf/issues/9263
2022-07-14 11:25:29 +02:00
David Cermak
adb79a4852
newlib: Fix header issues with C++ guards and implicit inclusion
...
* Added C++ sentinels if missed
* Used #pragma once, removed macro's with leading underscores
* Updated copyright checker to allow "BSD-2-Clause-FreeBSD AND
Apache-2.0" for newlib files
* Fixed minor compilation issues/implicit inclusions
2022-07-14 08:32:04 +02:00
Fu Hanxi
6d8ebacb8a
ci: check .patterns-submodule in pre-commit
2022-07-14 14:08:16 +08:00
Fu Hanxi
62ca8e2fb4
ci: cache submodules
2022-07-14 14:08:16 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Fu Hanxi
97132c40fd
ttfw: mock missing packages while search cases
2022-07-14 08:26:01 +08:00
Fu Hanxi
c9b73a554e
ttfw: record test script path in case_info
2022-07-14 08:26:01 +08:00
Fu Hanxi
f7a0e0cb5c
ci: raise ImportError when search case failed instead of print the error
2022-07-14 08:26:01 +08:00
Fu Hanxi
d1bf62b0e7
ci: fix the bug that would modify constants.SUPPORTED_TARGETS
2022-07-14 08:26:01 +08:00
Dmitry Bondarenko
d79b09fda2
Add SPDX license check
2022-07-13 17:51:13 +03:00
Laukik Hase
aa30b2ddbe
esp_local_ctrl/scripts: Removed python2 compatibility
2022-07-13 17:58:40 +05:30
Aditya Patwardhan
1e90632639
esp_local_ctrl/scripts: Update the script to use async methods
2022-07-13 17:30:06 +05:30
Jakob Hasse
bd67a410f6
Merge branch 'feature/docker_add_ruby_bsd' into 'master'
...
feat (cmock): add ruby and libbsd-dev to docker image
See merge request espressif/esp-idf!19016
2022-07-13 17:55:59 +08:00
Mahavir Jain
20e21fb29d
Merge branch 'refactor/remove_rom_deps' into 'master'
...
RFC: remove dependency to target-specific ROM headers
Closes IDF-1968
See merge request espressif/esp-idf!18206
2022-07-13 16:44:44 +08:00
Jakob Hasse
c8f28dc57f
feat (cmock): add ruby and libbsd-dev to docker image
...
Closes https://github.com/espressif/esp-idf/issues/9342
2022-07-13 16:02:15 +08:00
Jiang Jiang Jian
b610b47a83
Merge branch 'feature/esp32s3_memprot_additional_improvements' into 'master'
...
[System/Security] Memprot after-merge improvements (v5.0)
Closes IDF-5263 and IDF-5208
See merge request espressif/esp-idf!18893
2022-07-13 15:48:20 +08:00
morris
a6f32900e7
Merge branch 'feature/import_lib_example_refactor' into 'master'
...
examples: import_lib: demonstrate ExternalProject_Add
See merge request espressif/esp-idf!18764
2022-07-13 11:13:31 +08:00
Jakob Hasse
33a3616635
refactor (bootloader_support, efuse)!: remove target-specific rom includes
...
The following two functions in bootloader_support are private now:
* esp_secure_boot_verify_sbv2_signature_block()
* esp_secure_boot_verify_rsa_signature_block()
They have been moved into private header files
inside bootloader_private/
* Removed bootloader_reset_reason.h and
bootloader_common_get_reset_reason() completely.
Alternative in ROM component is available.
* made esp_efuse.h independent of target-specific rom header
2022-07-13 10:29:02 +08:00
Ivan Grokhotkov
94230777d9
examples: import_lib: simplify with fatfs partition generator
...
Instead of embedding the file and copying it to the FAT partition at
run time, generate the FAT partition with the file in it.
2022-07-12 15:04:28 +02:00
Ivan Grokhotkov
faa349b93f
global: remove tinyxml2 submodule
2022-07-12 15:04:28 +02:00
simon.chupin
cd10c328e5
tools: fix confserver out of limit error
...
Closes https://github.com/espressif/esp-idf/issues/9335
2022-07-12 11:27:03 +02:00
Roland Dobai
445e5ee685
Merge branch 'feature/oocd_ver_upgrade' into 'master'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706'
See merge request espressif/esp-idf!18926
2022-07-12 17:15:58 +08:00
Li Qi Gan
e58bb91c2f
Merge branch 'bugfix/fix_memory_leak_in_hidh' into 'master'
...
Fix memory leak in bt_hidh.c
Closes IDFGH-7786
See merge request espressif/esp-idf!18968
2022-07-12 15:51:56 +08:00
Marius Vikhammer
f463c42791
Merge branch 'bugfix/ringbuf_iram_fix' into 'master'
...
esp_ringbuf: placement in flash is no longer controlled by...
Closes IDFGH-7646
See merge request espressif/esp-idf!18774
2022-07-12 09:56:25 +08:00
Roland Dobai
e6a76c7e99
CI: Check file is executable if in the list of executables
2022-07-11 17:33:35 +02:00
Armando
082ee45a76
ci: remove mfix-esp32-psram-cache-issue flag test when building idf_as_lib
...
Previously psram driver was in esp_hw_support, which is a common
requirement(when in non-bootloader build). So when building
idf_as_lib (on esp32), the mfix-esp32-psram-cache-issue flag
will always be added (when CONFIG_SPIRAM_CACHE_WORKAROUND is on).
As psram driver is moved to esp_psram component, and esp_psram
is added via idf_component_optional_requires, which is a "weak"
dependency. You need to include esp_psram compoennt explicitly
if psram will be in use.
As idf_as_lib doesn't need psram, this test can be removed.
2022-07-11 21:44:44 +08:00
simon.chupin
09d15e5abc
tools: Change copyright in ci dir
2022-07-11 12:58:06 +00:00
Roland Dobai
21204e13e8
Merge branch 'bugfix/s3_dfu_tool' into 'master'
...
dfu: add esp32s3 to supported DFU targets for idf.py
See merge request espressif/esp-idf!18973
2022-07-11 18:57:41 +08:00
Song Ruo Jing
ea97cc93ea
Merge branch 'feature/c2_systimer_26mhz' into 'master'
...
esp32c2: 26 MHz XTAL support: Kconfig option, systimer support
Closes IDF-5412 and IDF-5413
See merge request espressif/esp-idf!18835
2022-07-11 16:17:25 +08:00
Marius Vikhammer
398df3b318
dfu: add esp32s3 to supported DFU targets for idf.py
2022-07-11 15:58:21 +08:00
liqigan
ea63a42f15
fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
...
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-11 14:30:00 +08:00
Ivan Grokhotkov
a1d7089b59
ci: add build-only test for esp32c2 with 26 MHz XTAL option enabled
2022-07-11 12:24:58 +08:00
Ivan Grokhotkov
5b54ae76d4
esp_timer, hal: add support for non-integer systimer frequency
...
When ESP32-C2 is paired with a 26 MHz XTAL, the systimer tick
frequency becomes equal to 26 / 2.5 = 10.4 MHz. Previously we always
assumed that systimer tick frequency is integer (and 1 MHz * power of
two, above that!).
This commit introduces a new LL macro, SYSTIMER_LL_TICKS_PER_US_DIV.
It should be set in such a way that:
1. SYSTIMER_LL_TICKS_PER_US / SYSTIMER_LL_TICKS_PER_US_DIV equals the
actual systimer tick frequency,
2. and SYSTIMER_LL_TICKS_PER_US is integer.
For ESP32-C2 this means that SYSTIMER_LL_TICKS_PER_US = 52 and
SYSTIMER_LL_TICKS_PER_US_DIV = 5.
This introduced two possible issues:
1. Overflow when multiplying systimer counter by 5
- Should not be an issue, since systimer counter is 52-bit, so
counter * 5 is no more than 55-bit.
2. The code needs to perform:
- divide by 5: when converting from microseconds to ticks
- divide by 52: when converting from ticks to microseconds
The latter potentially introduces a performance issue for the
esp_timer_get_time function.
2022-07-11 12:24:37 +08:00
Marius Vikhammer
fd37129651
esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
...
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
Closes https://github.com/espressif/esp-idf/issues/9198
2022-07-11 09:24:20 +08:00
Martin Vychodil
0c87ae2a91
System/Security: Memprot API unified (ESP32S3)
...
Added missing features and improvements
2022-07-09 22:57:51 +02:00
Djordje Nedic
0331d0aa63
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-08 13:22:35 +00:00
Jiang Jiang Jian
a7bf3af687
Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
...
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
Closes BT-2402
See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
Alexey Gerenkov
e1ba1ec99f
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706'
2022-07-07 20:17:05 +03:00
Jiang Jiang Jian
f0172d5ae0
Merge branch 'bugfix/fix_wrong_params_in_hidd' into 'master'
...
Fix wrong parameter of get_report_by_id_and_type in bt_hidd.c
See merge request espressif/esp-idf!18892
2022-07-08 01:10:20 +08:00
Darian
ceffde5cb6
Merge branch 'bugfix/coredump_shebang' into 'master'
...
espcoredump: Fix espcoredump.py shebang and file mode
See merge request espressif/esp-idf!18902
2022-07-07 19:20:15 +08:00
morris
75bd6fc2d9
Merge branch 'contrib/github_pr_9302' into 'master'
...
ESP32S3 USB external PHY pinout (GitHub PR)
Closes IDFGH-7761
See merge request espressif/esp-idf!18909
2022-07-07 16:17:26 +08:00
morris
b0e228f756
soc: update copyright for usb phy pins
2022-07-07 11:50:06 +08:00
Roland Dobai
12e8f0ba8c
Merge branch 'feature/auto_hints_with_ci_fix' into 'master'
...
idf.py: Add automated hints on how to resolve errors with fix for ci
Closes IDF-4511, IDF-4512, and IDF-4631
See merge request espressif/esp-idf!18759
2022-07-06 21:05:33 +08:00
Darian Leung
5de652bbe2
espcoredump: Fix espcoredump.py shebang and file mode
...
This commit adds back the shebang and executable file mode for
espcoredump.py
2022-07-06 21:03:11 +08:00
morris
a92cce9861
Merge branch 'bugfix/calib_i2c_clk' into 'master'
...
I2C: Make I2C clock frequency accurate
Closes IDF-5363
See merge request espressif/esp-idf!18686
2022-07-06 20:52:31 +08:00
Anton Maklakov
a5d6a93c3c
Merge branch 'bugfix/clang-tidy-for-esp32s3' into 'master'
...
tools: fix clang-tidy work for esp32s2 and esp32s3
Closes RDT-228 and IDFGH-7756
See merge request espressif/esp-idf!18773
2022-07-06 19:49:42 +08:00
wangmengyang
f86efb2bc2
fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3
2022-07-06 16:24:03 +08:00
Cao Sen Miao
e218723e0e
I2C: Make I2C clock frequency accurate
2022-07-06 11:58:08 +08:00
Marius Vikhammer
cf41c255bb
Merge branch 'bugfix/cache_disabled_log_c3' into 'master'
...
esp_hw_support: always inline cpu_hal_set_vecbase to avoid issues at -O0
See merge request espressif/esp-idf!18630
2022-07-06 09:55:20 +08:00
Jakob Hasse
5a3310ff3b
Merge branch 'refactor/remove_rom_deps_cache_lldesc' into 'master'
...
SOC: removed target-specific ROM dependencies
See merge request espressif/esp-idf!18705
2022-07-06 02:06:30 +08:00
David Čermák
8417079218
Merge branch 'component/asio_migration' into 'master'
...
ASIO: Remove internal component, examples, test and docs
Closes IDF-4625
See merge request espressif/esp-idf!18297
2022-07-05 21:26:48 +08:00
liqigan
2873cefe78
fix wrong params of get_report_by_id_and_type in bt_hidd.c
2022-07-05 20:50:11 +08:00
Jakob Hasse
f8b5ed5d6c
refactor (soc, esp_rom)!: removed target-specific ROM dependencies
2022-07-05 13:57:58 +08:00
xueyunfei
b569f4069a
bugfix for add ttl for ping socket
2022-07-05 11:37:41 +08:00
Marius Vikhammer
7242578c33
Merge branch 'ci/flash_project_args_artifact' into 'master'
...
ci: include flash_project_args in artifacts
See merge request espressif/esp-idf!18806
2022-07-05 09:45:59 +08:00
gabsuren
79d3655106
ASIO: Remove internal component, examples, test and docs
2022-07-04 22:15:24 +04:00
David Čermák
46fe7dbc8c
Merge branch 'component/mdns_migration' into 'master'
...
mdns: Remove internal component, examples, test and docs
Closes IDF-4074
See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Omar Chebib
cfeaa50b53
Merge branch 'bugfix/esp32c2_missing_eh_frame_sections' into 'master'
...
espsystem: add missing eh_frame sections on esp32c2
See merge request espressif/esp-idf!18629
2022-07-04 17:13:40 +08:00
simon.chupin
2bf6ed4f2b
idf.py: Fix IOError that costs CI failure
2022-07-04 08:15:23 +00:00
simon.chupin
43c69f0910
idf.py: Add automated hints on how to resolve errors
2022-07-04 08:15:23 +00:00
Mahavir Jain
a269a704af
Merge branch 'bugfix/main_task_on_cpu1_startup_failure' into 'master'
...
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
Closes IDFGH-7705
See merge request espressif/esp-idf!18755
2022-07-04 14:54:14 +08:00
Marius Vikhammer
d6c0227d84
CI: port startup test app to pytest and enable for all targets
2022-07-04 10:57:35 +08:00
Aleksei Apaseev
979b836c68
ci: rename module name due to the wrong import in other packages
2022-07-02 08:03:49 +08:00
Marek Fiala
e519915823
Merge branch 'feature/disable_option_install_script' into 'master'
...
Tools: --disable-* argument for removing features
Closes IDF-4398 and IDF-4342
See merge request espressif/esp-idf!18194
2022-07-01 17:18:50 +08:00
Marius Vikhammer
31b5a3fcab
ci: include flash_project_args in artifacts
2022-07-01 17:01:36 +08:00
Adam Múdry
0e98905e51
Merge branch 'feature/usb_midi_example' into 'master'
...
usb: Added MIDI example + fixed TinyUSB MIDI config
Closes IDFGH-6921
See merge request espressif/esp-idf!17753
2022-07-01 15:03:42 +08:00
Simon
f4eea001c8
Merge branch 'refactor_flash/remove_legacy_driver' into 'master'
...
spi_flash: Totally remove legacy driver (prefix with `spi_flash`) support on V5.0
Closes IDF-4473
See merge request espressif/esp-idf!18026
2022-07-01 14:45:39 +08:00
Mahavir Jain
cd1afaef1b
test_apps: Add test app for ESP_MAIN_TASK_AFFINITY_CPU1 configuration
2022-07-01 05:40:46 +00:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Cao Sen Miao
64147c3794
CXX: Make spi_flash related part works
2022-07-01 10:59:34 +08:00
Marek Fiala
90a69c4490
Tools: --disable-* argument for removing features
...
Optional argument --disable-* for removing features in install scripts.
2022-06-30 12:31:59 +02:00
Anton Maklakov
55dda77b98
build: add support ESP32-S3 in Clang build configuration
2022-06-30 14:03:26 +07:00
Anton Maklakov
6b0c756ebf
tools: update tools.json for Clang 14
...
Closes https://github.com/espressif/clang-tidy-runner/issues/15
2022-06-30 14:02:54 +07:00
Aleksei Apaseev
01f1aba2d0
ci: lift restriction on pygdbmi in panic test
2022-06-30 14:09:18 +08:00
Omar Chebib
3c1b8cd75a
ci: add a test for .eh_frame(_hdr) section for RISC-V targets
2022-06-30 02:51:37 +00:00
Ivan Grokhotkov
4c3dec9705
ci: check_public_headers: run for all targets
2022-06-29 22:49:51 +02:00
Ivan Grokhotkov
fefbf6a5b3
ci: check_public_headers: exclude sections generated on RISC-V target
2022-06-29 22:48:16 +02:00
Ivan Grokhotkov
28ac778099
ci: check_public_headers: run the build in a temporary directory
...
this allows running multiple builds for different targets
2022-06-29 22:47:02 +02:00
Adam Múdry
2dfaec3106
usb: Added MIDI example + fixed TinyUSB MIDI config
...
Closes https://github.com/espressif/esp-idf/issues/8541
2022-06-29 14:02:00 +00:00
gabsuren
d413a71f61
mdns: Remove internal component, examples, test and docs
2022-06-29 17:30:34 +04:00
Zim Kalinowski
70ee0885ad
freertos: don't use FreeRTOS SMP build for partition nearly full warning test
2022-06-29 12:03:01 +00:00
Roland Dobai
8dddb8b596
Revert "Merge branch 'feature/clippy' into 'master'"
...
This reverts merge request !16998
2022-06-29 16:46:47 +08:00
Roland Dobai
2e817c4426
Merge branch 'feature/clippy' into 'master'
...
idf.py: Add automated hints on how to resolve errors
Closes IDF-4511, IDF-4512, and IDF-4631
See merge request espressif/esp-idf!16998
2022-06-29 15:44:55 +08:00
Mahavir Jain
b41a524d3a
Merge branch 'fix/protocol_example_tests' into 'master'
...
Fix/protocol example tests
See merge request espressif/esp-idf!18698
2022-06-29 13:29:34 +08:00
Ondrej Kosta
ed7afd8b73
Merge branch 'feature/eth_phy_common' into 'master'
...
ESP PHY structure refactor
Closes IDF-5149
See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
David Čermák
8678f9a9f4
Merge branch 'bugfix/esp_eth_test_hotfix' into 'master'
...
esp_eth: pytest_esp_eth CI timeout hotfix
See merge request espressif/esp-idf!18666
2022-06-28 23:11:26 +08:00
Kevin (Lao Kaiyao)
47266d7736
Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
...
touch_sensor: add description to distinguish the API on different target
Closes IDFGH-7499
See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
morris
7fd9a91034
dma: move from driver to hw_support
2022-06-28 14:17:12 +08:00
Aditya Patwardhan
637bb4be38
http_request_simple_example_test: Catch broken pipe exception
2022-06-28 03:48:03 +00:00
laokaiyao
d5e55e0563
touch_sensor: add description to distinguish the API on different target
...
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
Ondrej Kosta
6962218a4b
Copyright check config: made more specific to not overwrite allowed licenses
2022-06-27 11:20:08 +02:00
Ondrej Kosta
43f3904304
esp_eth: IEEE 802.3 PHY MII Management Interface functionality grouped to one common file
2022-06-24 05:51:44 +00:00
Mahavir Jain
3f77c65e56
Merge branch 'contrib/github_pr_9117' into 'master'
...
esp_prov: switch from bluez/dbus to bleak (GitHub PR)
Closes IDFGH-7556
See merge request espressif/esp-idf!18618
2022-06-24 11:39:09 +08:00
simon.chupin
c6a6eaeb60
idf.py: Add automated hints on how to resolve errors
2022-06-23 14:09:34 +02:00
Zim Kalinowski
7d68098089
Merge branch 'bugfix/add_longcalls_to_asm' into 'master'
...
Build: Xtensa assembly files are now assembled with -mlongcalls option
See merge request espressif/esp-idf!18588
2022-06-23 14:52:41 +08:00
Laukik Hase
796723a6df
esp_prov/wifi_prov_mgr: Updated README
...
- Added notes for interactive provisioning
2022-06-23 10:54:20 +05:30
Laukik Hase
9aefcb12f5
esp_prov: Compatibility changes and refactoring
...
- Removed python 2 compatibility
- Removed dependencies on redundant external modules
- Interactive provisioning input for security scheme 2
- Style changes:
Updated print statements to format strings
Colored verbose logging
Raised exceptions on errors instead of clean exits
2022-06-23 10:52:54 +05:30
Cody Cutrer
2c4e5c2963
esp_prov: make service_name optional for BLE
...
and allow interactive scanning and selection of device
2022-06-23 10:52:54 +05:30
Cody Cutrer
0a892d2818
esp_prov: prompt for passphrase if not given
2022-06-23 10:52:53 +05:30
Cody Cutrer
7989e97b3a
esp_prov: prompt for PoP if not provided and required
2022-06-23 10:52:53 +05:30
Cody Cutrer
069b82401c
esp_prov: switch from bluez/dbus to bleak
...
to enable multiplatform ble compatibility
2022-06-23 10:52:53 +05:30
Zim Kalinowski
136c873364
Merge branch 'refactor/g0_for_xtensa' into 'master'
...
G0: Support Xtensa targets for G0-only compilation
Closes IDF-3087
See merge request espressif/esp-idf!18538
2022-06-23 07:28:37 +08:00
Zim Kalinowski
d632e6d3c7
Merge branch 'feature/add_build_test_for_freertos_smp' into 'master'
...
freertos-smp: added a build test for freertos smp
See merge request espressif/esp-idf!18593
2022-06-21 13:59:48 +08:00
Laukik Hase
740b9a9afe
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs
2022-06-21 04:24:19 +00:00
Jiang Jiang Jian
3cc134672b
Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
...
Feature/optimize bluetooth architecture
See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
Shreyas Sheth
591c7a496c
esp_wifi: WPA3 SAE H2E support for station
2022-06-20 18:51:11 +05:30
Sudeep Mohanty
ae391ec360
freertos-smp: added a build test for freertos smp
2022-06-20 14:54:35 +02:00
Omar Chebib
8fae0f0753
G0: Support Xtensa targets for G0-only compilation
...
G0-only example now supports Xtensa targets. This means that G0 layer
does not depend on G1+ layers anymore
2022-06-20 11:34:20 +00:00
Martin Vychodil
692b9980b5
Merge branch 'feature/memprot_api_unified_s3_2' into 'master'
...
System/Security: Memprot API unified (ESP32S3)
See merge request espressif/esp-idf!16169
2022-06-20 17:34:22 +08:00
GengYuchao
61ee34f713
Add new porting file
2022-06-20 17:00:12 +08:00
Roland Dobai
b6e6adddc3
Merge branch 'refactor/change_copyright_components' into 'master'
...
components: Change copyright in components files
See merge request espressif/esp-idf!18580
2022-06-20 16:02:12 +08:00
Omar Chebib
741b62d618
Build: Xtensa assembly files are now assembled with -mlongcalls option
2022-06-20 13:56:49 +08:00
Jakob Hasse
d7cceabbb4
Merge branch 'feature/upgrade_c_cxx_standards' into 'master'
...
build system: use C17 and C++2a by default
Closes IDF-1499, IDFGH-1788, IDFGH-2781, and IDFGH-7617
See merge request espressif/esp-idf!18371
2022-06-20 12:24:08 +08:00
Martin Vychodil
339fcbf14d
System/Security: Memprot API unified (ESP32S3)
...
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
2022-06-20 02:36:44 +00:00
Zim Kalinowski
d209cb3a6b
Merge branch 'bugfix/freertos_tlsp_del_cb_tests' into 'master'
...
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
Closes IDF-5252
See merge request espressif/esp-idf!18576
2022-06-18 04:05:25 +08:00
Ivan Grokhotkov
3973db7664
soc: make register access macros compatible with C++20
...
In C++20, using the result of an assignment to a 'volatile' value is
deprecated.
Breaking change: register "setter" or modification macros can no
longer be used as expressions.
Closes https://github.com/espressif/esp-idf/issues/9170
2022-06-17 18:09:22 +02:00
simon.chupin
45482bd1c0
components: Change copyright in components files
2022-06-17 16:59:56 +02:00
Ivan Grokhotkov
7f971429bc
cmake: allow lower language versions when building for linux target
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
0a1e83c599
build system: use C17 and C++2a by default
...
Closes https://github.com/espressif/esp-idf/pull/4846
Related to https://github.com/espressif/esp-idf/issues/5003
Related to https://github.com/espressif/esp-idf/issues/6885
Related to https://github.com/espressif/arduino-esp32/issues/5859
2022-06-17 16:44:16 +02:00
Darian Leung
97cf44cbe0
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
...
The TLSP deletion callback feature is not compatible with the CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
option. However, the "freertos_options" unit test configuration will enable that option.
This commit disables all CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP related features when compiling with
SMP FreeRTOS.
2022-06-17 21:57:11 +08:00
Aditya Patwardhan
6222d43984
protocomm: Added option to enable/disable supported security versions.
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
f2cce5fa0d
wifi_provisioning: Update the APIs with reference to the new APIs from protocomm
...
esp_local_ctrl: Update the code with reference to new changes in protocomm component
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
eb7ff34c89
protocomm: Added SRP6a implementation as the security version 2.
...
1) Rename srp component to esp_srp
2) Remove dependency on hkdf sha
3) Restructure protocomm component APIs to make them more flexible for allowing multiple security versions
4) esp_srp: convert API return type from int to esp_err_t
5) esp_srp: Formatting changes
6) Added mbedtls_gcm instead of aes_ctr
Co-authored-by: Laukik hase <laukik.hase@espressif.com>
2022-06-17 13:16:20 +00:00
Laukik Hase
3235206624
esp_prov: Added provision for SRP6a-based security scheme
2022-06-17 13:16:20 +00:00
Laukik Hase
5169e22277
protocomm: Generated proto-c and python files for SRP6a scheme
...
- Added protobuf auto-generated files to pre-commit check
ignore lists
2022-06-17 13:16:20 +00:00
Roland Dobai
60f845384f
Merge branch 'refactor/add_types_to_tools' into 'master'
...
tools: add python types hints
See merge request espressif/esp-idf!18434
2022-06-17 17:08:19 +08:00
Roland Dobai
a988cc9a64
Merge branch 'tools/csv_handling_overhaul' into 'master'
...
tools: Overhaul csv handling for mfg_gen and nvs_partition_gen
Closes IDFGH-5434
See merge request espressif/esp-idf!18365
2022-06-17 15:20:50 +08:00
Zim Kalinowski
3f2411c691
Merge branch 'bugfix/freertos_smp_disable_pm_tests' into 'master'
...
freertos: Disable esp_pm when SMP FreeRTOS is enabled
Closes IDF-5103, IDF-5104, and IDF-5127
See merge request espressif/esp-idf!18363
2022-06-16 15:11:11 +08:00
Omar Chebib
752026a174
Merge branch 'refactor/remove_g0_dep_on_g1_riscv' into 'master'
...
G0: RISC-V targets have now an independent G0 layer
See merge request espressif/esp-idf!17926
2022-06-16 11:53:39 +08:00
simon.chupin
44f3c19fa9
tools: Add python types hints
2022-06-15 14:33:29 +02:00
Djordje Nedic
bbc3add0e3
tools: overhaul csv handling for mfg_gen and nvs_partition_gen
...
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.
The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.
This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.
Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-15 12:31:49 +00:00
Armando (Dou Yiwen)
0b80546f8e
Merge branch 'feature/new_esp_psram_component' into 'master'
...
esp_psram: new esp psram component
Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192
See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
Darian Leung
546a7fc495
esp_pm: Disable esp_pm when SMP FreeRTOS is enabled
...
SMP FreeRTOS currently does not support power management yet. This
commit makes SMP FreeRTOS and esp_pm mutually exclusive.
2022-06-15 16:17:59 +08:00
Jing Li
074c708cf0
Merge branch 'refactor/simplify_code_for_time_compensation_when_sleep' into 'master'
...
system/sleep: simplify code for time compensation when wakeup from light sleep
See merge request espressif/esp-idf!18491
2022-06-15 14:38:40 +08:00
Kevin (Lao Kaiyao)
bb30edf35a
Merge branch 'refactor/i2s_driver_rewrite' into 'master'
...
🔨 i2s: i2s driver-NG
Closes IDF-3714 and IDF-4592
See merge request espressif/esp-idf!15175
2022-06-15 14:22:58 +08:00
Mahavir Jain
0f8d149525
Merge branch 'feature/enable_mbedtls_tests_for_c2' into 'master'
...
mbedtls: enable all tests except SHA for ESP32-C2
See merge request espressif/esp-idf!18372
2022-06-15 12:53:05 +08:00
laokaiyao
621d0aa942
i2s: Introduced a brand new driver
2022-06-15 10:29:06 +08:00
Darian
e213e66ba3
Merge branch 'refactor/esp_hw_support_cpu' into 'master'
...
esp_hw_support: Add new esp_cpu.h abstraction
Closes IDF-4769
See merge request espressif/esp-idf!17091
2022-06-14 21:11:30 +08:00
Michael (XIAO Xufeng)
7b8e5888ca
Merge branch 'refactor/add_clk_tree_ll' into 'master'
...
clk_tree: Stage3 - HAL for clock subsystem
Closes IDF-4334
See merge request espressif/esp-idf!18270
2022-06-14 17:16:29 +08:00
Armando
cdad8a02fe
esp_psram: remove g_spiram_ok
2022-06-14 15:44:27 +08:00
Omar Chebib
6783f52045
CI: examples generating an ELF file only can now pass CI
2022-06-14 15:00:53 +08:00
Omar Chebib
33ac70a3ed
G0: add a build example to check G0 dependencies
2022-06-14 15:00:53 +08:00
jingli
30e7af2ffb
system/sleep: simplify code for time compensation when wakeup from light sleep
2022-06-14 14:49:26 +08:00
Darian Leung
a8a3756b38
hal: Route CPU and Interrupt Controller HAL/LL to esp_cpu calls
...
This commit makes changes to cpu_ll.h, cpu_hal.h, and interrupt_controller_hal.h:
- Moved to esp_hw_support in order to be deprecated in the future
- HAL/LL API now route their calls to esp_cpu.h functions instead
Also updated soc_hal.h as follows:
- Removed __SOC_HAL_..._OTHER_CORES() macros as they dependend on cpu_hal.h
- Made soc_hal.h and soc_ll.h interfaces always inline, and removed soc_hal.c.
This commit also updates the XCHAL_ERRATUM_572 workaround by
- Removing it's HAL function and invoking the workaround it directly the bootloader
- Added missing workaround for the ESP32-S3
2022-06-14 14:40:03 +08:00
Darian Leung
61eb7baa6b
esp_hw_support: Add esp_cpu.h abstraction and API
...
This commit updates the esp_cpu.h API. The new API presents a new
abstraction of the CPU where CPU presents the following interfaces:
- CPU Control (to stall/unstall/reset the CPU)
- CPU Registers (to read registers commonly used in SW such as SP, PC)
- CPU Interrupts (to inquire/allocate/control the CPUs 32 interrupts)
- Memory Port (to configure the CPU's memory bus for memory protection)
- Debugging (to configure/control the CPU's debugging port)
Note: Also added FORCE_INLINE_ATTR to the DoxyFile in order to pass doc
builds for esp_cpu.h
2022-06-14 14:30:58 +08:00
Fu Hanxi
3bb9d37863
ci: fix bash shell array incompatibility in dash
2022-06-14 09:46:55 +08:00
Konstantin Kondrashov
7d942e0a5d
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst' into 'master'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0
Closes IDF-3702
See merge request espressif/esp-idf!14742
2022-06-13 21:26:13 +08:00
songruojing
6f6251f369
hal: Limit the HAL_ASSERTION_LEVEL in bootloader to be no larger than 1 (i.e. silent)
2022-06-13 17:47:51 +08:00
songruojing
c8752cee6a
clk_tree: Refactor rtc_clk.c by adding HAL layer for clock subsystem
2022-06-13 17:47:50 +08:00
Martin Vychodil
7f884dc966
Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master'
...
fatfs: Add option to mock ff_sdmmc_status output to increase IO speed
Closes IDF-4788
See merge request espressif/esp-idf!18300
2022-06-13 14:42:12 +08:00
Fu Hanxi
e8329f179d
Merge branch 'ci/pytest_with_multi_runner_tags' into 'master'
...
ci: use tags as markers
Closes IDFCI-1271 and IDFCI-1287
See merge request espressif/esp-idf!18221
2022-06-13 11:43:42 +08:00
David Čermák
2c1f7a044e
Merge branch 'bugfix/esp_netif_clean_deps' into 'master'
...
esp-netif: Make dependency on esp-eth optional
Closes IDF-4459
See merge request espressif/esp-idf!17980
2022-06-11 14:12:52 +08:00
Mahavir Jain
a5fe7bb281
tools/unit_test_app: add targets specific configs for "aes_no_hw"
...
In ESP32-C2, there is no hardware AES and hence this config is not required
2022-06-10 15:08:07 +05:30
morris
5daa73d236
Merge branch 'refactor/mcpwm_hal_driver_doc' into 'master'
...
mcpwm: don't support disable carrier one-shot pulse
Closes IDFGH-7406
See merge request espressif/esp-idf!18295
2022-06-10 10:28:59 +08:00
Simon
6ad7558ec1
Merge branch 'feature/esp32c2_configurable_mmu_new' into 'master'
...
MMU: add configurable MMU page size support (For ESP32C2)
Closes IDF-3821
See merge request espressif/esp-idf!17854
2022-06-10 10:20:49 +08:00
Fu Hanxi
bcb7ae3217
docs: fix test apps local execution section
2022-06-10 09:13:23 +08:00
Fu Hanxi
7e0bb1dabd
ci: use tags as markers
2022-06-10 09:13:23 +08:00
Adam Múdry
8af790da45
fatfs: Add mock option to ff_sdmmc_status function to increase IO speed
...
Adds `disk_status_check_enable` field to `esp_vfs_fat_mount_config_t` struct to control if ff_sdmmc_status is mocked or not.
2022-06-09 20:09:32 +00:00
KonstantinKondrashov
46f0313d6b
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-09 17:49:03 +08:00
David Cermak
343cf2696e
esp_eth: Reduce internal deps onto netif-glue
2022-06-09 07:55:40 +00:00
morris
6eb450fa87
newlib: ROM library is build with time_t 64bit on esp32c2
2022-06-09 10:48:31 +08:00
Cao Sen Miao
6589daabb9
MMU: Add configurable mmu page size support on ESP32C2
2022-06-08 19:34:31 +08:00
Fu Hanxi
34e04e39bb
fix: skip install dbus-python on windows
2022-06-08 10:11:43 +08:00
Fu Hanxi
5a0a14504d
ci: split pytest requirements to requirements.json
2022-06-08 08:19:35 +08:00
Mahavir Jain
34fb03b049
Merge branch 'feature/http_example_pytest_migration' into 'master'
...
http example pytest migration
See merge request espressif/esp-idf!18053
2022-06-06 20:13:01 +08:00
Michael (XIAO Xufeng)
773715d900
Merge branch 'feature/support_refresh_brownout_v1' into 'master'
...
spi_flash: send reset when brownout detected on XMC flash
Closes IDF-3882
See merge request espressif/esp-idf!16873
2022-06-06 16:27:58 +08:00
Harshit Malpani
767125a051
Remove tiny_test_fw dependency from idf_http_server_test package
2022-06-03 16:00:52 +05:30
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
Anton Maklakov
e0d2e186bf
Merge branch 'feature/toolchain_2022r1' into 'master'
...
Bring 2022r1-RC1 toolchains, GCC 11
Closes GCC-180, GCC-178, IDFGH-5559, IDFGH-6180, IDFGH-5101, and IDFGH-4380
See merge request espressif/esp-idf!16797
2022-06-03 16:05:49 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Anton Maklakov
bc932c646e
Merge branch 'bugfix/dirent-definition' into 'master'
...
newlib: dirent d_ino type fix
See merge request espressif/esp-idf!18336
2022-06-02 19:48:53 +08:00
Michael (XIAO Xufeng)
4e231f9dac
ci: partially enable pytest for esp32c2
2022-06-02 15:07:53 +08:00
morris
3247335770
mcpwm: don't support disable carrier first pulse
...
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.
Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
morris
f7ff7ac4d0
mcpwm: clean up hal driver and add doc
2022-06-02 15:01:18 +08:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
Anton Maklakov
ad4b3bc8b3
ci, config: re-arrange some C3 tests due to code size changes from 2022r1 toolchain
2022-06-02 10:15:23 +07:00
Anton Maklakov
457fc2d582
build: temporary suppress format warnings since xtensa toolchain has long type for int32_t
2022-06-02 10:15:23 +07:00
Anton Maklakov
c4b88d25b5
build: temporary suppress enum conversion warnings
2022-06-02 10:15:23 +07:00
Anton Maklakov
bf43076c04
tools: Update 2022r1 toolchain, GCC 11.2.0, Newlib 4.1.0
...
Closes https://github.com/espressif/esp-idf/issues/7282
Closes https://github.com/espressif/esp-idf/issues/7857
Closes https://github.com/espressif/esp-idf/issues/6885
Closes https://github.com/espressif/esp-idf/issues/6214
2022-06-02 10:15:23 +07:00
Michael (XIAO Xufeng)
acd4ca0f6e
ci: add ut configs for ESP32-C2
...
note: flash encryption ut is not enabled in this commit, see IDF-5056
2022-06-02 11:10:29 +08:00
Michael (XIAO Xufeng)
b9f37be868
ci: enable target tests for ESP32-C2
...
reduce parallel num of unused jobs
2022-06-02 11:10:29 +08:00
Michael (XIAO Xufeng)
a0c2252756
build_system: fixed issue that default.target may override other custom configs
2022-06-02 11:08:59 +08:00
Cao Sen Miao
6a2d3509dc
spi_flash: Making XMC flash works more stable when brownout detected
2022-06-02 10:38:55 +08:00
Cao Sen Miao
890f046ee9
test: split a new banch of testing to save IRAM
2022-06-02 10:38:55 +08:00
David Cermak
7efcb5e625
lwip: Add missing null-checks, rename to vanilla-lwip
2022-06-01 20:38:40 +02:00
Scott Mabin
c947585ee4
newlib: dirent d_ino type fix
...
As per the posix spec, `d_ino` should be defined as `ino_t`. See the
reference:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html .
2022-06-01 13:49:32 +01:00
David Cermak
00377cf2e5
lwip/ci: Cleanup public header checker ignore list
2022-06-01 14:36:58 +02:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Konstantin Kondrashov
b824f68b35
Merge branch 'feature/move_dport_workaround_to_g0' into 'master'
...
dport_access: Move DPORT workaround to G0
Closes IDF-2177
See merge request espressif/esp-idf!17961
2022-06-01 12:11:12 +08:00
David Cermak
0e71a325de
lwip/wifi: Improve Rx throughput on the wifi defaults (sta+ap)
2022-05-31 15:23:06 +02:00
Martin Gaňo
24e856a509
Fixed comparsion of integer and string that evaluated always to False
...
Closes https://github.com/espressif/esp-idf/issues/9052
Closes IDFGH-7482
2022-05-31 12:51:47 +02:00
KonstantinKondrashov
ac4c7d99fe
dport: Move DPORT workaround to G0
2022-05-31 13:44:18 +08:00
Anton Maklakov
b965264e68
Merge branch 'bugfix/coredump_warnings' into 'master'
...
coredump: minor fixes of warnings
See merge request espressif/esp-idf!18306
2022-05-31 11:43:51 +08:00
Jakob Hasse
97c149f73d
Merge branch 'refactor/nvs_iterator_api' into 'master'
...
NVS: New interface for iterator functions
Closes IDFGH-6149
See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Sergei Silnov
89518ee86a
build & config: Check requirements of managed components of main and add interface versioning
2022-05-30 14:36:22 +02:00
Sergei Silnov
07827ea362
build & config: Don't include common components on early expansion
2022-05-30 14:34:30 +02:00
Roland Dobai
56bb81228c
Merge branch 'feature/update-gdb-to-11.2_20220529' into 'master'
...
tools: update gdb version to '11.2_20220529'
See merge request espressif/esp-idf!18296
2022-05-30 19:59:04 +08:00
Laukik Hase
1ee3ee6854
protobuf: Fix v4.21.0 (python) compatibility issue
...
- Added auto-generated protobuf files (proto-c and python to
pre-commit hook ignore lists
2022-05-30 09:54:31 +05:30
Anton Maklakov
45f267390b
espcoredump: fix unsigned arithmetic
2022-05-30 11:21:30 +07:00
Jiang Jiang Jian
8efa4d64e0
Merge branch 'feature/add_task_wrappers' into 'master'
...
wpa_supplicant: Add osi layer for FreeRTOS calls
Closes WIFI-2996
See merge request espressif/esp-idf!11734
2022-05-30 10:29:50 +08:00
Jakob Hasse
ad184e979a
refactor (nvs)!: New interface for iterator functions
...
Closes https://github.com/espressif/esp-idf/issues/7826
* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
parameters, instead of returning an new iterator.
Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Martin Vychodil
d1ec5580ee
Merge branch 'nvs/remove_asserts' into 'master'
...
change: NVS assertions as runtime errorcodes
Closes IDF-3025
See merge request espressif/esp-idf!17739
2022-05-30 01:07:25 +08:00
Roland Dobai
a2d5041492
Merge branch 'feat/idf_tools_migrate_to_venv' into 'master'
...
Tools: Use built-in venv instead of virtualenv for creating Python environments
Closes IDF-4538
See merge request espressif/esp-idf!18249
2022-05-29 22:20:35 +08:00
Jiang Jiang Jian
0e94779b2e
Merge branch 'feature/support_esp32c2_wifi_new' into 'master'
...
Bringup ESP32C2 Wi-Fi
Closes IDF-3905
See merge request espressif/esp-idf!18136
2022-05-29 18:25:24 +08:00
Matus Fabo
58cca07104
add: Kconfig assert or errorcode option
...
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-05-28 20:29:05 +02:00
Wu Zheng Hui
d3fa6e3a15
Merge branch 'bugfix/update_efuse_name' into 'master'
...
efuse: update efuse name
See merge request espressif/esp-idf!18193
2022-05-28 22:03:17 +08:00
Wu Zheng Hui
b98622c624
efuse: update efuse name
2022-05-28 22:03:16 +08:00
Alexey Lapshin
587949b3a5
tools: update gdb version to '11.2_20220529'
2022-05-28 15:16:20 +04:00
Darian
f3d06ad78d
Merge branch 'bugfix/fix_SysTickIsrHandler_casting' into 'master'
...
HAL: Fix systimer counter value bit field
Closes IDF-5132
See merge request espressif/esp-idf!18252
2022-05-28 18:31:03 +08:00
Jessy Chen
7b9b448041
esp_wifi: optimize wifi kconfig
2022-05-28 08:52:55 +00:00
Roland Dobai
ed795c86df
Tools: Use built-in venv instead of virtualenv for creating Python environments
2022-05-28 06:43:14 +00:00
Roland Dobai
c0a045793f
Merge branch 'bugfix/return_idf_component_manager_build_property' into 'master'
...
build & config: Add IDF_COMPONENT_MANAGER build property
Closes PACMAN-356
See merge request espressif/esp-idf!18251
2022-05-28 13:58:34 +08:00
Roland Dobai
bdcb6715b5
Merge branch 'bugfix/mkdfu_flash_parameters' into 'master'
...
mkdfu.py: Support setting flash parameters
Closes IDF-4820
See merge request espressif/esp-idf!18269
2022-05-28 03:22:10 +08:00
radim.karnis
d2c918f407
mkdfu.py: Support setting flash parameters
2022-05-27 15:44:56 +02:00
Anton Maklakov
63ed392cac
Merge branch 'bugfix/upd_debug_options' into 'master'
...
build & tools: update debug options for new GCC
Closes GCC-217
See merge request espressif/esp-idf!16956
2022-05-27 20:45:55 +08:00
Ivan Grokhotkov
a14e14f37a
Merge branch 'feature/docker_build_gh_actions' into 'master'
...
ci: move Docker image builds to Github, plus other improvements
Closes IDFCI-1264 and IDFGH-6264
See merge request espressif/esp-idf!18256
2022-05-27 19:56:29 +08:00
Roland Dobai
e096374560
Merge branch 'bugfix/disable_extensions_idfpy_tests' into 'master'
...
Tools: Make idf.py tests independent on extra extensions
Closes PACMAN-359
See merge request espressif/esp-idf!18275
2022-05-27 18:57:32 +08:00
Michael (XIAO Xufeng)
9f5c03dc67
Merge branch 'feat/elf_unit_test_parser' into 'master'
...
ci: extract ElfUnitTestParser allowing resolve elf offline
See merge request espressif/esp-idf!18205
2022-05-27 18:03:13 +08:00
Sergei Silnov
360183dd8d
Tools: Make idf.py tests independent on extra extensions
2022-05-27 10:45:27 +02:00
Anton Maklakov
9cc2ce9f7c
build: fallback to dwarf-4 format because of lesser binary size (dwarf-5 is by default in GCC 11)
2022-05-27 15:10:22 +07:00
Anton Maklakov
51c22d3b8b
tools: GCC 11 uses both '.debug_line_str' and '.debug_str' sections
2022-05-27 15:06:56 +07:00
Zim Kalinowski
2c9cd8e307
Merge branch 'feature/remove_target_cmake' into 'master'
...
build-system: remove target component
Closes IDF-3091 and IDF-3581
See merge request espressif/esp-idf!18131
2022-05-27 06:55:25 +08:00
radim.karnis
3e08f355b6
tools: Use esptool v4
2022-05-26 13:59:50 +00:00
Darian Leung
c45784b8c4
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 12:56:25 +00:00
Sergei Silnov
487603b51f
build & config: Add IDF_COMPONENT_MANAGER build property
2022-05-26 12:48:27 +02:00
Kapil Gupta
0cdad0a002
wpa_supplicant: Add wrappers for FreeRTOS APIs
2022-05-26 15:23:21 +05:30
Fu Hanxi
e0a41cd816
ci: fix protobuf 4.0 incompatible issue
2022-05-26 14:42:16 +08:00
Fu Hanxi
788ac3989b
Merge branch 'fix/panic_test' into 'master'
...
fix: panic test
See merge request espressif/esp-idf!18239
2022-05-26 10:09:15 +08:00
Ivan Grokhotkov
212cbc3fb6
tools/docker: add README.md file to be displayed on Docker Hub
...
Closes https://github.com/espressif/esp-idf/issues/7933
2022-05-26 03:44:13 +02:00
Ivan Grokhotkov
6dc52d4425
ci: build and push Docker images in Github actions, add arm64 platform
...
Replaces the previously used Docker Hub autobuild infrastructure.
This allows for more flexible configuration of the build process,
at the expense of some extra maintenance of CI workflow files
required.
2022-05-26 03:44:13 +02:00
Ivan Grokhotkov
a8904787fa
tools/docker: add IDF_CLONE_SHALLOW and IDF_INSTALL_TARGETS arguments
...
These two arguments can be used to reduce the size of the Docker
image:
- Setting IDF_CLONE_SHALLOW enables shallow cloning.
- Setting IDF_INSTALL_TARGETS to the comma separated list of targets
results in toolchains being installed only for these targets.
2022-05-26 03:31:22 +02:00
Song Ruo Jing
cf32e49aeb
Merge branch 'refactor/cleanup_rtc_h' into 'master'
...
clk_tree: Prework2 of introducing clock subsystem control
Closes IDF-4934
See merge request espressif/esp-idf!17861
2022-05-26 09:16:47 +08:00
Michael (XIAO Xufeng)
cd6056c9cd
ci: extract ElfUnitTestParser allowing resolve elf offline
2022-05-26 01:40:52 +08:00
Roland Dobai
64b6733349
Merge branch 'refactor/change_copyright_in_tools' into 'master'
...
idf.py: Change copyright in tools code owner's files
See merge request espressif/esp-idf!18215
2022-05-25 18:58:15 +08:00
Darian Leung
887421bb49
ci: Fix failing build system test when FreeRTOS SMP is enabled
...
Build system tests check that xtensa_vectors.S is rebuilt in some of the CMake build system
tests. However, the path of this file may change when FreeRTOS SMP is enabled.
This commit fixes the CMake build system test by selecting another ".S" file who's path
does not change based on configuration.
2022-05-25 16:31:34 +08:00
Fu Hanxi
d2aae6d53a
fix: panic test case test_task_wdt
2022-05-25 10:30:29 +08:00
songruojing
a5b09cf015
rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
...
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
simon.chupin
1c5e596633
idf.py: Change copyright in tools dir
2022-05-24 14:01:50 +02:00
Marius Vikhammer
cf1b222cac
build system: removed target component
...
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Marius Vikhammer
d485f6add8
Merge branch 'feature/arch_build_property' into 'master'
...
build-system: add property for architecture (riscv/xtensa)
Closes IDF-1754
See merge request espressif/esp-idf!18127
2022-05-24 08:46:09 +08:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Roland Dobai
2e9ac36fc8
Merge branch 'contrib/github_pr_8981' into 'master'
...
Tools: Add missing DTR/RTS set before serial port open on reconnect (GitHub PR)
Closes IDFGH-7403
See merge request espressif/esp-idf!18171
2022-05-23 16:32:08 +08:00
Fu Hanxi
4746a71028
ci: add qemu example
2022-05-21 00:11:59 +08:00
Marius Vikhammer
96965d5d64
Merge branch 'ci/app_type_elf_reduce_ram' into 'master'
...
CI: reduce memory footprint for "Loadable ELF build"
Closes IDFCI-1272
See merge request espressif/esp-idf!18185
2022-05-20 15:48:15 +08:00
Marius Vikhammer
27045f5e74
CI: reduce memory footprint for "Loadable ELF build"
...
Build test was failing due to IRAM overflow, building with the recommended
options for reducing memory footprint should give us some breathing room.
2022-05-20 14:39:46 +08:00
Omar Chebib
68ddce7c0b
Merge branch 'bugfix/esp32_i2c_incorrect_speed' into 'master'
...
I2C: Fix SCL period timings on ESP targets
See merge request espressif/esp-idf!17999
2022-05-20 13:33:03 +08:00
Marius Vikhammer
9362434c47
build-system: add property for architecture (riscv/xtensa)
...
riscv/xtensa is now a common component.
2022-05-20 09:00:32 +08:00
Roland Dobai
f49df63a16
Merge branch 'fix/arm-architecture-detection' into 'master'
...
Tools: fix architecture armhf/armel detection
Closes IDFCI-1238, IDFCI-1239, IDFCI-1240, IDFCI-1241, IDFCI-1242, IDFCI-1243, IDFCI-1244, IDFCI-1245, IDFCI-1246, and IDFCI-1247
See merge request espressif/esp-idf!18122
2022-05-19 18:59:42 +08:00
Nonoo
f6e4140171
Tools: Add missing DTR/RTS set before serial port open on reconnect when --no-reset is used
...
This makes sure --no-reset works correctly when the monitor reconnects the serial port.
2022-05-19 08:24:50 +02:00
morris
5d46bf3429
check_term: allow alacritty term
2022-05-19 11:10:59 +08:00
David Cermak
356bc603c4
lwip: Support DHCP restore last IP
2022-05-18 17:11:35 +02:00
David Cermak
53c009e626
lwip: Update socket API to include port-version of sockets/netdb
...
Added socket extention to the lwip hooks for implementing non-vanilla
{get/set}sockopts()
2022-05-18 17:10:42 +02:00
David Cermak
44a9620c17
esp_netif: Add thread safe pppapi set_auth API to esp-netif
2022-05-18 17:10:42 +02:00
David Cermak
5b471a1848
esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL)
...
* Reference lwip-2.1.3-REL vanilla lwip version
* Use inherent NETIF callbacks instead of dhcp/ipv6/autoip
2022-05-18 17:10:42 +02:00
Alexey Lapshin
0afd70c362
Tools: fix architecture armhf/armel detection
2022-05-18 15:18:09 +04:00
Roland Dobai
3bf6e06a80
Merge branch 'tools/fix_cmake_variables_propagation' into 'master'
...
tools: Fix cmake variable propagation
Closes IDFGH-7212 and IDFGH-7292
See merge request espressif/esp-idf!17983
2022-05-18 15:44:22 +08:00
Omar Chebib
477bc9e64c
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3, ESP32C2 and ESP32H2
2022-05-18 05:36:08 +00:00
Roland Dobai
37b641608a
Merge branch 'fix/gdb-version-check' into 'master'
...
tools: Fix gdb version check
Closes IDFGH-7385
See merge request espressif/esp-idf!18129
2022-05-17 18:59:25 +08:00
Roland Dobai
762820971c
Merge branch 'tools/update_cmake' into 'master'
...
tools: Update CMake
Closes IDFGH-7227
See merge request espressif/esp-idf!17991
2022-05-17 17:27:48 +08:00
Martin Gano
e9716b1498
Merge branch 'feature/add-fatfs-parser' into 'master'
...
fatfsgen.py implement functionality for parsing fatfs
Closes IDF-4360
See merge request espressif/esp-idf!17951
2022-05-17 17:07:13 +08:00
Alexey Lapshin
41bbdcc26b
tools: Fix gdb version check
...
Closes https://github.com/espressif/esp-idf/issues/8965
2022-05-17 12:17:03 +04:00
Darian
4d751b9d6b
Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
...
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog
Closes IDF-3340
See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Djordje Nedic
2ee43cf6c4
tools: Update CMake
...
This updates CMake to the latest version (3.23).
There are no deprecations and feature removals that affect us going from the previous version:
https://cmake.org/cmake/help/latest/release/3.21.html#deprecated-and-removed-features
https://cmake.org/cmake/help/latest/release/3.22.html#deprecated-and-removed-features
https://cmake.org/cmake/help/latest/release/3.23.html#deprecated-and-removed-features
Closes https://github.com/espressif/esp-idf/issues/8821
2022-05-17 05:06:35 +00:00
Kapil Gupta
ba1daac5f0
Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
...
esp_wifi: Add APIs to check for BTM, RRM support of connected AP
See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
Shu Chen
f1d1c5a876
Merge branch 'support/esp32h2beta2_phy_build' into 'master'
...
esp_phy: support esp32h2beta2 phy build
See merge request espressif/esp-idf!17856
2022-05-17 10:32:07 +08:00
Djordje Nedic
11f3898e33
tools: Fix cmake variable propagation
...
This fixes the issue where component CMAKE variables propagate by default to the entire project, for instance compiler flags.
Useful for when you want to have component specific compiler flags or defines.
Closes https://github.com/espressif/esp-idf/pull/8806
Closes https://github.com/espressif/esp-idf/issues/8881
2022-05-16 16:55:34 +02:00
Roland Dobai
31b7694551
Merge branch 'contrib/github_pr_8955' into 'master'
...
Tools: fix idf.py monitor reset with hotkey with --no-reset arg (GitHub PR)
Closes IDFGH-7375
See merge request espressif/esp-idf!18118
2022-05-16 21:50:16 +08:00
Martin Gaňo
005af75da3
Added FATFS partition parser
2022-05-16 14:32:17 +02:00
Tomas Rezucha
0a511e576e
Merge branch 'feature/remove_extra_components' into 'master'
...
examples: Use components from idf-extra-components repository
See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Nonoo
c063cbd7f7
Tools: Set idf.py monitor DTR to the default state when reset is not needed
...
This lets use the reset hotkey (Ctrl+T Ctrl+R).
Tools: fix idf.py monitor reset with hotkey with --no-reset arg
Tools: Set idf.py monitor DTR to the default state when reset is not needed
2022-05-16 13:06:35 +02:00
zhangwenxu
9440430db2
esp_phy: support esp32h2beta2 phy build
2022-05-16 10:50:44 +00:00
Kapil Gupta
ee33c6ae05
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-05-16 15:57:59 +05:30
Fu Hanxi
38345d9cd8
Merge branch 'ci/improve_build_scripts_for_multi_targets' into 'master'
...
CI: improve build scripts for multi targets
See merge request espressif/esp-idf!17895
2022-05-16 11:18:11 +08:00
Armando (Dou Yiwen)
ad747b237a
Merge branch 'toos/add_s3_ut_based_on_quad_octal_psram' into 'master'
...
ci: add s3 ut based on quad octal psram
See merge request espressif/esp-idf!18087
2022-05-16 09:57:21 +08:00
Michael (XIAO Xufeng)
6f507d527c
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
...
Sync configuration from other chips
Closes: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
2022-05-14 22:35:41 +08:00
Jing Li
ac0d16cdc8
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup' into 'master'
...
sleep: fix cannot lightsleep again after a wakeup from ULP
Closes IDFGH-4396
See merge request espressif/esp-idf!17970
2022-05-13 22:25:23 +08:00
Darian Leung
4877a9fcba
esp_system: Refactor task_wdt
...
This commit refactors the task watchdog as follows:
- Renamed variables, types, and functions
- Replaced manual linked list implementation with SLIST()
- Moved calloc()/free() calls out of critical sections
- Shortened ISR critical sections
- Updated API description
- Updated code formatting
2022-05-13 17:57:44 +08:00
Roland Dobai
4bd5c4ef53
Merge branch 'partition_table/warn_partition_nearly_full' into 'master'
...
partition_table: Add warning when partitions are nearly full
Closes IDF-4533
See merge request espressif/esp-idf!17916
2022-05-13 16:28:35 +08:00
Roland Dobai
6cbe0ceaa7
Merge branch 'feature/enable_component_manager_by_default_for_pure_cmake' into 'master'
...
tools: Enable the component manager by default in CMake
Closes IDF-4322
See merge request espressif/esp-idf!17724
2022-05-13 15:39:01 +08:00
Djordje Nedic
e09ef86d7c
partition_table: Add warning when partitions are nearly full
...
This adds a warning in cases where the smallest partition is nearly full.
A test with a specially crafted partition table is created for the smallest partition warning.
If the threshold or the template itself change, change the factory app partition size as well.
2022-05-13 07:14:04 +00:00
Alexey Lapshin
e49d4a83d9
tools: Add tool's versions update with checksum file
...
'idf_tools.py add-version' has new options:
--override Override tool versions with new data
--checksum-file URL or path to local file with checksum/size for artifacts
Usage e.g.:
CHECKSUM_URL=https://github.com/espressif/crosstool-NG/releases/download/esp-2021r2/crosstool-NG-esp-2021r2-checksum.sha256
idf_tools.py add-version --tool xtensa-esp32-elf --version esp-2021r2 --override --checksum-file $CHECKSUM_URL
Positional argument 'files' moved to optional argument '--artifact-file'
Add tests for add-version logic
2022-05-13 06:51:59 +00:00
Fu Hanxi
52b5a8348e
test: add pytest_wifi_getting_started script
2022-05-13 11:56:59 +08:00
Fu Hanxi
511ccdcb70
ci(pytest): support multi-dut different app
2022-05-13 11:54:42 +08:00
Fu Hanxi
5c997bd5dd
ci(pytest): upgrade to 0.7.0
2022-05-13 11:54:42 +08:00
Armando
ed1e4c854e
ci: support distribute ut based on psram type
2022-05-13 10:49:02 +08:00
jingli
dd414b9305
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-12 17:57:08 +08:00
Tomas Rezucha
4dde197cca
examples: Use components from idf-extra-components repository
2022-05-12 08:37:44 +00:00
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Mahavir Jain
af1f342ee8
Merge branch 'fix/make_esp_tls_t_private' into 'master'
...
Make esp_tls_t as private structure
Closes IDF-2812
See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
morris
47e4fe83ba
ci: enable build pytest ut and examples on esp32c2
2022-05-12 05:18:57 +00:00
morris
6d288575dc
test: fix broken host test of idf_as_lib
2022-05-12 05:18:57 +00:00
morris
24f5fecef0
hal: use ROM implementation for systimer and wdt on esp32c2
2022-05-12 05:18:57 +00:00
morris
334126315f
esp32c2: level up from preview targets
2022-05-12 05:18:57 +00:00
Mahavir Jain
42aac8d1d7
Merge branch 'contrib/github_pr_8816' into 'master'
...
Don't ignore return value of `httpd_stop` (GitHub PR)
Closes IDFGH-7222
See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Kapil Gupta
97d7bde1ea
Merge branch 'feature/wps_code_updation' into 'master'
...
wpa_supplicant: wps code cleanup
See merge request espressif/esp-idf!16577
2022-05-12 11:56:58 +08:00
Ivan Grokhotkov
2e506bd93e
Merge branch 'bugfix/iperf_output_regex' into 'master'
...
ci: iperf: recognize report results from newer iperf versions
Closes IDFCI-1226 and IDFCI-1229
See merge request espressif/esp-idf!18055
2022-05-12 03:26:34 +08:00
Kapil Gupta
ecc87cfc8d
wpa_supplicant: wps code updation
...
Update WPS code with upstream. Also moved ESP specific code
in another esp code folder.
2022-05-11 12:18:52 +00:00
Nathan Phillips
e8e63a06e8
Don't ignore return value of httpd_stop
2022-05-11 08:58:01 +00:00
Aditya Patwardhan
aa9de02259
esp_tls.h: Clean up included header files.
2022-05-11 07:09:34 +00:00
Martin Gano
89f754183e
Merge branch 'contrib/github_pr_8788' into 'master'
...
Add idf.py monitor argument --no-reset (-R) (GitHub PR)
Closes IDFGH-7189, IDFGH-7301, and IDFGH-5963
See merge request espressif/esp-idf!18010
2022-05-10 23:34:37 +08:00
Ivan Grokhotkov
d2e519012c
ci: iperf: recognize report results from newer iperf versions
...
The iperf version used in older version of CI docker images had the
following output format:
[ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.000 ms 0/ 892 (0%)
The newer iperf version which was recently included in the container
prints more digits after the decimal point:
[ 3] 0.0000-10.0148 sec 1.25 MBytes 1.05 Mbits/sec 0.002 ms 0/ 895 (0%)
The regular expression to match this line expected a single zero after
the decimal point, so the new format no longer matches.
The fix is to expect any number of digits in the fractional part.
2022-05-10 15:49:53 +02:00
Martin Gaňo
c02c0cc9b7
Tools: Add --no-reset option for IDF Monitor in order to avoid resetting the chip target upon connection
...
Closes https://github.com/espressif/esp-idf/issues/8889
Closes IDFGH-7189, IDFGH-7301, IDFGH-5963
Closes https://github.com/espressif/esp-idf/issues/7651
Merges https://github.com/espressif/esp-idf/pull/8788
2022-05-10 14:19:37 +02:00
morris
722fde218d
uart: add default source clock for all targets
2022-05-09 11:26:30 +08:00
Marius Vikhammer
5bee313bde
Merge branch 'bugfix/kconfig_checker_osource' into 'master'
...
kconfig: update check_kconfigs.py to handle orsource command
See merge request espressif/esp-idf!18013
2022-05-09 09:48:06 +08:00
Wu Zheng Hui
0580d68b69
esp32c2: Support riscv floating-point library selection
2022-05-08 17:57:40 +08:00
Armando (Dou Yiwen)
03aeac1dde
Merge branch 'refactor/adc_hal_common_layer' into 'master'
...
adc: create common adc hal layer
See merge request espressif/esp-idf!17577
2022-05-08 15:45:56 +08:00
Armando
49747bb486
adc: create common adc hal layer
2022-05-07 19:20:44 +08:00
morris
b3c1480d9c
example: update musical buzzer example with new rmt driver
2022-05-07 10:34:50 +00:00
morris
d537da5bfb
example: update led strip example with new rmt driver
2022-05-07 10:34:50 +00:00
morris
977a2830dd
example: update ir nec example with new rmt driver
2022-05-07 10:34:50 +00:00
morris
c5cd86ae8b
test_utils: migrate to use new rmt driver
2022-05-07 10:34:50 +00:00
morris
5bfe873725
driver: deprecate legacy rmt driver
...
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
Roland Dobai
efc3357f1a
Merge branch 'feature/semihosting_call_number_change' into 'master'
...
Semihosting V2
Closes IDF-4893
See merge request espressif/esp-idf!17412
2022-05-07 00:28:48 +08:00
morris
1f922f2124
Merge branch 'contrib/github_pr_8900' into 'master'
...
hello_world_main : fix incorrect printf format (GitHub PR)
Closes IDFGH-7312
See merge request espressif/esp-idf!17998
2022-05-06 21:22:51 +08:00
morris
06e071ba4b
Merge branch 'feature/driver_ng_enable_disable_logic' into 'master'
...
driver_ng: added explicit enable/disable functions
Closes IDF-4204
See merge request espressif/esp-idf!17885
2022-05-06 20:44:50 +08:00
Zim Kalinowski
4967ee40c6
Merge branch 'bugfix/lwip_afl_host_test_mock' into 'master'
...
LUpdate AFL host test mock
Closes IDF-4953
See merge request espressif/esp-idf!17962
2022-05-06 20:13:21 +08:00
huardti
a01820c583
hello_world: fix incorrect printf format
...
spi_flash_get_chip_size return a size_t to printf this type it's better to use %u than %d.
We didn't use %zu because it will be ignored by "nano" printf (i.e. when
CONFIG_NEWLIB_NANO_FORMAT is on).
Closes https://github.com/espressif/esp-idf/pull/8900
2022-05-06 10:38:49 +00:00
morris
d67888b92b
pcnt: added enable/disable functions
2022-05-06 18:18:39 +08:00
morris
e7295c3577
gptimer: added enable/disable functions
2022-05-06 18:18:39 +08:00
morris
3f66660444
Merge branch 'feature/bringup_esp32c2eco1' into 'master'
...
esp32c2:ECO1 ROM update
Closes IDF-4933
See merge request espressif/esp-idf!17723
2022-05-06 18:06:26 +08:00
Marius Vikhammer
c7a827a136
kconfig: update check_kconfigs.py to handle orsource command
...
check_kconfigs.py would only correctly handle "source", but not "rsource", "osource"
or "orsource".
Fixed any warnings detected after updating the test.
2022-05-06 11:31:24 +08:00
Armando (Dou Yiwen)
76be0c2624
Merge branch 'bugfix/fix_esp32_mmu_init_issue' into 'master'
...
mmu: add ll functions for mmu unmap
Closes OCD-526 and IDF-4962
See merge request espressif/esp-idf!17868
2022-05-05 22:21:18 +08:00
wuzhenghui
afd86542d8
ci: add build test for newly added Kconfig option
2022-05-05 17:41:11 +08:00
jiangguangming
6ec373daf5
heap_tlsf: use tlsf IMPL in ESP32C2 ROM
2022-05-05 17:41:11 +08:00
Erhan Kurubas
ad078c5153
semihosting: drop absolute path support
2022-05-05 09:12:42 +00:00
Kapil Gupta
805b5c9115
Merge branch 'feature/11r_changes' into 'master'
...
esp_wifi: Add support for FT psk
Closes WIFI-2160
See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
Sergei Silnov
69cf85e6a6
tools: Enable the component manager by default in CMake
2022-05-03 17:38:36 +02:00
Roland Dobai
08cc2fd493
Tools: Fix the Python dependency checker by skipping not installed dependency sub-trees
2022-05-03 16:50:25 +02:00
Ivan Grokhotkov
5b0a302ea4
Merge branch 'bugfix/build_spaces_in_path_docs_tests' into 'master'
...
ci, tools: add build tests for spaces in paths, fix regression in export.sh, add migration guide
See merge request espressif/esp-idf!15431
2022-05-03 21:04:49 +08:00
Nonoo
9266a7c52e
Add idf.py monitor argument --no-reset (-R) to prevent resetting the MCU target on monitor startup
...
Add idf.py monitor argument --no-reset (-R) to prevent resetting the CPU on monitor startup
idf.py monitor: fix type signature
idf.py monitor: fix reset key shortcut when --no-reset (-R) argument is used
idf.py monitor: change --no-reset (-R) argument descriptions in help
idf.py monitor: simplify --no-reset (-R) argument checks
idf.py monitor: add warning if --no-reset is used, but --port is not given
idf.py monitor: ignore --no-reset if --port is not given
2022-05-03 14:52:34 +02:00
Ivan Grokhotkov
89e78976ab
tests: panic: make 'get_test_name' work without VFS, add echo
...
When vfs component is not added to the build, bare minimum syscalls
are provided by newlib component. These syscalls currently don't
perform CR/LF translation.
This commit makes the 'get_test_name' function work with minimal
syscalls and also adds echo, so that the user sees what they type.
2022-05-02 20:47:18 +02:00
Ivan Grokhotkov
77b754b47f
newlib: fix return value of no-VFS _read_r if nothing received
...
'read' function should return 0 when encountering an end of file. When
newlib calls read and sees EOF returned, it assumes that this
condition is permanent and never calls 'read' for this file again
(unless the read pointer is moved using fseek).
The correct behavior in case no characters were received over UART is
to return -1. In this case newlib will retry reading from file on next
call to fread, fgetc or another function which calls __srefill_r.
2022-05-02 20:47:18 +02:00
Ivan Grokhotkov
47659be5b8
build system: remove lwip from common requirements
...
lwip was added to common requirements list to provide "sys/socket.h"
header to all components without additional requirements specified.
However, lwip pulls in a lot of dependencies on other components.
This commit removes lwip from common requirements to reduce the number
of components in G1-only apps.
To compensate for this removal, the following changes are made:
- newlib (which is a common requirement) has a public dependency on
lwip if lwip is present in the build. This ensures that sys/socket.h
is available as long as lwip component is included into the build.
- lwip is now a public requirement of esp-tls since esp_tls.h includes
sys/socket.h header.
- lwip is now a public requirement o esp_http_client because
sys/socket.h is included from esp_http_client.h
- lwip is now a private requirement of esp_wifi for "smartconfig_ack"
- lwip is now a private requirement of mqtt for socket functions
- lwip is now a public requirement of tcp_transport because
esp_transport_tcp.h includes sys/socket.h header.
- mbedtls checks if lwip component is present in the build. If yes,
net_sockets.c is added to the build, along with the dependency on
lwip. Previously lwip was a public requirement of mbedtls
unconditionally.
system/g1_components test app is updated to reflect the changes
Default public dependencies of a component before and after this
change, except common requirements:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
- vfs (public dependency of lwip)
- esp_wifi (public dependency of lwip)
- esp_event (public dependency of esp_wifi)
- esp_netif (public dependency of esp_event)
- esp_eth (public dependency of esp_netif)
- esp_phy (public dependency of esp_wifi)
After:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
Altogether, the following components have been always added as
public requirements to all other components, and are not added now
([breaking-change]):
- lwip
- vfs
- esp_wifi
- esp_event
- esp_netif
- esp_eth
- esp_phy
Application components now need to explicitly declare dependencies on
these components.
2022-05-02 20:47:17 +02:00
Ivan Grokhotkov
ab6151fc8e
test_utils: add missing dependency on esp_netif
2022-05-02 20:47:17 +02:00
Ivan Grokhotkov
130bbf3d6c
ci: add build job to test paths with spaces
2022-05-02 19:05:48 +02:00
Ivan Grokhotkov
cf8fb9e950
tools: fixup version references related to paths with spaces
...
The feature will only appear in 5.0 release, not in 4.4.
2022-05-02 19:05:47 +02:00
kapil.gupta
3d5ca7ee6e
wpa_supplicant: Add support for FT psk
2022-05-01 16:16:51 +05:30
David Čermák
2941cd353a
Merge branch 'bugfix/tcp_transport_documentation' into 'master'
...
tcp_transport: Fix documentation for connect functions
See merge request espressif/esp-idf!17270
2022-04-30 07:45:21 +08:00
Darian Leung
4e4f20d82a
lwip: Fix extra or missing includes
2022-04-29 15:11:44 +08:00
Roland Dobai
9b64c40981
Merge branch 'feature/add_freertos_gdb_integration' into 'master'
...
tools: add freertos support to GDB
Closes GCC-226
See merge request espressif/esp-idf!17571
2022-04-28 14:36:58 +08:00
Roland Dobai
fdf784b7d7
Merge branch 'feature/add_gdb_as_a_tool' into 'master'
...
tools: add GDB v11.1 as a tool
Closes IDF-3880, IDF-4079, OCD-411, IDFGH-4510, and GCC-90
See merge request espressif/esp-idf!17100
2022-04-28 14:35:13 +08:00
radim.karnis
1cdaf4a831
bugfix: Fix port autodetection with esptool package
2022-04-27 09:34:25 +00:00
Ivan Grokhotkov
871375cae3
Merge branch 'bugfix/bootloader_support_public_req' into 'master'
...
esp_hw_support: remove public dependency on bootloader_support
See merge request espressif/esp-idf!17792
2022-04-27 17:04:07 +08:00
jiangguangming
63ac5e4a99
mmu: add ll func used to invalidate the mmu entry
2022-04-27 11:35:07 +08:00
Simon
e4d85807ea
Merge branch 'feature/spi_flash_esp8684_support' into 'master'
...
spi_flash: refactor spi_flash clock configuration logic and support esp32c2
Closes IDF-4474, IDF-4025, and IDF-4066
See merge request espressif/esp-idf!16602
2022-04-27 11:05:45 +08:00
Fu Hanxi
609d5a4e77
Merge branch 'ci/force_based_on_commit' into 'master'
...
ci: support one pipeline must based on commmits
Closes IDFCI-1175
See merge request espressif/esp-idf!17817
2022-04-27 10:59:23 +08:00
Ivan Grokhotkov
3175e472ba
Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
...
esp_timer: remove from freertos public requirements
See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
Rodrigo Garcia
d7201b82f2
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h
2022-04-26 17:42:29 +08:00
Cao Sen Miao
4418a855ba
spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2
2022-04-26 15:22:37 +08:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
1f0e27ca63
Merge branch 'bugfix/ignore_pytest_log_artifacts' into 'master'
...
test: ignore pytest dut log artifacts
See merge request espressif/esp-idf!17889
2022-04-25 20:52:54 +08:00
Roland Dobai
6c614a40be
Merge branch 'bugfix/error_after_switching_IDFs' into 'master'
...
tools: bugfix - broken export script while working with esp-idf file
See merge request espressif/esp-idf!17528
2022-04-25 20:20:05 +08:00
morris
080953ce02
Merge branch 'contrib/github_pr_8812' into 'master'
...
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition (GitHub PR)
Closes IDFGH-7218
See merge request espressif/esp-idf!17886
2022-04-25 18:54:55 +08:00
morris
517c0b54d8
Merge branch 'contrib/github_pr_8827' into 'master'
...
led_strip component : fix timing by adding the reset signal (GitHub PR)
Closes IDFGH-7233
See merge request espressif/esp-idf!17891
2022-04-25 18:33:31 +08:00
david zuhn
52e34fb7fd
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition
2022-04-25 17:52:00 +08:00
morris
4573448a74
test: ignore pytest dut log artifacts
2022-04-25 17:16:50 +08:00
morris
a385df8ea3
test: remove makefiles in unit-test-app
2022-04-25 17:12:34 +08:00
Roland Dobai
5f017e5390
Merge branch 'feature/esptool_package' into 'master'
...
esptool: Include esptool as a Python package instead of using it as a submodule
Closes IDF-4785
See merge request espressif/esp-idf!17639
2022-04-25 16:17:56 +08:00
Alexey Lapshin
b5bafae596
tools: add GDB v11.1 as a tool
...
GDB now is standalone tool separated from toolchain due to frequent updates.
Added installation tests for the new tool.
Tests are changed because they were wrong, see explanation:
esp32 objdump:
40084290 <esp_crosscore_int_send_yield>:
......
/builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
4008429c: 000090 retw
With previous GDB backtrace was:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144
This commit fixes the backtrace with the right line number:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
Other tests changes have the same cause of fixing.
Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
Jiang Jiang Jian
68d4c47b7e
Merge branch 'update/wifi_api_Docs' into 'master'
...
DOC:update wifi api docs
Closes WIFI-4380, WIFI-3856, IDFGH-6362, and IDFGH-6778
See merge request espressif/esp-idf!16194
2022-04-25 10:48:31 +08:00
Marek Fiala
0bf264a948
tools: bugfix - broken export script while working with esp-idf file
...
+ bugfix IDF_PATH detection in sh and dash shells.
+ created Classes that represents idf-env.json file
2022-04-24 22:29:18 +02:00
Michael (XIAO Xufeng)
cbbb308173
Merge branch 'bugfix/esp_flash_forbid_invalid_init' into 'master'
...
spi_flash: forbid writing to main flash when using invalid init arguments
Closes IDFGH-6936
See merge request espressif/esp-idf!17761
2022-04-24 22:53:57 +08:00
xueyunfei
26fa8260b1
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-04-24 21:20:54 +08:00
Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
radim.karnis
2bb7dc4471
esptool: Include as a package, delete submodule
2022-04-22 21:31:17 +02:00
Darian Leung
09dc46552b
twai: Fix twai_ll_parse_frame_buffer() typo
...
Closes https://github.com/espressif/esp-idf/issues/8743
2022-04-22 15:25:39 +08:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Fu Hanxi
8dfc286d5f
ci: support one pipeline must based on commmits
2022-04-21 11:55:39 +08:00
Roland Dobai
c3bac72cbb
Merge branch 'feature/update_openocd_version' into 'master'
...
OpenOCD version update to v0.11.0-esp32-20220411
See merge request espressif/esp-idf!17770
2022-04-20 23:28:45 +08:00
Euripedes Rocha
f2c77bb70f
tcp_transport: Fix documentation for connect functions
...
Documentation was incorrectly point that we return the socket number.
The function returns an integer related to the status of the connection.
Closes https://github.com/espressif/esp-idf/issues/8416
2022-04-19 14:18:05 +00:00
Ivan Grokhotkov
fe904085fb
Merge branch 'feature/modbus_remove_component' into 'master'
...
freemodbus: remove component files from esp-idf
See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
Ivan Grokhotkov
93edb8fd52
Merge branch 'bugfix/errno_overlap' into 'master'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
See merge request espressif/esp-idf!17804
2022-04-19 18:39:20 +08:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771
Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
...
Move adding prefix/postfix of DPP key to example
Closes IDFGH-7116
See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Ivan Grokhotkov
71bab1078f
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-04-18 12:10:30 +02:00
Omar Chebib
f772d78317
hal: Remove dependency on log component
...
hal component (G0) doesn't depend on log component (G1) anymore in G0-only applications.
2022-04-18 10:35:01 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
...
In c4bcf111
, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.
Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.
This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Anton Maklakov
3f3d6c84d7
tools: print system platform
2022-04-15 13:37:27 +02:00
Erhan Kurubas
b36e9a5ebf
tools: add distro links for macos-arm64
2022-04-15 13:37:27 +02:00
Erhan Kurubas
e87aabcfa3
tools: OpenOCD version updated to v0.11.0-esp32-20220411
2022-04-15 13:37:27 +02:00
Michael (XIAO Xufeng)
7c668770ee
Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
...
ledc: Provide support for esp32c2 and esp32h2
Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648
See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
Roland Dobai
d34e1e1fde
Merge branch 'bugfix/idf_tools_constr_path' into 'master'
...
Tools: IDF_TOOLS_PATH environment variable should change the constraint file path
See merge request espressif/esp-idf!17778
2022-04-14 23:30:30 +08:00
Roland Dobai
3f385b46cc
Revert "Install always latest version of git"
...
This reverts commit 6d2abc2332
.
2022-04-14 15:26:40 +02:00
Nachiket Kukade
282d3c6188
wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
...
1. Move adding of prefix/postfix to the private key to example code.
This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Roland Dobai
4520fee875
Tools: IDF_TOOLS_PATH environment variable should change the constraint file path
2022-04-14 11:08:20 +02:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
morris
cc71e645be
Merge branch 'feature/ksz8863rll_support' into 'master'
...
ESP IDF infrastructure preparation for ksz8863rll support
See merge request espressif/esp-idf!17203
2022-04-14 10:51:27 +08:00
Michael (XIAO Xufeng)
46b5363e39
spi_flash: forbid writing to main flash when using invalid init arguments
...
Also refactored the init code to make the logic of device (CS) acquiring
more centralized.
Resolves: https://github.com/espressif/esp-idf/issues/8556
2022-04-13 18:02:34 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ivan Grokhotkov
69d1424c15
console: argtable3: add SPDX copyright headers
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
7c65370d84
spiffs: add esp_spiffs_gc function to force garbage collection
...
Closes https://github.com/espressif/esp-idf/issues/8626
2022-04-11 11:19:10 +02:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
Ondrej Kosta
4051b80b4d
esp_netif: remove dependency of L2 TAP Interface from netif_lwip
...
esp_eth: extended infrastructure to optionally provide more advanced access to MAC/PHY layers
2022-04-08 16:40:29 +02:00
Armando
a8a47a61f5
spi_flash: move buffer check from hal layer to driver layer
...
Prior to this change, `spi_flash_hal_supports_direct_write` and
`spi_flash_hal_supports_direct_read` will check the buffer pointer
place, which should be done in driver layer, instead of HAL layer.
2022-04-08 11:46:10 +08:00
Armando
c4bcf1117c
esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support
2022-04-08 11:46:10 +08:00
Mahavir Jain
37ad7c2e1f
test_apps: add build only test for !MBEDTLS_CERTIFICATE_BUNDLE
2022-04-06 05:10:43 +00:00
Ivan Grokhotkov
273633ee31
build system: add WHOLE_ARCHIVE component property
...
This component property allows including all component object files
into the executable. It is equivalent to wrapping the component
library with -Wl,--whole-archive and -Wl,--no-whole-archive flags.
Closes https://github.com/espressif/esp-idf/issues/8667
2022-04-05 18:50:20 +02:00
Roland Dobai
86e5ff1e64
Merge branch 'fix/idf_tools_print_url_earlier' into 'master'
...
Tools: idf_tools.py prints URL before starting the download
Closes IDFGH-7008
See merge request espressif/esp-idf!17647
2022-04-04 20:46:10 +08:00
Martin Gaňo
74048f079b
Fix coredump attribute error in idf_monitor.py
...
Closes https://github.com/espressif/esp-idf/issues/8651
2022-04-04 12:31:23 +02:00
Darian Leung
8c88c6f68f
freertos: Update task snapshot unit tests
...
This commit updates the task snapshot unit tests as follows:
- Both uxTaskGetSnapshotAll() and vTaskGetSnapshot() are now both tested
- Test cases are now dependent on CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
2022-04-01 22:01:16 +08:00
Song Ruo Jing
e13bb580c7
Merge branch 'refactor/gpio_unit_test' into 'master'
...
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
Closes IDF-4620
See merge request espressif/esp-idf!17417
2022-04-01 18:38:19 +08:00
morris
1459a09978
Merge branch 'bugfix/cxx_gcc11_warnings' into 'master'
...
C++: fix several gcc11 warnings
Closes GCC-229
See merge request espressif/esp-idf!17658
2022-04-01 15:12:55 +08:00
Roland Dobai
968fa03cb7
Merge branch 'feature/docker_image_latest_git_master' into 'master'
...
Install always latest version of git
See merge request espressif/esp-idf!17652
2022-03-31 21:02:46 +08:00
Anton Maklakov
9386014201
examples/cxx: add missing header
2022-03-31 15:02:34 +07:00
Anton Maklakov
40d189137e
examples/cxx: add explicit-declared copy constructor
2022-03-31 15:02:27 +07:00
Tomas Sebestik
6d2abc2332
Install always latest version of git
2022-03-30 14:41:41 +02:00
Roland Dobai
c3c2b03ed4
Tools: idf_tools.py prints URL before starting the download
...
This helps users with poor Internet connection to be able to cancel the
download and download it in another way.
Closes https://github.com/espressif/esp-idf/issues/8625
2022-03-30 11:13:16 +02:00
songruojing
8d84033b8c
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
...
Eliminate UT_T1_GPIO runner requirement by routing internally through gpio matrix and by setting gpio pins to GPIO_MODE_INPUT_OUTPUT mode for all interrupt related test cases.
2022-03-30 15:11:08 +08:00
songruojing
edcf44679d
ci: add TEST_CASE_CI_IGNORE macro to allow pytest test cases to be ignored in ci
2022-03-30 15:11:08 +08:00
songruojing
bdb5b11b39
unit test: move unit-test_app test_utils_task_delete API to be a utils API (unity_utils_task_delete) in unity component
2022-03-30 15:11:08 +08:00
wuzhenghui
4652f77a7c
esp32h2beta2:update rom layout table
2022-03-29 14:13:06 +08:00
Roland Dobai
b30846ff9e
Merge branch 'feature/add_h2_target_to_tools' into 'master'
...
tools: add RISC-V toolchain for esp32h2 and esp32c2 targets
See merge request espressif/esp-idf!17596
2022-03-28 18:35:46 +08:00
Roland Dobai
5cebbbe74d
Merge branch 'feature/idfpy_depecated_commands' into 'master'
...
tools: Remove deprecated idf.py commands
Closes IDF-3869
See merge request espressif/esp-idf!17525
2022-03-28 18:27:48 +08:00
Michael (XIAO Xufeng)
e3c0229d2e
Merge branch 'ci/renable_s3_tests' into 'master'
...
ci: renable s3 tests
See merge request espressif/esp-idf!17574
2022-03-28 15:53:49 +08:00
Jakob Hasse
2c3ff999ac
Merge branch 'feature/cxx_tests_pytest_embedded' into 'master'
...
C++: change cxx unit tests to component unit tests
Closes IDF-4807
See merge request espressif/esp-idf!17554
2022-03-28 11:45:20 +08:00
Alexey Lapshin
a2f6595c5f
tools: add freertos support to GDB
...
GDB with python support will automatically load freertos-gdb python module.
It comes to GDB with commands starting with 'freertos' to show human-readable
tables with freertos task/queue/timer information
Python module URL: https://pypi.org/project/freertos-gdb
2022-03-25 15:25:36 +04:00
Ivan Grokhotkov
c70a69b1dd
Merge branch 'bugfix/remove_ref_non_ex_options' into 'master'
...
config: removed references to non-existing kconfig options
See merge request espressif/esp-idf!17495
2022-03-25 18:02:54 +08:00
Anton Maklakov
a5d3f2e26d
tools: add RISC-V toolchain for esp32h2 and esp32c2 targets
2022-03-25 16:28:36 +07:00
Marius Vikhammer
5618ba80f9
Merge branch 'feature/refactor_esp_sys_deps' into 'master'
...
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
Closes IDF-4656
See merge request espressif/esp-idf!17092
2022-03-25 17:17:43 +08:00
Marek Fiala
b5c374ae3e
tools: Deprecated commands removed from idf.py
...
Remove deprecated commands from idf.py, but they are still kept working as cmake deprecated targets.
2022-03-25 09:08:53 +01:00
Fu Hanxi
4a59bf9594
Revert "ci: temporarily disable s3 assign test"
...
This reverts commit 8a31c52825
.
2022-03-25 12:39:57 +08:00
Jakob Hasse
9e25e0ed4b
refactor (cxx): changed cxx unit tests to component unit tests
2022-03-25 12:14:02 +08:00
morris
4cd839ec8e
Merge branch 'bugfix/ldgen_path_error' into 'master'
...
ldgen: fixed error reporting of duplicate and missing entries.
See merge request espressif/esp-idf!17568
2022-03-24 21:22:22 +08:00
Aleksei Apaseev
528cdc1546
core_dump: split corefile and coredump script from idf into a separate package
2022-03-24 13:57:48 +08:00
Marius Vikhammer
e32fc9eb36
ldgen: fixed error reporting of duplicate and missing entries.
...
Fragment was missing path variable which is used for error reporting.
2022-03-24 13:04:02 +08:00
David Cermak
c63c8d4df1
esp_eth: Fix open-cores explicit inclusion
2022-03-23 09:05:30 +01:00
Anton Maklakov
118d39c8fe
Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
...
Remove IRAM_ATTR from any function declarations
Closes GCC-223
See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +08:00
morris
95b3dad771
Merge branch 'bugfix/fix_heap_caps_add_region_with_caps_wrong_check' into 'master'
...
heap: fix wrong memory region check in `heap_caps_add_region_with_caps()`
See merge request espressif/esp-idf!17535
2022-03-23 10:26:52 +08:00
Ivan Grokhotkov
8506b2f6c9
Merge branch 'bugfix/driver_hal_essl_static_analysis_fixes' into 'master'
...
driver, essl, hal: fix issues reported by PVS-Studio
Closes IDF-2749, IDF-2753, and IDF-2785
See merge request espressif/esp-idf!17490
2022-03-22 21:47:15 +08:00
Armando
32408b718f
heap: fix wrong memory region check
...
A memory region starts from REGION_START and ends at
(REGION_START+SIZE-1).
Prior to this change, the check assumes a to-be-added region starting from REGION_START is invalid. Let's take an easy example:
A memory region: 0x1000~0x10ff
new added region: 0x1000~0x1020
This will be valid.
Valid conditions and invalid conditions are illustrated in the code comment
2022-03-22 18:51:40 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Ondrej Kosta
97ddccafd3
Added bandwidth limitaion option to iperf test scripts
2022-03-22 07:17:40 +00:00
Marius Vikhammer
9274a062fb
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
2022-03-22 11:19:32 +08:00
Tomas Rezucha
3abeee00d0
usb_host: Pin test task to core 0
...
When we try to uninstall usb_host library on multi-core SoC (ESP32S3)
the USB interrupt can be triggered even after it was disabled on one CPU
2022-03-21 18:34:25 +01:00
Tomas Rezucha
6206302787
ci: Add USB Host CDC and MSC pytests to pipeline
2022-03-21 18:34:24 +01:00
Ivan Grokhotkov
fb51a30878
Merge branch 'ci/disable_s3_target_tests' into 'master'
...
ci: temporarily disable S3 target tests
See merge request espressif/esp-idf!17531
2022-03-22 01:01:27 +08:00
Laukik Hase
52170fba7f
esp_crt_bundle: Fix build error
...
- When `esp_crt_bundle.h` is included before any config,
a build error (`esp_err_t` not defined) is observed
Closes https://github.com/espressif/esp-idf/issues/8606
2022-03-21 09:05:06 +00:00
Fu Hanxi
8a31c52825
ci: temporarily disable s3 assign test
2022-03-21 14:50:33 +08:00
Armando (Dou Yiwen)
36457b1346
Merge branch 'refactor/adc_unify_adc_unit' into 'master'
...
adc: adc single driver NG pre-step - unify adc_ll_num_t and adc_unit_t
See merge request espressif/esp-idf!17408
2022-03-18 20:29:36 +08:00
Armando
386363cafd
adc: unify adc_ll_num_t and adc_unit_t
2022-03-18 11:36:50 +08:00
Ivan Grokhotkov
2f9d47c708
Merge branch 'feature/gdbstub_rt_multicore' into 'master'
...
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)
See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Marius Vikhammer
0fbae992dd
config: removed references to non-existing kconfig options
2022-03-15 18:32:22 +08:00
Marek Fiala
029de43db3
tools: bugfix export.sh change IDF_PATH only if file is esp-idf
...
Set the self_path where the export.sh script is located, not the sourcing directory.
2022-03-15 11:24:09 +01:00
Ivan Grokhotkov
12717cbc00
hal: fix issues reported by PVS-Studio
...
https://www.viva64.com/en/b/0790/#ID369075A8F4
https://www.viva64.com/en/b/0790/#IDF03E449184
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
6a4a6d584b
essl: fix logical bug in argument check
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#IDBDD4F1FD2D
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
morris
98e19b3355
Merge branch 'contrib/github_pr_8496' into 'master'
...
SPI LCD support large color transfers (GitHub PR)
Closes IDFGH-6874
See merge request espressif/esp-idf!17391
2022-03-14 22:22:00 +08:00
David Čermák
db8fb1f47b
Merge branch 'bugfix/lwip_dhcps_cleanup' into 'master'
...
lw-IP: Support for multiple DHCP servers
Closes IDF-4599 and IDF-4458
See merge request espressif/esp-idf!16895
2022-03-14 19:30:31 +08:00
Roland Dobai
b66589af04
Merge branch 'feature/switching_IDF_repos' into 'master'
...
tools: Switching between ESP-IDF versions
Closes IDF-1854
See merge request espressif/esp-idf!15840
2022-03-14 15:58:55 +08:00
Anton Maklakov
18f62f067d
Merge branch 'contrib/github_pr_8520' into 'master'
...
esp_http_server: reword error messages (GitHub PR)
Closes IDFGH-6900
See merge request espressif/esp-idf!17398
2022-03-14 13:31:19 +08:00
morris
5963de1caf
Merge branch 'ci/fix_duplicated_test_names' into 'master'
...
CI: rename some tests to avoid duplicated test names
See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
David Cermak
c005b04d1c
lwip/dhcps: Support for dynamic dhcp server instances
2022-03-13 19:39:21 +01:00
David Cermak
bab051f450
lwip/dhcps: Cleanup internal lwip and esp-netif dependency
2022-03-13 19:38:15 +01:00
Michael (XIAO Xufeng)
aab535fe4a
Merge branch 'bugfix/regi2c_ctrl_spinlock_s2' into 'master'
...
hw_support: fixed regi2c not protected by lock on ESP32S2
See merge request espressif/esp-idf!16653
2022-03-13 02:47:53 +08:00
Michael (XIAO Xufeng)
d5bdf95580
hw_support: fixed regi2c not protected by lock on ESP32S2
2022-03-13 00:24:08 +08:00
Armando (Dou Yiwen)
6ed3ffbbf1
Merge branch 'refactor/remove_redundant_rom_cache_dependency' into 'master'
...
cache: remove redundant rom cache dependency in bootloader
Closes IDF-4523
See merge request espressif/esp-idf!17077
2022-03-12 10:11:39 +08:00
Armando
c1cbd7bbf6
cache/mmu: implememnt cache and mmu hal APIs in bootloader
2022-03-11 22:43:11 +08:00
Roland Dobai
0f57ef942a
Merge branch 'bugfix/idfpy_erase_otadata' into 'master'
...
tools: set baudrate and port with otatool.
Closes IDFGH-6687
See merge request espressif/esp-idf!17386
2022-03-11 20:58:53 +08:00
Marek Fiala
df16a45d7a
tools: Switching between ESP-IDF versions
...
Support switching between ESP-IDF versions on UNIX systems.
2022-03-11 12:57:25 +01:00
Marek Fiala
3f6add5964
tools: set baudrate and port with otatool.
...
Bugfix: Allow setting options port -p and baudrate -b, with idf.py otatool commands.
Closes https://github.com/espressif/esp-idf/issues/8317
2022-03-11 12:27:58 +01:00
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Roland Dobai
e4b1ffd676
Tools: Use default value in the Python detections scripts
...
Closes https://github.com/espressif/esp-idf/issues/8549
2022-03-11 11:00:31 +01:00
Anton Maklakov
3820136ea2
Merge branch 'bugfix/add-hint-monitor-exit' into 'master'
...
Add hint for exiting the idf.monitor.py
Closes IDFGH-6888
See merge request espressif/esp-idf!17453
2022-03-11 16:06:34 +08:00
Mahavir Jain
3b0cb10b9d
protocomm: fix copyright header
2022-03-11 09:17:20 +05:30
David Čermák
4196c3f591
Merge branch 'update/discontinue_tcpip_adapter' into 'master'
...
esp_netif: Remove tcpip_adapter compatibility layer
Closes IDF-4457
See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
Mahavir Jain
a8ba5a0264
Merge branch 'ci/all_alloc_psram_config' into 'master'
...
[ci] Add unit test configs with aggressive PSRAM allocations
See merge request espressif/esp-idf!14996
2022-03-11 00:30:56 +08:00
Konstantin Kondrashov
00ab35ade0
Merge branch 'feature/bootloader_add_app_test_lvl' into 'master'
...
bootloader: Adds a level selection for the app's test pin.
Closes IDFGH-6703
See merge request espressif/esp-idf!17425
2022-03-10 22:48:15 +08:00
Martin Gaňo
f3b7f9c431
Add hint for exiting the idf.monitor.py
...
Closes https://github.com/espressif/esp-idf/issues/8508
2022-03-10 15:20:23 +01:00
Chen Yu Dong
fa3c31ffd5
Merge branch 'ci/update_pytest_cases' into 'master'
...
CI: update pytest cases
See merge request espressif/esp-idf!17226
2022-03-10 21:42:14 +08:00
Fu Hanxi
97846e883b
Merge branch 'ci/refactor_test_apps_fuhanxi' into 'master'
...
ci: enable test_apps s3 c3 tests
Closes IDFCI-1124
See merge request espressif/esp-idf!17397
2022-03-10 17:40:32 +08:00
David Cermak
c941e29cf6
examples: Fix implicit includes after legacy code removal
2022-03-10 10:36:38 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
David Čermák
0b58f987cd
Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
...
mdns: Add support for dynamic network interfaces
Closes IDF-939
See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
morris
2c7cfdd784
spi: define tranfer max bit length in LL
2022-03-10 13:40:43 +08:00
Laukik Hase
7c6d343a60
ci: Add unit test configs for aggressive SPIRAM allocations
...
- CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
Everything will be allocated from the SPIRAM
(except DMA and FreeRTOS task resources)
- CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
Allow external memory as an argument to xTaskCreateStatic
- CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=default
Reserved memory for crucial internal functions (DMA, FreeRTOS)
- Increase parallel job count
2022-03-10 05:01:17 +00:00
Fu Hanxi
851d832eb6
ci: enable test_apps s3 c3 tests
...
Refactor the tags a bit to make the tags could reuse the env markers.
They suppose to be the same thing.
2022-03-10 11:56:15 +08:00
Fu Hanxi
1c3628d631
ci: refactor a few test scripts to pytest
2022-03-10 11:51:45 +08:00
Jiang Jiang Jian
7c7e8a83b9
Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
...
Remove legacy system event framework.
Closes IDF-3608
See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
Simon
fb4ee8e31f
Merge branch 'feature/support_hpm_on_flash' into 'master'
...
spi_flash: Building a framework to enable HPM when flash works under high speed mode, take GD as an example.
Closes IDF-4537
See merge request espressif/esp-idf!16660
2022-03-10 03:04:21 +08:00
KonstantinKondrashov
21dd929c72
bootloader: Adds a level selection for the app's test pin.
...
Closes https://github.com/espressif/esp-idf/issues/8332
2022-03-09 19:52:37 +08:00
morris
b841332aa5
Merge branch 'component/esp_websocket_migration' into 'master'
...
websocket: Remove internal component, examples and test
Closes IDF-4076
See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
Cao Sen Miao
85dd785d8d
spi_flash: Building a framework to enable HPM when flash works under high speed mode
2022-03-09 18:49:34 +08:00
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
morris
da28f7e2d9
Merge branch 'feature/rmt_hal_dma' into 'master'
...
rmt: document and improve LL driver
See merge request espressif/esp-idf!17297
2022-03-09 17:55:08 +08:00
Shubham Kulkarni
a4afeed209
esp_http_server: Minor updates in error messages
...
idf_http_server_test/client.py: Update test script with new error message
2022-03-09 14:43:10 +05:30
Chen Yudong
5c211efaa8
CI: update test cases from test results
2022-03-09 14:08:38 +08:00
Vamshi Gajjela
bee6053fc0
Merge branch 'feature/ftruncate_vfs_fatfs_support' into 'master'
...
fatfs: Implement ftruncate function in VFS and FAT VFS
Closes IDFGH-6641
See merge request espressif/esp-idf!17389
2022-03-09 13:20:54 +08:00
Marius Vikhammer
934a3951b8
Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
...
soc: support placing task stacks in external memory for S2 and S3
Closes IDF-2797 and IDF-1805
See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
morris
4dfbc9ee7b
rmt: remove deprecated functions
2022-03-09 10:58:14 +08:00
morris
9f55712c03
rmt: document and improve LL driver
2022-03-09 10:58:12 +08:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
Vamshi Gajjela
ea9f7cc370
fatfs: Add ftruncate api support for VFS and FAT-VFS
...
Unit test cases added to verify ftruncate within fatfs tests.
Closes https://github.com/espressif/esp-idf/issues/8279
2022-03-08 16:58:25 +05:30
Darian Leung
163ddc3818
freertos: Update components CMakeLists.txt and Add SMP Kconfig option
...
This commit does the following:
- Add a Kconfig option to select between the IDF FreeRTOS kernel and the
FreeRTOS SMP kernel.
- Updates the freertos component's CMakeLists.txt so that FreeRTOS SMP
files are now built based the the new configuration option.
This commit WILL NOT compile. The port files for FreeRTOS SMP still need to
be updated.
2022-03-08 14:59:18 +08:00
Darian Leung
2d1afaf35b
freertos: Add FreeRTOS SMP upstream files
...
This commit copies over the sources files from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/smp based on the
commit 4832377117b4198db43009f2b548497d9cdbf8da
The FreeRTOS SMP sources are added to components/freertos/FreeRTOS-Kernel-SMP
Notes:
- This commit WILL NOT compile correctly. It simply copies over sources files
- copyright_ignore.txt entries added so that we can avoid using SPDX headers
- Portable files are not added yet
2022-03-08 14:58:57 +08:00
Zim Kalinowski
0440aca4e3
Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
...
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
Vamshi Gajjela
a9454c9776
Merge branch 'feature/sdmmc_erase_cmd_support' into 'master'
...
[sdmmc] Add erase command support
Closes IDFGH-5947 and IDFGH-5935
See merge request espressif/esp-idf!17054
2022-03-07 21:52:23 +08:00
Ivan Grokhotkov
5bc1cd7d26
Merge branch 'feature/flash_emu_linux_component' into 'master'
...
[spi_flash] LINUX target emulation of Partition API
See merge request espressif/esp-idf!13929
2022-03-07 20:36:38 +08:00
Simon
4bf4a020a6
Merge branch 'refactor/abstract_temperature_sensor' into 'master'
...
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3
Closes IDF-3665, IDF-3367, and IDF-1793
See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Fu Hanxi
6ddd6e6d29
Merge branch 'docs/pytest_in_idf' into 'master'
...
docs: add README about pytest in IDF
See merge request espressif/esp-idf!17250
2022-03-07 15:34:28 +08:00
gabsuren
f3c7215565
websocket: Remove internal component, examples and test
2022-03-07 11:07:40 +04:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Konstantin Kondrashov
e17b0df8ec
Merge branch 'feature/adds_efuses_to_table' into 'master'
...
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
See merge request espressif/esp-idf!17294
2022-03-07 13:05:55 +08:00
Armando (Dou Yiwen)
748037708f
Merge branch 'bugfix/fix_adc_digital_not_reset_issue' into 'master'
...
adc: fix adc digital part not reset issue
Closes IDF-4680
See merge request espressif/esp-idf!17279
2022-03-06 13:49:18 +08:00
Vamshi Gajjela
ffdbeee9f6
sdmmc: Add erase command-38. Support erase/trim/discard/sanitize
...
options.
Erase command (38) for SD cards allows option for erase/dicard/fule
operation at block level and for MMC cards supports option for
discard/trim at block level. When Sanitize is executed only the
portion of data that was unmapped by a Discard command shall be
removed by the Sanitize command.
Unit test cases added to verify ERASE feature in SD/SDSPI mode.
TRIM/DISCARD/SANITIZE tests for eMMC devices.
Closes https://github.com/espressif/esp-idf/pull/7635
Closes https://github.com/espressif/esp-idf/issues/7623
2022-03-05 16:02:01 +05:30
Roland Dobai
34a610c2c7
Merge branch 'update/detection_script_python' into 'master'
...
Update Python detection scripts
See merge request espressif/esp-idf!17277
2022-03-05 03:15:21 +08:00
Martin Vychodil
9a5f39ec2c
spi_flash: Linux target emulation of Partition API
...
Emulator of Partition API layer for Linux OS
2022-03-04 14:36:46 +00:00
Ivan Grokhotkov
c8b43ee0c1
Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4641
See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
morris
a0283234cd
Merge branch 'feature/support_esp32h2_gpio' into 'master'
...
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix
Closes IDF-4232 and IDF-3439
See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb
Temperature_sensor: Create new temperature sensor API
2022-03-04 18:13:35 +08:00
Tomas Sebestik
addd647f41
Update detect_python SH
2022-03-04 09:38:24 +01:00
Marius Vikhammer
374712921a
CI: add configs for running S2, S3 unit tests with PSRAM
...
Fixed various minor failures detected with these configs.
2022-03-04 15:29:17 +08:00
Marius Vikhammer
e543e97c7b
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-03-04 15:25:52 +08:00
Armando
4ca115be98
adc: fix adc digital not reset issue
2022-03-04 03:49:33 +00:00
songruojing
c8c137f2b7
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Ivan Grokhotkov
c8d1737d57
examples: file_serving: add support for ESP32-S3, refactoring
...
* Move filesystem mounting code into a separate file to simplify the
main source file.
* Clean up SDMMC and SDSPI related code. Move pin configuration into
Kconfig.
* Use same base_path ('/data') for either SPIFFS or SD. Remove the
check in file_server.c about the base path.
* Update README according to the changes above.
2022-03-03 21:43:37 +01:00
morris
0d920a47f7
unit_test: migrate to use pulse_cnt driver
2022-03-03 22:38:32 +08:00
morris
ec8defaa96
pulse_cnt: new driver for PCNT peripheral
2022-03-03 22:38:32 +08:00
Roland Dobai
6e405cc209
Merge branch 'bugfix/idf_size_assertions' into 'master'
...
tools: Fix assertion messages and fix some of them in idf_size.py
Closes IDF-4610 and IDFGH-6801
See merge request espressif/esp-idf!17305
2022-03-03 20:42:08 +08:00
Suren Gabrielyan
16010d58d1
Merge branch 'test/mdns_test_app' into 'master'
...
mdns: Stabilizing mdns test app
See merge request espressif/esp-idf!16440
2022-03-03 14:46:52 +08:00
Fu Hanxi
5ccb5eeebd
docs: add README about pytest in IDF
2022-03-03 14:36:50 +08:00
Song Ruo Jing
b665dcbe68
Merge branch 'feature/esp32c2h2_support_uart' into 'master'
...
UART: Provide support for esp32c2 and esp32h2
Closes IDF-3823, IDF-4154, and IDF-4221
See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
morris
25f80255a7
Merge branch 'bugfix/confgen_depr_header_non_vis' into 'master'
...
kconfig: fixed non-visible deprecated configs missing from sdkconfig.h
See merge request espressif/esp-idf!17320
2022-03-03 10:32:46 +08:00
Marius Vikhammer
29db173536
Merge branch 'feature/move_target_kconfig' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!16893
2022-03-03 09:39:54 +08:00
gabsuren
93a902ba80
mdns: Stabilization of mdns test app
2022-03-03 01:21:27 +04:00
Aditya Patwardhan
98194f7ee6
Update allowed licenses for asio component
2022-03-03 01:37:10 +05:30
Laukik Hase
0868513ddd
ci: Fix unit test failures
...
- protocomm: Fix leakage due to ECDH context not being
initialised and freed properly
- mbedtls (RSA): Added mandatory RNG parameter wherever required
Disabled `test performance RSA key operations` UT
- mbedtls (AES_GCM): Added mbedtls_gcm_update_ad() wherever required
for updating associated data
- unit_test_app: Fix build issue when heap tracing is enabled
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
09ad7148eb
CI: Fix copyright ignore list file
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
39dcbb2136
Ci: fix build test failure.
...
The build prints a line (Generating error.c) which is considered as error in the pipeline
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
60b167f2d6
mbedtls-3.1 update: Removed the MBEDTLS_PRIVATE
from multiple files
...
after they have been again made public in mbedtls-3.1
*Added `MBEDTLS_ALLOW_PRIVATE_ACCESS` in some files.
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Kapil Gupta
84f9aa13c9
Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
...
esp_example: Enable MbedTLS for DPP enrollee by default
Closes WIFI-4275
See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
KonstantinKondrashov
6d11c57b2a
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
...
Closes https://github.com/espressif/esp-idf/issues/8357
2022-03-02 18:48:42 +08:00
Marius Vikhammer
8aacdb184a
kconfig: fixed non-visible deprecated configs missing from sdkconfig.h
...
Non-visible configs would previously not appear in the deprecated section of the sdkconfig.h,
but non-visable configs are used in IDF (and user code) and should therefor be present.
2022-03-02 18:01:08 +08:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
songruojing
24a60c12c6
uart: Provide support for esp32c2 and esp32h2
...
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
David Čermák
8363f88cd5
Merge branch 'example/asio_socks4_client' into 'master'
...
EXAMPLES/ASIO: Adds a SOCKS4 example
See merge request espressif/esp-idf!16461
2022-03-02 04:12:09 +08:00
Michael (XIAO Xufeng)
78165c541e
Merge branch 'bugfix/bootloader_uart_custom_gpio' into 'master'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect
Closes IDF-4606
See merge request espressif/esp-idf!16910
2022-03-02 02:35:14 +08:00
Roland Dobai
f1f0bd34b9
Tools/idf_size.py: Support .noinit sections
...
Closes https://github.com/espressif/esp-idf/issues/8428
2022-03-01 18:58:20 +01:00
Roland Dobai
ad59ef3893
tools/idf_size.py: Identify objects without extension in MAP files
2022-03-01 18:11:36 +01:00
Dmitry
a8c3fe56c8
This commit add to GDBstup:
...
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Euripedes Rocha
f7b842bbc7
EXAMPLES/ASIO: Adds a SOCKS4 example
...
Creates an example on how to connect using Socks4 based proxy.
2022-03-01 13:50:47 +00:00
songruojing
d4334cc109
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-01 18:21:27 +08:00
Mahavir Jain
15ab3466fa
Merge branch 'contrib/github_pr_8467' into 'master'
...
Fix typos. (GitHub PR)
Closes IDFGH-6843
See merge request espressif/esp-idf!17289
2022-02-28 16:50:33 +08:00
Mahavir Jain
47fb454baa
esp_system: Fix copyright header
2022-02-28 11:41:02 +05:30
Kevin (Lao Kaiyao)
cc1d89ebba
Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
...
i2c: support i2c on esp32c2 and esp32h2
Closes IDF-3918
See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
Konstantin Kondrashov
44e5ac2c59
Merge branch 'feature/efuse_hal' into 'master'
...
hal: Adds efuse hal layer
See merge request espressif/esp-idf!16354
2022-02-28 13:38:43 +08:00
morris
b85eeb3224
Merge branch 'feature/lcd_isr_in_iram' into 'master'
...
refactor LCD unit tests into test apps
Closes IDF-4666
See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
David Čermák
2a91e4c895
Merge branch 'bugfix/mdsn_fuzzer_extend' into 'master'
...
mdns: Extend fuzzing and Fix various petty issues
Closes IDFGH-6675
See merge request espressif/esp-idf!17006
2022-02-24 23:03:50 +00:00
KonstantinKondrashov
9605f3eb1a
soc: Adds efuse hal
...
Replaced eFuse ROM funcs with hal layer
2022-02-24 22:20:09 +08:00
Roland Dobai
f6ac2ad419
Merge branch 'bugfix/add-resolution-suggestion-for-coredump' into 'master'
...
coredump.py: Remove line finalization when coredump is in progress to avoid coredump failure
Closes IDFGH-6439
See merge request espressif/esp-idf!17243
2022-02-24 11:01:28 +00:00
David Cermak
2c1007156e
mdns: Update fuzzer test (add delegation, check memory)
...
* Add new config with no services
* Add new test packets and more queries
* Allocate packet to check for mem issues
2022-02-24 09:41:56 +00:00
morris
8c91ef7599
Merge branch 'contrib/github_pr_8430' into 'master'
...
ADC Fix compiling when included from C++ (GitHub PR)
Closes IDFGH-6804
See merge request espressif/esp-idf!17216
2022-02-24 08:42:06 +00:00
Roland Dobai
d1ae1450c9
Merge branch 'feature/remove_unused_tools' into 'master'
...
tools: Remove tools that are not used by active ESP-IDF version.
Closes IDF-2054
See merge request espressif/esp-idf!16586
2022-02-24 06:29:34 +00:00
Mahavir Jain
4861ca0179
Merge branch 'update/remove_openssl' into 'master'
...
openssl: Remove deprecated component
Closes IDF-3925 and IDFCI-1102
See merge request espressif/esp-idf!17200
2022-02-24 03:46:01 +00:00
Martin Gaňo
b334d01e5f
Remove line finalization when coredump is active to avoid coredump failure
...
Closes https://github.com/espressif/esp-idf/issues/8099
2022-02-24 02:05:58 +01:00
Mahavir Jain
66593bf140
Merge branch 'feature/coap_to_component_manager' into 'master'
...
Push out `coap` to idf-extra-component repository
Closes IDF-4626
See merge request espressif/esp-idf!17241
2022-02-23 19:43:02 +00:00
Roland Dobai
a0ae0712b5
Merge branch 'bugfix/flash_from_monitor_on_windows' into 'master'
...
Tools: IDF Monitor should flash with the unmodified port
Closes IDFGH-6805
See merge request espressif/esp-idf!17244
2022-02-23 12:32:44 +00:00
David Cermak
0630834bc3
openssl: Remove deprecated component
2022-02-23 13:08:12 +01:00
Harshit Malpani
1cb9ba5076
Push out coap
to idf-extra-component repository
2022-02-23 15:08:36 +05:30
Fu Hanxi
9a544c0006
Merge branch 'ci/fix_nightly_run_build_jobs' into 'master'
...
ci: build all when has env var NIGHTLY_RUN
See merge request espressif/esp-idf!17072
2022-02-23 08:44:41 +00:00
laokaiyao
cf353c505a
i2c: support esp32h2
2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae
i2c: support esp32c2
2022-02-23 15:19:37 +08:00
Fu Hanxi
fac13c5c3d
Merge branch 'ci/migrate_panic_test_to_pytest_embedded' into 'master'
...
CI: migrate panic test to pytest embedded
See merge request espressif/esp-idf!17119
2022-02-23 03:00:07 +00:00
morris
5951d7480c
Merge branch 'feature/fatfs_14b_update' into 'master'
...
fatfs: Update to version 0.14b
Closes IDF-1981
See merge request espressif/esp-idf!16791
2022-02-23 01:44:37 +00:00
Fu Hanxi
4cbaf6fbb1
ci: enable pytest panic test
2022-02-23 09:12:46 +08:00
Fu Hanxi
1b095db5c9
ci(pytest): refactor panic test to pytest
2022-02-23 09:12:46 +08:00
Marius Vikhammer
06d8a5bf33
Merge branch 'bugfix/inline_intrmask_from_isr' into 'master'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
Closes IDFGH-6669
See merge request espressif/esp-idf!16970
2022-02-23 01:05:40 +00:00
Roland Dobai
2ac0942dfb
Merge branch 'bugfix/tools_fix_gdb_2021r2_patch3' into 'master'
...
tools: update esp-2021r2-patch3 toolchain for fixing GDB
See merge request espressif/esp-idf!17126
2022-02-22 19:32:42 +00:00
Roland Dobai
014a632b4d
Tools: IDF Monitor should flash with the unmodified port
...
Closes https://github.com/espressif/esp-idf/issues/8432
2022-02-22 18:36:50 +01:00
Jakob Hasse
7963f3a270
Merge branch 'bugfix/spiffs_wear_levelling_update_copyrights' into 'master'
...
spiffs, wear_levelling: update copyright headers
See merge request espressif/esp-idf!17229
2022-02-22 11:57:27 +00:00
Roland Dobai
786592cef9
Merge branch 'bugfix/idf_py_shell_complete_env_check' into 'master'
...
Tools: Don't check the environment during idf.py shell completion
Closes IDFGH-6733
See merge request espressif/esp-idf!17111
2022-02-22 11:21:09 +00:00
Jiang Guang Ming
453146fe75
Merge branch 'bugfix/update_esp32c2_soc_memory_addr' into 'master'
...
soc: update memory address for esp32c2
See merge request espressif/esp-idf!17085
2022-02-22 10:23:35 +00:00
Marius Vikhammer
94089edbc3
Merge branch 'ci/test_utils_ipc_stack' into 'master'
...
CI: increase IPC stack size for test_utils configs
Closes IDFCI-1108
See merge request espressif/esp-idf!17231
2022-02-22 07:20:23 +00:00
Fu Hanxi
91cb23d688
ci: build all when has env var NIGHTLY_RUN
2022-02-22 14:57:38 +08:00
morris
f1235d8418
Merge branch 'bugfix/esp_common_copyrights' into 'master'
...
esp_common: update copyright headers
See merge request espressif/esp-idf!17213
2022-02-22 04:45:17 +00:00
Song Ruo Jing
da3b7f106b
Merge branch 'feature/support_esp32c2_reset_cause' into 'master'
...
esp_system: support esp32c2 reset reason
Closes IDF-3832 and IDF-4244
See merge request espressif/esp-idf!17158
2022-02-22 03:12:44 +00:00
Marius Vikhammer
ae31146b0b
CI: increase IPC stack size for test_utils configs
2022-02-22 10:42:34 +08:00
Ivan Grokhotkov
911a8fc714
spiffs, wear_levelling: update copyright headers
2022-02-22 00:09:24 +03:00
Adam Múdry
bb8587a139
fatfs: Update to version 0.14b
...
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
morris
116197040f
i2s: update copyright
2022-02-21 21:28:48 +08:00
Ivan Grokhotkov
f071558117
partition_table: add a test for total partition size error
2022-02-21 10:28:29 +03:00
Anton Maklakov
7e569e1524
test_apps/panic: GDB in esp-2021r2-patch3 toolchain doesn't contain the fix for interrupted backtraced
...
Revert "test_apps/panic: remove workaround for incorrect GDB backtrace"
This reverts commit 3e3fa4bff2
.
2022-02-21 10:51:41 +07:00
Anton Maklakov
d25c5b8ba9
tools: update esp-2021r2-patch3 toolchain for fixing GDB
...
Closes https://github.com/espressif/esp-idf/issues/8065
Closes https://github.com/espressif/esp-idf/issues/8342
Closes https://github.com/espressif/openocd-esp32/issues/210
2022-02-21 10:50:38 +07:00
Ivan Grokhotkov
413375453b
esp_common: update copyright headers
2022-02-21 00:51:49 +03:00
Marek Fiala
a4b0560014
tools: Remove tools that are not used by active ESP-IDF version.
...
Or remove unused archives from tools - older version, or unused tool archive
2022-02-20 19:48:50 +01:00
Roland Dobai
e18fb46bc0
Merge branch 'contrib/github_pr_8419' into 'master'
...
Added typing to serial_write() (GitHub PR)
Closes IDFGH-6792
See merge request espressif/esp-idf!17193
2022-02-17 19:46:06 +00:00
Jakob Hasse
41e1eea9a9
Merge branch 'contrib/github_pr_8388' into 'master'
...
esp_event: constify event_data pointer (GitHub PR)
Closes IDFGH-6760
See merge request espressif/esp-idf!17195
2022-02-17 14:44:32 +00:00
Mahavir Jain
69f51a989c
Merge branch 'feature/pre_encrypted_binary' into 'master'
...
feature: Pre Encrypted Binary during OTA updates
Closes IDF-3256, IDF-3254, and IDFGH-4334
See merge request espressif/esp-idf!16434
2022-02-17 13:36:54 +00:00
Mahavir Jain
3eb8f3b54e
esp_https_ota: add some return values to API documentation
2022-02-17 10:49:15 +05:30
Roland Dobai
03fb3fd25b
Merge branch 'bugfix/monitor_baud_rate' into 'master'
...
Tools: Rename the monitor's baud argument for consistency and use the global baud if not defined
Closes IDFGH-6686
See merge request espressif/esp-idf!17065
2022-02-16 18:13:50 +00:00
Roland Dobai
d93380e8f6
Tools: Don't print git failure message for version detection
2022-02-16 18:47:08 +01:00
Roland Dobai
49e9f254c5
Tools: Don't check the environment during idf.py shell completion
...
Closes https://github.com/espressif/esp-idf/issues/8362
2022-02-16 18:47:08 +01:00
Roland Dobai
a93e372364
Tools: Fix silent failure about the incompatible Python
2022-02-16 18:44:13 +01:00
Niklas Lantau
9f97e5c84e
Added typing to serial_write()
...
Added type annotation for serial_write() parameters and return types.
2022-02-16 16:47:05 +01:00
Amaryllis Kulla
1858901241
esp_event: constify event_data pointer
...
Also update copyright headers.
2022-02-16 16:16:45 +01:00
Mahavir Jain
71e29053cf
Merge branch 'refactor/esp_https_server_api_cleanup' into 'master'
...
esp_https_server: API cleanup
Closes IDFGH-6540
See merge request espressif/esp-idf!17136
2022-02-15 16:11:09 +00:00
songruojing
bcf24c80df
ci: Add esp32c2/rom/rtc.h to check_public_headers_exceptions.txt to pass ci
2022-02-15 15:31:33 +08:00
jiangguangming
b509d9d2ac
tools: update esp32c2_data_info_yaml
2022-02-15 15:14:42 +08:00
songruojing
b860fa96e0
esp_system: support esp32c2 reset reason
2022-02-15 13:50:22 +08:00
David Cermak
2553fb5845
esp_eth: Make EMAC DMA burst size configurable
...
Merges https://github.com/espressif/esp-idf/pull/7874
Closes https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Roland Dobai
9027c30237
Merge branch 'feat/python_reqs_directory' into 'master'
...
Tools: Make easier the detection of the list of Python features
See merge request espressif/esp-idf!17009
2022-02-14 16:06:36 +00:00
Harshit Malpani
94056fd4a5
esp_https_server: API cleanup
2022-02-14 16:25:54 +05:30
morris
dbfde65515
lcd: refactor ut into test app
2022-02-14 18:43:50 +08:00
morris
84b750cbe8
Merge branch 'refactor/lcd_soc_ll_update_according_trm' into 'master'
...
lcd soc ll update according trm
See merge request espressif/esp-idf!16900
2022-02-12 08:13:34 +00:00
Marius Vikhammer
5ef585b1b9
Merge branch 'feature/remove_frc2_timer' into 'master'
...
esp_timer: remove legacy ESP32 FRC timer implementation
Closes IDF-3805
See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Roland Dobai
51bfd280f8
Merge branch 'update/drop_python36' into 'master'
...
Drop Python 3.6
See merge request espressif/esp-idf!16676
2022-02-10 13:09:42 +00:00
Chen Yu Dong
06a5384f32
Merge branch 'ci/auto_deploy_test_result_timeout' into 'master'
...
CI: add timeout for jobs and expire_in for artifacts
See merge request espressif/esp-idf!17079
2022-02-10 08:38:21 +00:00
Marius Vikhammer
edb76f14d6
esp_timer: remove legacy ESP32 FRC timer implementation.
2022-02-10 15:17:49 +08:00
Tomas Sebestik
fb12d03dc3
Drop Python 3.6
2022-02-10 07:20:52 +01:00
Anton Maklakov
3a04b712fa
Merge branch 'bugfix/fix_abs_using' into 'master'
...
build: fix abs() use
See merge request espressif/esp-idf!16952
2022-02-10 05:18:32 +00:00
Darian
61639fe1ec
Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
...
FreeRTOS: Remove usage of legacy data types
Closes IDF-4566
See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Song Ruo Jing
40d1102ca5
Merge branch 'bugfix/cpu_reset_perip_clk_disable' into 'master'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison
See merge request espressif/esp-idf!15492
2022-02-10 03:44:15 +00:00
Roland Dobai
6b42029a8a
Tools: Rename the monitor's baud argument for consistency and use the global baud if not defined
...
Closes https://github.com/espressif/esp-idf/issues/8316
2022-02-09 16:47:11 +01:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Chen Yudong
de7e67ccec
CI: add expire_in and timeout for jobs
...
add timeout 4 hours and retry for deploy_test_result
add missing expire_in for artifacts
add timeout 1 hour for tartget test jobs
add retry when job_execution_timeout
2022-02-09 22:06:37 +08:00
morris
5810ed1d04
Merge branch 'refactor/remove_ets_sys_from_public_header' into 'master'
...
esp_rom: remove ets_sys.h dependency from public header files
See merge request espressif/esp-idf!16919
2022-02-09 12:27:06 +00:00
songruojing
c1dedb33fa
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
2022-02-09 15:54:34 +08:00
morris
5893797bf0
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap' into 'master'
...
rmt: rx wrap doesn't support on esp32s2
Closes IDFGH-6725
See merge request espressif/esp-idf!17052
2022-02-09 06:54:41 +00:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
Anton Maklakov
db9c5507f2
Merge branch 'ci/remove_pytest_dir_non_test_apps' into 'master'
...
ci: build_pytest_app will now remove the non-test apps
Closes IDFCI-1075
See merge request espressif/esp-idf!16984
2022-02-09 03:29:32 +00:00
Roland Dobai
60d7ea1f23
Merge branch 'bugfix/win_rename_delay' into 'master'
...
Tools: Use delay between rename attempts on Windows in the installer
See merge request espressif/esp-idf!17047
2022-02-08 10:02:27 +00:00
morris
955cb4c656
Merge branch 'bugfix/perfmon_copyright_headers' into 'master'
...
perfmon: add SDPX headers
See merge request espressif/esp-idf!17030
2022-02-08 08:38:49 +00:00
morris
9887c7e780
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-08 13:57:31 +08:00
Mahavir Jain
79d95455de
Merge branch 'contrib/github_pr_8337' into 'master'
...
Set success when closing socket (GitHub PR)
Closes IDFGH-6709
See merge request espressif/esp-idf!17022
2022-02-08 04:41:26 +00:00
Marius Vikhammer
0ffeaf9350
Merge branch 'feature/confgen_rename_many_to_one' into 'master'
...
kconfig: update confgen to handle sdkconfig.rename with target specific markup
Closes IDF-4544
See merge request espressif/esp-idf!16949
2022-02-08 02:38:22 +00:00
Ivan Grokhotkov
ffc4e571ca
Merge branch 'revert-b092fa07' into 'master'
...
Revert "Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'"
Closes IDFCI-1085
See merge request espressif/esp-idf!17034
2022-02-07 20:15:50 +00:00
Roland Dobai
39fd59f2c0
Tools: Use delay between rename attempts on Windows in the installer
2022-02-07 17:18:37 +01:00
Mahavir Jain
e97b034b3e
transport_ssl: use return value from close
for non-TLS case
...
Also fix copyright header for this file
2022-02-07 17:17:16 +05:30
Ivan Grokhotkov
d3f1867725
Merge branch 'bugfix/apptrace_copyright_headers' into 'master'
...
app_trace: add SPDX headers, mention SystemView in copyrights doc
See merge request espressif/esp-idf!17029
2022-02-07 10:38:58 +00:00
Ivan Grokhotkov
e27679b636
perfmon: add SDPX headers
2022-02-07 08:02:13 +00:00
Marius Vikhammer
8220b2bb34
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
...
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.
Closes https://github.com/espressif/esp-idf/issues/8301
2022-02-07 11:32:45 +08:00
Fu Hanxi
e761153cff
ci: adjust parallel count based on build item count
2022-02-07 10:55:54 +08:00
Fu Hanxi
30f098cd49
ci: add build_non_test_component_apps
2022-02-07 10:55:54 +08:00
Fu Hanxi
b91f8fb4eb
ci: skip building pytest apps in normal find_apps build_apps
2022-02-07 10:55:54 +08:00
Fu Hanxi
153433d47d
ci: build_pytest_app will now remove the non-test apps
...
simplify the cli as well
2022-02-07 10:55:54 +08:00
Lu Ai Jun
4a0906fdb7
Update copyright headers
2022-02-07 02:28:50 +00:00
Lu Ai Jun
e599db6d04
Revert "Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'"
...
This reverts merge request !17007
2022-02-07 10:18:08 +08:00
Ivan Grokhotkov
3441dd1e98
Merge branch 'bugfix/ci_pytest_7.x' into 'master'
...
ci: make pytest build script compatible with pytest 7.x
See merge request espressif/esp-idf!17032
2022-02-05 09:06:09 +00:00
Michael (XIAO Xufeng)
c1b30491dd
Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
...
UART: add uart wakeup event for esp32c3 and esp32s3
Closes IDF-3416
See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
Ivan Grokhotkov
21834f8362
ci: make pytest build script compatible with pytest 7.x
2022-02-04 15:44:29 +01:00
Roland Dobai
fddc73759e
Tools: Make easier the detection of the list of Python features
2022-02-03 19:02:14 +01:00
Ivan Grokhotkov
4cedf84626
app_trace: add SPDX headers, mention SystemView in copyrights doc
...
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-03 17:44:59 +01:00
Darian Leung
e49f56a96d
tools: Check copyright now checks assembly files
...
This commit updates the pre-commit configuration and check copyright
script to check assembly files (extensions '.s' and '.S').
2022-02-03 20:50:52 +08:00
Darian Leung
1c60d6a895
freertos: Add SPDX license identifiers and update xtensa port files
...
This commit does the following:
- Adds SPDX license identifiers to FreeRTOS sources. Remove those FreeRTOS sources from
the copyright ignore list.
- Update xtensa port files to match FreeRTOS v10.4.3. Added SPDX license identifiers
to the port files.
- Fixed some improperly licensed files
- Removed portbenchmark.h from RISC-V port
2022-02-03 17:08:14 +08:00
Ivan Grokhotkov
b092fa0730
Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'
...
ci: temporarily disable MSPI_F8R8 test
See merge request espressif/esp-idf!17007
2022-02-01 15:22:35 +00:00
Ivan Grokhotkov
2838886639
ci: temporarily disable MSPI_F8R8 test
2022-02-01 15:39:40 +01:00
Mahavir Jain
a32a7729b3
Merge branch 'fix/prod_mode_in_configure_ds_script' into 'master'
...
configure_ds.py: Fix the error for prod mode. They script now only verifies...
Closes IDFGH-6649
See merge request espressif/esp-idf!16995
2022-02-01 05:05:10 +00:00
Laukik Hase
db914d6272
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-01-31 15:03:54 +05:30
Aditya Patwardhan
b284016bfd
configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
...
Closes https://github.com/espressif/esp-idf/issues/8285
2022-01-31 14:13:25 +05:30
Marius Vikhammer
65a302a6f6
kconfig: confgen.py now handles many-to-one config renames
...
All old symbols will now be included in the output when renaming
multiple symbols to the same new symbol.
2022-01-31 11:36:13 +08:00
Marius Vikhammer
23c55946a6
kconfig: also parse target specific sdkconfig.rename.TARGET files
...
Adds functionality for target specific sdkconfig.rename files which can be
used when certain renames are only needed for a specific target.
2022-01-31 11:36:08 +08:00
Jakob Hasse
e899edd793
Merge branch 'bugfix/nvs_coverity_issues' into 'master'
...
bugfix (nvs): Fixed issues found by Coverity
Closes IDF-4391
See merge request espressif/esp-idf!16951
2022-01-29 21:52:18 +00:00
Anton Maklakov
8bb06df68f
components: correct abs() use for unsigned and 64-bit arguments
2022-01-29 12:07:16 +07:00
David Čermák
3741486778
Merge branch 'bugfix/mqtt_ci_paho_thread' into 'master'
...
ci/mqtt: Fix publish-connect test (thread safe paho-mqtt issue)
Closes IDF-4607
See merge request espressif/esp-idf!16938
2022-01-28 20:04:00 +00:00
Anton Maklakov
7cdd151612
Merge branch 'bugfix/nocommon' into 'master'
...
enable and fix warnings on common symbols
Closes IDFGH-3055 and IDF-3013
See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
David Cermak
c2b037572c
ci/mqtt: Make publish test-app message properties configurable
...
Also increase the default sizes and repeat-counts to send more data and
exercise the library more intensly
2022-01-28 15:18:41 +01:00
Roland Dobai
8fc1fc6ac3
Merge branch 'bugfix/docs_rm_gen_chart' into 'master'
...
Docs: Remove the script for generating the version chart
Closes RDT-91
See merge request espressif/esp-idf!16973
2022-01-28 13:59:08 +00:00
Fu Hanxi
bf69db2e76
Merge branch 'ci/raise_error_when_pytest_collect_failed' into 'master'
...
ci: raise exception when pytest collect failed
See merge request espressif/esp-idf!16974
2022-01-28 13:07:46 +00:00
Sudeep Mohanty
1c393a32c4
Merge branch 'refactor/refactor_ulp_component' into 'master'
...
ulp: refactor ulp component
Closes IDF-4520
See merge request espressif/esp-idf!16886
2022-01-28 10:23:56 +00:00
Mahavir Jain
9150034b6d
Merge branch 'provisioning/update_readme' into 'master'
...
provisioning: Remove legacy examples reference
Closes IDF-4614
See merge request espressif/esp-idf!16977
2022-01-28 09:32:08 +00:00
David Čermák
5dcd630444
Merge branch 'feature/dhcps_more_client_info' into 'master'
...
lw-IP: Add more client's infor to dhcp server cb
Closes IDFGH-5839
See merge request espressif/esp-idf!16433
2022-01-28 07:31:32 +00:00
Kapil Gupta
f57ccaabee
esp_example: Enable MbedTLS for DPP enrollee by default
2022-01-28 13:53:39 +08:00
Laukik Hase
1481758fd7
esp_prov.py: Replaced deprecated function for loading modules
2022-01-28 10:36:10 +05:30
Laukik Hase
07f1e49566
provisioning: Remove legacy examples section from README
2022-01-28 09:58:43 +05:30
Fu Hanxi
63b0d2b11f
ci: raise exception when pytest collect failed
2022-01-28 11:31:33 +08:00
Roland Dobai
a78884a41c
Docs: Remove the script for generating the version chart
2022-01-27 18:44:11 +01:00
David Cermak
9de81ed2e2
ci/mqtt: Fix weekend test publish-connect on target
...
* Fix thread safe issue in paho-mqtt library
* Move the weekend test to ethernet runner
2022-01-27 13:37:47 +01:00
Jakob Hasse
4c8c2a8079
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-01-27 19:30:58 +08:00
Mahavir Jain
d587a1ce6d
Merge branch 'refactor/provisioning_examples' into 'master'
...
provisioning: Remove legacy examples
Closes IDF-4558
See merge request espressif/esp-idf!16776
2022-01-27 07:28:52 +00:00
Sudeep Mohanty
2fc9bd61bf
ulp: refactor ulp component
...
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.
This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Ivan Grokhotkov
7dac0abdff
examples: advanced_https_ota: make some globals static
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
f770cf721a
fatfs: make global constants extern
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
336d0b64de
riscv: fix panic_reasons being an instance of enum, not type name
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
d4190a9471
wpa_supplicant: mark global variables defined in headers 'extern'
...
...to avoid defining common symbols.
GCC since version 10 defaults to -fno-common and doesn't generate
common symbols, leading to duplicate definitions of these symbols.
2022-01-27 11:00:09 +07:00
Roland Dobai
0ac6a105ef
Merge branch 'bugfix/checkout_ref_branch' into 'master'
...
bugfix: checkout ref failed for origin branches
See merge request espressif/esp-idf!16936
2022-01-26 16:25:23 +00:00
Chen Yudong
d48cbdd1e9
bugfix: checkout ref failed for origin branches
2022-01-26 20:22:29 +08:00
Konstantin Kondrashov
c4d91581ca
Merge branch 'bugfix/efuse_timesettings_for_esp32s3' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32S3
See merge request espressif/esp-idf!16907
2022-01-26 09:33:39 +00:00
Zim Kalinowski
67f51a4ce5
Merge branch 'bugfix/riscv_i2c_description' into 'master'
...
i2c: fix the controller count in the header description
Closes IDFGH-6476
See merge request espressif/esp-idf!16718
2022-01-26 03:13:07 +00:00
KonstantinKondrashov
45d2d2470b
efuse: Fixes eFuse timesettings issue on esp32S3
2022-01-25 22:09:14 +08:00
Jiang Jiang Jian
3fa37be643
Merge branch 'ci/split_assign_test_and_add_c3_integration_test' into 'master'
...
ci: split assign test and add esp32c3 integration tests
See merge request espressif/esp-idf!16664
2022-01-25 13:06:06 +00:00
Mahavir Jain
0027483e93
Merge branch 'feature/mbedtls-2.28.0' into 'master'
...
mbedtls: Upgrading to v2.28.0
Closes IDFGH-6478
See merge request espressif/esp-idf!16568
2022-01-25 12:41:19 +00:00
David Cermak
e3d71c984a
lwip: Add client's MAC addr to dhcp server cb
...
* Extended storage for staipassigned events to pass client's MAC address.
* Added client's MAC to dhcp server callback
* Posting the staipassigned events with clients IP and MAC address
2022-01-25 13:08:43 +01:00
laokaiyao
c4cfb654d2
uart: support light sleep on esp32s3
2022-01-25 17:43:02 +08:00
Chen Wu
35941de800
debug: esp32c3 uart1 wakeup
2022-01-25 17:43:02 +08:00
Ivan Grokhotkov
0ebf93c01e
Merge branch 'bugfix/linux_taret_fixes' into 'master'
...
linux target: various minor fixes
See merge request espressif/esp-idf!16905
2022-01-25 08:43:38 +00:00
Roland Dobai
7b4034eeab
Merge branch 'bugfix/python_check_before_build' into 'master'
...
Revert "Tools: Don't check Python packages on every idf.py & cmake run"
See merge request espressif/esp-idf!16902
2022-01-25 08:29:58 +00:00
Laukik Hase
424c45df91
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
2022-01-25 10:51:27 +05:30
Laukik Hase
befc93aa2d
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-01-25 10:51:27 +05:30
Laukik Hase
09de379731
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-01-25 10:51:27 +05:30
Chen Yudong
b4c4e3a79d
ci: do not retry on 404 when LOCAL_GITLAB_HTTPS_HOST not set
2022-01-25 11:49:55 +08:00
Chen Yudong
11d4542165
ci: update intergration test to support esp32c3
2022-01-25 11:49:55 +08:00
Chen Yudong
ec4175b127
ci: optimize downloading build_ssc artifacts
2022-01-25 11:49:55 +08:00
Chen Yudong
dd4f27801f
ci: move integration test related files outside of components
2022-01-25 11:49:55 +08:00
Mahavir Jain
c4ddfc9f06
Merge branch 'bugfix/efuse_timesettigs_in_burn_op' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32c3
Closes FCS-849
See merge request espressif/esp-idf!16885
2022-01-25 03:44:51 +00:00
Ivan Grokhotkov
9901fc3058
cmake: don't pass --gc-sections to macOS linker, use -dead_strip
...
When building for "linux" (~POSIX) target on macOS, the system linker
is normally used. MacOS linker doesn't recognise --gc-sections, but
has a -dead_strip flag which is equivalent.
2022-01-24 18:51:40 +01:00
Roland Dobai
ef5c08a7be
Revert "Tools: Don't check Python packages on every idf.py & cmake run"
...
This reverts commit 0265c79bcc
.
2022-01-24 14:53:37 +01:00
morris
1938d7c006
log: skip unused tag string wanring in esp_check.h
2022-01-24 18:45:46 +08:00
Fu Hanxi
a801555299
ci: replace all component ut with pytest-embedded
2022-01-24 16:37:23 +08:00
Fu Hanxi
d0cdfdc5d8
tools: allow component test apps files use cc0-1.0 license
2022-01-24 15:54:36 +08:00
KonstantinKondrashov
4ede9aaa26
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-21 16:45:50 +08:00
Marius Vikhammer
cbe23087fc
Merge branch 'feature/ulp_stop' into 'master'
...
ULP: add functions for stopping/restarting the ulp-riscv
Closes IDFGH-6588
See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
morris
c1b79951fd
cmake: assign toolchain prefix manually
2022-01-20 15:46:50 +08:00
David Čermák
d7d22ef0fd
Merge branch 'bugfix/fix_tcp_transport_exeception' into 'master'
...
tcp_transport: fix tcp trasnport exception
See merge request espressif/esp-idf!16793
2022-01-20 06:48:07 +00:00
Marius Vikhammer
ff6f927b5f
ULP: add functions for stopping/restarting the ulp-riscv
...
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
Fu Hanxi
64fdcd506a
Merge branch 'fix/gitlab_404_local_mirror' into 'master'
...
Handle gitlab 404 error
See merge request espressif/esp-idf!16818
2022-01-20 01:17:16 +00:00
David Čermák
1c94345737
Merge branch 'bugfix/protocols_test_on_eth' into 'master'
...
ci/mqtt: Move protocol tests to eth runners
Closes IDFCI-653
See merge request espressif/esp-idf!16752
2022-01-19 14:44:00 +00:00
xutao
e794786c74
tcp_transport: fix tcp transport execption pointer
2022-01-19 13:44:20 +01:00
Kevin (Lao Kaiyao)
bf8d4d55d0
Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
...
esp8684: rename esp8684 to esp32c2
Closes IDF-4530
See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
Laukik Hase
583b984837
esp_prov: Removed features used in legacy provisioning examples
2022-01-19 12:09:21 +05:30
morris
309c1113f4
Merge branch 'feature/tools_py_constrain_download_improvement' into 'master'
...
Tools: Don't check Python dependencies at every idf.py and cmake run and download the constraint file less frequently
Closes IDF-4578
See merge request espressif/esp-idf!16849
2022-01-19 03:55:46 +00:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
Roland Dobai
636401dfa8
Merge branch 'bugfix/ci_copyright_no_date_update' into 'master'
...
Tools: Don't update the copyright year automatically in the headers
See merge request espressif/esp-idf!16799
2022-01-18 14:21:29 +00:00
Roland Dobai
1a9398799c
Tools: Download the Python constraint file less frequently
2022-01-18 14:55:53 +01:00
Roland Dobai
0265c79bcc
Tools: Don't check Python packages on every idf.py & cmake run
2022-01-18 14:55:47 +01:00
Tomas Sebestik
33edc13743
Handle gitlab 404 error
2022-01-18 13:13:53 +01:00
Sudeep Mohanty
2ed15d8b1e
ulp: Added ULP RISC-V support for esp32s3
...
This commit adds support for ULP RISC-V for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Roland Dobai
b28d7e6850
Tools: Improve the Python package system
...
Introduce features into the Python package management system & manage
package versions outside of ESP-IDF repo.
2022-01-17 16:54:36 +01:00
simon.chupin
38ba3d16ff
add test for checking memory segments with esptool.py
2022-01-17 20:47:35 +08:00
simon.chupin
a520bad2f3
tools/idf_size: Fixed bug with wrong memory calculation
2022-01-17 20:47:35 +08:00
David Čermák
c45d34aea2
Merge branch 'bugfix/lwipopts_cleanup' into 'master'
...
lw-IP: Cleanup of config options and flags
Closes IDF-3594
See merge request espressif/esp-idf!15248
2022-01-17 06:46:27 +00:00
Mahavir Jain
7b87ea2a15
Merge branch 'feature/expat_to_component_manager' into 'master'
...
Push out `expat` to idf-extra-components repository
Closes IDF-4546
See merge request espressif/esp-idf!16785
2022-01-16 05:49:36 +00:00
David Cermak
66438366a2
ci: Create a copyright entry for lwip-component
2022-01-14 16:44:44 +01:00
David Cermak
5d7489eae4
lwip: Fix minor lwip dependency issue
...
Clean-up config option rename file
2022-01-14 16:41:38 +01:00
Roland Dobai
73d818eb72
tools: Add UF2 identificator for ESP32-C2 and ESP32-H2
...
The IDs were submitted in https://github.com/microsoft/uf2/pull/59 .
2022-01-14 15:50:17 +01:00
David Cermak
5e1dc6f8db
ci/mqtt: Move publish-connect test to ethernet runners
2022-01-14 14:35:06 +01:00
Ivan Grokhotkov
f010729e74
Merge branch 'contrib/esp_idf_github_pr_7413' into 'master'
...
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails (Github PR)
Closes IDFGH-5692
See merge request espressif/esp-idf!14972
2022-01-14 12:32:20 +00:00
Roland Dobai
f4bf2a0fd7
Tools: Don't update the copyright year automatically in the headers
2022-01-14 12:33:18 +01:00
Shu Chen
87b026779b
Merge branch 'ci/esp32h2_ci_example_build' into 'master'
...
CI: Enable ESP32H2 example build test on CI (Zigbee&Thread test)
See merge request espressif/esp-idf!16736
2022-01-14 04:44:14 +00:00
Shu Chen
8ef3d95a12
ci: remove esp32h2 from default targets
2022-01-14 10:44:40 +08:00
caixf
6c3b528917
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails
...
Closes https://github.com/espressif/esp-idf/pull/7413
2022-01-13 17:17:42 +01:00
Omar Chebib
bb730292d4
i2c: fix the controller count in the header description
...
Closes https://github.com/espressif/esp-idf/issues/8133
2022-01-13 18:25:41 +08:00
Shu Chen
991874ae43
Merge branch 'feature/lwip-ip6-input-hook' into 'master'
...
ladd ip6 input hook
See merge request espressif/esp-idf!16646
2022-01-13 07:21:15 +00:00
Armando (Dou Yiwen)
ebf7e811b1
Merge branch 'refactor/spiram_common_file' into 'master'
...
psram: abstract MMU/Cache and PSRAM hardware related code into lower layer on ESP32S2
Closes IDF-4328
See merge request espressif/esp-idf!16090
2022-01-13 05:49:34 +00:00
Jiacheng Guo
d6c4e2cb34
lwip: add ip6 input hook
...
The MR adds Kconfig options and a default weak implementation for the
lwIP ip6 input hook.
2022-01-13 12:23:38 +08:00
Armando
7240ad2b3a
psram: refactor spiram.c on esp32s2
2022-01-13 11:07:57 +08:00
Ivan Grokhotkov
b83d249e61
Merge branch 'feature/cmake_time_t_automatic' into 'master'
...
newlib: auto-detect sizeof(time_t)
See merge request espressif/esp-idf!16682
2022-01-12 23:49:22 +00:00
Armando (Dou Yiwen)
342c830d9b
Merge branch 'feature/support_spi_on_8684' into 'master'
...
spi: support spi on 8684
Closes IDF-4470 and IDF-4024
See merge request espressif/esp-idf!16475
2022-01-12 09:10:21 +00:00
Mahavir Jain
b08323c903
Push out expat
to idf-extra-components repository
...
This component will be used through IDF component manager.
2022-01-12 10:13:23 +05:30
Armando
6a74cb695d
spi: support spi on 8684
2022-01-12 11:30:29 +08:00
Ivan Grokhotkov
d2b894862c
newlib: auto-detect sizeof(time_t)
...
To make the transition from 32-bit time_t to 64-bit time_t smoother,
detect the size of this type in CMake and remove the manual option in
Kconfig.
The information about 64-bit time_t support is moved from Kconfig help
string into the "system time" section of the API reference.
2022-01-11 19:01:21 +01:00
Mahavir Jain
b0ca71f302
Merge branch 'bugfix/fix_esp_https_ota' into 'master'
...
esp_https_ota: Fix esp_https_ota_begin may return error and exist memory leak
Closes IDFGH-6548
See merge request espressif/esp-idf!16700
2022-01-11 17:42:28 +00:00
Anton Maklakov
1cd61607c3
Merge branch 'bugfix/tools_win_patch2' into 'master'
...
Add toolchain patch2 version for Windows with --with-gnu-ld option
See merge request espressif/esp-idf!16685
2022-01-11 14:20:44 +00:00