Commit Graph

2279 Commits

Author SHA1 Message Date
Cao Sen Miao
4418a855ba spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2 2022-04-26 15:22:37 +08:00
zhangyanjiao
7e0090b029 modify API-reference using Sphinx directives 2022-04-26 10:18:41 +08:00
Ivan Grokhotkov
ceeb9f9451
docs: update the migration guides for esp_timer
Previous commit removes esp_timer from the common requirements.
This commit updates the documentation to describe the resulting
changes.
2022-04-25 18:39:59 +02:00
Roland Dobai
5f017e5390 Merge branch 'feature/esptool_package' into 'master'
esptool: Include esptool as a Python package instead of using it as a submodule

Closes IDF-4785

See merge request espressif/esp-idf!17639
2022-04-25 16:17:56 +08:00
Roland Dobai
2448639245 Merge branch 'tidy_build_system_docs' into 'master'
Docs: Move the documentation about idf.py out from the build system documentation

Closes IDF-2431

See merge request espressif/esp-idf!17789
2022-04-25 16:09:08 +08:00
Marius Vikhammer
57f68e417f docs: fix indention in dac code snippet 2022-04-25 14:08:27 +08:00
Alexey Lapshin
b5bafae596 tools: add GDB v11.1 as a tool
GDB now is standalone tool separated from toolchain due to frequent updates.

Added installation tests for the new tool.

Tests are changed because they were wrong, see explanation:
esp32 objdump:
    40084290 <esp_crosscore_int_send_yield>:
    ......
    /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
    4008429c:    000090            retw

With previous GDB backtrace was:
    #0  0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144

This commit fixes the backtrace with the right line number:
    #0  0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145

Other tests changes have the same cause of fixing.

Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
zhangyanjiao
e3b8f59867 update wifi api docs 2022-04-24 23:55:54 +08:00
xueyunfei
26fa8260b1 Doc:update wifi api docs
* Add documents related to espnow config rate

* Optimization set dns server api description
2022-04-24 21:20:54 +08:00
Marius Vikhammer
45c1d1cba2 Merge branch 'feature/move_target_kconfig_2' into 'master'
system: move kconfig options out of target component

See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
mofeifei
1a988b0b1e docs: improve sentences for wifi.rst 2022-04-24 02:14:07 +00:00
radim.karnis
2bb7dc4471 esptool: Include as a package, delete submodule 2022-04-22 21:31:17 +02:00
Djordje Nedic
181618ab70 docs: Move the documentation about idf.py out from the build system documentation
This moves all the documentation relating to using idf.py out of the build system documentation in order to declutter and more logically group the documentation.
It is now present in the tools page under IDF Frontend - idf.py.
Additionally there has been lots of rewriting and some minor fixes on the way.
2022-04-22 17:38:04 +02:00
morris
de433105a2 lcd: don't turn on disp in init
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
Ivan Grokhotkov
90660111c9 Merge branch 'doc/choose_version_dependent_projects' into 'master'
docs: note that choice of IDF version may depend on downstream project

See merge request espressif/esp-idf!17754
2022-04-21 20:18:22 +08:00
Ivan Grokhotkov
1be9b4ab2e
docs: note that choice of IDF version may depend on downstream project
As in the case with esp-iot-solution here:
https://github.com/espressif/esp-idf/issues/8763

Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-04-21 13:35:35 +02:00
Mahavir Jain
d187fac8c4 Merge branch 'esp_tls/remove_deprecated_api' into 'master'
[esp_tls] Remove deprecated API

See merge request espressif/esp-idf!17575
2022-04-21 17:02:30 +08:00
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Laukik Hase
25b2092219
docs: Added breaking changes for ESP-TLS to migration guide 2022-04-20 12:18:26 +05:30
mofeifei
3a35ed7cfa docs:change system.rst name 2022-04-20 13:11:02 +08:00
mofeifei
485cdd9a74 docs: add cn trans for system.rst 2022-04-20 13:07:38 +08:00
Armando (Dou Yiwen)
5bb59b00e7 Merge branch 'feature/support_bss_on_psram' into 'master'
psram: support .bss on psram on esp32s3

