Commit Graph

3559 Commits

Author SHA1 Message Date
Mahavir Jain
676a1d6eb1 Merge branch 'feature/esp_cryptoauthlib_from_manager_v5.0' into 'release/v5.0'
Push out esp-cryptoauthlib to component manager (v5.0)

See merge request espressif/esp-idf!19654
2022-08-19 20:18:54 +08:00
Mahavir Jain
047eac2f25
Add entry for cryptoauthlib component manager migration 2022-08-18 20:15:19 +05:30
Mahavir Jain
481c295bc2
cleanup remaining references for esp-cryptoauthlib 2022-08-18 20:15:19 +05:30
Geng Yuchao
3144c870a6 Update BLE documentation scope 2022-08-18 16:27:06 +08:00
Geng Yuchao
238d48edbc Remove docs not update for classic_bt 2022-08-18 16:27:06 +08:00
Geng Yuchao
07f860d7e1 Updated the nimble instructions for ESP32. 2022-08-18 16:27:06 +08:00
Geng Yuchao
5524c772e6 Fix soc caps define for all chips 2022-08-18 16:27:06 +08:00
David Cermak
5a9cfbbb28 esp_netif: Add docs on creating custom network stack connection layer 2022-08-18 07:07:44 +02:00
morris
c8b634ecfe rgb_lcd: deprecate esp_lcd_color_space_t 2022-08-18 10:59:16 +08:00
morris
d8c2f67d63 mcpwm: added enable/disable functions
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
Ivan Grokhotkov
3d64788a2d Merge branch 'feature/replace-heap-tlsf-with-submodule_v5.0' into 'release/v5.0'
heap: Remove TLSF related files and replace them with the TLSF submodule (v5.0)

See merge request espressif/esp-idf!19555
2022-08-16 14:09:38 +08:00
Jiang Jiang Jian
5e32649ae9 Merge branch 'docs/backport_api_guides_5.0' into 'release/v5.0'
Docs: Updated the Chinese translation for several docs in api-guides and migration-guides/system.rst (backport v5.0)

