Commit Graph

17339 Commits

Author SHA1 Message Date
David Cermak
5cce919cbe mdns: Fixed the ip header TTL to be correctly set to 255
Defined in https://tools.ietf.org/html/rfc6762#section-11: All Multicast DNS responses (including responses sent via unicast)
   SHOULD be sent with IP TTL set to 255
2021-04-12 13:24:19 +00:00
David Cermak
34049454df mdns: Fix parsing answers with questions when instance name not set
mdns resolver didn't correctly resolved queries when host name wasn't
assigned. Fixed by allowing processing also if some answer present
(non-strict mode)

Closes https://github.com/espressif/esp-idf/issues/6598
2021-04-12 13:24:19 +00:00
David Cermak
b649603a0d mdns: Fix the resolver to correctly parse it's own non-strict answers
The resolver was able to respond correctly, but would also resolve its
own queries and cause issues with BCT 1.5.2, specifically
* MULTIPLE QUESTIONS - DUPLICATE SUPPRESSION
* MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION
tests failed.
2021-04-12 13:24:19 +00:00
suren.gabrielyan
0eee31546d 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-12 13:24:19 +00:00
Michael (XIAO Xufeng)
7e06a60c0d Merge branch 'refactor/no_dac_on_esp32s3' into 'master'
dac: added DAC support macro

Closes IDF-1777

See merge request espressif/esp-idf!13038
2021-04-12 10:52:33 +00:00
Michael (XIAO Xufeng)
8cfcf6da7a Merge branch 'bugfix/enable_gpio18_gpio19_esp32c3' into 'master'
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3

Closes IDF-2964

See merge request espressif/esp-idf!12753
2021-04-12 09:39:55 +00:00
Ivan Grokhotkov
348cd99377 Merge branch 'bugfix/install_fish_guess_idf_path' into 'master'
tools: install.fish: Modify method to get base directory (Github PR)

Closes IDFGH-4926

See merge request espressif/esp-idf!13105
2021-04-12 08:25:08 +00:00
Ivan Grokhotkov
b51a7e0cc7 Merge branch 'feature/win_inst_offline' into 'master'
Feature/win inst offline

Closes IDF-2636, IDF-2664, IDFGH-4549, IDFGH-3424, IDFGH-4260, IDFGH-4664, IDFGH-2202, IDFGH-4697, IDF-2742, and IDF-2955

See merge request espressif/esp-idf!12003
2021-04-12 06:54:24 +00:00
morris
75dfd970b4 dac: added DAC support macro
Remove DAC support on ESP32-S3
2021-04-12 12:04:46 +08:00
Angus Gratton
936523b904 Merge branch 'feature/secure_bootv2_c3' into 'master'
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3

Closes IDF-2647

See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
Krzysztof Budzynski
cb7de3659a Merge branch 'bugfix/fix_timergroup_doc_unparsed_variable' into 'master'
doc: fix uninterpreted variables in timer.rst

Closes IDF-3064

See merge request espressif/esp-idf!13047
2021-04-12 00:38:53 +00:00
Ivan Grokhotkov
f0059bd5c1 Merge branch 'feature/IDF-2612_human_readable_error' into 'master'
export.bat/install.bat: print human-readable error message if Git or Python are not in PATH

Closes IDF-2612

See merge request espressif/esp-idf!12669
2021-04-11 21:51:39 +00:00
blakjak44
f5f0648608 tools: install.fish: Modify method to get base directory.
Current method assumes that you are in the esp-idf directory when executing install. This method will get the correct path regardless of where you execute from.

Merges https://github.com/espressif/esp-idf/pull/6718
2021-04-11 21:35:54 +02:00
Michael (XIAO Xufeng)
cb179fe105 Merge branch 'doc/update_i2c_on_esp32c3' into 'master'
i2c: update api reference and example pin definition

Closes IDF-2746 and IDF-2336

See merge request espressif/esp-idf!12407
2021-04-11 17:57:30 +00:00
Angus Gratton
1ea54a6496 Merge branch 'bugfix/s2_lightsleep_regression' into 'master'
sleep: disable switch-case jump tables from being placed in flash

