Commit Graph

34855 Commits

Author SHA1 Message Date
Ivan Grokhotkov
f5cd3b7ff4
fix(freertos): override select function without relying on -Wl,--wrap
This commit changes the approach used to override select function
in FreeRTOS simulator.

The previous approach relied on '--wrap', which is a feature of GNU
linker that performs symbol substitution at link time. Sadly this
feature is not present in macOS linker.

The alternative solution is to define 'select' wrapper as a regular
(exported) symbol, preventing it from being loaded from system
libraries. To call the "real" select implementation we use dlsym
function and find the function pointer at run time. This solution
works on both Linux and macOS.
2024-01-23 16:57:38 +01:00
Ivan Grokhotkov
66431a62d1
fix(freertos): warning fix for building with IDF_TARGET=linux on macOS 2024-01-23 16:57:37 +01:00
Tomas Rezucha
cb21994358 Merge branch 'fix/common_examples_cmake' into 'master'
fix(examples): Make esp_eth public dependency of protocol_examples_comon

See merge request espressif/esp-idf!28618
2024-01-23 23:55:30 +08:00
Xu Si Yu
ad3e1e3daf Merge branch 'bugfix/set_spinel_interface_buffer_to_static' into 'master'
fix(openthread): set spinel frame buffer to member variables

See merge request espressif/esp-idf!28510
2024-01-23 22:40:43 +08:00
Shu Chen
65c838b68a Merge branch 'support/integrate_console_command_with_ot_command' into 'master'
feat(openthread): integrate console command with ot command

See merge request espressif/esp-idf!28194
2024-01-23 22:03:55 +08:00
Ondrej Kosta
c956e44a9e Merge branch 'feature/ethernet_ci' into 'master'
ci(esp_eth): enable Ethernet tests

See merge request espressif/esp-idf!28566
2024-01-23 21:59:38 +08:00
Valerii Koval
bd56ca48be fix(ldgen): handle object files with .*.o patterns
Currently, only `.o`, `.*.obj` and `.obj` patterns
are taken into account. It would be great to have
object files with the `.*.o` extension pattern
(e.g. `file.cpp.o`) also processed as they're quite
widespread in third-party integrations.
2024-01-23 15:18:23 +02:00
Xu Si Yu
f9f32d4e5f Merge branch 'feature/add_config_for_ot_address_query' into 'master'
feat(openthread): add menuconfig for openthread address query

See merge request espressif/esp-idf!28445
2024-01-23 20:55:48 +08:00
Jakob Hasse
273324c635 Merge branch 'bugfix/linux_wifi_mock' into 'master'
fix(linux): Fixed esp_wifi mock build test

See merge request espressif/esp-idf!28607
2024-01-23 18:43:12 +08:00
Jakob Hasse
c6a570fb37 Merge branch 'feature/pthread_psram' into 'master'
feat(pthread): Allow SPI RAM as stack

Closes IDFGH-9237, IDF-7262, and IDFGH-7045

See merge request espressif/esp-idf!27166
2024-01-23 18:39:32 +08:00
Rahul Tank
bcb8d179dd Merge branch 'bugfix/fix_sm_inject_io_return_val' into 'master'
fix(nimble): Added change to ensure that API execution returns success

See merge request espressif/esp-idf!28402
2024-01-23 18:06:16 +08:00
Marius Vikhammer
4b89e52964 fix(newlib): fix stub_table init on C5 2024-01-23 18:05:53 +08:00
Tomas Rezucha
525bdf26f8 Merge branch 'feature/p4_usb_hal' into 'master'
feature(usb/host): Add HS PHY configuration

See merge request espressif/esp-idf!28549
2024-01-23 17:55:23 +08:00
Kirill Chalov
77770b2cb7 Merge branch 'docs/add_sphinx_lint' into 'master'
docs(sphinx-lint): Add sphinx-lint to pre-commit

See merge request espressif/esp-idf!28578
2024-01-23 17:48:22 +08:00
Fu Hanxi
9bb28ba5e3 Merge branch 'ci/fix_requires_elf_or_map' into 'master'
ci: fix app.requires_elf_or_map. Use absolute paths

