Roland Dobai
d50f574a31
Tools: The Python dependency checker should not update the constraint file
...
The Python dependency checker called from the export scripts and before
build remains offline, i.e. it will use the previously downloaded
constraint file but won't download a newer version.
Related to https://github.com/espressif/esp-idf/pull/9328
2022-10-03 11:39:28 +02:00
Aditya Patwardhan
244f4ce1d9
protocomm: Enable security version 2 by default
2022-09-30 16:53:20 +05:30
Jakob Hasse
f33ac0a037
Merge branch 'feature/freertos_sim' into 'master'
...
FreeRTOS Single Core Simulator PoC
See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Mahavir Jain
56c04a4188
docs: update coredump guide to make stack size config generic
2022-09-28 20:41:01 +05:30
Jakob Hasse
bfbbd9d790
feat(freertos): Added FreeRTOS POSIX/Linux Simulator
...
* Added port layer from the FreeRTOS POSIX port, added
additional port code for ESP-IDF.
* Created another hello world example using that POSIX
port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Djordje Nedic
09e61e8a23
tools: Add --output-file argument to idf.py size commands
...
This commit ads the corresponding --output-file option from idf_size.py to idf.py.
This is needed because piping the idf.py size output to a file would result in CMake output being present in the file as well.
2022-09-27 15:41:36 +02:00
Roland Dobai
d08898aabc
Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
...
tools: fixed elf symbols load if gdbinit specified
Closes IDF-4991 and GCC-246
See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Krzysztof Budzynski
0cc6fef626
Merge branch 'bugfix/build_openocd_from_sources' into 'master'
...
docs: Provide instructions on how to resolve issue with 'raggedright' when building openocd from sources
See merge request espressif/esp-idf!20214
2022-09-23 12:32:54 +08:00
Michael (XIAO Xufeng)
eb290ecd12
Merge branch 'doc/usj_sw_reset_alive_bbpll_doc' into 'master'
...
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
See merge request espressif/esp-idf!20096
2022-09-22 15:30:41 +08:00
Alexey Lapshin
fd2846c95e
tools: add esp-rom-elfs version '20220823'
2022-09-21 22:39:03 +04:00
Michael (XIAO Xufeng)
a0bf87ee5d
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 01:36:06 +08:00
Krzysztof
707d49e161
docs: Provide instructions on how to resolve issue with 'raggedright' when building openocd from sources
2022-09-20 18:27:17 +08:00
Jiang Jiang Jian
9d8d118397
Merge branch 'feature/add_mesh_support_macro' into 'master'
...
ble_mesh: docs: Remove BLE Mesh related reference for C2
Closes IDF-4215
See merge request espressif/esp-idf!19513
2022-09-20 11:06:25 +08:00
Marius Vikhammer
29830f609d
Merge branch 'docs/misc_broken_link_fixes' into 'master'
...
docs: fixed misc broken links
See merge request espressif/esp-idf!20208
2022-09-19 10:58:58 +08:00
Marius Vikhammer
8540e7a772
docs: fixed misc broken links
2022-09-18 15:03:39 +08:00
wangjialiang
6e79d05814
ble_mesh: docs: Remove BLE Mesh related reference for C2
2022-09-16 19:39:51 +08:00
Linda
8d8326c446
docs: update jtag channel for esp32 and esp32s2
2022-09-15 18:34:08 +08:00
Alexey Lapshin
3c5c47e7bd
Merge branch 'docs/update-esp-rom-elfs-link' into 'master'
...
docs: update link for ESP ROM ELF releases
Closes DOC-3045
See merge request espressif/esp-idf!19704
2022-09-14 15:47:24 +08:00
Alexey Lapshin
a9bd454529
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-13 12:55:48 +04:00
morris
4c6c170b15
Merge branch 'staging/add_wrap_example' into 'master'
...
example: add an example to show how to wrap functions in IDF and bootloader
See merge request espressif/esp-idf!20005
2022-09-13 14:33:27 +08:00
Shang Zhou
be389496e1
docs: sync up CN and EN versions for build-system and partition-tables
2022-09-09 18:28:41 +08:00
Omar Chebib
6dfac0dd68
example: add an example to show how to wrap functions in IDF and bootloader
...
A section in the documentation has also been added to talk about the wrap feature of the linker.
2022-09-09 16:47:16 +08:00
Marius Vikhammer
572e79530c
Merge branch 'bugfix/c2_skip_validate' into 'master'
...
bootloader: allow skip image validation on C2
Closes IDF-5827
See merge request espressif/esp-idf!19755
2022-09-06 14:21:15 +08:00
muhaidong
a3226bd32a
docs: update wifi country code docs.
2022-09-03 20:31:37 +08:00
Alexey Lapshin
8abef173a1
docs: update link for ESP ROM ELF releases
2022-09-01 15:05:26 +04:00
Roland Dobai
84acc58d3c
Merge branch 'fix/disable_idf_py_moinitor_hints' into 'master'
...
Tools: Disable idf.py hints for IDF Monitor
Closes IDFGH-8110
See merge request espressif/esp-idf!19782
2022-08-29 22:51:55 +08:00
Djordje Nedic
5ee663d592
tools: Add CSV support to idf_size.py
...
This adds CSV support to idf_size.py and idf.py size actions and using the --format argument which accepts 'text', 'json' or 'csv' as input.
idf_size.py --json argument is deprecated but left to avoid a breaking change.
For idf.py size actions OUTPUT_JSON environment variable set at configuration time is overriden at target build time if --format is used.
Additionally, this commit refactors big parts of code, unified usage of json_dict and manually generated dictionaries for textual output and improves code quality in many parts.
2022-08-26 15:34:21 +02:00
Krzysztof Budzynski
5c1044d84d
Merge branch 'feature/docs-add-debugging-freertos-objects' into 'master'
...
docs: add debugging freertos objects
See merge request espressif/esp-idf!18357
2022-08-26 20:32:30 +08:00
Mo Fei Fei
fa49d63633
Docs: update the JTAG select eFuse description for S3 and C3 in configure-other-jtag.rst
2022-08-26 14:52:13 +08:00
Roland Dobai
ff38cb8e0d
Tools: Disable idf.py hints for IDF Monitor
...
The feature will be re-enabled later after a proper fix for the
following Github issue.
Closes https://github.com/espressif/esp-idf/issues/9610
2022-08-25 14:53:41 +02:00
Marius Vikhammer
c36cd5238c
bootloader: allow skip image validation on C2
...
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-08-25 16:51:44 +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
Linda
3fa90c8e5d
docs: update name length of partition tables
2022-08-18 17:42:28 +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
Mo Fei Fei
694c54595b
Docs: update CN trans for several docs in api-guides
2022-08-10 18:55:39 +08: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
wangjialiang
4720af95ec
ble_mesh: doc: Restore missing ble mesh videos
2022-08-04 16:32:47 +08:00
Shubham Kulkarni
1bb1b70e0f
docs: Add documentation for define extra partition subtypes through build system
2022-08-03 05:18:37 +00: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
Alexey Lapshin
42a22f149a
docs: add debugging freertos objects
2022-07-27 11:36:14 +04: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
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
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
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
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
Ivan Grokhotkov
2ce10d44ab
docs: update JTAG related information for ESP32-C2
2022-07-14 15:57:43 +02: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
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
Linda
476f6d5e04
docs:update linker script generation
2022-07-13 16:35:03 +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
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
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
Mu Hai Dong
eb4421bf33
doc: esp32c2 wifi programming guide doc.
2022-07-07 14:13:11 +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
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
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
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
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
Anton Maklakov
0bbfff4382
docs(idf.py): clarify clang-tidy setup
2022-07-01 10:32:49 +07: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
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
wang tao
2e036ea173
add esp32c2 iperf throughput
2022-06-29 14:55:22 +08:00
simon.chupin
c6a6eaeb60
idf.py: Add automated hints on how to resolve errors
2022-06-23 14:09:34 +02:00
Jiang Jiang Jian
e4a70f311a
Merge branch 'docs/improve_blufi_docs' into 'master'
...
docs: update BluFi documentation regarding misleading contents
Closes DOC-2836 and DOC-2701
See merge request espressif/esp-idf!18393
2022-06-15 11:27:21 +08:00
Michael (XIAO Xufeng)
7b8e5888ca
Merge branch 'refactor/add_clk_tree_ll' into 'master'
...
clk_tree: Stage3 - HAL for clock subsystem
Closes IDF-4334
See merge request espressif/esp-idf!18270
2022-06-14 17:16:29 +08:00
Shang Zhou
efdfb7ec61
docs: update BluFi documentation regarding misleading contents
2022-06-14 14:18:13 +08:00
KonstantinKondrashov
ada08619cf
doc: Adds RTC Watchdog Timeout article in fatal errors
2022-06-13 17:54:10 +08:00
songruojing
6f6251f369
hal: Limit the HAL_ASSERTION_LEVEL in bootloader to be no larger than 1 (i.e. silent)
2022-06-13 17:47:51 +08:00
Dai Zi Yan
b264d46d20
Merge branch 'docs/update_build_system' into 'master'
...
docs: udpate CN translation for build-system
See merge request espressif/esp-idf!18378
2022-06-09 14:09:07 +08:00
Jiang Jiang Jian
20ac5a8464
Merge branch 'docs/update_wifi_csi_sub_carrier_index_doc' into 'master'
...
docs:update wifi sci subcarrier index docs
Closes WIFI-3215
See merge request espressif/esp-idf!18125
2022-06-09 10:52:38 +08:00
daiziyan
e6a7fee2b4
docs: udpate CN translation for build-system
2022-06-08 19:40:04 +08:00
Dai Zi Yan
f173016d86
Merge branch 'docs/translate_dfu' into 'master'
...
docs: translate dfu.rst
Closes DOC-1958
See merge request espressif/esp-idf!18238
2022-06-08 17:33:47 +08:00
muhaidong
1b496ed9e2
docs: add WIFI_EVENT_STA_BEACON_TIMEOUT event docs.
2022-06-07 17:59:40 +08:00
daiziyan
7344db748f
docs: translate dfu.rst
2022-06-07 11:09:30 +08:00
muhaidong
9be681be35
docs: update wifi beacon timeout docs
2022-06-06 17:00:26 +08:00
Dai Zi Yan
e94435df22
Merge branch 'docs/update_idf_monitor' into 'master'
...
docs: update CN translation for idf-monitor.rst
Closes DOC-3082
See merge request espressif/esp-idf!18248
2022-06-06 15:45:24 +08:00
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
Mu Hai Dong
2905223889
Merge branch 'bugfix/fix_country_policy_issue' into 'master'
...
esp_wifi: fix country policy issue
Closes WIFI-3908, WIFI-4287, and WIFI-4279
See merge request espressif/esp-idf!17366
2022-06-02 20:01:07 +08:00
muhaidong
06fb6b2e32
esp_wifi: fix country policy issue
...
1. Fix not update phy according to country code.
2. Update regdomain max channel according to country info from nvs and or AP.
3. Change nvs default country from "CN" to "01".
4. Channel 14 is allowed only 11b mode.
5. Remove csa when switch channel from/to 14 channel.
6. Update phy mode nvs when softap channel from 14 to other.
7. Fix the bug that check whether channel parameter is valid.
Docs: change default country from "CN" to "01"
2022-06-02 16:15:48 +08:00
muhaidong
ce37a2f205
docs:update wifi sci subcarrier index docs
2022-06-02 11:25:59 +08:00
Michael (XIAO Xufeng)
a0c2252756
build_system: fixed issue that default.target may override other custom configs
2022-06-02 11:08:59 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
daiziyan
59453d0e78
docs: update CN translation for idf-monitor.rst
2022-05-30 20:55:37 +08:00
Sergei Silnov
89518ee86a
build & config: Check requirements of managed components of main and add interface versioning
2022-05-30 14:36:22 +02:00
Roland Dobai
c0a045793f
Merge branch 'bugfix/return_idf_component_manager_build_property' into 'master'
...
build & config: Add IDF_COMPONENT_MANAGER build property
Closes PACMAN-356
See merge request espressif/esp-idf!18251
2022-05-28 13:58:34 +08:00
Ivan Grokhotkov
a14e14f37a
Merge branch 'feature/docker_build_gh_actions' into 'master'
...
ci: move Docker image builds to Github, plus other improvements
Closes IDFCI-1264 and IDFGH-6264
See merge request espressif/esp-idf!18256
2022-05-27 19:56:29 +08:00
Sergei Silnov
487603b51f
build & config: Add IDF_COMPONENT_MANAGER build property
2022-05-26 12:48:27 +02:00
Ivan Grokhotkov
212cbc3fb6
tools/docker: add README.md file to be displayed on Docker Hub
...
Closes https://github.com/espressif/esp-idf/issues/7933
2022-05-26 03:44:13 +02:00