See merge request espressif/esp-idf!19573
2022-08-16 13:50:29 +08:00
Mo Fei Fei
0514906eba Docs: add CN translation for migration guides/gcc.rst and provisioning.rst (backport 5.0) 2022-08-16 13:25:36 +08:00
Mo Feifei
9ac257fd4e docs: update cn trans for migration-guides/system.rst 2022-08-16 12:04:20 +08:00
Mo Feifei
e9fd79b284 docs: update cn trans for api-guides 2022-08-16 12:03:58 +08:00
Roland Dobai
e9b037375a Tools: Fix idf.py hints to be enabled all the time and being able to disable them 2022-08-15 16:41:32 +02:00
Guillaume Souchere
86d1425346 heap: Fix compilation errors when CONFIG_HEAP_TLSF_USE_ROM_IMPL is set
- include headers from the tlsf submodule only when CONFIG_HEAP_TLSF_USE_ROM_IMPL is not set
- remove usage of the tlsf_t type in the multi_heap.c
- add missing declaration of tlsf_poison_fill_pfunc_set() in multi_heap_poisoning.c
- define headers from tlsf submodule as private
- update the linker file in the heap component to the new naming of the tlsf file
- update the copyright docuementation to reference the submodule in github (https://github.com/espressif/tlsf)
- remove deleted files from the check_copyright_ignore.txt
2022-08-15 11:11:52 +02:00
Linda
ac63ec27d7 docs: update the diagram of FSM of I2S 2022-08-12 17:57:52 +08:00
Marius Vikhammer
c577919284 Merge branch 'docs/update_migration_guide_for_esp_hw_support_v5.0' into 'release/v5.0'
docs: Corrected the migration guide for esp_hw_support (v5.0)

See merge request espressif/esp-idf!19409
2022-08-11 10:36:30 +08:00
Island
a3b987b44c Merge branch 'bugfix/restore_missing_ble_mesh_videos_v5.0' into 'release/v5.0'
ble_mesh: doc: Restore missing ble mesh videos(v5.0)

See merge request espressif/esp-idf!19480
2022-08-10 14:53:53 +08:00
wangjialiang
922008a7e6 ble_mesh: doc: Restore missing ble mesh videos 2022-08-10 11:37:24 +08:00
jingli
19331b46ec docs: fix xtal kconfig related description 2022-08-08 13:54:36 +08:00
Sudeep Mohanty
7177c88fe7 docs: Corrected the migration guide for esp_hw_support
This commit corrects the migration guide entry for cpu_log.h under
esp_hw_support to correctly list the breaking change.
2022-08-04 15:16:46 +02: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
1bb1b70e0f docs: Add documentation for define extra partition subtypes through build system 2022-08-03 05:18:37 +00:00
KonstantinKondrashov
3f6a1625bb efuse: Adds missing header 2022-08-02 22:43:12 +08:00
Martin Gano
59ecac263e Merge branch 'docs/add-missing-cmd-parameter-fatfsparse' into 'master'
fatfsparse.py/docs: Added missing cmd parameter to the docs

See merge request espressif/esp-idf!19301
2022-08-02 18:56:25 +08: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
Marius Vikhammer
ff71e54f70 docs: fix broken link to lcd example 2022-08-02 10:15:31 +08:00
Marius Vikhammer
5d23a757d6 Merge branch 'feature/ulp_uart' into 'master'
ulp-riscv: uart print

See merge request espressif/esp-idf!19229
2022-08-02 09:14:48 +08:00
Jiang Jiang Jian
681fe85dd6 Merge branch 'docs/c2_protocols_update' into 'master'
docs: remove protocols chapters from C2 not updated list

See merge request espressif/esp-idf!19310
2022-08-01 19:42:40 +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
Marius Vikhammer
c0030f6d62 docs: remove protocols chapters from C2 not updated list 2022-08-01 12:58:06 +08:00
Martin Gaňo
a542e9424c fatfsparse.py/docs: Added missing cmd parameter to the docs 2022-07-29 15:29:23 +02:00
David Čermák
8d62485a12 Merge branch 'feat/lwip_dhcps_append_opts' into 'master'
lw-ip/dhcpserver: Support for adding extra opts

Closes IDFGH-973

See merge request espressif/esp-idf!19115
2022-07-29 14:02:20 +08:00
Marius Vikhammer
32efa1e92d Add ULP-RISCV print and bitbanged UART tx API
Add example to demonstrate the use of this API.
2022-07-29 12:18:01 +08:00
Armando
5e6a16380a esp_adc: move adc common hw related code into esp_hw_support 2022-07-28 03:49:48 +00:00
Marius Vikhammer
45ad46eb27 Merge branch 'docs/c2_api_ref_sys' into 'master'
docs: update api-ref system docs for C2

Closes IDF-4214 and IDF-4224

See merge request espressif/esp-idf!19218
2022-07-28 09:33:12 +08:00
Marius Vikhammer
9d599c207f docs: update api-ref system docs for C2 2022-07-27 16:12:26 +08:00
morris
e4868548c7 doc: update MCPWM api reference with new driver API 2022-07-27 15:22:24 +08:00
Mu Hai Dong
0aa6612371 Merge branch 'docs/remove_wifi_part_docs_not_updated_esp32c2' into 'master'
docs: remove wifi part in docs_not_updated of esp32c2

Closes WIFI-4620

See merge request espressif/esp-idf!19024
2022-07-27 13:11:54 +08:00
Waheed Barghouthi
d5bfbfc095 doc: update clk_flags requirement for i2c docs
Merges https://github.com/espressif/esp-idf/pull/7637
2022-07-27 11:02:43 +08:00
Mo Fei Fei
0d6de25d1c Merge branch 'docs/add_cn_trans_for_migration_guides_system' into 'master'
Docs: add cn trans for migration-guides/system

Closes DOC-3324

See merge request espressif/esp-idf!19046
2022-07-27 10:45:41 +08:00
Anton Maklakov
80b97faade Merge branch 'docs/get_started_macos_rosetta' into 'master'
docs: add a suggestion for apple m1 users

Closes IDFGH-7758

See merge request espressif/esp-idf!18981
2022-07-27 10:03:48 +08:00
Wang Zi Yan
8fca591407 Merge branch 'docs/provide_tips_for_Mac_users' into 'master'
docs: provide tips for Mac users

Closes DOC-3327

See merge request espressif/esp-idf!19245
2022-07-26 21:04:09 +08:00
Anton Maklakov
f5b626db63 docs: add CN translation for linux-macos-setup.rst update 2022-07-26 18:16:49 +07:00
wangziyan
1f56072b3c docs: update the tips 2022-07-26 17:35:30 +08:00
intern
9387248dfc docs: add cn trans for migration-guides/system 2022-07-26 15:41:51 +08:00
wangziyan
b09b3bd5b1 docs: provide tips for Mac users 2022-07-26 15:29:44 +08:00
David Cermak
b5d13b9837 lwip/dhcpserver: Support for adding extra opts
This enables users appending an extra, user defined options in dhcp
server messages. Example of adding captive_portal option (160) to dhcp
offer message is provided:
* Add idf-lwip hook file (project makefile):
  idf_component_get_property(lwip lwip COMPONENT_LIB)
  target_compile_options(${lwip} PRIVATE "-I${PROJECT_DIR}/main")
  target_compile_definitions(${lwip} PRIVATE "-DESP_IDF_LWIP_HOOK_FILENAME=\"add_captive_portal.h\"")
* Implement appending (add_captive_portal.h):
  #pragma once
  #define LWIP_HOOK_DHCPS_POST_APPEND_OPTS(netif, dhcp, state, pp_opts) \
  if ((state)==DHCPOFFER) { *(pp_opts) = append_captive_portal_uri(*(pp_opts)); }
  static inline uint8_t *append_captive_portal_uri(uint8_t *optptr)
  {
    const static uint8_t DHCP_OPTION_CAPTIVE_PORTAL=160;
    const static char CAPTIVE_PORTAL_URI[]="my_uri";
    int size = sizeof(CAPTIVE_PORTAL_URI) - 1;
    *optptr++ = DHCP_OPTION_CAPTIVE_PORTAL;
    *optptr++ = size;
    for(int i = 0; i < size; ++i) {
        *optptr++ = CAPTIVE_PORTAL_URI[i];
    }
    return optptr;
  }

Merges https://github.com/espressif/esp-idf/pull/3308
2022-07-26 07:09:22 +00:00
daiziyan
b995b584bd docs: translated removed-components and build-system 2022-07-26 14:55:01 +08:00
Anton Maklakov
57f231af82 docs: add a suggestion for apple m1 users
Closes: https://github.com/espressif/esp-idf/issues/9300
2022-07-26 11:14:05 +07:00
Wang Fang
83a0cd33ce docs: updated documents related to wakeup source, ulp, flash-encryption and memory types 2022-07-25 10:57:40 +08: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
Jiang Jiang Jian
05b31339f6 Merge branch 'docs/improve_pytest_related_readme' into 'master'
docs: improve ci related docs

See merge request espressif/esp-idf!19169
2022-07-22 21:26:53 +08:00
Zhang Xiao Yan
a1b5dae782 Merge branch 'docs/updated_DevBoards_based_on_feedbacks' into 'master'
docs:updates based on feedbacks

Closes DOC-3376, DOC-3375, DOC-3180, and DOC-3353

See merge request espressif/esp-idf!19154
2022-07-22 17:57:36 +08:00
Linda
3d5f2fbafc docs:updates based on feedbacks 2022-07-22 15:58:09 +08:00
Jiang Jiang Jian
2be53e6765 Merge branch 'bugfix/provide-description-for-preserve-time' into 'master'
fatfsgen.py: add description of the parameter PRESERVE_TIME

Closes IDF-5638

See merge request espressif/esp-idf!19147
2022-07-22 12:27:51 +08:00
Fu Hanxi
8e9cdb0770 docs: improve ci related docs 2022-07-22 08:18:19 +08:00
morris
9a921ada7f rmt: const callback event data 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
7c6a39ed2e esp_system: Add esp_cpu.h migration guide
This commit:
- adds the migration guide for migrating from the now deprecated cpu_hal/ll.h,
  soc_hal/ll.h, and interrupt_controller_hal.h to esp_cpu.h.
- adds the migration guide for migrating from the now deleted compare_set.h header file.
- adds the migration guide for migrating from the now deleted esp_cpu_get_ccount(),
  esp_cpu_set_ccount() and esp_cpu_in_ocd_debug_mode() functions in esp_cpu.h.
2022-07-22 00:06:06 +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
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
Darian
0570c5db1a Merge branch 'bugfix/freertos_xTaskIncrementTick' into 'master'
freertos: Fix xTaskIncrementTick() and xTaskResumeAll()

Closes IDF-4698 and IDF-4705

See merge request espressif/esp-idf!17204
2022-07-21 08:14:30 +08:00
Mahavir Jain
15039f367d Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!19132
2022-07-21 06:14:41 +08:00
wangyuanze
20afcc96a8 example: add onewire_ds18b20 example 2022-07-20 14:12:43 +00:00
wangyuanze
ab0c4abd6e rmt: add open-drain flag on tx channel 2022-07-20 14:12:43 +00: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 Č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
Martin Gaňo
58b1c140d7 fatfsgen.py: add description of the parameter PRESERVE_TIME 2022-07-20 13:06:57 +02:00
morris
75d411a003 doc: update sdm api reference 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
morris
6cab124d7c Merge branch 'bugfix/corrected_typo_in_example_peripherals_usb_device' into 'master'
example: peripherals/usb/device: fix typo naming of local variables

See merge request espressif/esp-idf!19080
2022-07-20 11:56:04 +08:00
Darian Leung
db26ff2503 freertos: Fix vTaskSuspendAll() and xTaskResumeAll()
This commit fixes vTaskSuspendAll() and xTaskResumeAll() in the following ways.

- For vTaskSuspendAll()
    - Sync function source code with upstream single core version
    - Clearly mark IDF additions
- For xTaskResumeAll()
    - Sync function source code with upstream single core version
    - Clearly mark IDF additions
    - Fix bug where cores other than core 0 were allowed to unwind pended ticks
2022-07-20 11:32:10 +08:00
Darian Leung
7a4e1fee99 freertos: Fix xTaskIncrementTick()
Previously, xTaskIncrementTick() would always trigger a yield (i.e., return pdTRUE)
when called on core 1. This would mean core 1 would call vTaskSwitchContext() on
every tick, leading to uneccesary CPU overhead.

This commit fixes xTaskIncrementTick() in the following ways:

- Clearly mark IDF additions in xTaskIncrementTick()
- Moved esp_vApplicationTickHook() to be called direclty in xPortSysTickHandler() in order to
  simplify xTaskIncrementTick().
- Only core 0 calls xTaskIncrementTick() in order to simplify the function's logic. Core 0 is
  solely responsible for managing xTickCount and xPendedTicks
- All other cores call xTaskIncrementTickOtherCores() instead which is a simplified version of
  xTaskIncrementTick() and handles the following:
    - Check if core 0 has unblocked a higher priority task to run
    - Check if the current core requires time slicing
    - Call vApplicationTickHook()
2022-07-20 11:31:50 +08:00
Espressif BOT
72fe927e85 Update esp_crt_bundle certificates 2022-07-20 10:00:11 +08:00
Marius Vikhammer
1315f85e01 docs: fixed misc broken links 2022-07-20 09:43:52 +08:00
jiangguangming
e0d9220a6e example: peripherals/usb: fix typo naming of local variables 2022-07-20 09:36:24 +08:00
Ivan Grokhotkov
de3990f1c0 Merge branch 'doc/esp32c2_jtag' into 'master'
docs: update JTAG related information for ESP32-C2

Closes IDF-4327

See merge request espressif/esp-idf!18496
2022-07-20 01:55:23 +08:00
Wang Ning
394a195015 Merge branch 'docs/restructure_migration_guide' into 'master'
Docs/Restructure Migration Guides

See merge request espressif/esp-idf!18920
2022-07-19 23:15:07 +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
Wang Ning
4526a5abf5 docs/restructure_migration_guides 2022-07-19 18:54:51 +08:00
Mo Fei Fei
f3a16d5122 Merge branch 'docs/update_nvs_encryption_cn_trans' into 'master'
Docs: Update CN translation for nvs encryption docs

Closes DOC-3202

See merge request espressif/esp-idf!18938
2022-07-19 14:47:16 +08:00
intern
4866e91398 docs: update nvs encryption cn trans 2022-07-18 14:40:56 +08:00
Krzysztof Budzynski
45ba00544a Merge branch 'contrib/github_pr_9357' into 'master'
corrected a typo (GitHub PR)

Closes IDFGH-7828

See merge request espressif/esp-idf!19074
2022-07-18 10:58:11 +08:00
Euripedes Rocha
ff1c405ed1 [MQTT] - Updates esp_mqtt configuration struct
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Armando
5b523a3313 esp_adc: new esp_adc component and adc drivers 2022-07-15 18:31:00 +08:00
Paul Jurczak
3cf404f464
corrected a typo 2022-07-15 00:02:19 -06:00
Ondrej Kosta
c0312e3242 Merge branch 'feature/improve_spi_ethernet_init' into 'master'
esp_eth: SPI Ethernet modules initialization simplification

Closes IDF-3902

See merge request espressif/esp-idf!18663
2022-07-15 00:02:23 +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
2ce10d44ab
docs: update JTAG related information for ESP32-C2 2022-07-14 15:57:43 +02: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
Ondrej Kosta
bb6c6aff36 esp_eth: SPI Ethernet modules initialization simplification 2022-07-14 08:46:22 +02:00
morris
4bccd3b635 rgb_lcd: rename relax_on_idle to refresh_on_demand 2022-07-14 14:05:47 +08:00