Commit Graph

2762 Commits

Author SHA1 Message Date
Marius Vikhammer
8bf4af572b Merge branch 'docs/c2_storage_update' into 'master'
docs: update storage and sleep docs for C2

Closes IDF-4207

See merge request espressif/esp-idf!19453
2022-08-23 23:56:56 +08:00
Mahavir Jain
64a88e995b
docs: update app image format description for secure boot v2 signature 2022-08-23 20:52:46 +05:30
Mahavir Jain
e40d733d5a
secure-boot-v2: fix minor typo (s/MFG1/MGF1) 2022-08-23 16:37:14 +05:30
Armando (Dou Yiwen)
fec97b6b16 Merge branch 'bugfix/add_adc_oneshot_disable_ulp_enum' into 'master'
esp_adc: add adc ulp mode disable enum, and kconfig to enable dac output

Closes IDF-5843 and IDF-5846

See merge request espressif/esp-idf!19683
2022-08-23 10:46:54 +08:00
Zhang Xiao Yan
60ff8e5c2c Merge branch 'docs/update_user_guide_esp32_pico_kit' into 'master'
docs:update user guide of esp32-pico-kit

Closes DOC-3489

See merge request espressif/esp-idf!19627
2022-08-23 08:14:01 +08:00
Zhang Xiao Yan
d20a4da56a Merge branch 'docs/update_name_length_of_partition_table' into 'master'
docs: update name length of partition tables

Closes DOC-3470

See merge request espressif/esp-idf!19355
2022-08-22 17:36:13 +08:00
Michael (XIAO Xufeng)
0a2e5a7774 Merge branch 'feat/support_esp32c2_uart' into 'master'
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL

Closes IDF-5424 and IDF-4332

See merge request espressif/esp-idf!19274
2022-08-22 14:24:26 +08:00
Alex Lisitsyn
abb35ac7b2 Merge branch 'feature/modbus_update_migration_guides' into 'master'
modbus: update protocol migration guide

See merge request espressif/esp-idf!19659
2022-08-22 12:43:22 +08:00
Armando
5e31d4bb2b esp_adc: add adc ulp mode disable enum
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.

After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-22 11:00:28 +08:00
Zim Kalinowski
f54972d95d Merge branch 'feature/ulp_mutex' into 'master'
ulp-riscv: mutex/lock

Closes IDF-5754

See merge request espressif/esp-idf!19377
2022-08-21 16:27:53 +08:00
morris
2b1bee166d Merge branch 'contrib/github_pr_9583' into 'master'
docs: Fixed wrong structure reference (GitHub PR)

Closes IDFGH-8081

See merge request espressif/esp-idf!19667
2022-08-21 15:09:42 +08:00
Linda
830588020e docs:update user guide of esp32-pico-kit 2022-08-19 16:50:05 +08:00
aleks
56bab744b3 modbus: update protocol migration guide 2022-08-19 10:28:09 +02:00
S. Jansen
29bdfc5ecc
docs: Fixed wrong structure reference given 2022-08-18 19:03:04 +02:00
Mahavir Jain
a2f028abe7 Merge branch 'feature/app_metadata_to_esp_system' into 'master'
app_update: Moved app metadata to new component `esp_app_format`

Closes IDF-4808

See merge request espressif/esp-idf!18862
2022-08-18 21:51:32 +08:00
Wang Zi Yan
2310736a4b Merge branch 'docs/delete_chip_series_comparison' into 'master'
docs: remove and redirect chip-series-comparison.rst

Closes DOC-3453

See merge request espressif/esp-idf!19534
2022-08-18 18:58:51 +08:00
Linda
3fa90c8e5d docs: update name length of partition tables 2022-08-18 17:42:28 +08:00
Wang Zi Yan
a93ba27b43 Merge branch 'docs/add_pin_layout_diagram_and_notes' into 'master'
docs: update user-guide-devkitm-1.rst

Closes DOC-3495