See merge request espressif/esp-idf!28603
2024-01-23 17:44:34 +08:00
Mahavir Jain
a02b0968d2 Merge branch 'fix/fix_esp_tls_client_key_parsing' into 'master'
fix(esp_tls): Fixed client key parsing for ECC key

Closes IDF-8894

See merge request espressif/esp-idf!27982
2024-01-23 17:14:49 +08:00
Mahavir Jain
09c9001895 Merge branch 'feature/add_key_manager_hw_support' into 'master'
Feature/add key manager hw support

Closes IDF-7925 and IDF-8041

See merge request espressif/esp-idf!26328
2024-01-23 17:11:05 +08:00
Frantisek Hrbata
cf161304bb fix: save RunTool command output with correct line endings
Currently RunTool reads command's output with asyncio read, which
returns bytes. This is decoded into python's string and the output already
contains OS specific line endings, which on Windows is CRLF. Problem is
that the command output is saved by using python's text stream/file,
which replaces LF, native python's line ending, with OS specific line ending.
On Windows, and in this particular case, the CRLF from the command output is
translated into CRCRLF and saved in the commands output file. When this
file is read in again, e.g. for hint modules, the CRCRLF is replaced
with LFLF. Again the file is open as text file. Meaning a new emply line
is added.

Fix this by opening the output file with "newline=''", which prevents
this translation. We already have the OS specific line ending in the
command's output.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-23 10:03:40 +01:00
Zhang Xiao Yan
dd1c1279ef Merge branch 'docs/fix_typo_in_low_power_mode' into 'master'
docs: fix some typos in api-guides/low-power-mode

See merge request espressif/esp-idf!28584
2024-01-23 16:16:09 +08:00
Omar Chebib
8ad898c8ab fix(peripheral_drivers/dedicated_gpio): Remove dummy byte from the emulate_uart_send routine
Let the user application decide for when to send the dummy byte instead of
hardcoding it from the assembly routine.
2024-01-23 15:59:13 +08:00
kirill.chalov
0181f8cc88 docs(sphinx-lint): Add sphinx-lint to pre-commit
Sphinx-lint helps in linting simple formatting issues with virtually
no false positives, such as trailing spaces, missing final newlines,
presence of tabs, absence of spaces and backticks around roles, etc.
2024-01-23 15:22:30 +08:00
kirill.chalov
22a053f1fc docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
Song Ruo Jing
9ba5f4dab2 Merge branch 'feature/esp32p4_dma2d_support' into 'master'
feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4

Closes IDF-6498

See merge request espressif/esp-idf!25527
2024-01-23 15:19:25 +08:00
Harshit Malpani
bc901c0a3a
fix(esp_http_client): Fix http digest auth without qop
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-23 12:22:35 +05:30
Xu Si Yu
568adfb869 feat(openthread): add menuconfig for openthread address query 2024-01-23 14:43:51 +08:00
Marius Vikhammer
4fac7a6d5b docs(fatfs): moved orphan dir placement to top of doc 2024-01-23 14:16:01 +08:00
Guillaume Souchere
7bb236254e Merge branch 'doc/update-esp-event-instance-register-descrition' into 'master'
docs(esp-event): Update description of esp_event_handler_instance_x

Closes IDFGH-11711

See merge request espressif/esp-idf!28063
2024-01-23 13:48:31 +08:00
Aditya Patwardhan
e2d5b323ca fix(esp_tls): Fixed client key parsing for ECC key
Client key parsing for ECC keys was failing as the
    RNG supplied to the key parsing API was uninitialized.
    This commit fixes that behaviour
2024-01-23 13:40:57 +08:00
wuzhenghui
f3f12e973c
refactor(esp_hw_support): separate different chip system peripheral regs context defs to target folder 2024-01-23 13:30:01 +08:00
Mahavir Jain
e3d4b901f9 Merge branch 'bugfix/compilation_failed_in_bootloader_with_sb_fe_verbose' into 'master'
fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe

Closes IDF-6373

See merge request espressif/esp-idf!26339
2024-01-23 13:29:02 +08:00
Jakob Hasse
db33f5a52e Merge branch 'fix/console_context_setting' into 'master'
fix(console): Made setting command context less error-prone and clearer

