Commit Graph

4445 Commits

Author SHA1 Message Date
Jakob Hasse
6d9d23702f bugfix(tools): idf.py monitor now reads correctly on Linux
A missing flush in the serial reader implementation for
Linux target was causing input to idf.py monitor to not
be forwarded to the application. This is fixed now.
2022-11-24 15:57:47 +01:00
Alexey Gerenkov
8c2ae2f9bd Merge branch 'feature/universal_clang_toolchain_support' into 'master'
build: Adds support for universal Clang toolchain

Closes LLVM-79

See merge request espressif/esp-idf!20090
2022-11-24 03:09:46 +08:00
Zim Kalinowski
40ffc48ff7 Merge branch 'feature/migrate-esp-common-tests-to-pytest' into 'master'
esp_common: migrate unit tests to pytest test app

Closes IDF-5572

See merge request espressif/esp-idf!20194
2022-11-23 19:39:50 +08:00
Alexey Gerenkov
47c2c13de5 build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
morris
560ea9b754 systimer: support etm event 2022-11-23 15:32:34 +08:00
Zim Kalinowski
95cc3e5b6c esp_common: migrate tests to pytest 2022-11-22 22:15:08 +01:00
Alexey Gerenkov
55bd4a74cd tools: Replace 'xtensa-clang' with 'esp-clang' 2022-11-22 17:30:14 +03:00
Omar Chebib
d965b7fdec Merge branch 'staging/esp_static_assert' into 'master'
C/Cxx: Static assertions are now unified

Closes IDFGH-8479

See merge request espressif/esp-idf!20569
2022-11-22 17:04:02 +08:00
C.S.M
54d9da987a Merge branch 'bugfix/flash_large_memory_size' into 'master'
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory

Closes IDFGH-8063

See merge request espressif/esp-idf!20738
2022-11-22 16:07:17 +08:00
Jiang Jiang Jian
d89a51299d Merge branch 'bugfix/modify_wifi_max_conn_num' into 'master'
esp_wifi: modify wifi max conn num

Closes IDFGH-7960, WIFI-4176, IDFGH-8431, and WIFI-5004

See merge request espressif/esp-idf!19367
2022-11-22 15:51:08 +08:00
Ivan Grokhotkov
7a298f98ae
cmake: fix the linker type check for --whole-archive option
Checking that the host is macOS is not sufficient here, since the
linker is still a GNU linker when cross-compiling for a chip.
Instead, use the linker_type variable introduced in the previous
commit.
2022-11-21 13:08:05 +01:00
Ivan Grokhotkov
b47155a70b
cmake: fix the map file not generated when compiling with Clang
When compiling for a chip target with Clang,
CMAKE_C_COMPILER_ID="Clang" but the linker is still a GNU linker.
Therefore we can still generate the map file.
2022-11-21 13:06:17 +01:00
Omar Chebib
43c03d95a4 CI: check_public_headers script will detect the use of static asserts in headers
When a public header contains _Static_assert or static_assert, check_public_headers.py script will detect it and report it as an issue.
Indeed, public headers shall now use ESP_STATIC_ASSERT.
2022-11-21 16:18:13 +08:00
Omar Chebib
cd21058097 C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
morris
5bd99deb48 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00
zhangyanjiao
d11ee31bf1 Modify maximum softap conn num and espnow encryption peer num 2022-11-17 15:02:34 +08:00
Radek Tandler
aad600c9ca Merge branch 'feature/storage_host_test_nvs' into 'master'
nvs_flash: Migrate host tests to CMake build system, use Linux partition API

Closes IDF-4697

See merge request espressif/esp-idf!20671
2022-11-17 02:05:35 +08:00
Jakob Hasse
c381fee319 Merge branch 'feature/esp_system_linux' into 'master'
esp_system partially buildable on Linux

Closes IDF-5983

See merge request espressif/esp-idf!21055
2022-11-16 22:38:48 +08:00
radek.tandler
ca7f073e7b nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation
Host tests of nvs_flash eligible to run in Linux implementation of nvs flash were migrated. Remaining test cases
were left in original folder. Migrated test cases use CMake instead of make.
2022-11-16 14:15:23 +01:00
Fu Hanxi
fbef416c36 Merge branch 'bugfix/env_var_SDKCONFIG_DEFAULTS_fail_with_bootloader_subproject' into 'master'
build_system: stop looking for env var `SDKCONFIG_DEFAULTS` in bootloader subproject

See merge request espressif/esp-idf!21091
2022-11-16 19:14:11 +08:00
Roland Dobai
670fda877d Merge branch 'tools/move_kconfig_out' into 'master'
tools: Move out kconfig_new in favour of using the esp-idf-kconfig package

Closes IDF-5802

See merge request espressif/esp-idf!20419
2022-11-16 18:08:39 +08:00
Jakob Hasse
cce1f9dee4 Merge branch 'feature/freertos_task_notification_configurable' into 'master'
freertos: make num of task notifications configurable

Closes IDFGH-7819