See merge request espressif/esp-idf!19517
2022-08-18 17:16:16 +08:00
wangziyan
4eda60372d docs: update the link to redirect chip-series-comparison.rst 2022-08-18 08:09:51 +00:00
wangziyan
b7a38e0127 docs: remove and redirect chip-series-comparison.rst 2022-08-18 08:09:51 +00:00
morris
5b48a33ad5 Merge branch 'feature/use_esp_jpeg_for_example' into 'master'
examples/tjpgd: Use esp_jpeg component in tjpgd and SPI examples

Closes IDF-5652

See merge request espressif/esp-idf!19464
2022-08-18 14:42:20 +08:00
David Čermák
8033878507 Merge branch 'bugfix/esp_netif_remove_slip' into 'master'
esp_netif: Migrate SLIP interface to user-space

Closes IDF-5678

See merge request espressif/esp-idf!19202
2022-08-18 03:53:30 +08:00
Vilem Zavodny
a00e8771a7 tjpgd: Remove ROM patches and tests. 2022-08-17 14:42:45 +02:00
Mahavir Jain
4b4109905c Merge branch 'bugfix/copyright_and_removed_component_update' into 'master'
docs: update copyright page for removed (migrated) components

See merge request espressif/esp-idf!19585
2022-08-17 18:21:28 +08:00
morris
104b9c3fb1 Merge branch 'feature/introduce_lcd_color_space_enum' into 'master'
lcd: deprecate esp_lcd_color_space_t

See merge request espressif/esp-idf!19576
2022-08-17 14:19:12 +08:00
Laukik Hase
ae932c8c4e
docs: Added migration guide for app_update
- Deprecated functions and alternatives
2022-08-17 10:59:31 +05:30
David Cermak
b439319409 esp_netif: Add docs on creating custom network stack connection layer 2022-08-16 14:08:15 +00:00
Kevin (Lao Kaiyao)
38bb2debea Merge branch 'feature/touch_element_sleep' into 'master'
touch_element: add low-power support and example into touch element

Closes IDF-3027 and IDF-4353

See merge request espressif/esp-idf!13001
2022-08-16 18:57:46 +08:00
Mahavir Jain
af1eca80d5
docs: update copyright page for removed (migrated) components 2022-08-16 15:53:08 +05:30
Mahavir Jain
6c2c05e8a0 Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
Push out esp-cryptoauthlib to component manager

See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
morris
bc372f8f55 rgb_lcd: deprecate esp_lcd_color_space_t 2022-08-16 14:35:08 +08:00
Michael (XIAO Xufeng)
ce80aae460 docs: update console frequency for ESP32-C2 2022-08-15 18:55:43 +00:00
laokaiyao
62ab4456a8 touch_sleep: complete the support for touch sleep 2022-08-15 20:04:57 +08:00
Roland Dobai
152ce8884b Tools: Fix idf.py hints to be enabled all the time and being able to disable them 2022-08-15 13:01:39 +02:00
morris
814351acdf Merge branch 'bugfix/set_driver_default_int_priority' into 'master'
MCPWM: driver-ng follow-up updates

Closes IDFGH-8010 and IDFGH-8013

See merge request espressif/esp-idf!19432
2022-08-15 16:48:32 +08:00
Shang Zhou
ea26e6a635 docs: Update CN version for MR19453 2022-08-15 16:14:14 +08:00
Mo Fei Fei
488ad6ff2a Docs: Add CN translation for gcc.rst and provisioning.rst 2022-08-15 15:09:27 +08:00
Marius Vikhammer
26dc5fe188 docs: update storage and sleep docs for C2 2022-08-15 07:04:28 +00:00
morris
1d4c08cef4 mcpwm: added enable/disable functions
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-15 14:46:56 +08:00
Mahavir Jain
ccbdadbcd1
Add entry for cryptoauthlib component manager migration 2022-08-12 11:25:33 +05:30
Mahavir Jain
1edc761ef2
cleanup remaining references for esp-cryptoauthlib 2022-08-12 11:25:29 +05:30
Armando (Dou Yiwen)
cdd50aff1a Merge branch 'docs/add_migration_notes_about_removing_esp_adc_cal_component' into 'master'
Docs: add migration notes / hints about removing esp adc cal component