See merge request espressif/esp-idf!13083
2021-04-09 13:56:02 +00:00
Mahavir Jain
4deadf19fc Merge branch 'fix/http2_request_example_secure_by_default' into 'master'
Make http2_request example secure by default

Closes IDF-2668

See merge request espressif/esp-idf!13050
2021-04-09 13:52:22 +00:00
Shu Chen
264ce1f037 Merge branch 'feature/ot-1.2-radio-api' into 'master'
openthread: add radio mac API implementation

See merge request espressif/esp-idf!13066
2021-04-09 11:34:18 +00:00
Aditya Patwardhan
b40df07521 http2_request/sh2lib: Modified the "sh2lib_connect" API to take in a new
defined `struct sh2lib_config_t` which contains required config options.

Modified the http2_request_example with the required changes.
2021-04-09 10:24:15 +00:00
Mahavir Jain
06c5f623ea Merge branch 'feature/diagnostics_support' into 'master'
espcoredump: Get core dump summary API

See merge request espressif/esp-idf!11462
2021-04-09 08:50:07 +00:00
Mahavir Jain
81c8fcaf8f Merge branch 'bugfix/ota_and_http_client' into 'master'
Fix counters for POST request in OTA and compare auth string in case insensitive fashion

Closes IDFGH-5059, IDFGH-5055, and IDFGH-5056

See merge request espressif/esp-idf!13069
2021-04-09 07:40:59 +00:00
David Čermák
9e8b2d8c66 Merge branch 'feature/sperate_slip_component' into 'master'
esp_netif: Use CONFIG_LWIP_SLIP_SUPPORT to sperate slip component

Closes IDF-3042

See merge request espressif/esp-idf!13006
2021-04-09 06:57:41 +00:00
KonstantinKondrashov
ec4de4fe5c example_tests: CI uses ECO0 for esp32c3 tests 2021-04-09 14:26:06 +08:00
KonstantinKondrashov
4fbfb03fe1 unit-test-app(config): CI uses ECO0 for esp32c3 UTs 2021-04-09 14:26:08 +08:00
Marius Vikhammer
38d9251bda sleep: disable switch-case jump tables from being placed in flash
sleep_modes.c contains switch statements that should be placed in flash.
Settings for avoiding this was not updated during sleep_modes refactor.
2021-04-09 14:16:27 +08:00
David Čermák
e412c52829 Merge branch 'bugfix/dangling_dce_when_init_fails' into 'master'
reset DCE pointer in DTE if we failed to init modem

Closes IDFGH-4936

See merge request espressif/esp-idf!12897
2021-04-09 06:14:54 +00:00
David Čermák
cb367d0012 Merge branch 'bugfix/mqtt_examples_certificates_update' into 'master'
bugfix/mqtt examples: Updates the CA certificates used.

Closes IDFGH-4986

See merge request espressif/esp-idf!12950
2021-04-09 06:12:28 +00:00
Mahavir Jain
52b4841150 Merge branch 'feature/enable_crt_bundle_for_https_ota' into 'master'
esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle

Closes IDFGH-3555

See merge request espressif/esp-idf!13067
2021-04-09 06:05:29 +00:00
Jörg Henne
19024671ea esp_http_client: Make http_utils_get_string_between and http_utils_str_starts_with case insensitive
Closes: https://github.com/espressif/esp-idf/pull/6841
Closes: https://github.com/espressif/esp-idf/issues/6840

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-04-09 06:03:02 +00:00
Shubham Kulkarni
b8b104a8f0 esp_https_ota: Fix counters for sending POST body
Closes: https://github.com/espressif/esp-idf/issues/6844
2021-04-09 06:03:02 +00:00
Fu Hanxi
80723de12d Merge branch 'bugfix/ci/run_build_ssc_when_components_or_build_system_changes' into 'master'
ci: components and build_system patterns will run build_ssc as well

