Commit Graph

17414 Commits

Author SHA1 Message Date
Li Shuai
2c2ae5aa0a deep sleep: fix sleep gpio wakeup fail issue 2021-04-09 11:35:32 +08:00
Marius Vikhammer
1ff2c834ce docs: add C3 TRM links 2021-04-09 11:01:29 +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
Marius Vikhammer
58d83dda40 rtc: increase CI acceptance range for calc 8M test 2021-04-08 18:50:56 +08: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
Angus Gratton
7fe8720c9d Revert "esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug"
This reverts commit 4eb9cc68a6.

Alternative fix to be applied in next commit.
2021-04-08 13:33:28 +10:00
Angus Gratton
70cab5bd81 Merge branch 'bugfix/ulp_riscv_unintended_wake' into 'master'
ulp: unintended wakeup in ulp_riscv

See merge request espressif/esp-idf!12894
2021-04-08 01:52:41 +00:00
Ivan Grokhotkov
165b65000e Merge branch 'docs/readme_cleanup' into 'master'
docs/examples Examples cleanup and updates

Closes IDF-2781, IDF-2782, IDF-2804, and IDF-2811

See merge request espressif/esp-idf!12375
2021-04-07 18:31:49 +00:00
pedro.minatel
da471dfcd1 Examples README's updated on peripherals, system and wifi
Updated main examples README to add missing examples folders and Getting Started links
Updated wifi/fastscan example README
Updated wifi examples README
Updated wifi main examples README
Added instructions and removed obviousness from examples README
Updates on example README in peripherals, system and wifi
Updates on example README in peripherals and added wave form pictures on wave_gen example
Updates and review on example README
Revision on unit style convention
Added the getting started link for each supported version
Readme review and recommended enhancements
Added the default note on the wave form option info
Added the ESP32-C3 support information on the temperature sensor example README
Added Getting Started information for ESP32-S2 and ESP32-C3
Issue fixed on the supported target on README
Resolved merge conflict
2021-04-07 14:24:38 +00:00
KonstantinKondrashov
4e23f9f3b7 secure_boot_v2: Adds support SB_V2 for ESP32-C3 ECO3 2021-04-07 19:52:44 +08:00
David Čermák
32ccbcdf8c Merge branch 'bugfix/pppos_netif_clear_ip_event' into 'master'
esp_modem: Fixed modem netif deinit to clear IP events

Closes IDFGH-5000

See merge request espressif/esp-idf!12964
2021-04-07 11:37:36 +00:00
Jakob Hasse
5bcb189fe4 [system]: locally run panic test app doc 2021-04-07 18:56:18 +08:00
Renz Bagaporo
586023790e esp_system: move sleep modes to esp_hw_support, power down light sleep to esp_pm 2021-04-07 17:53:37 +08:00
Renz Bagaporo
c112bd8b57 esp_system: move intr_alloc 2021-04-07 17:53:37 +08:00
Renz Bagaporo
8762bfebde esp_system: move asysnc memcpy to esp_hw_support 2021-04-07 17:53:37 +08:00
Mahavir Jain
6d0ac214c4 Merge branch 'feature/enable_crt_bundle_for_esp_http_client' into 'master'
Feature/enable crt bundle for esp http client

Closes IDFGH-3997

See merge request espressif/esp-idf!13018
2021-04-07 09:20:21 +00:00
Mahavir Jain
0df89e492b Merge branch 'bugfix/keepalive_idle_fix' into 'master'
esp-tls: Fix setsockopt for TCP_KEEPIDLE

Closes IDFGH-5043

See merge request espressif/esp-idf!13049
2021-04-07 07:28:43 +00:00
Mahavir Jain
66b66f1fb5 Merge branch 'fix/https_server_memory_leak' into 'master'
esp_http_server: Fix transport_ctx not getting freed

Closes IDFGH-5027