See merge request espressif/esp-idf!19392
2022-08-12 10:52:40 +08:00
wangziyan
f5f66b9f1d docs: update user-guide-devkitm-1.rst 2022-08-11 19:11:02 +08:00
Tomas Rezucha
71566c4d7e Merge branch 'feature/usb_device/pytests' into 'master'
tinyusb: Add TinyUSB example tests

See merge request espressif/esp-idf!19194
2022-08-11 17:17:34 +08:00
Island
fd8101498b Merge branch 'bugfix/fix_bluetooth_cap_define_and_doc' into 'master'
Bugfix/fix bluetooth cap define and doc

Closes BC-1298 and BC-1297

See merge request espressif/esp-idf!19149
2022-08-11 16:51:08 +08:00
Armando
677793c28f doc: improve adc migration guide 2022-08-11 11:26:20 +08:00
Tomas Rezucha
d777b790d0 tinyusb: Add TinyUSB example tests 2022-08-10 14:51:18 +02:00
morris
8f670b71ff Merge branch 'docs/sync_up_lines_api_guides' into 'master'
Docs: update CN trans for several docs in api-guides

Closes DOC-3464

See merge request espressif/esp-idf!19382
2022-08-10 18:55:39 +08:00
Mo Fei Fei
694c54595b Docs: update CN trans for several docs in api-guides 2022-08-10 18:55:39 +08:00
daiziyan
d422e2e7fa docs: updated trans for ulp-risc-v,fatfs and sleep_modes 2022-08-10 16:53:51 +08:00
morris
ac11b17d8d Merge branch 'docs/sync_up_i2c_wifi_blemesh' into 'master'
docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c

Closes DOC-3465

See merge request espressif/esp-idf!19455
2022-08-10 12:01:52 +08:00
Shang Zhou
a199f6f773 docs: provide CN translation for 18484 2022-08-09 09:52:07 +00:00
pedro.minatel
1df9480e29 Added procedures for the USB flashing
Link to the esptool page fixed and changes on the USB diagrams
Changes from MR review
2022-08-09 09:52:07 +00:00
Shang Zhou
a17b207e4f docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c 2022-08-09 11:45:34 +08:00
Geng Yuchao
f070ac4da8 Update BLE documentation scope 2022-08-08 20:51:58 +08:00
Geng Yuchao
98c0481914 Updated the nimble instructions for ESP32. 2022-08-08 20:50:28 +08:00
Geng Yuchao
0a1d8c1e09 Fix soc caps define for all chips 2022-08-08 20:50:28 +08:00
Jing Li
c25c254666 Merge branch 'feature/further_support_esp32c2_sleep' into 'master'
esp32c2/sleep: further support sleep for esp32c2 with 26MHz XTAL

Closes IDF-5544

See merge request espressif/esp-idf!19017
2022-08-08 13:26:15 +08:00
Guillaume Souchere
16c2cb3f1b Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
heap: Remove TLSF related files and replace them with the TLSF submodule

Closes IDF-4967

See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
jingli
209cb1f8ee docs: fix xtal kconfig related description 2022-08-05 19:12:29 +08:00
Marius Vikhammer
ffed60cc93 ulp-riscv: added lock API to provide mutual exclusion when sharing variables between the main CPU and the ULP. 2022-08-05 18:16:31 +08:00
Sudeep Mohanty
30e8f19f5a Merge branch 'docs/update_migration_guide_for_esp_hw_support' into 'master'
docs: Corrected the migration guide for esp_hw_support

See merge request espressif/esp-idf!19398
2022-08-05 14:11:56 +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
wangjialiang
4720af95ec ble_mesh: doc: Restore missing ble mesh videos 2022-08-04 16:32:47 +08: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
Guillaume Souchere
594e58e65a 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-03 08:28:01 +02: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
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
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
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
Alexey Lapshin
42a22f149a docs: add debugging freertos objects 2022-07-27 11:36:14 +04:00
morris
e4868548c7 doc: update MCPWM api reference with new driver API 2022-07-27 15:22:24 +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
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
morris
1dab4af3e8 rgb_lcd: added API to manually refresh the LCD 2022-07-14 14:05:47 +08:00
morris
226bd6bc2d rgb_lcd: add doc for various frame buffer modes 2022-07-14 14:05:47 +08:00
morris
ada0ba7717 rgb_lcd: unify the way to register event callbacks 2022-07-14 14:05:47 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Ivan Grokhotkov
230e732018 Merge branch 'feature/system_init_priorities' into 'master'
esp_system: introduce priorities for startup functions