Closes IDF-4814, IDF-4396, IDFGH-7148, and IDFGH-7153

See merge request espressif/esp-idf!17557
2022-04-20 11:16:28 +08:00
Ivan Grokhotkov
fe904085fb Merge branch 'feature/modbus_remove_component' into 'master'
freemodbus: remove component files from esp-idf

See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
Armando
b5de3ec953 esp_common: rename EXT_RAM_ATTR to EXT_RAM_BSS_ATTR to make it clearer
EXT_RAM_ATTR is deprecated. To put .bss on PSRAM, use this new macro EXT_RAM_BSS_ATTR
2022-04-19 19:48:00 +08:00
Armando
f8249550f8 psram: support .bss on psram on esp32s3 2022-04-19 19:48:00 +08:00
morris
373d9b3dbc Merge branch 'feature/default_clk_for_gptimer' into 'master'
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)

Closes IDF-4894

See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b freemodbus: remove component files from esp-idf (fix examples) 2022-04-19 07:23:17 +00:00
morris
3aeb80acb6 Merge branch 'contrib/github_pr_8767' into 'master'
Fixing a file name typo (plug.c) (GitHub PR)

Closes IDFGH-7165

See merge request espressif/esp-idf!17784
2022-04-15 15:30:14 +08:00
songruojing
534346f4bb ledc: Provide support for esp32c2 and esp32h2
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
morris
f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
Mahavir Jain
11abb67e65 Merge branch 'fix/update_migration_guide_for_esp_ds_api' into 'master'
docs/protocols/migration_guide: Update the v5.0 migration guide w.r.t.

See merge request espressif/esp-idf!17760
2022-04-14 13:30:41 +08:00
Wang Fang
91a82c352c Merge branch 'docs/update_documents_in_hw_reference' into 'master'
Docs: Update Hardware-Related Documents

Closes DOC-2696, DOC-2911, DOC-2877, DOC-2920, and DOC-2627

See merge request espressif/esp-idf!17712
2022-04-14 11:19:46 +08:00
Wang Fang
c18a72134d Merge branch 'docs/remove_dedicated_gpio_for_esp32c3' into 'master'
Update dedicated GPIO document for ESP32-C3

Closes DOC-2660

See merge request espressif/esp-idf!17669
2022-04-14 11:13:49 +08:00
Wang Fang
e1ce61ea91 docs: updated hardware-related documents 2022-04-14 11:08:13 +08:00
Wang Fang
a633704790 docs: update dedicated gpio doc for esp32-c3 2022-04-14 11:00:30 +08:00
morris
cc71e645be Merge branch 'feature/ksz8863rll_support' into 'master'
ESP IDF infrastructure preparation for ksz8863rll support

See merge request espressif/esp-idf!17203
2022-04-14 10:51:27 +08:00
Mo Fei Fei
7a1915cae9 Merge branch 'docs/add_cn_trans_sleep_modes' into 'master'
Docs: add CN trans for sleep-modes.rst

Closes DOC-2850

See merge request espressif/esp-idf!17580
2022-04-13 19:03:31 +08:00
Ondrej Kosta
90829e64d5 Merge branch 'feature/create_l2tap_example' into 'master'
Feature/create l2tap example

Closes IDF-4096

See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
mofeifei
6b2d551ecc docs: add cn trans for sleep-modes 2022-04-13 10:37:59 +00:00
Martin Vychodil
3b3bfc1971 Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
vfs: renamed FATFS convenience mounting functions

Closes IDF-4370