See merge request espressif/esp-idf!13037
2021-04-07 07:12:42 +00:00
David Cermak
7872057976 esp_modem: Fixed modem netif deinit to clear IP events
Function esp_modem_netif_clear_default_handlers() didn't unregister
event handlers from IP related events, so if the netif modem was
reinitialized the previous handler was called with already destroyed
esp_netif handle.

Closes https://github.com/espressif/esp-idf/issues/6787
2021-04-07 06:56:30 +00:00
Angus Gratton
509afa839e Merge branch 'feature/google_analytics' into 'master'
docs: add google analytics tracking

Closes IDF-1481 and DOC-204

See merge request espressif/esp-idf!13025
2021-04-07 06:07:27 +00:00
morris
4980a764fe doc: fix uninterpreted variables in timer.rst 2021-04-07 13:49:57 +08:00
Aditya Patwardhan
f66bdf1233 esp_http_client: Enable support of crt_bundle in esp_http_client 2021-04-07 05:31:21 +00:00
Aditya Patwardhan
d74f7d2d04 tcp_transport: Add option to enable crt_bundle for SSL connection 2021-04-07 05:31:21 +00:00
Aditya Patwardhan
81b96ec06b Fix esp_http_client example: Set proper server verification by adding the postman root cert for https_async demo
test case.
2021-04-07 05:31:21 +00:00
Aditya Patwardhan
3e82fcd566 esp_http_server: Fix transport_ctx not getting freed
Closes https://github.com/espressif/esp-idf/issues/6813
2021-04-07 05:25:39 +00:00
Angus Gratton
c22eb769e7 Merge branch 'bugfix/panic_instrprohibited' into 'master'
esp_system: fix instrprohibited panic backtrace regression

See merge request espressif/esp-idf!13023
2021-04-07 05:14:19 +00:00
Cao Sen Miao
c3da21a93f I2C: enable all unit test for i2c on esp32c3 2021-04-06 17:37:55 +08:00
Angus Gratton
97ea00f355 Merge branch 'doc/flash_encryption_development' into 'master'
doc: Mention Flash Encryption on the host is possible in Release mode

Closes IDFGH-4074

See merge request espressif/esp-idf!12721
2021-04-06 08:13:43 +00:00
Axel Lin
52442be9e1 esp-tls: Fix setsockopt for TCP_KEEPIDLE
Current code applies keep_alive_enable setting to TCP_KEEPIDLE, fix it.

Fixes: 2d25252746 ("esp-tls: Rework tcp_connect() to use more subroutines")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-04-06 15:37:16 +08:00
Angus Gratton
e97ae26f48 doc: Mention pre-encrypting on the host is possible in Release mode
Closes https://github.com/espressif/esp-idf/issues/5945
2021-04-06 16:58:58 +10:00
Michael (XIAO Xufeng)
d21ca33e40 Merge branch 'bugfix/fix_bootloader_time_too_long_bug' into 'master'
esp32s2/esp32c3: decrease boot up and cpu start up time

See merge request espressif/esp-idf!12725
2021-04-06 06:34:57 +00:00
Aditya Patwardhan
dfd6c5cb0b libsodium: Update library to v1.0.18 2021-04-06 11:23:50 +05:30
Cao Sen Miao
372584d1de i2c: update api reference and example pin defination 2021-04-06 13:47:02 +08:00
Armando
9b9ea71ff9 spi: remove HSPI macro on esp32c3 and esp32s3 2021-04-06 13:42:49 +08:00
Angus Gratton
1d5828b433 Merge branch 'feature/implement_esp_core_dump_image_erase' into 'master'
coredump: add `esp_core_dump_image_erase` function

See merge request espressif/esp-idf!12609
2021-04-06 04:29:01 +00:00
Marius Vikhammer
440fab3d6e docs: add google analytics tracking 2021-04-06 11:56:11 +08:00
Angus Gratton
f13b10a17b Merge branch 'bugfix/call_idf_monitor_with_python_explicitly' into 'master'
esptool_py: call idf.py monitor with python explicitly

Closes IDFGH-3333

See merge request espressif/esp-idf!12981
2021-04-06 03:30:23 +00:00