Closes IDFGH-5683 and IDF-4954

See merge request espressif/esp-idf!18159
2022-07-14 06:22:25 +08:00
morris
d0fbe3a58e Merge branch 'docs/update_linker_script_generation' into 'master'
docs:update linker script generation

Closes DOC-3352

See merge request espressif/esp-idf!19022
2022-07-13 20:06:45 +08:00
Mahavir Jain
20e21fb29d Merge branch 'refactor/remove_rom_deps' into 'master'
RFC: remove dependency to target-specific ROM headers

Closes IDF-1968

See merge request espressif/esp-idf!18206
2022-07-13 16:44:44 +08:00
Linda
476f6d5e04 docs:update linker script generation 2022-07-13 16:35:03 +08:00
Linda
bf950f1c04 docs:provide translation for pcnt 2022-07-13 13:27:04 +08:00
Jakob Hasse
33a3616635 refactor (bootloader_support, efuse)!: remove target-specific rom includes
The following two functions in bootloader_support are private now:
* esp_secure_boot_verify_sbv2_signature_block()
* esp_secure_boot_verify_rsa_signature_block()
They have been moved into private header files
inside bootloader_private/

* Removed bootloader_reset_reason.h and
  bootloader_common_get_reset_reason() completely.
  Alternative in ROM component is available.

* made esp_efuse.h independent of target-specific rom header
2022-07-13 10:29:02 +08:00
Ivan Grokhotkov
42654927d5
esp_system: add a script to check the startup priorities 2022-07-12 16:58:14 +02:00
Jiang Jiang Jian
3630713e5f Merge branch 'docs/esp32c2_sys_feature_api_guides' into 'master'
docs: update system API-guides for ESP32-C2

Closes IDF-4202, IDF-4213, and IDF-4222

See merge request espressif/esp-idf!18979
2022-07-12 10:59:12 +08:00
Marius Vikhammer
f463c42791 Merge branch 'bugfix/ringbuf_iram_fix' into 'master'
esp_ringbuf: placement in flash is no longer controlled by...

Closes IDFGH-7646

See merge request espressif/esp-idf!18774
2022-07-12 09:56:25 +08:00
Marius Vikhammer
d62421619c docs: update system API-guides for ESP32-C2 2022-07-12 09:32:43 +08:00
Jiang Jiang Jian
86deb8c0f5 Merge branch 'bugfix/remove_ulp_tsens' into 'master'
ulp: remove ESP32 ULP TSENS references

Closes IDF-1485

See merge request espressif/esp-idf!18883
2022-07-11 16:31:43 +08:00
Shang Zhou
422ccad211 Merge branch 'docs/update_flash_encryption_translation' into 'master'
docs: update CN translation for flash_encryption

Closes DOC-3203

See merge request espressif/esp-idf!18809
2022-07-11 11:12:41 +08:00
Jiang Jiang Jian
9873d4d138 Merge branch 'bugfix/s2_s3_stack_extmem_config' into 'master'
psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3

See merge request espressif/esp-idf!18894
2022-07-11 10:54:59 +08:00
Marius Vikhammer
fd37129651 esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH

Closes https://github.com/espressif/esp-idf/issues/9198
2022-07-11 09:24:20 +08:00
Mo Fei Fei
ba7a387ab0 Merge branch 'docs/s3_devkitc1_user_guide_v1.1' into 'master'
Docs: Add ESP32-S3-devkitc-1 user guide v1.1

Closes DOC-2980

See merge request espressif/esp-idf!18354
2022-07-08 17:43:16 +08:00
Wei Tian Hua
8699a10929 Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
component_bt: Change HF AG API

See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
mofeifei
a664eb9e5a docs:update s3-devkitc-1 user guide v1.1 2022-07-08 07:57:29 +00:00
Shang Zhou
7f8fae8548 docs: update CN translation for flash_encryption 2022-07-08 11:15:57 +08:00
Shang Zhou
e953dc35fe docs: provide CN translation for tools and windows-env 2022-07-08 10:50:47 +08:00
Wang Fang
a8aead1986 Merge branch 'docs/update_ide_documentation' into 'master'
docs: deleted IDE documentation and provided links to these IDE GitHub repos