See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
Aditya Patwardhan
9abf7d6659 docs/protocols/migration_guide: Update the v5.0 migration guide w.r.t.
esp_ds_rsa_sign API
2022-04-13 14:38:00 +05:30
Hassan DRAGA
de7d093ef8
Fixing a file name typo (plug.c)
In [Example of component requirements] it shows "plug.c" while in the rest of the explanation it refer to "spark_plug.c", same thing with "plug.h".
2022-04-12 09:09:19 -04:00
Ondrej Kosta
fcdb0306d0 examples: added ESP-NETIF L2 TAP example 2022-04-12 12:33:57 +00:00
Mahavir Jain
8fac20d7dc Merge branch 'feature/upgrade_argtable_3_2_1_files' into 'master'
console: upgrade argtable3 to v3.2.1 (multi-file approach)

See merge request espressif/esp-idf!17687
2022-04-12 12:42:29 +08:00
mofeifei
4bd411d254 docs: update app trace cn trans 2022-04-12 03:17:12 +00:00
Ivan Grokhotkov
41e5a70aa9
docs: update copyrights list for argtable3 2022-04-11 19:46:46 +02:00
morris
bd3ded195a Merge branch 'feature/proper_way_register_testapp_component' into 'master'
Several driver improvements according to coverify scan report

See merge request espressif/esp-idf!17708
2022-04-11 21:04:14 +08:00
Matus Fabo
24268d47a2 change: renamed FATFS convenience mounting functions
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
wangmengyang
0760a969a8 component/docs: enable generation of API-reference documents for Bluetooth HID device 2022-04-11 02:50:50 +00:00
Armando (Dou Yiwen)
5e8db9669d Merge branch 'refactor/move_soc_memory_types_helper_functions_to_esp_hw_support' into 'master'
hw_support: move soc_memory_types.h helper functions into esp_hw_support (G1)

Closes IDF-4858

See merge request espressif/esp-idf!17657
2022-04-10 19:10:33 +08:00
Adam Múdry
36db6a6681 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Ondrej Kosta
4051b80b4d esp_netif: remove dependency of L2 TAP Interface from netif_lwip
esp_eth: extended infrastructure to optionally provide more advanced access to MAC/PHY layers
2022-04-08 16:40:29 +02:00
morris
32464d2fcb Merge branch 'docs/update_api-guides' into 'master'
docs: updated CN trans for fatal-errors and unit-tests

Closes DOC-2773

See merge request espressif/esp-idf!17505
2022-04-08 16:30:17 +08:00
Dai Zi Yan
3bcef014b9 docs: updated CN trans for fatal-errors and unit-tests 2022-04-08 16:30:16 +08:00
morris
5732e2a4be driver: fix dead code in error handling path
... for gptimer and pulse_cnt driver, reported by Coverity Scan
2022-04-08 15:13:34 +08:00
Armando
c4bcf1117c esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support 2022-04-08 11:46:10 +08:00
Sudeep Mohanty
f2d355992b Merge branch 'refactor/remove-portmacro-deprecated-apis' into 'master'
freertos: remove portmacro_deprtecated.h file

Closes IDF-4746

See merge request espressif/esp-idf!17661
2022-04-07 14:36:25 +08:00
morris
df18bc03c9 Merge branch 'docs/update_CN_trans_api-guides' into 'master'
docs: updated CN trans for linker-script-generation and external-ram

Closes DOC-2803

See merge request espressif/esp-idf!17510
2022-04-07 11:15:16 +08:00
Dai Zi Yan
0896e19840 docs: updated CN trans for linker-script-generation and external-ram 2022-04-07 11:15:16 +08:00
Anton Maklakov
a2c8a676a0 Merge branch 'bugfix/explicit_use_bsd_string_in_linux_target' into 'master'
docs, spi_flash: explicit use bsd string in linux target

Closes IDF-3267

See merge request espressif/esp-idf!17635
2022-04-06 14:00:36 +08:00
Ivan Grokhotkov
273633ee31
build system: add WHOLE_ARCHIVE component property
This component property allows including all component object files
into the executable. It is equivalent to wrapping the component
library with -Wl,--whole-archive and -Wl,--no-whole-archive flags.

