Darian Leung
64117a0c59
esp_system: Fix esp_cpu_compare_and_set()
...
This commit fixes esp_cpu_compare_and_set() in the following ways
- Removed call to esp_ptr_external_ram() as it incurred > 80 CPU cycles (due to multiple nested
function calls, and those functions not being in IRAM). We now check manually if the pointer
is in external RAM for increased speed.
- Fixed infinite wait when attempting to get the external_ram_cas_lock. The function should
return immediatley if any part of the compare and set call fails.
- The preprocessor conditions of esp_cpu_compare_and_set() to depend on CONFIG_SPIRAM instead
of SOC_SPIRAM_SUPPORTED. Even if the target supports SPIRAM, we only need the external RAM
compare and set feature if SPIRAM is enabled.
Also fixed incorrect inclusion of esp_intr_alloc.h in esp_cpu.h
2022-07-22 00:06:06 +08:00
shenjun
4cfed490ad
esp_wifi: fix crash in esp_wifi_set_ant_gpio()
2022-07-21 22:18:08 +08:00
morris
454d658309
rgb_lcd: workaround pclk polarity bug by setting mo>=2
2022-07-21 13:06:09 +00:00
morris
a149afb0c0
rgb_lcd: support PLL240MHz clock source
2022-07-21 13:06:09 +00:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Jiang Jiang Jian
7a5f5760fd
Merge branch 'bugfix/optimize_beacon_timeout_issue' into 'master'
...
esp_wifi:bugfix optimize beacon timeout issue
Closes WIFI-4647
See merge request espressif/esp-idf!19153
2022-07-21 19:48:00 +08:00
Jiang Jiang Jian
cf5b097c88
Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
...
system/sleep: further fix spi flash/ram current leakage
Closes IDF-4720
See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Armando (Dou Yiwen)
097e64f8c7
Merge branch 'bugfix/adc2_legacy_oneshot_clk_gating_issue' into 'master'
...
adc: fix legacy oneshot driver clock gating issue on c3 and c2
See merge request espressif/esp-idf!19144
2022-07-21 19:13:20 +08:00
Roland Dobai
0406fe819a
Merge branch 'bugfix/fix_test_cmake_warning_full' into 'master'
...
CI: Fix the test "smallest partition is nearly full"
See merge request espressif/esp-idf!19156
2022-07-21 19:09:29 +08:00
Simon
62bc3348d5
Merge branch 'ci/flash_encryption_test' into 'master'
...
flash_encryption: Add several test environments for flash encryption test
Closes IDF-5530
See merge request espressif/esp-idf!19043
2022-07-21 18:38:18 +08:00
Kevin (Lao Kaiyao)
83fc39a9f4
Merge branch 'feature/i2s_follow_up_work_of_driver_ng' into 'master'
...
i2s: follow-up works of Driver-NG
Closes IDFGH-7660, DOC-3313, and IDF-5235
See merge request espressif/esp-idf!18644
2022-07-21 18:33:00 +08:00
xueyunfei
07d2eaaead
esp_wifi:bugfix optimize beacon timeout issue
2022-07-21 08:23:59 +00:00
Dong Heng
37c18d9ee4
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state
2022-07-21 16:16:44 +08:00
Kapil Gupta
951928960b
esp_wifi: WPA2 enterprise related changes
...
1. Removed DHE ciphers when mbedTLS is disabled since they take
too much processing power.
2. Removed support of SHA384 and SHA512 when mbedTLS is disabled
due to too much processing needed.
3. Fixed bugs in crypto_hash_init API which was causing
EAP connections to fail when mbedTLS was enabled.
4. Cleaned some code of crypto_hash_***
2022-07-21 13:33:18 +05:30
David Cermak
b8fa24d100
esp_netif/openthread: Update ot_br and ot_port libs
...
Add libraries with ot_port, that includes netif/lwip port layers
in esp-openthread
2022-07-21 10:01:19 +02:00
laokaiyao
edee3ee3cd
i2s: add slot sequence table
...
Closes: https://github.com/espressif/esp-idf/issues/9208
When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
92ea22fe81
i2s: support esp32h2
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb
i2s: add basic examples for STD/TDM/PDM mode
2022-07-21 15:52:39 +08:00
Omar Chebib
4e7ba0f8bd
CI: Fix the test "smallest partition is nearly full"
...
This test will not fail anymore if the binary size is bigger than 170K.
2022-07-21 15:49:20 +08:00
Rahul Tank
24741cc0de
NimBLE: Added option to advertise random address
2022-07-21 07:11:47 +00:00
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
Chen Yu Dong
db7df70331
Merge branch 'ci/update_sniffer_case' into 'master'
...
CI: update example sniffer test case
See merge request espressif/esp-idf!19134
2022-07-21 14:03:46 +08:00
Jiang Jiang Jian
080ba9a80e
Merge branch 'bugfix/phy_init_failed_when_wifi_deinit' into 'master'
...
bugfix for phy init failed when wifi deinit
Closes WIFI-4631
See merge request espressif/esp-idf!19127
2022-07-21 13:58:20 +08:00
baohongde
db308d2939
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-21 13:56:02 +08:00
baohongde
6d631d14de
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-21 13:50:29 +08:00
Marius Vikhammer
e828026eb5
CI: migrate blink example test to pytest
2022-07-21 11:24:50 +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
Mahavir Jain
15039f367d
Merge branch 'update/update_certs_bundle' into 'master'
...
Update esp_crt_bundle certificates
See merge request espressif/esp-idf!19132
2022-07-21 06:14:41 +08:00
Abhik Roy
757a171e39
Merge branch 'example/icmpv6_ping' into 'master'
...
icmpv6_ping example code formatting.
See merge request espressif/esp-idf!19136
2022-07-21 03:32:02 +08:00
morris
2e47a422e3
Merge branch 'example/rmt_ds18b20' into 'master'
...
example: simulate 1-wire protocol with RMT driver (take DS18B20 as example)
Closes IDF-1457
See merge request espressif/esp-idf!18857
2022-07-20 23:16:40 +08:00
wangyuanze
20afcc96a8
example: add onewire_ds18b20 example
2022-07-20 14:12:43 +00:00
wangyuanze
ab0c4abd6e
rmt: add open-drain flag on tx channel
2022-07-20 14:12:43 +00:00
morris
8944479bcd
Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
...
⛵ SDM Driver-NG (Sigma-Delta channel allocator)
Closes IDF-5261 and IDF-2877
See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
Sudeep Mohanty
dadafb753f
Merge branch 'bugfix/freertos_oneshot_timer_active_after_expiry' into 'master'
...
freertos: Fixed a bug where xTimerIsTimerActive incorrectly returns pdTRUE from callback
Closes IDFGH-6353
See merge request espressif/esp-idf!19076
2022-07-20 21:06:05 +08:00
David Cermak
e7afdff6ca
esp_netif: Make set_link_speed() conditional on MIB2_STATS
2022-07-20 14:59:34 +02:00
David Cermak
89bb1fdec1
esp_netif: Add error checks to dhcp server state transitions
2022-07-20 14:59:34 +02:00
David Cermak
e85f45b539
examples/cxx: Remove esp_modem examples
...
Examples are maintained and supported in esp-protocols
2022-07-20 14:59:33 +02:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Jiang Jiang Jian
84ae84e3fe
Merge branch 'bugfix/fix_lora_ie_bcn' into 'master'
...
Fix missing LoRa IE length in SoftAP beacon
Closes WIFI-4495
See merge request espressif/esp-idf!18997
2022-07-20 20:23:02 +08:00
David Čermák
e7ccaaf9ca
Merge branch 'feature/update_mqtt_client' into 'master'
...
[MQTT] - Updates esp_mqtt configuration struct
See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Martin Gaňo
58b1c140d7
fatfsgen.py: add description of the parameter PRESERVE_TIME
2022-07-20 13:06:57 +02:00
Kapil Gupta
b8267a59eb
Merge branch 'bugfix/wps_disable_disconnect' into 'master'
...
WiFi: Do not disconnect in WPS disable API incase WPS is done/scanning
Closes IDFGH-7807
See merge request espressif/esp-idf!19092
2022-07-20 18:47:32 +08:00
Nachiket Kukade
792472c419
esp_wifi: Update wifi libs
...
Add missing LoRa IE length while allocating for Beacon in SoftAP LoRa mode
2022-07-20 09:24:46 +00:00
morris
3277b11c39
Merge branch 'feature/esp_lcd_spi_rx_1' into 'master'
...
Add support SPI rx into LCD component
Closes IDFGH-7661
See merge request espressif/esp-idf!19020
2022-07-20 16:59:44 +08:00
Ivan Grokhotkov
e56b1fd59d
Merge branch 'feature/unity_runner_get_test_list' into 'master'
...
unity: expose some internal functions to allow iterating over tests
See merge request espressif/esp-idf!19056
2022-07-20 16:57:49 +08:00
Roland Dobai
2020e77743
Merge branch 'contrib/github_pr_9375' into 'master'
...
Tools: resolve symlinks in IDF_PATH when installing (GitHub PR)
Closes IDFGH-7846
See merge request espressif/esp-idf!19119
2022-07-20 16:49:29 +08:00
Roland Dobai
9012e7b59f
Merge branch 'bugfix/fix_NotImplementedError_on_windows_by_updating_error_msg' into 'master'
...
tools: Improve the error message for handling NotImplementedError on Windows
See merge request espressif/esp-idf!19097
2022-07-20 16:48:40 +08:00
Roland Dobai
39a0925836
Merge branch 'contrib/github_pr_9385' into 'master'
...
Tools: Avoid the crash of IDF Monitor when it is run without an ELF file
Closes IDFGH-7859
See merge request espressif/esp-idf!19141
2022-07-20 16:46:12 +08:00
Armando
638f39ff40
adc: fix legacy oneshot driver clock gating issue on c3 and c2
2022-07-20 16:35:59 +08:00