suren.gabrielyan
3a5d9d9431
mdns: Add MDNS_STRICT_MODE config option
...
Strict mode was hardcoded in private header file, but it's useful for
users to enable/disable it depending on the mdns library they are using.
e.g. Avahi might not resolve the non-strict answers.
2021-04-13 10:36:30 +02:00
Michael (XIAO Xufeng)
693aaef039
Merge branch 'bugfix/enable_gpio18_gpio19_esp32c3_v4.3' into 'release/v4.3'
...
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3 (backport v4.3)
See merge request espressif/esp-idf!13112
2021-04-13 07:40:00 +00:00
Angus Gratton
7703fcbd8d
Merge branch 'bugfix/silent_asserts_v4.3' into 'release/v4.3'
...
freertos/lw ip: Support silent assertions (v4.3)
See merge request espressif/esp-idf!13011
2021-04-13 04:30:09 +00:00
Michael (XIAO Xufeng)
9a7deae742
Merge branch 'bugfix/reduce_the_consumption_of_touch_sensor_during_deep_sleep_backport_v4.3' into 'release/v4.3'
...
bugfix: reduce the consumption of touch sensor during deep sleep (backport v4.3)
See merge request espressif/esp-idf!12869
2021-04-13 04:16:01 +00:00
Omar Chebib
84dc42c4b0
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
...
When `DIS_USB_JTAG` eFuse is NOT burned (`False`), it is not possible
to set pins 18 and 19 as GPIOs. This commit solves this by manually
disabling USB JTAG when using pins 18 or 19.
The functions shall use `gpio_hal_iomux_func_sel` instead of
`PIN_FUNC_SELELECT`.
2021-04-12 17:45:06 +08:00
David Čermák
d7e680828a
Merge branch 'feature/seperate_ipv6_function_from_ipv4_v4.3' into 'release/v4.3'
...
Add LWIP_IPV6 macro to strip IPv6 function (backport v4.3)
See merge request espressif/esp-idf!12998
2021-04-12 08:38:45 +00:00
Angus Gratton
da47503c14
Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap_v4.3' into 'release/v4.3'
...
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled (v4.3)
See merge request espressif/esp-idf!13096
2021-04-12 08:18:21 +00:00
yuanjm
e490fdafbe
doc: Add description for CONFIG_LWIP_IPV6 in api-guides
2021-04-12 05:42:50 +00:00
yuanjm
94e3141a32
examples: Make tcp_server example support tcp keepalive function
2021-04-12 05:42:50 +00:00
yuanjm
fd34406960
examples: Use CONFIG_LWIP_IPV6 to strip tcp_server example
2021-04-12 05:42:50 +00:00
yuanjm
4544b709e5
lwip: Fix spelling issues in lwip_debug.c
2021-04-12 05:42:50 +00:00
yuanjm
a95c1c302d
examples: Strip IPv6 function in example and use sockaddr_storage to replace sockaddr_in6
2021-04-12 05:42:50 +00:00
yuanjm
1ef91c72e2
components: Use CONFIG_LWIP_IPV6 to strip IPv6 function in components
2021-04-12 05:42:50 +00:00
yuanjm
90696dad89
lwip: Add LWIP_IPV6 macro to strip IPv6 function in LWIP component
2021-04-12 05:42:50 +00:00
fuzhibo
e310fb1393
fix: reduce the consumption of touch sensor during deep sleep
2021-04-12 12:24:53 +08:00
Angus Gratton
71de11e89d
Merge branch 'feature/esp32c3_memprot_test3_v4.3' into 'release/v4.3'
...
ESP32C3/ESP32S2: memprot API upgrade and test application (v4.3)
See merge request espressif/esp-idf!12942
2021-04-12 03:29:29 +00:00
Krzysztof Budzynski
bda9e1fda7
Merge branch 'bugfix/doxygen_input_file_bug_v4.3' into 'release/v4.3'
...
docs: fix doxygen compile warnings for doxygen 1.9.1 (v4.3)
See merge request espressif/esp-idf!13075
2021-04-12 00:46:11 +00:00
Marius Vikhammer
97df333a3b
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:46:06 +08:00
Martin Vychodil
6dfff2fdbd
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 10:21:58 +10:00
Angus Gratton
2ed3e8b344
Merge branch 'bugfix/prefetch_invalid_v4.3' into 'release/v4.3'
...
soc: add dummy bytes to ensure instr prefetch always valid (v4.3)
See merge request espressif/esp-idf!12993
2021-04-09 14:49:07 +00:00
Prasad Alatkar
58a7d9f239
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-04-09 14:18:20 +00:00
Angus Gratton
e4dd9053c2
Merge branch 'feature/secure_bootv2_c3_v4.3' into 'release/v4.3'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3 (v4.3)
See merge request espressif/esp-idf!13062
2021-04-09 13:06:46 +00:00
Angus Gratton
ff5e0d0d38
Merge branch 'bugfix/calc_8m_freq_test_v4.3' into 'release/v4.3'
...
rtc: increase CI acceptance range for calc 8M test (v4.3)
See merge request espressif/esp-idf!13085
2021-04-09 13:06:36 +00:00
Angus Gratton
03b0540bc6
esp32s3: Reserve RTC memory in bootloader in the app linker script
2021-04-09 19:15:43 +10:00
Angus Gratton
17e30c9e89
esp32c3: Reserve RTC memory from bootloader in the app linker script
2021-04-09 19:15:43 +10:00
Angus Gratton
00cfcde385
bootloader: Fix "skip validate on exit deep sleep" when "Use RTC fast memory as heap" is enabled
...
RTC region used to store boot partition needs to remain reserved in the app.
2021-04-09 19:15:43 +10:00
Angus Gratton
0839fd08dd
Merge branch 'bugfix/dport_init_min_stack_size_v4.3' into 'release/v4.3'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (backport v4.3)
See merge request espressif/esp-idf!12797
2021-04-09 09:14:25 +00:00
Marius Vikhammer
626964beae
docs: add C3 TRM links
2021-04-09 15:14:16 +08:00
Marius Vikhammer
220f3d2198
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:11 +08:00
Michael (XIAO Xufeng)
904933745b
Merge branch 'bugfix/fix_esp_restart_crash_v4.3' into 'release/v4.3'
...
esp_hw_support: fix esp_restart crash (v4.3)
See merge request espressif/esp-idf!13072
2021-04-09 03:44:09 +00:00
Renz Bagaporo
ea4a8d5e4f
esp_hw_support: fix esp_restart crash
...
Closes https://github.com/espressif/esp-idf/issues/6836
2021-04-09 09:30:03 +08:00
KonstantinKondrashov
10cce6b74a
unit-test-app(config): esp32c3 uses eco0 for UTs
2021-04-09 00:02:40 +08:00
Michael (XIAO Xufeng)
e36e433519
Merge branch 'bugfix/fix_uart_handler_call_inline_func_v43' into 'release/v4.3'
...
Bugfix/fix uart handler call inline func (backport v4.3)
See merge request espressif/esp-idf!13003
2021-04-08 09:38:51 +00:00
Michael (XIAO Xufeng)
76ff1724b3
Merge branch 'feature/remove_hspi_macor_on_chips_later_than_s2_v4.3' into 'release/v4.3'
...
spi: remove hspi macor on chips later than s2 (v4.3)
See merge request espressif/esp-idf!12956
2021-04-08 09:37:07 +00:00
Angus Gratton
9f1ae278e0
Merge branch 'feature/vdd_sdio_pd_configurable_v4.3' into 'release/v4.3'
...
system: add VDD_SDIO power domain configuration for light sleep (backport v4.3)
See merge request espressif/esp-idf!13028
2021-04-08 09:27:57 +00:00
KonstantinKondrashov
54908d3a42
esp32c3: Default supported ESP32-C3 Revision ECO3
2021-04-08 15:09:14 +08:00
KonstantinKondrashov
19b90e8ba9
docs: Adds secure_boot_v2 for ESP32-C3 ECO3
2021-04-08 14:35:35 +08:00
KonstantinKondrashov
a5e27d73a5
secure_boot_v2: Adds support SB_V2 for ESP32-C3 ECO3
2021-04-08 14:35:35 +08:00
Angus Gratton
1e6a6ffa0d
Merge branch 'bugfix/check_a_time_after_deepsleep_v4.3' into 'release/v4.3'
...
Fix esp32s2 timekeeping on deep sleep issue (v4.3)
See merge request espressif/esp-idf!13046
2021-04-08 01:14:44 +00:00
Renz Bagaporo
dbf2a64adb
esp_hw_support: add test for rtc clk compensation
2021-04-07 06:40:28 +08:00
Renz Bagaporo
11970e65a1
newlib: persist rtc clk corrections
2021-04-07 06:40:28 +08:00
Armando
670b057b04
spi: remove HSPI macro on esp32c3 and esp32s3
2021-04-06 15:30:28 +08:00
Omar Chebib
ae3b4819da
esp_system: add VDD_SDIO power domain configuration to documentation
...
Add a warning in `sleep_modes` doc page to explain how to keep
VDD_SDIO power domain ON.
2021-04-06 14:04:22 +08:00
Omar Chebib
b0684e8b3c
esp_system: add VDD_SDIO power domain configuration for light sleep
...
VDD_SDIO power domain can now be configured for light sleep
by the application. It is now possible to keep the power domain
ON during light sleep, keeping the GPIOs connected to it powered.
The power domain will, by default be:
- Kept ON if CONFIG_ESP_SYSTEM_PD_FLASH is not set
- Turned OFF if not set
The application can still force it to be ON by calling
`esp_sleep_pd_config(ESP_PD_DOMAIN_VDDSDIO, ESP_PD_OPTION_ON);`
2021-04-06 14:01:38 +08:00
Angus Gratton
322cba0bf0
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-04-06 02:43:24 +00:00
Angus Gratton
f5c6595cb4
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-04-06 02:43:24 +00:00
Rahul Tank
02de1a8071
esp-idf: Corrected check of Class of Device for discovered devices
...
Current code stopped inquiry if major class is not Phone. Modified the
condition to consider for both Phone and Audio to cover majority of real
world devices.
Closes https://github.com/espressif/esp-idf/issues/6548
2021-04-05 15:29:21 +05:30
Angus Gratton
e9e2b68587
freertos: Use the standard assert() function for configASSERT
...
Unless the option for "assert and keep running" is enabled.
This means that silent asserts now work for FreeRTOS, and disabling asserts
now also disables them in FreeRTOS without needing a separate config change.
Related to https://github.com/espressif/esp-idf/issues/6306
2021-04-02 11:07:23 +11:00
Angus Gratton
73d40cb813
lwip: Support silent assertion configuration
...
If silent assert configuration is enabled, LWIP asserts are now 'silent' also.
Also updates KConfig to note that LWIP asserts are also disabled when asserts
are disabled globally (this was already the behaviour, but the config item
suggested otherwise.)
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-04-02 11:03:44 +11:00
Angus Gratton
bf6ddf2557
bootloader: Allow 'silent assert' config to work in bootloader
...
Requires adding the 'newlib' component to the bootloader project, for
platform_include header.
2021-04-02 11:03:21 +11:00