Closes https://github.com/espressif/esp-idf/issues/8667
2022-04-05 18:50:20 +02:00
Sudeep Mohanty
129e613f15 freertos: remove portmacro_deprtecated.h file
This commit removes the portmacro_deprecated.h file and the deprecated
APIs contained in it. Alternate APIs to use are noted in the migration
guide.
2022-04-05 04:38:35 +00:00
Krzysztof Budzynski
813fa1e4ae Merge branch 'contrib/github_pr_8686' into 'master'
Just a markdown syntax typo in the docs... (GitHub PR)

Closes IDFGH-7069

See merge request espressif/esp-idf!17666
2022-04-01 17:14:58 +08:00
Mahavir Jain
e498209ed2 Merge branch 'fix/esp_crt_bundle_init_api' into 'master'
esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_init" API.

Closes IDFGH-6769

See merge request espressif/esp-idf!17646
2022-04-01 01:36:55 +08:00
Omar Chebib
fa55cf608b Merge branch 'refactor/remove_esp32comp_dep_on_efuse' into 'master'
G0: target components (components/esp32*) don't depend on efuse anymore

See merge request espressif/esp-idf!17623
2022-03-31 17:40:25 +08:00
Marius Vikhammer
36b83fcb98 Merge branch 'docs/cpp_function_ref_fixes' into 'master'
docs: fix broken references to misc API functions and types.

Closes IDF-3184 and DOC-2806

See merge request espressif/esp-idf!17569
2022-03-31 16:22:23 +08:00
Aditya Patwardhan
c27c6916a7 esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_set" API.
Closes https://github.com/espressif/esp-idf/issues/8397
2022-03-31 13:11:11 +05:30
Omar Chebib
9380fd6bee G0: remove components/esp32* dependency on efuse component 2022-03-30 11:40:37 +08:00
h0chi
e53c99e54c
fix markdown syntax typo 2022-03-29 19:17:38 +02:00
Anton Maklakov
5213ec8b33 docs: add libbsd-dev to linux host requirements list 2022-03-29 13:59:53 +07:00
Armando
fe9c6cde4f spi: support spi on h2 2022-03-29 11:54:08 +08:00
Mo Fei Fei
d3f75c52d6 Merge branch 'docs/update_s3_devkitc1_user_guide' into 'master'
Docs: Update s3-devkitc-1 user guide

Closes DOC-2634

See merge request espressif/esp-idf!17582
2022-03-29 11:40:26 +08:00
mofeifei
57ac6d4673 docs: update s3-devkitc-1 user guide 2022-03-29 11:24:20 +08:00
Roland Dobai
5cebbbe74d Merge branch 'feature/idfpy_depecated_commands' into 'master'
tools: Remove deprecated idf.py commands

Closes IDF-3869

See merge request espressif/esp-idf!17525
2022-03-28 18:27:48 +08:00
morris
4a2fee3343 Merge branch 'contrib/github_pr_8649' into 'master'
Fix typo in ESP-WIFI-MESH Programming Guide (GitHub PR)

Closes IDFGH-7032

See merge request espressif/esp-idf!17617
2022-03-28 12:43:26 +08:00
Marius Vikhammer
a6543f0d21 docs: fix broken references to misc API functions and types. 2022-03-27 16:46:57 +08:00
Aditya Patwardhan
2cf6399cd5 Merge branch 'bugfix/esp_tls_errors_header_in_docs' into 'master'
docs: Add esp_tls_errors.h to API reference list

Closes DOC-2797

