Commit Graph

22689 Commits

Author SHA1 Message Date
Armando
b5de3ec953 esp_common: rename EXT_RAM_ATTR to EXT_RAM_BSS_ATTR to make it clearer
EXT_RAM_ATTR is deprecated. To put .bss on PSRAM, use this new macro EXT_RAM_BSS_ATTR
2022-04-19 19:48:00 +08:00
Armando
f8249550f8 psram: support .bss on psram on esp32s3 2022-04-19 19:48:00 +08:00
Ivan Grokhotkov
a4e8a623b3 Merge branch 'bugfix/linux_target_log_macos' into 'master'
linux target: add ESP_LOG_BUFFERS support, fix build on macOS

See merge request espressif/esp-idf!17726
2022-04-19 19:45:24 +08:00
Ivan Grokhotkov
93edb8fd52 Merge branch 'bugfix/errno_overlap' into 'master'
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value

See merge request espressif/esp-idf!17804
2022-04-19 18:39:20 +08:00
morris
373d9b3dbc Merge branch 'feature/default_clk_for_gptimer' into 'master'
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)

Closes IDF-4894

See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b freemodbus: remove component files from esp-idf (fix examples) 2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771 Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
Move adding prefix/postfix of DPP key to example

Closes IDFGH-7116

See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Darian Leung
839476b461 freertos: Add SMP FreeRTOS coprocessor unit tests 2022-04-19 13:35:30 +08:00
Darian Leung
8c92d0b2af freertos: Disable portUSING_MPU_WRAPPERS in FreeRTOS SMP Xtensa port
This commit disables portUSING_MPU_WRAPPERS for the FreeRTOS SMP xtensa port.
This was previously enabled due to the need to keep a CPSA (coprocessor save
area pointer) in the TCB. The CPSA pointer is now calculated at run time.
2022-04-19 13:35:30 +08:00
Rahul Tank
8b4e032255 Merge branch 'bugfix/sync_host_nocp_cmd' into 'master'
Nimble: Sync sending Host Number of Completed Packets command

See merge request espressif/esp-idf!17719
2022-04-18 21:54:10 +08:00
Rahul Tank
4af0cd89dd Merge branch 'bugfix/correct_nimble_kconfig' into 'master'
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE

See merge request espressif/esp-idf!17779
2022-04-18 21:42:51 +08:00
Kapil Gupta
86013e918a Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
wpa_supplicant: Add CA certification bundle support

See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
Darian
2fda413674 Merge branch 'bugfix/freertos_smp_main_task_affinity' into 'master'
freertos: Fix main task affinity in SMP FreeRTOS

See merge request espressif/esp-idf!17787
2022-04-18 19:14:55 +08:00
Ivan Grokhotkov
71bab1078f
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value 2022-04-18 12:10:30 +02:00
Omar Chebib
bd50aa4dfc Merge branch 'refactor/remove_hal_dependency_on_log' into 'master'
hal: Remove dependency on log component

Closes IDF-4859

See merge request espressif/esp-idf!17709
2022-04-18 17:48:03 +08:00
Darian Leung
79cecf05b3 freertos: Fix main task affinity in SMP FreeRTOS 2022-04-18 15:50:47 +08:00
Konstantin Kondrashov
04bcc17dcc Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday

See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Omar Chebib
f772d78317 hal: Remove dependency on log component
hal component (G0) doesn't depend on log component (G1) anymore in G0-only applications.
2022-04-18 10:35:01 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
In c4bcf111, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.

Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.

This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Adam Múdry
22b46580f8 fatfs: add esp_vfs_fat_info() + unit tests 2022-04-15 20:49:53 +02:00
Anton Maklakov
3f3d6c84d7 tools: print system platform 2022-04-15 13:37:27 +02:00
Erhan Kurubas
b36e9a5ebf tools: add distro links for macos-arm64 2022-04-15 13:37:27 +02:00
Erhan Kurubas
e87aabcfa3 tools: OpenOCD version updated to v0.11.0-esp32-20220411 2022-04-15 13:37:27 +02:00
Krzysztof Lewandowski
e72151055b esp_wifi: fix clearing default wifi netif procedure
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-15 05:22:24 -04:00
morris
3aeb80acb6 Merge branch 'contrib/github_pr_8767' into 'master'
Fixing a file name typo (plug.c) (GitHub PR)

Closes IDFGH-7165

See merge request espressif/esp-idf!17784
2022-04-15 15:30:14 +08:00
Martin Vychodil
b9e06d7222 Merge branch 'bugfix/sdmmc_cmd38_arg_validation' into 'master'
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation

Closes IDFGH-7094

