Angus Gratton
d89652b382
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding
2022-12-16 16:26:44 +01:00
David Čermák
a3dd334081
Merge branch 'bugfix/netif_test_rules' into 'master'
...
esp_netif various fixes: dependency cleanup, default flags, CI rules
Closes IDF-5550, IDFGH-7023, IDF-1261, and IDF-2155
See merge request espressif/esp-idf!20301
2022-12-16 21:26:05 +08:00
wuzhenghui
5822cdf93b
esp_phy: enable for esp32c6
2022-12-16 15:47:56 +08:00
Ivan Grokhotkov
75c92a8811
ci: use latest esp-clang for code analysis
2022-12-15 19:32:42 +01:00
Island
7283a406e4
Merge branch 'bugfix/remove_-Wno-formate_in_ble_mesh_examples' into 'master'
...
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples
See merge request espressif/esp-idf!21523
2022-12-15 17:54:30 +08:00
David Cermak
38dec0be48
esp-netif: Support non-lwip mode, add test
...
It is required to define a mandatory dependency on lwip, so we
introduced esp_netif_stack component and made it require lwip, instead
of directly depending on lwip.
This enables building w-out lwip and support other TCP/IP stacks.
2022-12-14 14:12:50 +00:00
Fu Hanxi
dabb16c6ad
Merge branch 'feature/component_manager_custom_lock_file' into 'master'
...
component manager: add variable `DEPENDENCIES_LOCK`
Closes PACMAN-407 and IDFGH-7867
See merge request espressif/esp-idf!19878
2022-12-14 22:03:48 +08:00
Jiang Guang Ming
947c112233
Merge branch 'bugfix/update_esp_rom_gpio_header' into 'master'
...
esp_rom: update rom gpio.h
Closes IDFGH-8773
See merge request espressif/esp-idf!21268
2022-12-14 18:47:18 +08:00
Martin Vychodil
00f721f746
Merge branch 'refactor/nvs_allocatable_objects' into 'master'
...
refactor(nvs): custom allocator for all objects allocated in NVS
Closes IDF-6308
See merge request espressif/esp-idf!21239
2022-12-14 17:35:13 +08:00
Chen Yudong
df92048180
CI: fix ipv6 test failed on some runners
2022-12-14 15:58:49 +08:00
jiangguangming
7c0c5481c8
esp_rom: update rom gpio.h
...
Closes https://github.com/espressif/esp-idf/issues/10205
2022-12-14 15:14:38 +08:00
Fu Hanxi
17224f3254
component manager: add build property DEPENDENCIES_LOCK
...
closes https://github.com/espressif/esp-idf/issues/9394
2022-12-13 15:25:19 +08:00
wangjialiang
2fd57ba418
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples
2022-12-13 11:16:26 +08:00
Roland Dobai
0b4ded7043
Tools: gdbgui is not supported on Python 3.11
...
This is a follow-up of a816dfbfc3
with
additional check.
Related to https://github.com/espressif/esp-idf/issues/10116
2022-12-12 19:31:01 +01:00
Jakob Hasse
b36c0e823f
Merge branch 'feature/linux_esp_hw_support' into 'master'
...
linux target: add support for building esp_hw_support, soc and hal components for linux target
See merge request espressif/esp-idf!21502
2022-12-12 09:59:31 +08:00
Marius Vikhammer
4ddbaa4166
linux target: add support for building esp_hw_support, soc and hal components for linux target
2022-12-09 13:59:39 +08:00
Fu Hanxi
259580f33e
Merge branch 'ci/pytest_gdb_loadable_elf' into 'master'
...
ci: migrate ttfw jtag related test to pytest
Closes RDT-241, IDFCI-1149, and IDFCI-1337
See merge request espressif/esp-idf!20918
2022-12-09 10:16:02 +08:00
Chip Weinberger
9afc386dd2
[Heap Trace Standalone] improvements to formatting, code, comments
2022-12-08 00:47:02 -08:00
Song Ruo Jing
6f4d1ea436
Merge branch 'feature/esp32c6_ledc_support' into 'master'
...
ledc: Add basic support for esp32c6
Closes IDF-5328
See merge request espressif/esp-idf!21387
2022-12-08 16:07:46 +08:00
Fu Hanxi
1148980383
test: pytest_gdb.py avoid LIBUSB_ERROR_BUSY
...
- stop using `shell=True`
- use `terminate()`
2022-12-08 14:25:02 +08:00
Fu Hanxi
dc3c630919
ci: move more openocd scripts into pytest-embedded
2022-12-08 14:25:02 +08:00
Fu Hanxi
09a32437b3
ci: migrate ttfw gdb_loadable_elf test to pytest
2022-12-08 14:25:02 +08:00
Fu Hanxi
ea5a08468c
ci: install pytest-embedded-jtag for --enable-pytest
2022-12-08 14:25:01 +08:00
Darian
f7d6f83c41
Merge branch 'refactor/freertos_startup_and_common_functions' into 'master'
...
FreeRTOS: Refactor app startup and port common functions
See merge request espressif/esp-idf!21240
2022-12-08 13:40:28 +08:00
Fu Hanxi
67cd264535
pytest: check duplicates test case/script names
2022-12-08 09:49:12 +08:00
Fu Hanxi
08e68c192a
ci(pytest): differentiate temp_skip
and temp_skip_ci
markers
2022-12-08 09:49:12 +08:00
Fu Hanxi
a6164dc14c
ci: make get_pytest_apps 90% faster
2022-12-08 09:48:25 +08:00
Fu Hanxi
9a666c8ba0
ci: ci_build_apps.py supports filter_expr
2022-12-08 09:48:25 +08:00
Darian Leung
09690906e7
freertos: Refactor OS startup functions
...
This commit refactors the OS startup functions as follows:
- Moved the OS/app startup functions listed below to "app_startup.c". Their
implementations are now common to all ports (RISC-V and Xtensa) of all
FreeRTOS implementations (IDF and Amazon SMP).
- esp_startup_start_app()
- esp_startup_start_app_other_cores()
- Removed esp_startup_start_app_common() as app startup functions are now
already common to all ports.
- Added extra logs to "main_task" to help with user debugging
Note: Increased startup delay on "unity_task". The "unity_run_menu()" is non
blocking, thus if the main task or other startup tasks have not been freed
by the time "unity_run_menu()" is run, those tasks will be freed the next time
"unity_task" blocks. This could cause some tests to have a memory leak, thus
the "unity_task" startup delay has increased.
2022-12-08 01:57:30 +08:00
Alexey Gerenkov
9ac90acd9e
Merge branch 'feature/add_newlib_nano_build_support_for_clang' into 'master'
...
Newlib nano build support for clang
See merge request espressif/esp-idf!21056
2022-12-07 20:24:58 +08:00
Andrei Safronov
2c5a9494fe
Merge branch 'bugfix/fix_gnu_asm_struct' into 'master'
...
xtensa: remove asm struct expressions in header files
See merge request espressif/esp-idf!18836
2022-12-07 20:21:31 +08:00
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
Marius Vikhammer
2f348d93c7
Merge branch 'feature/linux_heap' into 'master'
...
heap: add linux target support
Closes IDF-6000
See merge request espressif/esp-idf!21401
2022-12-07 09:28:36 +08:00
Alexey Gerenkov
2710749f21
riscv: Remove asm struct expressions in header files
2022-12-06 13:35:27 +03:00
Alexey Gerenkov
989cb33fe4
tools: Updates esp-clang version to 'esp-15.0.0-20221201'
2022-12-06 12:33:09 +03:00
Marius Vikhammer
b1b25ad7df
hints: add a more complete description for component not found errors
2022-12-06 10:54:44 +08:00
Marius Vikhammer
36cb08c379
heap: add linux target support
...
Add wrappers for public heap API for the linux target.
2022-12-06 10:49:59 +08:00
Jakob Hasse
91f04aa877
refactor(nvs): custom allocator for all objects allocated in NVS
2022-12-05 18:59:33 +01:00
Island
7e9a239b9c
Merge branch 'feature/seperate_ble_wifi_test_environment' into 'master'
...
seperate ble wifi environment and support ci esp32c2
See merge request espressif/esp-idf!18970
2022-12-02 11:12:01 +08:00
Chen Sheng
fe39b922ca
seperate ble wifi environment and support ci esp32c2
2022-12-02 11:12:00 +08:00
Konstantin Kondrashov
7bc15f78a5
Merge branch 'feature/efuse_remove_warnings_for_memcpy' into 'master'
...
all: Remove warnings for memcpy/memset
Closes IDF-6298
See merge request espressif/esp-idf!21164
2022-12-01 16:03:29 +08:00
Cao Sen Miao
283e2c8e5f
ESP32H2: Add ROM linker file and support
2022-12-01 10:31:17 +08:00
KonstantinKondrashov
9fd8f3786a
all: Replaces memset/memcpy with hal_mem.. funcs where were used -Wstringop-overread, -Wstringop-overflow, -Warray-bounds
...
hal: Adds hal_memcpy and hal_memset
2022-11-30 19:22:41 +08:00
Ondrej Kosta
d849f290d1
Merge branch 'feature/eth_test_all_chips' into 'master'
...
Ethernet related tests improvements
Closes IDF-5387
See merge request espressif/esp-idf!20982
2022-11-30 17:53:48 +08:00
Song Ruo Jing
56302544f6
Merge branch 'ci/enable_esp32c6_target_test_stage' into 'master'
...
CI: Enable esp32c6 target test stage
Closes IDF-5830 and IDF-5831
See merge request espressif/esp-idf!21010
2022-11-29 19:54:05 +08:00
Roland Dobai
2eabf60291
Merge branch 'bugfix/fix_esp32s3_diram_calculation' into 'master'
...
Tools: Fix diram size calculation
Closes IDFGH-8504
See merge request espressif/esp-idf!21243
2022-11-29 18:52:14 +08:00
Roland Dobai
e5de9755ac
Merge branch 'fix/gdbgui' into 'master'
...
Tools: gdbgui is not supported on Python 3.11
See merge request espressif/esp-idf!21277
2022-11-29 18:07:48 +08:00
Ondrej
2bf7255285
Ethernet related tests improvements
...
esp_eth: tests migrated to pytest and added support of multiple Ethernet devices
esp_netif: l2tap test migrated to pytest
2022-11-28 11:34:34 +00:00
Djordje Nedic
0810dd20e8
idf_size.py: Fix issue where diram size was halved in cases where iram was not fully filled with cache
...
This fixes an attempted fix for diram size calculation where it was counted twice, however the fix did not account for cases where iram was not fully filled with cache and therefore was of non 0 size.
Now the calculation should be correct regardless of the cache size.
Closes https://github.com/espressif/esp-idf/issues/9960
2022-11-28 10:47:32 +01:00
Song Ruo Jing
1575b9e43a
ci: Disable all currently failed target tests for esp32c6
2022-11-28 12:09:08 +08:00
Song Ruo Jing
5a6cb0dad7
ci: Add extra_default_build_targets logic to check_build_test_rules.py
2022-11-28 11:58:30 +08:00
Song Ruo Jing
c17b134711
ci: Add ut configs for esp32c6
2022-11-28 11:58:21 +08:00
Song Ruo Jing
8efca13905
ci: Enable target tests for esp32c6
2022-11-28 11:32:44 +08:00
Marius Vikhammer
6a450c4113
Merge branch 'feature/esp_hw_support_pytest' into 'master'
...
esp_hw_support: migrate to pytest
See merge request espressif/esp-idf!20938
2022-11-28 10:38:54 +08:00
Roland Dobai
a816dfbfc3
Tools: gdbgui is not supported on Python 3.11
...
Closes https://github.com/espressif/esp-idf/issues/10116
2022-11-25 16:40:28 +01:00
Roland Dobai
6b1d0f99d7
Merge branch 'bugfix/tool_removal_offer_macOS' into 'master'
...
Tools: bugfix Export script offers cmake & ninja for removal on macOS
Closes IDF-4733
See merge request espressif/esp-idf!20701
2022-11-25 18:09:56 +08:00
Jakob Hasse
7504755c4a
Merge branch 'bugfix/serial_reader_linux_writes_correctly' into 'master'
...
bugfix(tools): idf.py monitor now reads correctly on Linux
Closes IDF-6317
See merge request espressif/esp-idf!21241
2022-11-25 16:43:48 +08:00
Marius Vikhammer
59e40fafba
esp_hw_support: move test to pytest
2022-11-25 16:21:35 +08:00
Guillaume Souchere
1d16ca6a26
Merge branch 'feature/lower-iram-utilization-of-heap-component' into 'master'
...
heap: lower the utilization of IRAM by the heap component binary
Closes IDF-2282 and IDFGH-6233
See merge request espressif/esp-idf!20926
2022-11-25 15:22:05 +08:00
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
C.S.M
28b2deaf24
Merge branch 'feature/add_target_esp32h2' into 'master'
...
ESP32-H2: Introduce new target for ESP32H2
See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Guillaume Souchere
ab1bd08ab9
tools: update list of references to not include symbold used by __assert_func calls
...
On xtensa architecture, the call to __assert_func uses a reference to __func__ that can
sometimes be placed in flash. Since the __asert_func can be called from functions in IRAM
the check_callgraph script can report an error when checking for invalid calls from IRAM
to flash sections. However, the __asert_func prevents this scenario at runtime so the
check_callgraph script reports a 'flas positive' situation. For this reasson, all references
to __func__$x found prior to a call to __assert_func are droped in the parsing of the rtl files.
2022-11-24 10:31:14 +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
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +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
Marek Fiala
22f1a87891
Tools: bugfix Export script offers cmake & ninja for removal on macOS
2022-11-18 17:31:49 +01: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