Wykres commitów

30281 Commity (e87ac7255c5d77aa2290271c65cf27248d55beed)

Autor SHA1 Wiadomość Data
Frantisek Hrbata b3998f0f0c tools: strip trailing whitespaces/newline from dump_machine
In components/xtensa/project_include.cmake ${CMAKE_C_COMPILER} -dumpmachine
is called, but the output has newline.

Before
---8<--
-- Compiler supported targets: xtensa-esp32s3-elf

-- App "blink" version: 1.2.3
---8<--

After
---8<--
-- Compiler supported targets: xtensa-esp32s3-elf
-- App "blink" version: 1.2.3
---8<--

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-30 13:35:10 +02:00
Euripedes Rocha 4778d9b477 protocols/examples: Disable Wifi connection if not supported
- Disable Kconfig option for Wifi if not supported by the SoC
- Enable building mqtt examples when target is set to esp32h2
2023-05-30 13:26:45 +02:00
Jakob Hasse d7ce04a5cd esp_hw_support: decrease RNG read frequency on C6 and H2
* The RNG reading frequency of 200 KHz has been too high for
  C6 and H2 since on these chips the RNG output is combined
  with the RTC slow clock which is only 150KHz. Reduced the max
  reading frequency via esp_random() from 200KHz to 62.5KHz,
  which show best results in tests.
  Also updated the bootloader_fill_random() max frequency to the
  same value to be in line, even though it was just 83KHz.
2023-05-30 19:16:53 +08:00
morris c5f195c400 spi_master: fix the assertion on a NULL desired_dev
Closes https://github.com/espressif/esp-idf/issues/11536
2023-05-30 10:53:32 +00:00
Linda af65960d1c docs: add a chapter to describe how to measure current of modules in deep sleep mode 2023-05-30 18:11:53 +08:00
Frantisek Hrbata 56289013ba tools: extend information in project_description.json
This extends information provided in the project_description.json file.
Newly added information can be used in the SBOM generating tool and
also to improve hints regarding the the component dependency issues.

Added fields

version:
   This adds versioning to the project_description.json file,
   so it's easy to identify if it contains the required information.

project_version:
   Can be used as a version for the resulting binary e.g. `hello_world.bin`.

idf_path:
   This one is probably not necessary, but it allows tools to run even without
   esp-idf environment exported(e.g. export.sh).

c_compiler:
   The `CMAKE_C_COMPILER` value with full path to the compiler binary. This can
   be used to get information about toolchain, which was used to build the project.

common_component_reqs:
   List of common components as presented in cmake's __COMPONENT_REQUIRES_COMMON
   and set in tools/cmake/build.cmake:__build_init().

build_component_info:
   Detailed information about components used during build. It's a
   dictionary with the component name as a key and each component has
   a dictionary with detailed information. Following is an example for
   the efuse component.

   "efuse": {
       "alias": "idf::efuse",
       "target": "___idf_efuse",
       "prefix": "idf",
       "dir": "/home/fhrbata/work/esp-idf/components/efuse",
       "type": "LIBRARY",
       "lib": "__idf_efuse",
       "reqs": [],
       "priv_reqs": [ "bootloader_support", "soc", "spi_flash" ],
       "managed_reqs": [],
       "managed_priv_reqs": [],
       "file": "/home/fhrbata/work/blink/build/esp-idf/efuse/libefuse.a",
       "sources": [ "/home/fhrbata/work/esp-idf/components/efuse/esp32s3/esp_efuse_table.c", ... ],
       "include_dirs": [ "include", "esp32s3/include" ]
   }

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-30 12:07:20 +02:00
Frantisek Hrbata 483b7ae763 tools: fix make_json_list to return empty json list for empty cmake list
Currently make_json_list() returns '[ "" ]' for empty cmake list. Fix this
so empty json list is returned instead.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-30 12:07:20 +02:00
Harshit Malpani 44e88792de
Add ESP32-H2 chip id in `esp_chip_id_t` enum in esp_app_format.h header file 2023-05-30 15:19:21 +05:30
Roland Dobai 1f06806271 Merge branch 'bugfix/efuse_summary' into 'master'
system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary

See merge request espressif/esp-idf!23975
2023-05-30 17:14:22 +08:00
Zhang Xiao Yan 056a2593f5 Merge branch 'docs/update_code_how_to_configure_multiple_antennas_of_wifi' into 'master'
docs: update code of how to configure multiple antennas of wifi

See merge request espressif/esp-idf!23960
2023-05-30 16:19:32 +08:00
Marius Vikhammer 350650eb73 ci: cleanup tools/system test apps 2023-05-30 15:42:37 +08:00
Marius Vikhammer 8e8f6177c9 Merge branch 'bugfix/linux_heap_realloc' into 'master'
core-system/linux-target: fixed heap_caps_realloc not correctly allocating the...

Closes IDFGH-10261

See merge request espressif/esp-idf!23952
2023-05-30 13:27:11 +08:00
Marius Vikhammer 93ba9d1cfe system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary
If the efuse description from esptool contained semi-colons it would be interpretted as
a list delimiter in CMake. Summary is now passed as in quotes to escape this behavior.
2023-05-30 10:55:27 +08:00
Darian 94ebc9ba4e Merge branch 'refactor/usb_host_usbh_interface' into 'master'
USB Host:  Refactor USBH interface

See merge request espressif/esp-idf!23330
2023-05-30 01:34:16 +08:00
zwl bcfb71f602 esp_phy:Update phy lib for ESP32-C2 2023-05-29 21:02:23 +08:00
zwl a9d25460a7 ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-05-29 20:59:13 +08:00
Li Shuai e505e19798 Merge branch 'bugfix/fix_rc_fast_calibration' into 'master'
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value

Closes WIFI-5938

See merge request espressif/esp-idf!23927
2023-05-29 19:57:46 +08:00
Mahavir Jain 592bc0d452 Merge branch 'bugfix/fix_memory_leak_in_ws_server_example' into 'master'
example: Fix memory leak in ws_echo_server when httpd_queue_work failed

Closes IDFGH-10244

See merge request espressif/esp-idf!23941
2023-05-29 19:19:39 +08:00
Ondrej Kosta e270c8ac72 Merge branch 'bugfix/tx_only_link_up' into 'master'
Ethernet minor fixes

See merge request espressif/esp-idf!23882
2023-05-29 19:00:10 +08:00
yuanjianmin 0b71dcc7ea example: Fix memory leak in ws_echo_server when httpd_queue_work failed
Closes https://github.com/espressif/esp-idf/issues/11507
2023-05-29 10:12:16 +00:00
Darian Leung cbed197e10 usb_host: Run formatting script 2023-05-29 17:30:41 +08:00
Darian Leung 1ffbbf5aef usb_host: Fix spelling errors 2023-05-29 17:30:41 +08:00
Darian Leung bab1c61a4c usb_host: Refactor USBH and USB Host Library calls to HCD
This commit refactors the USBH and the USB Host Library in the following ways:

- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
    - Added separate functions to enqueue/dequeue URBs to a particular endpoint
    - USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
      instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
    - This is to avoid confusion with FreerTOS task notifications and Host
      Library client event notifications.
    - The processing functions of each layer (i.e., "xxx_process()") request
      calls via the "proc_req_cb"
    - The main handling function (i.e., usb_host_lib_handle_events()) is
      responsible for calling the required "xxx_process()" of each layer
2023-05-29 17:30:41 +08:00
Linda e6c3ac2511 docs: update code of how to configure multiple antennas of wifi 2023-05-29 17:01:41 +08:00
wuzhenghui 4236644071 feature: skip console uart flush and sleep when estimated uart flush time exceeds the sleep duration to avoid rtos tick jump failed 2023-05-29 16:35:03 +08:00
wuzhenghui 388746ca31 Kconfig: add more help info for pm related options help 2023-05-29 16:35:03 +08:00
wuzhenghui 5c74093300 bugfix: treat too short sleep duration as sleep reject by software 2023-05-29 16:35:03 +08:00
wuzhenghui 756b5f628d bugfix: fix pmp retention and add pma retention 2023-05-29 16:35:03 +08:00
morris 099234347c Merge branch 'contrib/github_pr_11499' into 'master'
Implement descriptor error callback for GDMA (GitHub PR)