See merge request espressif/esp-idf!17584
2022-03-27 16:42:57 +08:00
Marek Fiala
b5c374ae3e tools: Deprecated commands removed from idf.py
Remove deprecated commands from idf.py, but they are still kept working as cmake deprecated targets.
2022-03-25 09:08:53 +01:00
Espressif BOT
f51da7dded
Update esp_crt_bundle certificates 2022-03-25 10:48:34 +05:30
Mahavir Jain
5479ac6b1d
docs/esp_crt_bundle: fix section reference for updating cert bundle 2022-03-25 07:34:25 +05:30
Mahavir Jain
19194f612d
docs: Add esp_tls_errors.h to API reference list
Closes DOC-2797
2022-03-25 07:31:41 +05:30
morris
fe13b2ed50 lcd: add rgb isr iram safe callback test 2022-03-24 21:23:01 +08:00
Dmitry
1ee7953ebe app_trace: add support for UART to the app trace module.
Add support for UART to the SystemView.
2022-03-23 17:51:14 +03:00
Ivan Grokhotkov
d17220fc66 Merge branch 'partition/not_aligned_is_error' into 'master'
gen_esp32part.py: misaligned partitions now raise an exception

Closes IDF-3742

See merge request espressif/esp-idf!17368
2022-03-23 18:34:55 +08:00
Kevin (Lao Kaiyao)
56659cdf36 Merge branch 'contrib/github_pr_8618' into 'master'
i2s: Update i2s.rst (GitHub PR)

Closes IDFGH-7000

See merge request espressif/esp-idf!17540
2022-03-23 11:50:49 +08:00
laokaiyao
7bfa07732f i2s: update application notes 2022-03-22 15:39:22 +08:00
Mahavir Jain
169430faf3 docs/protocols: use SOC capability macros, instead of target names 2022-03-22 02:06:30 +00:00
Tim Becker
49cd71b5e5
Update i2s.rst
minor improvements to the documentation.
2022-03-21 15:37:10 +01:00
Will Nilges
118f2c8aaa
Fix typo in ESP-WIFI-MESH Programming Guide 2022-03-20 10:07:28 -04:00
Armando (Dou Yiwen)
36457b1346 Merge branch 'refactor/adc_unify_adc_unit' into 'master'
adc: adc single driver NG pre-step - unify adc_ll_num_t and adc_unit_t

See merge request espressif/esp-idf!17408
2022-03-18 20:29:36 +08:00
Mahavir Jain
93987e6b79 Merge branch 'fix/remove_test_cert_files_from_mbedtls_port_directory' into 'master'
mbedtls: Remove certs.c and certs.h from port directory

Closes IDF-4709

See merge request espressif/esp-idf!17485
2022-03-18 16:47:53 +08:00
Armando
109f2a7449 adc: update adc 5.0 migration guide for adc_unit_t 2022-03-18 11:36:50 +08:00
Mahavir Jain
2eddcc1b63 Merge branch 'docs/mbedtls' into 'master'
docs: Add documentation for `mbedtls`

Closes IDF-2167

See merge request espressif/esp-idf!17450
2022-03-17 11:30:39 +08:00
Marius Vikhammer
81ee9189c7 Merge branch 'contrib/github_pr_8597' into 'master'
minor typo fix (GitHub PR)

Closes IDFGH-6977

See merge request espressif/esp-idf!17509
2022-03-17 10:10:52 +08:00
Simon Howroyd
07fd196b66
minor typo fix 2022-03-16 17:59:04 +00:00
Laukik Hase
660134b1a3
docs: Add documentation for mbedtls 2022-03-16 17:22:33 +05:30
morris
cfecf5917b Merge branch 'contrib/github_pr_8578' into 'master'
Docs: fix speed code sample printf format specifiers (GitHub PR)

Closes IDFGH-6958

See merge request espressif/esp-idf!17500
2022-03-16 10:52:36 +08:00
Jeff Hufford
88883ea9c5
Docs: fix speed code sample printf format specifiers
`%ull` should be `%llu`.
2022-03-15 15:56:14 -07:00
Matus Fabo
6bc7b4b5e2 change: misaligned partitions now raise an exception
change: alignment for data partitions is now 4kB instead of 4B
remove: STRICT_DATA_ALIGNMENT variable
remove: warning tests for misaligned partitions
add: assertion test for misaligned partitions
add: breaking change documentation
2022-03-15 12:54:59 +01:00
Aditya Patwardhan
f31d8dd295 mbedtls: Remove certs.c and certs.h from port directory 2022-03-15 17:16:07 +05:30