See merge request espressif/esp-idf!20880
2022-11-16 17:11:03 +08:00
Fu Hanxi
b5d9df8b6f build_system: stop looking for sdkconfig file specified by env var SDKCONFIG_DEFAULTS in bootloader subproject 2022-11-16 16:52:54 +08:00
Jakob Hasse
5b3a645813 feat(esp_system): Partially buildable on Linux now 2022-11-16 09:03:09 +01:00
Djordje Nedic
ebb6c2e77b tools: Move out kconfig_new in favour of using the esp-idf-kconfig package
This commit removes all kconfig_new files and references to them and adds esp-idf-kconfig as a dependency and adequate wrappers to avoid breaking changes.
2022-11-15 21:19:51 +01:00
Jakob Hasse
73d9d83a2f feat(freertos): make num of task notifications configurable
Closes https://github.com/espressif/esp-idf/issues/9349
2022-11-15 09:36:42 +01:00
jiangguangming
08fd77a09a move {target}/rom/miniz.h to a common miniz.h
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32

Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
morris
7758c0c65b Merge branch 'gcc/tmp_hack_toolchain_libatomic' into 'master'
tools: bypass atomic instruction variant for esp32c6 temporarily

See merge request espressif/esp-idf!21087
2022-11-15 11:19:32 +08:00
Chen Yu Dong
37f2339dfe Merge branch 'tools/idf_tools_use_mirror_url' into 'master'
tools: espidf constraints also supports mirror url

See merge request espressif/esp-idf!21020
2022-11-15 10:51:36 +08:00
Wan Lei
602884e668 Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
spi_slave: add a private API to reset transaction queue

Closes IDF-5033

See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
Zim Kalinowski
04595966f3 Merge branch 'doc/api_guides_cplusplus' into 'master'
docs: add C++ support chapter to the API guides

See merge request espressif/esp-idf!20182
2022-11-14 20:20:31 +08:00
morris
08f05420c0 tools: bypass atomic instruction variant for esp32c6 temporarily
Current riscv32-esp-elf-gcc can't provide the atomic intrinsic
functions.

Bypass it for now. Will revert this commit when a new toolchain is
ready.
2022-11-14 19:44:03 +08:00
Armando
3dc36f622c spi_slave: add a private API to reset transaction queue 2022-11-14 16:01:48 +08:00
Song Ruo Jing
d0a7dc3e9f gpio: Fix IO hold function related problems
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API

docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2022-11-11 20:39:04 +08:00
Chen Yu Dong
a05e8996ab Merge branch 'ci/migrate_wifi_unit_test_app' into 'master'
CI: Migrate wifi unit tests to componment_ut

Closes IDF-5586

See merge request espressif/esp-idf!20787
2022-11-11 16:24:49 +08:00
Wan Lei
c09322430a Merge branch 'test/move_gpspi_to_pytest_app' into 'master'
spi: move spi related unit test into itself pytest app

Closes IDF-5499 and IDFCI-1377

See merge request espressif/esp-idf!19341
2022-11-11 12:18:26 +08:00
Chen Yudong
e82ea9f1be tools: idf extra wheels url can be set by environment variables 2022-11-11 12:00:56 +08:00
Chen Yudong
97205ed0bd tools: support download espidf constraints files from mirror url 2022-11-11 10:18:55 +08:00
Chen Yudong
a78d492091 pytest: use case_tester for multi-device tests 2022-11-10 22:29:05 +08:00
wanlei
f31ecbb42b test: move spi related unit-test into pytest app 2022-11-10 16:02:03 +08:00
wanlei
312bc6cb3a test: make 'test_common_spi' as a components named 'test_utils_spi' 2022-11-10 15:51:29 +08:00
morris
797c7163c6 tool: skip test folder when generating esp_err_t table 2022-11-10 10:37:59 +08:00
Kevin (Lao Kaiyao)
5bed8fab49 Merge branch 'refactor/rename_h2_to_h4' into 'master'
esp32h2: renaming esp32h2 to esp32h4

Closes IDF-6098

See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
Zim Kalinowski
d2d0294714 Merge branch 'bugfix/idf_ci_build_is_not_set' into 'master'
ci: Fix environment variable IDF_CI_BUILD is not set

See merge request espressif/esp-idf!20944
2022-11-09 00:47:50 +08:00
KonstantinKondrashov
1a9ca94ac6 ci: Fix environment variable IDF_CI_BUILD is not set 2022-11-08 18:23:39 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
C.S.M
86aa012c26 Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
I2C: Add i2c support for ESP32C6

Closes IDF-5326 and IDF-5327

See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
morris
f69a53f56d Merge branch 'feature/twai_bringup_esp32c6' into 'master'
TWAI: initial driver bring up on esp32c6 (TWAI0 only)

Closes IDF-5313 and IDF-5940

See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
Zim Kalinowski
9d93585f8e Merge branch 'feature/esp_timer_migrate_from_ut_app_to_test_app' into 'master'
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app

Closes IDF-5585

See merge request espressif/esp-idf!20760
2022-11-07 16:27:50 +08:00
Cao Sen Miao
803fc3fbe0 I2C: Add i2c support for ESP32C6 2022-11-07 14:12:53 +08:00