See merge request espressif/esp-idf!13077
2021-04-09 04:47:38 +00:00
Aditya Patwardhan
48987ad9df esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle
Closes https://github.com/espressif/esp-idf/issues/5504
2021-04-09 04:33:37 +00:00
Fu Hanxi
1a51e325e4 ci: components and build_system patterns will run build_ssc as well 2021-04-09 12:27:41 +08:00
Shubham Patil
356e2bbe6d espcoredump: On device core dump parsing to generate summary 2021-04-09 09:43:40 +05:30
Krzysztof Budzynski
c84e499eb0 Merge branch 'bugfix/doxygen_input_file_bug' into 'master'
docs: fix doxygen compile warnings for doxygen 1.9.1

Closes IDFGH-4790 and DOC-993

See merge request espressif/esp-idf!13058
2021-04-09 03:57:09 +00:00
Marius Vikhammer
0633ee3e18 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-09 11:57:03 +08:00
Angus Gratton
7154866e80 Merge branch 'feature/update_libsodium_submodule' into 'master'
libsodium: Update library to v1.0.18

Closes IDF-2731

See merge request espressif/esp-idf!13026
2021-04-08 22:45:37 +00:00
Floris Romeijn
2610e9c22d Examples/esp_modem: Reset DCE pointer in DTE on failure
if we failed to init modem so we can e.g. retry later

Merges https://github.com/espressif/esp-idf/pull/6727
2021-04-08 16:50:38 +00:00
Euripedes Rocha
98930e7be2 bugfix/mqtt examples: Updates the CA certificates used.
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
  the examples.

Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2021-04-08 15:24:43 +00:00
Mahavir Jain
bc4cb7f67e Merge branch 'bugfix/crashing_after_debug_logs_enabled_esp32c3' into 'master'
esp32c3: Fix issue of crashing if debug logs are enabled.

Closes WIFI-3534

See merge request espressif/esp-idf!12788
2021-04-08 12:59:18 +00:00
Michael (XIAO Xufeng)
57af5acefe Merge branch 'ci/enable_all_test_for_i2c_on_c3' into 'master'
I2C: enable all unit test for i2c on esp32c3

Closes IDF-2494

See merge request espressif/esp-idf!12474
2021-04-08 12:31:51 +00:00
Marek Fiala
6979433dbd Human-readable error if Git or Python are missing.
When user forgot to add git.exe or python to the PATH, there was a not
very helpful error message.
This improves the error with which tool is misssing and shows a link to
the espressif installer tool.
2021-04-08 13:02:42 +02:00
Angus Gratton
cef3b26a91 Merge branch 'refactor/move_from_esp_system' into 'master'
Movements from esp_system

Closes IDF-2165

See merge request espressif/esp-idf!12695
2021-04-08 10:16:08 +00:00
Jiacheng Guo
3630099d29 openthread: add radio api for Thread 1.2 to work 2021-04-08 17:49:16 +08:00
aditi_lonkar
ed424c5f9f esp32c3: Fix issue of crashing if debug logs are enabled. 2021-04-08 09:43:25 +00:00
Michael (XIAO Xufeng)
925dacd7fb Merge branch 'bugfix/remove_HSPI_macro_on_c3' into 'master'
spi: remove HSPI macros on esp32c3 and esp32s3

Closes IDF-2535

See merge request espressif/esp-idf!12637
2021-04-08 09:33:18 +00:00
KonstantinKondrashov
1d8f885928 esp32c3: Default supported ESP32-C3 Revision ECO3 2021-04-08 15:06:22 +08:00
KonstantinKondrashov
9295e54c9d docs: Adds secure_boot_v2 for ESP32-C3 ECO3 2021-04-08 14:22:46 +08:00
Omar Chebib
cd79f3907d 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-08 14:01:18 +08:00
Angus Gratton
6abe0c6db9 Merge branch 'bugfix/fatfs_unit_tests_linker_issue' into 'master'
ut: Workaround RISC-V linker issue with c3 unit tests

See merge request espressif/esp-idf!13053
2021-04-08 04:27:08 +00:00
Angus Gratton
202154ff1c ut: Exclude test_utils component from default_2_c3 config
Theory is that the large alignments in this test component are triggering linker
bug (to be fixed in next toolchain update). This component is already tested
in a dedicated config, so it doesn't need to be included in this config.
2021-04-08 13:33:28 +10:00