Closes DOC-3254, DOC-2982, and DOC-2961

See merge request espressif/esp-idf!18627
2022-07-08 09:35:13 +08:00
Wang Fang
c69908e976 docs: deleted IDE documentation and provided links to these IDE GitHub repos 2022-07-07 18:14:26 +08:00
morris
d02b721a21 Merge branch 'docs/esp32c2_wifi_programming_guide_doc' into 'master'
doc: esp32c2 wifi programming guide doc.

Closes IDF-4216

See merge request espressif/esp-idf!18552
2022-07-07 14:13:12 +08:00
Mu Hai Dong
eb4421bf33 doc: esp32c2 wifi programming guide doc. 2022-07-07 14:13:11 +08:00
Wang Zi Yan
390c572bb6 Merge branch 'docs/provide_404_tips' into 'master'
docs: update 404.rst

Closes DOC-2996

See merge request espressif/esp-idf!18838
2022-07-07 11:54:42 +08:00
Michael (XIAO Xufeng)
a58362a429 Merge branch 'feature/efuse_rev_major_minor' into 'master'
efuse: Adds major and minor versions

See merge request espressif/esp-idf!18255
2022-07-07 11:48:54 +08:00
Roland Dobai
12e8f0ba8c Merge branch 'feature/auto_hints_with_ci_fix' into 'master'
idf.py: Add automated hints on how to resolve errors with fix for ci

Closes IDF-4511, IDF-4512, and IDF-4631

See merge request espressif/esp-idf!18759
2022-07-06 21:05:33 +08:00
morris
a92cce9861 Merge branch 'bugfix/calib_i2c_clk' into 'master'
I2C: Make I2C clock frequency accurate

Closes IDF-5363

See merge request espressif/esp-idf!18686
2022-07-06 20:52:31 +08:00
Anton Maklakov
a5d6a93c3c Merge branch 'bugfix/clang-tidy-for-esp32s3' into 'master'
tools: fix clang-tidy work for esp32s2 and esp32s3

Closes RDT-228 and IDFGH-7756

See merge request espressif/esp-idf!18773
2022-07-06 19:49:42 +08:00
Wang Zi Yan
5e768f7f2d docs: provide translation for gptimer 2022-07-06 17:39:23 +08:00
Marius Vikhammer
342f4f315c psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY was always enabled on S2 and S3, but this option is not
compatible with ESP_COREDUMP_ENABLE_TO_FLASH. Make it configurable to allow users to deactive
it so that ESP_COREDUMP_ENABLE_TO_FLASH can be used.
2022-07-06 12:11:15 +08:00
Cao Sen Miao
e218723e0e I2C: Make I2C clock frequency accurate 2022-07-06 11:58:08 +08:00
Jing Li
9fd5e15b83 Merge branch 'docs/improve_docs_for_flash_power_down' into 'master'
docs: improve docs about flash power-down

Closes IDF-5258

See merge request espressif/esp-idf!18696
2022-07-06 11:02:54 +08:00
jingli
d3c6fff25a improve docs about flash power-down 2022-07-05 19:25:21 +08:00
Marius Vikhammer
3d61c6d7d7 ulp: remove ESP32 ULP TSENS references
Due to poor accuracy the ESP32 ULP TSENS instructions is not recommend for use.
We keep the instruction itself to support users which are already using it,
but should remove it from examples and docs to avoid encouring any new usage of it.
2022-07-05 17:37:13 +08:00
KonstantinKondrashov
0f8ff5aa15 efuse: Adds major and minor versions and others 2022-07-05 14:38:27 +08:00
gabsuren
79d3655106 ASIO: Remove internal component, examples, test and docs 2022-07-04 22:15:24 +04:00
Jiang Jiang Jian
3d3447831a Merge branch 'docs/update_esp32c2_iperf_throughput' into 'master'
Docs/update esp32c2 iperf throughput

Closes IDFGH-7707