See merge request espressif/esp-idf!17684
2022-04-15 04:33:37 +08:00
Michael (XIAO Xufeng)
7c668770ee Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
ledc: Provide support for esp32c2 and esp32h2

Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648

See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
Roland Dobai
d34e1e1fde Merge branch 'bugfix/idf_tools_constr_path' into 'master'
Tools: IDF_TOOLS_PATH environment variable should change the constraint file path

See merge request espressif/esp-idf!17778
2022-04-14 23:30:30 +08:00
David Čermák
a7c1112ca4 Merge branch 'feature/ws_client_support_cont_frames' into 'master'
transport_ws: Parse and expose frame fin flag

Closes IDFGH-6767 and IDFGH-6737

See merge request espressif/esp-idf!17748
2022-04-14 23:18:12 +08:00
Roland Dobai
2a70e3de40 Merge branch 'fix/revert_docker_latest_git' into 'master'
Tools: Revert "Install always latest version of git"

See merge request espressif/esp-idf!17783
2022-04-14 21:36:14 +08:00
Roland Dobai
3f385b46cc Revert "Install always latest version of git"
This reverts commit 6d2abc2332.
2022-04-14 15:26:40 +02:00
Mahavir Jain
ca9f285782 Merge branch 'bugfix/smtp_client' into 'master'
smtp_client: Fix heap leakage

Closes IDFGH-7167

See merge request espressif/esp-idf!17777
2022-04-14 20:53:13 +08:00
Hrudaynath Dhabe
57905c7ecf esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
handling of key RSC.

Closes https://github.com/espressif/esp-idf/issues/8401
2022-04-14 17:13:49 +05:30
Nachiket Kukade
8dea7cbed6 wpa_supplicant/dpp: Avoid deadlock while deleting DPP task
Closes https://github.com/espressif/esp-idf/issues/8724
2022-04-14 16:54:47 +05:30
Nachiket Kukade
282d3c6188 wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
1. Move adding of prefix/postfix to the private key to example code.
   This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Rahul Tank
18df58f1df Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE 2022-04-14 16:13:21 +05:30
Roland Dobai
667edfa7a9 Merge branch 'bugfix/s3_otg_compressed_flash_with_stub' into 'master'
esptool_py: Support ESP32-S3 USB OTG compressed flashing with stub

Closes ESPTOOL-372

See merge request espressif/esp-idf!17559
2022-04-14 18:26:18 +08:00
Jiang Jiang Jian
2c434ff4a5 Merge branch 'bugfix/fix_phy_i2c_crash' into 'master'
esp_phy: Add IRAM_ATTR for phy i2c spinlock

Closes BT-2323

See merge request espressif/esp-idf!17756
2022-04-14 18:25:24 +08:00
Roland Dobai
4520fee875 Tools: IDF_TOOLS_PATH environment variable should change the constraint file path 2022-04-14 11:08:20 +02:00
Michael (XIAO Xufeng)
d64c6f581d ledc: cleanup the clock selection code 2022-04-14 08:15:14 +00:00
songruojing
534346f4bb ledc: Provide support for esp32c2 and esp32h2
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
Laukik Hase
44214a3028
smtp_client: Fixed garbage characters being printed
- The R/W buffers were not cleared before reading/writing
  anything new
2022-04-14 13:35:02 +05:30
KonstantinKondrashov
1e0eef52d3 esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
Laukik Hase
4e9bf05091
smtp_client: Fix heap leakage
- Freed all allocated resources by Mbed TLS at the end of routine
2022-04-14 12:14:41 +05:30
Mahavir Jain
11abb67e65 Merge branch 'fix/update_migration_guide_for_esp_ds_api' into 'master'
docs/protocols/migration_guide: Update the v5.0 migration guide w.r.t.

See merge request espressif/esp-idf!17760
2022-04-14 13:30:41 +08:00
Wang Fang
91a82c352c Merge branch 'docs/update_documents_in_hw_reference' into 'master'
Docs: Update Hardware-Related Documents

Closes DOC-2696, DOC-2911, DOC-2877, DOC-2920, and DOC-2627

See merge request espressif/esp-idf!17712
2022-04-14 11:19:46 +08:00
Wang Fang
c18a72134d Merge branch 'docs/remove_dedicated_gpio_for_esp32c3' into 'master'
Update dedicated GPIO document for ESP32-C3

Closes DOC-2660

See merge request espressif/esp-idf!17669
2022-04-14 11:13:49 +08:00
Wang Fang
e1ce61ea91 docs: updated hardware-related documents 2022-04-14 11:08:13 +08:00
Wang Fang
a633704790 docs: update dedicated gpio doc for esp32-c3 2022-04-14 11:00:30 +08:00