See merge request espressif/esp-idf!28395
2024-01-23 13:25:25 +08:00
Aditya Patwardhan
4dc2ace0b7
fix(esp_hw_support): Update key manager support
1) Added new Key Manager APIs
    2) Added crypto locking layer for Key Manager
    3) Remove support for deploying known key
    4) Format key manager support
    5) Fix build header error
    6) Updated the key_mgr_types.h file
    7) Added key manager tests
2024-01-23 10:24:39 +05:30
Aditya Patwardhan
5a1726c18c
feat(hal): Update HAL layer for Key manager
1)Added new clk related changes
2024-01-23 10:24:37 +05:30
Aditya Patwardhan
3eabb62850
feat(esp_hw_support): Add support for Key Manager 2024-01-23 10:24:35 +05:30
Island
9746de97ce Merge branch 'bugfix/struct_init_order_blemesh' into 'master'
ble mesh: Modify the structure initialization order to meet C++ requirements

See merge request espressif/esp-idf!18077
2024-01-23 12:20:18 +08:00
Marius Vikhammer
297607587b test(panic): remove WDT both CPU test
Test never worked on S3/P4 and was flakey on ESP32. Hard to design a reliable test
case that triggers both WDT at the exact same time.
2024-01-23 11:55:18 +08:00
wuzhenghui
9b3dc69908
refactor(esp_hw_support): move regdma structure defination to soc components 2024-01-23 11:51:44 +08:00
wuzhenghui
2bd755c95d
refactor(esp_hw_support): move TIMG_WDT_WKEY_VALUE defination from hal to soc 2024-01-23 11:51:44 +08:00
Darian
a114237378 Merge branch 'refactor/core_component_headers_copyright_ignore' into 'master'
Tools/Core: Tidy up core-team releated copyright ignore list entries

See merge request espressif/esp-idf!28514
2024-01-23 11:39:59 +08:00
Xu Si Yu
65a261b290 fix(openthread): set spinel frame buffer to member variables 2024-01-23 10:52:03 +08:00
Jakob Hasse
99914e1f09 fix(linux): Fixed esp_wifi mock build test 2024-01-23 09:39:03 +08:00
Ondrej Kosta
1688c699db Merge branch 'feature/eth_p4_kconfig' into 'master'
fix(examples): fixed common_connect example to support ESP32P4 internal EMAC

See merge request espressif/esp-idf!28582
2024-01-22 22:45:26 +08:00
Tomas Rezucha
21df64f4a9 fix(examples): Make esp_eth public dependency of protocol_examples_comon 2024-01-22 21:51:37 +08:00
Song Ruo Jing
08eada7301 feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4 2024-01-22 20:51:43 +08:00
Island
a4268b88c5 Merge branch 'bugfix/fix_ble_remove_bond' into 'master'
fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices

Closes BLERP-478

See merge request espressif/esp-idf!28589
2024-01-22 20:35:51 +08:00
Mahavir Jain
8b7d24ad71 Merge branch 'bugfix/soc_cpu_subsys_region' into 'master'
fix(soc): change debug addr range to CPU subsystem range

See merge request espressif/esp-idf!28499
2024-01-22 20:02:21 +08:00
Kevin (Lao Kaiyao)
2e037b8ab5 Merge branch 'feature/support_legacy_i2s_driver_on_p4' into 'master'
feat(i2s): support i2s legacy driver on p4

Closes IDF-8194

See merge request espressif/esp-idf!28474
2024-01-22 19:35:49 +08:00
Tomas Rezucha
ed1f20a972 feat(hal/usb): Add HS PHY configuration 2024-01-22 12:14:11 +01:00
C.S.M
c967dac3a9 Merge branch 'bugfix/one_byte_receive' into 'master'
fix(i2c_master): Fix bug on esp32 that read one byte data fails

See merge request espressif/esp-idf!28523
2024-01-22 18:17:33 +08:00
Fu Hanxi
2ddb0fb3f6
ci: fix app.requires_elf_or_map. Use absolute paths 2024-01-22 11:14:03 +01:00