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
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