Closes IDFGH-10236

See merge request espressif/esp-idf!23934
2023-05-29 14:39:32 +08:00
Tomas Sebestik da39111500 Merge branch 'feat/danger_github' into 'master'
ci:danger: Add dangerjs for GitHub

Closes IDFCI-1668

See merge request espressif/esp-idf!23272
2023-05-29 14:38:18 +08:00
Tomas Sebestik 7add582eb7 ci(danger): add dangerjs for GitHub
Add GitHub workflow for running dangerjs on pull requests.
Add GitHub layout for DangerJS.
2023-05-29 08:23:04 +02:00
Marius Vikhammer dacc51dd2b ulp/lp-core: added gpio API for lp core as well as an example showcasing it. 2023-05-29 11:13:47 +08:00
Marius Vikhammer 5b77f77e53 core-system/linux-target: fixed heap_caps_realloc not correctly allocating the requested number of bytes
Closes https://github.com/espressif/esp-idf/issues/11523
2023-05-29 10:09:54 +08:00
Laukik Hase c105091413
docs: Fix the instructions for setting up HMAC-based NVS encryption 2023-05-27 01:38:09 +05:30
Fu Hanxi ac7e51903a ci: remove unused jobs and patterns 2023-05-26 22:59:57 +08:00
Fu Hanxi 2ad2e3cb04 ci(ccs811): use manifest file instead of patterns in rules.yml 2023-05-26 22:59:57 +08:00
Fu Hanxi 22e2738f78 ci: build and test only modified components related test cases 2023-05-26 22:59:57 +08:00
Fu Hanxi 2cbcafc4d3 ci: remove unused variables 2023-05-26 22:59:57 +08:00
Fu Hanxi 35adff40e0 ci: get_mr_info support components 2023-05-26 22:59:56 +08:00
Aditya Patwardhan 903af13e84 Merge branch 'feat/config_to_flash_bootloader_when_sbv2_is_enabled' into 'master'
add config to flash bootloader by the command `idf.py flash` when secure boot v2 is enabled

See merge request espressif/esp-idf!23848
2023-05-26 18:13:05 +08:00
harshal.patil 60ccb8f439 esp32c6: xts-aes register preefix discrepency 2023-05-26 15:33:21 +05:30
harshal.patil bc825431e8 esp32h2: xts-aes register prefix discrepency 2023-05-26 15:33:15 +05:30
Rahul Tank 0b5ab48437 Merge branch 'bugfix/fix_config_option' into 'master'
Nimble: Fixed setting macro values based on selected configuration

See merge request espressif/esp-idf!23857
2023-05-26 16:18:36 +08:00
KonstantinKondrashov 56b966829d docs: update CN trans for flash-encryption 2023-05-26 16:06:49 +08:00
Ivan Grokhotkov cbf460c2e1 Merge branch 'feat/defince_config_dependabot' into 'master'
ci(github): add dependabot config

See merge request espressif/esp-idf!23468
2023-05-26 14:58:37 +08:00
morris 1703a0a5e9 doc: explain why RMT encoder may result in more data transmitting
Closes https://github.com/espressif/esp-idf/issues/11468
2023-05-26 13:37:11 +08:00
morris 7b97b247ff Merge branch 'bugfix/led_strip_potential_buffer_overwrite' into 'master'
example: fix led strip memory overwrite before trans done

Closes IDFGH-10221

See merge request espressif/esp-idf!23898
2023-05-26 13:27:17 +08:00
Niklas Gürtler be8a0d08f2 gdma: implement descriptor error callback
Merges https://github.com/espressif/esp-idf/pull/11499
2023-05-26 13:24:34 +08:00
Michael (XIAO Xufeng) 8c2b709817 Merge branch 'bugfix/fix_ocode_check_on_c6' into 'master'
adc_cali: fix the condition of ocode calibration

See merge request espressif/esp-idf!23916
2023-05-26 11:35:51 +08:00
zhangyanjiao ce4b54361e esp_wifi:
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-05-26 11:33:33 +08:00