See merge request espressif/esp-idf!18732
2022-07-05 01:54:07 +08:00
David Čermák
46fe7dbc8c Merge branch 'component/mdns_migration' into 'master'
mdns: Remove internal component, examples, test and docs

Closes IDF-4074

See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
simon.chupin
43c69f0910 idf.py: Add automated hints on how to resolve errors 2022-07-04 08:15:23 +00:00
wangziyan
6549e8fefb docs: update 404.rst 2022-07-04 14:44:29 +08:00
Marek Fiala
e519915823 Merge branch 'feature/disable_option_install_script' into 'master'
Tools: --disable-* argument for removing features

Closes IDF-4398 and IDF-4342

See merge request espressif/esp-idf!18194
2022-07-01 17:18:50 +08:00
Adam Múdry
0e98905e51 Merge branch 'feature/usb_midi_example' into 'master'
usb: Added MIDI example + fixed TinyUSB MIDI config

Closes IDFGH-6921

See merge request espressif/esp-idf!17753
2022-07-01 15:03:42 +08:00
Anton Maklakov
0bbfff4382 docs(idf.py): clarify clang-tidy setup 2022-07-01 10:32:49 +07:00
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
Cao Sen Miao
d9b4b82edc spi_flash: Modify documentations 2022-07-01 10:59:34 +08:00
Marek Fiala
90a69c4490 Tools: --disable-* argument for removing features
Optional argument --disable-* for removing features in install scripts.
2022-06-30 12:31:59 +02:00
Adam Múdry
2dfaec3106 usb: Added MIDI example + fixed TinyUSB MIDI config
Closes https://github.com/espressif/esp-idf/issues/8541
2022-06-29 14:02:00 +00:00
Mu Hai Dong
8078092fae Merge branch 'docs/update_wifi_beacon_timeout_doc' into 'master'
docs: update wifi beacon timeout docs

Closes WIFI-4427 and IDFGH-7496

See merge request espressif/esp-idf!18379
2022-06-29 21:54:29 +08:00
gabsuren
d413a71f61 mdns: Remove internal component, examples, test and docs 2022-06-29 17:30:34 +04:00
Roland Dobai
8dddb8b596 Revert "Merge branch 'feature/clippy' into 'master'"
This reverts merge request !16998
2022-06-29 16:46:47 +08:00
Mahavir Jain
9ee26516a7 Merge branch 'fix/update_docs_for_hmac_api' into 'master'
esp_hmac: Fix documentation for API and Programming Guide

See merge request espressif/esp-idf!18703
2022-06-29 16:06:33 +08:00
Roland Dobai
2e817c4426 Merge branch 'feature/clippy' into 'master'
idf.py: Add automated hints on how to resolve errors

Closes IDF-4511, IDF-4512, and IDF-4631

See merge request espressif/esp-idf!16998
2022-06-29 15:44:55 +08:00
wang tao
2e036ea173 add esp32c2 iperf throughput 2022-06-29 14:55:22 +08:00
morris
85ab06440b Merge branch 'bugfix/remove_dc_as_cmd_phase' into 'master'
spi_lcd: don't support dc_as_cmd_phase

Closes IDFGH-7026

See merge request espressif/esp-idf!18694
2022-06-29 10:50:36 +08:00
Ondrej Kosta
ed7afd8b73 Merge branch 'feature/eth_phy_common' into 'master'
ESP PHY structure refactor

Closes IDF-5149

See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
Aditya Patwardhan
c6fe3ba7c6 esp_hmac: Fix documentation for API and Programming Guide 2022-06-28 12:47:28 +00:00
Aditya Patwardhan
28af19f6f4 Merge branch 'fix/fix_protocomm_documentation' into 'master'
protocomm.rst: Fix documentation regarding Security Version 0

See merge request espressif/esp-idf!18722
2022-06-28 20:43:00 +08:00
Kevin (Lao Kaiyao)
47266d7736 Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
touch_sensor: add description to distinguish the API on different target

Closes IDFGH-7499

See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
Aditya Patwardhan
d736cd560a protocomm.rst: Fix documentation regarding Security Version 0 2022-06-28 15:13:52 +05:30