Ivan Grokhotkov
bb11f49c74
sdmmc: check for errors reported by card in sdmmc_write_sectors_dma
...
During write operation (CMD24 or CMD25), the card can report some of
the errors in the 1-byte response tokens. Other types of errors are
not reported, the host has to get them by issuing CMD13.
This commit adds CMD13 request at the end of write operations and
reports error to the user if the card status isn't zero.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
c4c7e7c82b
sdmmc: support sdmmc_send_cmd_send_status in SPI mode
...
SPI mode uses different response format (2-byte R2) compared to SD mode.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
da47bebdd8
sdmmc: sdmmc_init_sd_ssr: use correct command name
...
Numerical value of MMC_SEND_STATUS is the same as SD_APP_SD_STATUS,
so there is no functional change. Just making this consistent with the
sdmmc_send_app_cmd call later on.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
f1e3536f3c
driver: sdspi: fix decoding of R2 response
2022-05-30 15:39:00 +02:00
Ivan Grokhotkov
17b7981e2e
driver: sdmmc: add SPI mode R2 response definitions
2022-05-30 15:39:00 +02:00
Island
74b7a3fc83
Merge branch 'feature/final_h2_bluedroid_skc_common' into 'master'
...
Feature/final h2 bluedroid skc common
See merge request espressif/esp-idf!17710
2022-05-30 21:20:52 +08:00
Martin Vychodil
9bd819c78f
Merge branch 'fix/fatfs_remove_utf16_support' into 'master'
...
FatFS: Disable UTF 16 filename encoding
Closes IDF-4795
See merge request espressif/esp-idf!18192
2022-05-30 20:59:53 +08:00
Anton Maklakov
3c8a1390a0
Merge branch 'bugfix/esp-system-warnings' into 'master'
...
system: minor fixes of warnings
See merge request espressif/esp-idf!18310
2022-05-30 19:33:01 +08:00
Jiang Jiang Jian
2bc5d58807
Merge branch 'feature/support_sleep_for_esp32c2' into 'master'
...
esp32c2: support power management
Closes IDF-4440 and IDF-4617
See merge request espressif/esp-idf!18174
2022-05-30 17:57:18 +08:00
Mahavir Jain
59ecb7e3ae
Merge branch 'update/protobuf' into 'master'
...
protobuf: Updated to v1.4.0
Closes IDFCI-1278
See merge request espressif/esp-idf!18267
2022-05-30 16:52:09 +08:00
satish.solanke
3a42007680
Bluedroid porting changes for esp32h2
...
created common Kconfig for common flag of nimbble and Bluedroid
fix compile error
created common cfg file for controller
fix the compilation error on tip of master
added common controller flags and fixed compilation error
sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Ivan Grokhotkov
87ec752bda
Merge branch 'docs/fix_nvs_encryption_docs' into 'master'
...
doc (nvs_flash): improved NVS partition flash documentation
Closes IDFGH-6549
See merge request espressif/esp-idf!18004
2022-05-30 16:13:12 +08:00
Sudeep Mohanty
7476e197ad
freertos: fix test_preemtion test
...
Increased the yield count threshold to work for both SMP FreeRTOS and
IDF FreeRTOS.
2022-05-30 13:19:26 +05:30
Anton Maklakov
84879a8e9c
esp_rom: esp32s2: suppress -Waddress-of-packed-member warning
2022-05-30 14:48:12 +07:00
Anton Maklakov
bf3892acee
newlib: stdatomic: fix conflicting types for __atomic_load/__atomic_store
2022-05-30 14:48:12 +07:00
Anton Maklakov
afde2434e8
memprot: fix type casting to avoid suspesious address arithmetic
2022-05-30 14:48:12 +07:00
Anton Maklakov
0c549320b2
esp_system: intentionally suppress -Wstringop-overread
2022-05-30 14:48:12 +07:00
jingli
93a5087e58
add PM related soc caps about power down rtc slow/fast mem
...
Supporting rtc slow/fast mem does not mean supporting
rtc slow/fast mem power down.
2022-05-30 15:26:50 +08:00
Anton Maklakov
b3a6c3bcb5
nvs: suppress -Wstringop-truncation warning
2022-05-30 13:11:25 +07:00
Anton Maklakov
b0369aa898
test, spi: randr_r() expects unsigned int * type
2022-05-30 12:58:57 +07:00
Anton Maklakov
c82d8532d3
hal: explicit initialization
2022-05-30 12:57:52 +07:00
Anton Maklakov
f57016dab0
esp_hw_support: explicit initialization
2022-05-30 12:43:45 +07:00
Anton Maklakov
8ea1a2b1e8
pthread: add missing header
2022-05-30 12:43:36 +07:00
Anton Maklakov
d1db4d0c1b
system: add missing header
2022-05-30 12:43:23 +07:00
Anton Maklakov
6b15dce39c
ulp test: suppress -Wstringop-overflow and -Warray-bounds
2022-05-30 11:55:27 +07:00
Anton Maklakov
6c30426777
ulp_riscv: suppress -Wstringop-overflow
2022-05-30 11:55:27 +07:00
Anton Maklakov
77c3bb9cfe
bootloader: suppress -Wstringop-overflow
2022-05-30 11:45:33 +07:00
Anton Maklakov
aeaebc0977
bootloader: explicit initialization
2022-05-30 11:45:33 +07:00
Mahavir Jain
b17c09e85b
esp_local_ctrl: Regenerated proto-c and python with protobuf compiler v3.21.0
...
$protoc --version
libprotoc 3.21.0
$ protoc-c --version
protobuf-c 1.4.0
2022-05-30 09:54:32 +05:30
Laukik Hase
b7fcbb3e7d
wifi_provisioning: Regenerated proto-c and python with protobuf compiler v3.21.0
2022-05-30 09:54:32 +05:30
Laukik Hase
a3f5087336
protocomm: Regenerated proto-c and python with protobuf compiler v3.21.0
2022-05-30 09:54:32 +05:30
Laukik Hase
b09b716f1d
protobuf-c: Update submodule to v1.4.0
2022-05-30 09:54:31 +05:30
Anton Maklakov
45f267390b
espcoredump: fix unsigned arithmetic
2022-05-30 11:21:30 +07:00
Anton Maklakov
57785e5eca
espcoredump: suppress -Waddress-of-packed-member warning
2022-05-30 11:21:30 +07:00
Darian
1ec59e6982
Merge branch 'bugfix/update_eTaskGetState_unit_test' into 'master'
...
FreeRTOS: Refactor eTaskGetState() test for FreeRTOS SMP
Closes IDF-5073
See merge request espressif/esp-idf!18228
2022-05-30 11:44:51 +08:00
morris
4352c39e3e
Merge branch 'feature/cache_c2_support' into 'master'
...
cache: access error & illegal error ll functions
Closes IDF-3820
See merge request espressif/esp-idf!18203
2022-05-30 11:40:11 +08:00
Anton Maklakov
b70f528793
efuse: suppress -Wstringop-overflow warnings
2022-05-30 10:00:44 +07:00
Mahavir Jain
8250edbf22
Merge branch 'bugfix/mbedtls_deprecated_options' into 'master'
...
mbedtls: Remove deprecated options from mbedtls/esp_config.h
Closes IDFGH-7296
See merge request espressif/esp-idf!18008
2022-05-30 10:38:08 +08:00
Jiang Jiang Jian
8efa4d64e0
Merge branch 'feature/add_task_wrappers' into 'master'
...
wpa_supplicant: Add osi layer for FreeRTOS calls
Closes WIFI-2996
See merge request espressif/esp-idf!11734
2022-05-30 10:29:50 +08:00
Jakob Hasse
ad184e979a
refactor (nvs)!: New interface for iterator functions
...
Closes https://github.com/espressif/esp-idf/issues/7826
* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
parameters, instead of returning an new iterator.
Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Darian Leung
daa950d9ed
freertos: Replace portSET_INTERRUPT_MASK_FROM_ISR() call for SMP
...
The behavior of portSET_INTERRUPT_MASK_FROM_ISR() has changed in SMP FreeRTOS. It's
previous behavior is now implemented in portDISABLE_INTERRUPTS() and portRESTORE_INTERRUPTS().
This commit replaces all portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR()
calls with portDISABLE_INTERRUPTS() and portRESTORE_INTERRUPTS() respectively
2022-05-30 06:11:24 +08:00
Jiang Jiang Jian
769bc9b2d2
Merge branch 'bugfix/wifi_fix_adapter_argument_types' into 'master'
...
esp_wifi: make int types consistent
See merge request espressif/esp-idf!18222
2022-05-30 01:17:35 +08:00
Martin Vychodil
d1ec5580ee
Merge branch 'nvs/remove_asserts' into 'master'
...
change: NVS assertions as runtime errorcodes
Closes IDF-3025
See merge request espressif/esp-idf!17739
2022-05-30 01:07:25 +08:00
Jack
47909a76c0
esp_wifi: make int types consistent for esp32c2
2022-05-29 18:59:13 +08:00
Darian
e1915907bb
Merge branch 'bugfix/update_tlsp_del_cb_tests' into 'master'
...
FreeRTOS: Fix TLSP deletion callback tests
Closes IDF-5071
See merge request espressif/esp-idf!18233
2022-05-29 18:42:53 +08:00
Anton Maklakov
282c9ab1e1
esp_wifi: make int types consistent
2022-05-29 18:42:09 +08:00
Jiang Jiang Jian
0e94779b2e
Merge branch 'feature/support_esp32c2_wifi_new' into 'master'
...
Bringup ESP32C2 Wi-Fi
Closes IDF-3905
See merge request espressif/esp-idf!18136
2022-05-29 18:25:24 +08:00
Jiang Jiang Jian
4ed2e6130a
Merge branch 'feature/add_l2cap_ertm_api' into 'master'
...
Component_bt:Add l2cap and sdp api
Closes IDF-4487
See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c
Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
...
component_bt: add avdtp delay reporting
Closes BT-2308
See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Anton Maklakov
70c12407d3
Merge branch 'bugfix/bt_fix_int_arguments' into 'master'
...
bt: make int types consistent
See merge request espressif/esp-idf!18223
2022-05-29 16:56:00 +08:00
Jiang Jiang Jian
6884d98c23
Merge branch 'bugfix/add_bda_to_read_rmt_name_param' into 'master'
...
Bugfix/add bda to read rmt name param
Closes IDFGH-7459
See merge request espressif/esp-idf!18279
2022-05-29 14:13:39 +08:00
Jiang Jiang Jian
f3922f1b7f
Merge branch 'feature/flash_mmap_refactor' into 'master'
...
flash mmap: abstract R/W of MMU table instead of reg access
See merge request espressif/esp-idf!16882
2022-05-29 13:56:37 +08:00
Yuan Jian Min
a574652f79
Merge branch 'bugfix/fix_lwip_kconfig' into 'master'
...
fix(Kconfig): Fix lw-ip Kconfig display garbled characters
See merge request espressif/esp-idf!18264
2022-05-29 12:35:53 +08:00
Kapil Gupta
777b2caa1c
wpa_supplicant: Move ETS/ESP timers to eloop
2022-05-29 09:32:16 +05:30
Jack
74e0096472
relax memory leak threshold for some wifi test case
2022-05-29 10:38:54 +08:00
xiongweichao
b777a53fe8
support add and search raw sdp record
2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a
sdp support create and search PBAPC record
2022-05-28 23:34:21 +00:00
xiongweichao
a317cb1b0a
Split jv_rfcomm and jv_l2cap
2022-05-28 23:34:21 +00:00
xiongweichao
740dc8795d
rfcomm supports the use of ERTM
2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a
add sdp api
2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047
add l2cap api
2022-05-28 23:34:21 +00:00
xiongweichao
e2e74e2b8b
Modify the format of esp_a2dp_api.h comments
2022-05-28 23:31:45 +00:00
xiongweichao
b0551ef456
add source handle the delay report
2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b
add sink send delay reporting
2022-05-28 23:31:45 +00:00
Matus Fabo
58cca07104
add: Kconfig assert or errorcode option
...
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-05-28 20:29:05 +02:00
Jiang Jiang Jian
2042840974
Merge branch 'bugfix/sae_pmk_caching_issue' into 'master'
...
esp_wifi: Do not use pmkid caching when SSID is changed
Closes WIFI-4422
See merge request espressif/esp-idf!18244
2022-05-29 00:18:19 +08:00
Jack
7a8b63869f
deinit BB MAC back memory when they are not used
2022-05-29 00:13:32 +08:00
Martin Gano
67920a03dc
Merge branch 'feature/add-chaining-fatfsparse' into 'master'
...
fatfs: enable cluster chaining for fatfsparse.py
Closes IDF-4975
See merge request espressif/esp-idf!18069
2022-05-28 22:31:36 +08:00
Wu Zheng Hui
d3fa6e3a15
Merge branch 'bugfix/update_efuse_name' into 'master'
...
efuse: update efuse name
See merge request espressif/esp-idf!18193
2022-05-28 22:03:17 +08:00
Wu Zheng Hui
b98622c624
efuse: update efuse name
2022-05-28 22:03:16 +08:00
Darian Leung
49256fe5c9
freertos: Refactor TLSP deletion callback test
...
- Add a new test case for SMP FreeRTOS
- Old test case is preserved. To be removed in the future
2022-05-28 21:36:39 +08:00
Darian Leung
64469affcd
freertos: Fix TLSP deletion callback log
...
Currently, portCLEAN_UP_TCB() is called in a critical section. This commit updates
vPortTLSPointersDelCb() to use an EARLY log to prevent a crash.
2022-05-28 21:36:39 +08:00
Darian Leung
ef6afa1324
freertos: Refactor eTaskGetState() unit test
...
This commit refactors the eTaskGetState() unit test to work on FreeRTOS SMP
2022-05-28 21:36:23 +08:00
Darian
f3d06ad78d
Merge branch 'bugfix/fix_SysTickIsrHandler_casting' into 'master'
...
HAL: Fix systimer counter value bit field
Closes IDF-5132
See merge request espressif/esp-idf!18252
2022-05-28 18:31:03 +08:00
jingli
1781ce3b98
further fix rtc attr for esp32c2
2022-05-28 08:52:55 +00:00
Jessy Chen
7b9b448041
esp_wifi: optimize wifi kconfig
2022-05-28 08:52:55 +00:00
liuning
e0decf4839
esp_wifi: fully support connectionless traffic with ps and coex
2022-05-28 08:52:55 +00:00
Jessy Chen
0ae391ef07
esp_wifi: enable FTM for esp32c2 & fix pre-commit check
2022-05-28 08:52:55 +00:00
Jessy Chen
60cbbffc74
esp_phy: optimize esp32c2 tx power control
2022-05-28 08:52:55 +00:00
Zhang Junhao
31f9292f90
feat: disable mbedtls rom code on master
2022-05-28 08:52:55 +00:00
Zhang Jun Hao
fcf8c84ad5
fix potential leak of memory check error
2022-05-28 08:52:55 +00:00
jiangguangming
c7beae1d6a
newlib: 64-bits time_t test pass
...
please keep in mind that don't use nano-foramt printf for 64-bits
2022-05-28 08:52:55 +00:00
jiangguangming
4302e28698
newlib: use newlib nano format default
2022-05-28 08:52:55 +00:00
jingli
84628ba883
fix rtc attr for esp32c2
2022-05-28 08:52:55 +00:00
Jack
58d04eb203
esp_wifi: update esp32c2 wifi rom & lib
2022-05-28 08:52:55 +00:00
zhangyanjiao
e979e9701f
esp_wifi: bringup esp32c2 wifi
2022-05-28 08:52:55 +00:00
Laukik Hase
28ac0b12fb
mbedtls: Remove deprecated options from mbedtls/esp_config.h
...
- Removed options related to RC4 ciphersuite, SSL3 and TLS1
(as per mbedtls v3.1.0)
2022-05-28 10:21:06 +05:30
jingli
ae127b04cd
fix ld err since esp32c2 do not suport config gpio of spi flash via efuse
2022-05-27 19:29:38 +08:00
jingli
e70c434780
fix compile error for esp32c2, since esp32c2 no longer support RTC fast mem
2022-05-27 19:29:38 +08:00
jingli
27edaaef91
add wakeup enable for bt
2022-05-27 19:29:38 +08:00
jingli
db102da7c6
update sleep params for esp32c2
2022-05-27 19:29:38 +08:00
jingli
9eec740a16
enable external 32k osc for esp32c2
2022-05-27 19:29:29 +08:00
Anton Maklakov
cfa3e68d1b
bt: esp32s3, make int types consistent
2022-05-27 08:03:54 +00:00
Anton Maklakov
877dc3e304
bt: make int types consistent
2022-05-27 08:03:54 +00:00
yuanjm
0ae030d0ca
fix(Kconfig): Fix lw-ip Kconfig display garbled characters
2022-05-27 02:48:45 +00:00
Marius Vikhammer
9177e9fb37
Merge branch 'bugfix/cpu_cycle_count_not_iram' into 'master'
...
HAL: place cpu_ll_get_cycle_count in IRAM
Closes IDFGH-7431
See merge request espressif/esp-idf!18260
2022-05-27 10:40:50 +08:00
Tomas Rezucha
3b7018923e
Merge branch 'docs/i2c_thread_safety' into 'master'
...
docs: Fix I2C thread-safety
Closes IDF-5034
See merge request espressif/esp-idf!18172
2022-05-27 08:24:13 +08:00
Zim Kalinowski
2c9cd8e307
Merge branch 'feature/remove_target_cmake' into 'master'
...
build-system: remove target component
Closes IDF-3091 and IDF-3581
See merge request espressif/esp-idf!18131
2022-05-27 06:55:25 +08:00
keymoon
3027aa84be
assign value to uninitialized bt_addr
field
2022-05-27 01:07:06 +09:00
keymoon
2c4b135be6
add address field to read_rmt_name_param
2022-05-26 23:24:56 +09:00
Darian Leung
c45784b8c4
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 12:56:25 +00:00
Kapil Gupta
0cdad0a002
wpa_supplicant: Add wrappers for FreeRTOS APIs
2022-05-26 15:23:21 +05:30
Jiang Jiang Jian
37596b4dd8
Merge branch 'feature/wps_registrar_support' into 'master'
...
wpa_supplicant: wps registrar support
See merge request espressif/esp-idf!17659
2022-05-26 17:05:00 +08:00
David Čermák
6f3d021d60
Merge branch 'bugfix/esp_netif_ip6_multicast_api' into 'master'
...
esp_netif: Fix inversion error in leave_ipv6 api (GitHub PR)
Closes IDFGH-7412
See merge request espressif/esp-idf!18184
2022-05-26 15:57:00 +08:00
Yuan Jian Min
62182e1767
Merge branch 'feature/add_mld6_flag_for_eth' into 'master'
...
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
Closes IDFGH-6983
See merge request espressif/esp-idf!18173
2022-05-26 15:40:09 +08:00
Marius Vikhammer
415ab25a49
HAL: place cpu_ll_get_cycle_count in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/9008
2022-05-26 14:42:41 +08:00
Fu Hanxi
788ac3989b
Merge branch 'fix/panic_test' into 'master'
...
fix: panic test
See merge request espressif/esp-idf!18239
2022-05-26 10:09:15 +08:00
Darian
3b57f6d40c
Merge branch 'bugfix/task_wdt_freertos_smp_unicore_build' into 'master'
...
esp_system: FIx TWDT SMP FreeRTOS unicore build error
See merge request espressif/esp-idf!18241
2022-05-26 09:20:33 +08:00
Song Ruo Jing
cf32e49aeb
Merge branch 'refactor/cleanup_rtc_h' into 'master'
...
clk_tree: Prework2 of introducing clock subsystem control
Closes IDF-4934
See merge request espressif/esp-idf!17861
2022-05-26 09:16:47 +08:00
Mahavir Jain
c6e2ae76a9
Merge branch 'esp32c2/IDRAM_PMP_split' into 'master'
...
esp32c2: Enable IRAM/DRAM split using PMP
Closes IDF-3837
See merge request espressif/esp-idf!18156
2022-05-26 00:47:49 +08:00
Martin Gano
8ef66536ed
fatfsparse.py: add cluster chaining support to enable reading longer-than-sector files
...
Closes IDF-4975
2022-05-25 15:49:24 +02:00
Kapil Gupta
1cf54db433
esp_wifi: Changes to not use pmkid caching when SSID is changed
2022-05-25 15:11:26 +05:30
Tomas Rezucha
b6771b7f83
docs: Fix I2C thread-safety
2022-05-25 07:22:02 +00:00
Darian Leung
8af172ec46
esp_system: FIx TWDT SMP FreeRTOS unicore build error
...
When configNUM_CORES = 1, vTaskCoreAffinityGet() is not defined. This
commit fixes the TWDT to omit calls to vTaskCoreAffinityGet() when building
for unicore.
2022-05-25 13:51:17 +08:00
Fu Hanxi
b2f107b76c
fix: espcoredump without project_description.json in ci
2022-05-25 12:00:13 +08:00
morris
7642be45ef
Merge branch 'bugfix/c2_efuse_fix_error_reg' into 'master'
...
efuse_hal(esp32c2): Fix error bits for BLOCK0
See merge request espressif/esp-idf!18219
2022-05-25 04:24:55 +08:00
Ivan Grokhotkov
4d9e141201
Merge branch 'bugfix/freertos_smp_no_affinity' into 'master'
...
Freertos SMP: fix wrong no affinity value in kconfig
Closes IDF-5063, IDF-5064, IDF-5067, IDF-5068, IDF-5075, IDF-5076, IDF-5078, IDF-5079, IDF-5080, IDF-5082, IDF-5083, IDF-5084, IDF-5085, IDF-5086, IDF-5087, IDF-5088, IDF-5089, IDF-5090, IDF-5091, IDF-5092, IDF-5093, IDF-5094, IDF-5095, IDF-5096, IDF-5097, IDF-5098, IDF-5099, IDF-5100, IDF-5101, IDF-5102, IDF-5105, IDF-5106, IDF-5108, IDF-5109, IDF-5110, IDF-5111, IDF-5113, IDF-5114, IDF-5115, IDF-5116, IDF-5117, IDF-5118, IDF-5120, IDF-5121, IDF-5123, IDF-5125, IDF-5126, IDF-5128, and IDF-5129
See merge request espressif/esp-idf!18224
2022-05-25 03:05:33 +08:00
Rahul Tank
b45723b92e
Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
...
NimBLE: Enabled ESP Timer support for esp32h2
See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Sachin Parekh
9a763f4ff2
esp32c2: Enable IRAM/DRAM split using PMP
2022-05-24 21:36:06 +05:30
songruojing
74c99a8a07
rtc_clk: Add alias for the clock tree related enum and macros for backwards compatibility
2022-05-24 22:59:51 +08:00
songruojing
729d70129a
clk_tree: add initial docs for clock tree
2022-05-24 22:59:51 +08:00
morris
b26cd91537
doc: added clk_tree definitions to doc
2022-05-24 22:59:51 +08:00
songruojing
a5b09cf015
rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
...
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
morris
64604dcfe0
Merge branch 'bugfix/s3_spi_pre' into 'master'
...
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
See merge request espressif/esp-idf!18213
2022-05-24 16:18:48 +08:00
Roland Dobai
4e0116a170
Merge branch 'fix/otatool_targets' into 'master'
...
app_update: Fix otatool targets
Closes IDF-4758 and IDFGH-7254
See merge request espressif/esp-idf!18190
2022-05-24 15:47:34 +08:00
Kapil Gupta
a6811adac7
wpa_supplicant: Add WPS registrar support for softAP mode
2022-05-24 12:11:53 +05:30
Kapil Gupta
df1a15e918
wpa_supplicant: Add upstream files for wps registrar
2022-05-24 12:11:53 +05:30
morris
60d51bf6c8
Merge branch 'contrib/github_pr_9001' into 'master'
...
usbh_print_intf_desc prints wrong value for tbInterfaceClass (GitHub PR)
Closes IDFGH-7422 and IDFGH-9000
See merge request espressif/esp-idf!18198
2022-05-24 10:15:12 +08:00
Kevin (Lao Kaiyao)
94d7ae03da
Merge branch 'bugfix/i2s_write_timeout_when_setting_clock' into 'master'
...
i2s: fixed write timeout while setting the clock
Closes IDFGH-7273 and IDFGH-7261
See merge request espressif/esp-idf!18201
2022-05-24 10:01:12 +08:00
Marius Vikhammer
15684fb5a0
Freertos SMP: fix wrong no affinity value in kconfig
2022-05-24 09:16:43 +08:00
Marius Vikhammer
cf1b222cac
build system: removed target component
...
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Marius Vikhammer
d485f6add8
Merge branch 'feature/arch_build_property' into 'master'
...
build-system: add property for architecture (riscv/xtensa)
Closes IDF-1754
See merge request espressif/esp-idf!18127
2022-05-24 08:46:09 +08:00
Marius Vikhammer
425c9e5b0f
Merge branch 'feature/target_kconfig_movement_3' into 'master'
...
kconfig: move remaining kconfig options out of target component
Closes IDF-3579
See merge request espressif/esp-idf!18046
2022-05-24 08:45:01 +08:00
KonstantinKondrashov
c74d442d03
efuse_hal: Fix error bits for BLOCK0
...
eFuse BLOCK0 has only one error reg.
2022-05-24 03:28:57 +08:00
Mahavir Jain
5d88df658d
Merge branch 'feature/esp-tls_optimize_memory' into 'master'
...
esp-tls: add api to free client session
Closes AEG-57
See merge request espressif/esp-idf!18103
2022-05-24 02:53:59 +08:00
morris
1385d1b2f6
Merge branch 'bugfix/i2c_warning_always_true' into 'master'
...
i2c: fix 'comparision is always true' warning
See merge request espressif/esp-idf!18202
2022-05-24 02:21:34 +08:00
Gustavo Henrique Nihei
c946c80415
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-23 10:13:07 -03:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
laokaiyao
a5f651ad71
i2s: Update FIFO direct access reg on ESP32 according to the TRM
...
Closes: https://www.github.com/espressif/esp-idf/issues/8862
2022-05-23 16:28:42 +08:00
laokaiyao
f523fbc73b
i2s: Fixed divide 0 issue while setting PDM down sampling issue
...
Closes https://www.github.com/espressif/esp-idf/issues/8850
2022-05-23 16:28:42 +08:00
Li Jingyi
6d58008119
esp-tls: add api to free client session
...
Free session with mbedtls api to avoid mem-leak
2022-05-23 16:28:40 +08:00
laokaiyao
f36ae3f603
i2s: fixed write timeout while setting the clock
2022-05-23 16:28:37 +08:00
Armando
8532d09259
cache: access error & illegal error ll functions
2022-05-23 15:00:47 +08:00
songruojing
436085de51
rtc_clk: fix potential "division by zero" in rtc_clk_cpu_freq_mhz_to_config (found by coverity scan)
2022-05-23 13:38:41 +08:00
Anton Maklakov
41bbea5124
i2c: fix 'comparision is always true' warning
2022-05-23 11:39:46 +07:00
Omar Chebib
2d84985baa
Merge branch 'bugfix/i2c_notify_task_in_ISR' into 'master'
...
I2C: Fix a bug making the I2C task wait too long on an event
Closes IDFGH-7169
See merge request espressif/esp-idf!18027
2022-05-23 12:29:22 +08:00
Song Ruo Jing
70109e2393
Merge branch 'refactor/remove_ck8m_fpu_in_rtc_slow_clk_set' into 'master'
...
rtc_clk: Remove the ck8m fpu logic when setting rtc slow clock source
See merge request espressif/esp-idf!18181
2022-05-23 11:49:24 +08:00
Omar Chebib
872a4311f2
I2C: Fix a bug making the I2C task wait too long on an event
...
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-05-23 02:02:00 +00:00
Ivan Grokhotkov
341162bb3d
Merge branch 'fix/vfs_fat_info_overflow' into 'master'
...
fatfs: Fix possible integer overflow in esp_vfs_fat_info()
Closes IDF-4958
See merge request espressif/esp-idf!18191
2022-05-22 20:00:12 +08:00
Nicholas Palmer
0f645e59b6
usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000)
2022-05-21 15:54:21 -07:00
songruojing
87b917c04a
rtc_clk: Remove the ck8m fpu logic when setting rtc slow clock source, ck8m fpu in sleep logic is now completely handled in sleep_modes.c
2022-05-21 13:13:52 +00:00
Aditya Patwardhan
911b310a90
Merge branch 'bugfix/mbedtls_dynamic_memory_crash_on_rsa_ciphers' into 'master'
...
fix(mbedtls): fix ssl server crash when enable mbedtls dynamic buffer and...
See merge request espressif/esp-idf!18017
2022-05-21 13:38:40 +08:00
Darian
4afd048abf
Merge branch 'bugfix/freertos_smp_queue_sets_thread_safety' into 'master'
...
FreeRTOS: Fix queue set tests for SMP FreeRTOS
See merge request espressif/esp-idf!18169
2022-05-21 05:02:19 +08:00
Adam Múdry
b388321e3b
fatfs: Disable UTF-16 filename encoding
...
UTF-16 is not supported in VFS and not covered by unit tests
2022-05-20 15:15:01 +02:00
Adam Múdry
2565acbc28
fatfs: Fix possible integer overflow in esp_vfs_fat_info()
2022-05-20 14:51:11 +02:00
Roland Dobai
457beeb530
app_update: Fix otatool targets
...
Fix a regression caused by 6b361d923c
Closes https://github.com/espressif/esp-idf/issues/8843
2022-05-20 14:10:08 +02:00
yuanjm
667a7c6cd0
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
...
Closes https://github.com/espressif/esp-idf/issues/8602
2022-05-20 11:26:27 +00:00
Li Jingyi
c88af419a3
mbedtls: fix ssl server crash when enable mbedtls dynamic buffer
...
Not free keycert until MBEDTLS_SSL_CLIENT_KEY_EXCHANGE for rsa key exchange methods, because keycert will be used to parse client key exchange.
2022-05-20 11:21:48 +00:00
Shu Chen
7e71c0cff2
Merge branch 'otbr-rcp-update' into 'master'
...
openthread: support automatic RCP update upon boot in border router
See merge request espressif/esp-idf!17322
2022-05-20 17:58:26 +08:00
jiangguangming
9719979e4f
UT: add a timeout-tag to make the esp_flash UT ci pass
2022-05-20 16:46:28 +08:00
jiangguangming
42bc0b0643
soc: remove unused MMU related macros
2022-05-20 16:46:28 +08:00
jiangguangming
9c6afee12f
flash mmap: abstract R/W MMU table instead of reg access
2022-05-20 16:46:27 +08:00
Omar Chebib
68ddce7c0b
Merge branch 'bugfix/esp32_i2c_incorrect_speed' into 'master'
...
I2C: Fix SCL period timings on ESP targets
See merge request espressif/esp-idf!17999
2022-05-20 13:33:03 +08:00
Marius Vikhammer
9362434c47
build-system: add property for architecture (riscv/xtensa)
...
riscv/xtensa is now a common component.
2022-05-20 09:00:32 +08:00
Richard Retanubun
bd3db823b1
Fixup inversion error causing error prints
...
ESP_RETURN_ON_FALSE(a, err_code, ...) macro
Will print and return err_code
if (unlikely(!(a)))
so "a" needs to state what we expect to be TRUE
which in this case means:
mld6_leavegroup_netif(...) == ERR_OK
2022-05-19 16:58:47 -04:00
Konstantin Kondrashov
8429ec2553
Merge branch 'feature/adds_check_32k_xtal_stopped' into 'master'
...
esp_hw_support: Adds a msg when 32k xtal was stopped
See merge request espressif/esp-idf!17581
2022-05-19 16:48:20 +08:00
Darian Leung
56d45f9999
freertos: Fix queue set tests for SMP FreeRTOS
...
The "Test Queue sets thread safety" tests relied on IDF FreeRTOS specific
scheduling behavior, thus resulting in the test getting stuck when running
with SMP FreeRTOS.
This commit updates and refactors the tests to work on both IDF and SMP FreeRTOS.
2022-05-19 16:28:10 +08:00
Roland Dobai
6755a63f3b
Merge branch 'feature/add_loading_gdbinit_file' into 'master'
...
feat: Added extra gdbinit file loading for reproducible build
Closes IDF-4415
See merge request espressif/esp-idf!17914
2022-05-19 16:22:48 +08:00
Marius Vikhammer
030e52f5d4
Merge branch 'feature/improve_doc_link_check' into 'master'
...
docs: fix broken links and re-enable linkchecker
Closes IDF-2640
See merge request espressif/esp-idf!17919
2022-05-19 15:52:17 +08:00
Darian
a4c4d8c59b
Merge branch 'feature/update_intr_wdt_for_freertos_smp' into 'master'
...
esp_system: Fix SMP FreeRTOS INT WDT and tidy up
Closes IDF-4749
See merge request espressif/esp-idf!18000
2022-05-19 14:43:08 +08:00
morris
8138f8bb02
driver: remove deprecated code
...
that declared as deprecated in the previous release
2022-05-19 11:31:53 +08:00
morris
d274cd5601
lcd: simplify iram safe test case
2022-05-19 11:10:59 +08:00
morris
ab87dde1d4
rmt_legacy: don't use early log in isr handler
...
...but use ESP_DRAM_LOGx instead
Closes https://github.com/espressif/esp-idf/issues/5414
2022-05-19 11:10:59 +08:00
David Cermak
60fc1ae035
lwip: Removed incorrect-fix 358ee481
2022-05-18 17:11:35 +02:00
David Cermak
d50739adec
lwip: forgotten ip4_route_src_hook to IRAM
2022-05-18 17:11:35 +02:00
David Cermak
e7f19f39bc
lwip: Fix the CI
2022-05-18 17:11:35 +02:00
David Cermak
09aa24632a
esp_netif: Support IPv6 autoconfig is enabled in menuconfig
2022-05-18 17:11:35 +02:00
David Cermak
a6154a5f10
lwip: Update default MEMP_NUM_SYS_TIMEOUT if timers on-demand
2022-05-18 17:11:35 +02:00
David Cermak
5d6afa3c4b
dhcp: Implement additional dhcp options
2022-05-18 17:11:35 +02:00
David Cermak
1564e8d5a9
lwip: Implement DHCP hook supporting MTU option
2022-05-18 17:11:35 +02:00
David Cermak
5aa3be11fd
dhcpserver: Minor #idfef fix
2022-05-18 17:11:35 +02:00
David Cermak
b6eb9002a8
add dhcp custom values
2022-05-18 17:11:35 +02:00
David Cermak
356bc603c4
lwip: Support DHCP restore last IP
2022-05-18 17:11:35 +02:00
David Cermak
7a04eb8d66
lwip: Reference specific ESP patches
...
Also adding ip4_napt.c to sources, as it's added by ESP-patches
2022-05-18 17:10:42 +02:00
David Cermak
53c009e626
lwip: Update socket API to include port-version of sockets/netdb
...
Added socket extention to the lwip hooks for implementing non-vanilla
{get/set}sockopts()
2022-05-18 17:10:42 +02:00
David Cermak
e909cd5219
tcp_transport/test: Fix localhost interface name
...
Per lwip spec it's two letter's name plus index, i.e. "lo0"
(the reason "lo" was accepted before was bug in lwip)
2022-05-18 17:10:42 +02:00
David Cermak
44a9620c17
esp_netif: Add thread safe pppapi set_auth API to esp-netif
2022-05-18 17:10:42 +02:00
David Cermak
dbc91f73e6
lwip: Use custom pbufs for eth and wifi port/netif
2022-05-18 17:10:42 +02:00
David Cermak
65bf5f2b10
lwip: Add mem-heap options to support ALLOCATION_FROM_SPIRAM_FIRST
2022-05-18 17:10:42 +02:00
David Cermak
06263efe0b
lwip: Add IPv4 route hook to the esp32 port
2022-05-18 17:10:42 +02:00
David Cermak
808ac7427a
lwip: Add freertos sys-arch port layer
...
Added sys_thread_sem_func(), sys_sem_signal_isr(), g_lwip_task
2022-05-18 17:10:42 +02:00
David Cermak
5b471a1848
esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL)
...
* Reference lwip-2.1.3-REL vanilla lwip version
* Use inherent NETIF callbacks instead of dhcp/ipv6/autoip
2022-05-18 17:10:42 +02:00
Darian Leung
9b5601b7c7
freertos: Fix SMP FreeRTOS interrupt watchdog feeding
...
This commit fixes how SMP FreeRTOS feeds the INT WDT. Previously, the
port used vApplicationTickHook(). Now, all cores will feed the INT WDT
in xPortSysTickHandler().
2022-05-18 20:12:25 +08:00
Darian Leung
bd8b03888c
esp_system: Tidy up INT WDT
...
This commit tidys the INT WDT code formatting, comments, and API descriptions.
2022-05-18 20:12:25 +08:00
Darian Leung
7dc6fd9ff6
esp_system: Make interrupt WDT private API
...
This commit makes the interrupt WDT API private. To use the API,
IDF components should now '#include "esp_private/esp_int_wdt.h"'
2022-05-18 20:12:25 +08:00
Jiang Jiang Jian
51f6091761
Merge branch 'bugfix/fix_wifi_pm_state' into 'master'
...
esp_wifi: fix no null data after WiFi waking up.
Closes IDFGH-7070
See merge request espressif/esp-idf!18141
2022-05-18 17:42:31 +08:00
Jiang Jiang Jian
68fbd95e08
Merge branch 'bugfix/disable_bt_pll_track' into 'master'
...
Bluetooth: disable PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
See merge request espressif/esp-idf!18138
2022-05-18 17:24:25 +08:00
Omar Chebib
477bc9e64c
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3, ESP32C2 and ESP32H2
2022-05-18 05:36:08 +00:00
Michael (XIAO Xufeng)
0adb814af3
Merge branch 'bugfix/fix_memory_miss_bug_esp32c3_esp32s3' into 'master'
...
ESP32C3/ESP32S3: Fix cpu crash bug when wakeup from lightsleep for memory data miss
Closes IDF-162 and IDF-4923
See merge request espressif/esp-idf!17823
2022-05-18 12:05:08 +08:00
liuning
9d7479eda3
esp_wifi: fix no null data after WiFi waking up.
2022-05-17 21:45:55 +08:00
Karl Wang
777dbb6c83
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:00:23 +08:00
Martin Gano
e9716b1498
Merge branch 'feature/add-fatfs-parser' into 'master'
...
fatfsgen.py implement functionality for parsing fatfs
Closes IDF-4360
See merge request espressif/esp-idf!17951
2022-05-17 17:07:13 +08:00
David Čermák
285c6fc906
Merge branch 'bugfix/vfs_sock_select_race' into 'master'
...
vfs: Fix potential select() race if both sock and other-fd trigger
Closes IDFGH-7308
See merge request espressif/esp-idf!18023
2022-05-17 15:28:48 +08:00
Rahul Tank
95db4bbf05
NimBLE: Enabled ESP Timer support for esp32h2
2022-05-17 12:49:40 +05:30
Darian
4d751b9d6b
Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
...
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog
Closes IDF-3340
See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Michael (XIAO Xufeng)
adcdcbaa0e
Merge branch 'feat/pm_dbias_refactoring' into 'master'
...
pm: refactoring dbias related code
See merge request espressif/esp-idf!17994
2022-05-17 14:42:16 +08:00
Jiacheng Guo
ebcd922d53
fix review comments
2022-05-17 12:56:22 +08:00
Jiacheng Guo
a080a41b41
openthread: support automatic RCP update upon boot in border router
2022-05-17 12:55:48 +08:00
Shu Chen
92b6fc5d1f
Merge branch 'support/esp32h2beta2_libotport_and_libdriver' into 'master'
...
support build esp32h2beta1 & esp32h2beta2 on master
See merge request espressif/esp-idf!17858
2022-05-17 11:44:36 +08:00
Kapil Gupta
ba1daac5f0
Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
...
esp_wifi: Add APIs to check for BTM, RRM support of connected AP
See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
Shu Chen
f1d1c5a876
Merge branch 'support/esp32h2beta2_phy_build' into 'master'
...
esp_phy: support esp32h2beta2 phy build
See merge request espressif/esp-idf!17856
2022-05-17 10:32:07 +08:00
David Čermák
d6459ab1a3
Merge branch 'bugfix/mqtt_read_neg_and_ping' into 'master'
...
mqtt: Fix incorrect reads on error; Update ping processing
Closes IDFGH-6859 and IDFGH-6930
See merge request espressif/esp-idf!18095
2022-05-17 03:02:59 +08:00
David Cermak
bf8ceae780
vfs: Fix potential select() race if both sock and other-fd trigger
...
This fixes a potential race condition in select() if both a socket-fd
and non-socket fd trigger simultaneously to unblock this select.
In case of both fds, we use lwip's local thread semaphore, so we only
have to try return it (if it was taken/triggered more than once) when
we exit select().
Closes https://github.com/espressif/esp-idf/issues/8896
2022-05-16 20:26:44 +02:00
David Cermak
58cf25193d
mqtt: Fix incorrect reads on error; Update ping processing
...
* Update submodule: git log --oneline 4874bab35659bd2301e65fd849f6559d7380d4f1..64f88b4412ea6649dbf207a07370c2617160d044
Detailed description of the changes:
* Fix documentation of config struct
- See merge request espressif/esp-mqtt!129
- See commit https://github.com/espressif/esp-mqtt/commit/e31834c
* Changes the moment we update keepalive_tick.
- See merge request espressif/esp-mqtt!127
- See commit https://github.com/espressif/esp-mqtt/commit/2c2e6f3
* MQTT: Fix signature matching for some integer values
- See merge request espressif/esp-mqtt!128
- Closes https://github.com/espressif/esp-idf/issues/8482
- MQTT: Fix signature matching for integer values (espressif/esp-mqtt@6b794e4 )
* Make the mqtt submodule logging tags lower case
- See merge request espressif/esp-mqtt!122
- See commit https://github.com/espressif/esp-mqtt/commit/fb3184c
Closes https://github.com/espressif/esp-idf/issues/8482
Closes https://github.com/espressif/esp-idf/issues/8550
2022-05-16 20:23:26 +02:00
Martin Gaňo
005af75da3
Added FATFS partition parser
2022-05-16 14:32:17 +02:00
zhangwenxu
9440430db2
esp_phy: support esp32h2beta2 phy build
2022-05-16 10:50:44 +00:00
Kapil Gupta
ee33c6ae05
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-05-16 15:57:59 +05:30
Jiang Jiang Jian
8377a3fff1
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection' into 'master'
...
component/bt: check the ble ext adv parameters
See merge request espressif/esp-idf!15977
2022-05-16 16:13:56 +08:00
Jakob Hasse
dd3c5c3cbb
doc (nvs_flash): improved NVS partition flash documentation
...
Closes https://github.com/espressif/esp-idf/issues/8196
2022-05-16 14:13:43 +08:00
Anton Maklakov
cc2010682d
Merge branch 'bugfix/bluedroid_warnings' into 'master'
...
bluedroid: fix warnings
Closes GCC-242
See merge request espressif/esp-idf!17872
2022-05-16 13:36:36 +08:00
chaijie
cc0a5a4edb
solve memory error bug when in lightsleep mode
2022-05-16 11:43:00 +08:00
Armando (Dou Yiwen)
ad747b237a
Merge branch 'toos/add_s3_ut_based_on_quad_octal_psram' into 'master'
...
ci: add s3 ut based on quad octal psram
See merge request espressif/esp-idf!18087
2022-05-16 09:57:21 +08:00
Michael (XIAO Xufeng)
1f6fad6f48
Merge branch 'test/rtc_8m_d256' into 'master'
...
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
See merge request espressif/esp-idf!17989
2022-05-16 01:30:25 +08:00
Michael (XIAO Xufeng)
cb1abdf33e
Merge branch 'bugfix/remove_mislead_psram_type_is25' into 'master'
...
Kconfig: remove misleading psram name IS25WP032 in the Kconfig option
See merge request espressif/esp-idf!18025
2022-05-16 00:09:09 +08:00
Michael (XIAO Xufeng)
6f507d527c
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
...
Sync configuration from other chips
Closes: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
2022-05-14 22:35:41 +08:00
Michael (XIAO Xufeng)
b920676e59
pm: add test for RTC using 8MD256 as clock source
2022-05-14 22:35:41 +08:00
Michael (XIAO Xufeng)
234628b3ea
pm: putting dbias and pd_cur code into same function
2022-05-14 02:35:11 +08:00
Jing Li
ac0d16cdc8
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup' into 'master'
...
sleep: fix cannot lightsleep again after a wakeup from ULP
Closes IDFGH-4396
See merge request espressif/esp-idf!17970
2022-05-13 22:25:23 +08:00
Mahavir Jain
a0e27a186b
Merge branch 'esp32c2/support_secure_boot' into 'master'
...
ESP32C2: Support Secure Boot V2
Closes IDF-3846 and IDF-4209
See merge request espressif/esp-idf!17442
2022-05-13 19:46:22 +08:00
Mahavir Jain
dae6467263
Merge branch 'bugfix/remove_http_server_header_file' into 'master'
...
esp_http_server: Remove http_server.h Header file
See merge request espressif/esp-idf!18074
2022-05-13 19:34:13 +08:00
Harshit Malpani
73fc12cdcd
esp_http_server: Remove http_server.h Header file
2022-05-13 16:00:17 +05:30
Darian Leung
7c02bde904
esp_system: Update task watchdog unit tests and example
...
This commit does the following:
- Update existing unit tests that use the TWDT to call the new
esp_task_wdt_init() API
- Add a set of dedicate TWDT unit tests
- Updates the TWDT example
2022-05-13 18:01:28 +08:00
Darian Leung
5953bca376
esp_system: Add arbitrary user feature to TWDT
...
This commit moidifies the TWDT as follows:
- Adds a feature to allows subscribing arbitrary users to the TWDT
- Changes esp_task_wdt_init() API to accept configuration structure
- Changes esp_task_wdt_init() and esp_task_wdt_deinit() to subscribe/unsubscribe
idle tasks of various cores.
- Adds support for SMP FreeRTOS idle tasks
- Updates startup code TWDT initialization
- Updates API documentation
2022-05-13 18:01:28 +08:00
Darian Leung
4877a9fcba
esp_system: Refactor task_wdt
...
This commit refactors the task watchdog as follows:
- Renamed variables, types, and functions
- Replaced manual linked list implementation with SLIST()
- Moved calloc()/free() calls out of critical sections
- Shortened ISR critical sections
- Updated API description
- Updated code formatting
2022-05-13 17:57:44 +08:00
Aleksei Apaseev
e8cb6bd6b3
feat: Added extra gdbinit file loading for reproducible build
2022-05-13 08:41:24 +00:00
Anton Maklakov
39146a1d85
ble_mesh: correct function declaration
2022-05-13 15:24:17 +07:00
Djordje Nedic
e09ef86d7c
partition_table: Add warning when partitions are nearly full
...
This adds a warning in cases where the smallest partition is nearly full.
A test with a specially crafted partition table is created for the smallest partition warning.
If the threshold or the template itself change, change the factory app partition size as well.
2022-05-13 07:14:04 +00:00
Anton Maklakov
b69efa20ad
bluedroid: fix -Wchar-subscripts warning
...
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
bcfec4ad74
bluedroid: suppress some -Waddress-of-packed-member warnings
2022-05-13 06:55:22 +00:00
Anton Maklakov
e44d7fbaed
bluedroid: fix argument type according its usage
2022-05-13 06:55:22 +00:00
Anton Maklakov
9a5f0f6c53
bluedroid: fix argument type to correct narrow one
2022-05-13 06:55:22 +00:00
Anton Maklakov
29b2beffc0
bluedroid: fix type for passing argument in function
2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd
bluedroid: fix argument type in functions
2022-05-13 06:55:22 +00:00
Mahavir Jain
dcaa74ebb3
Merge branch 'feature/optimize_wifi_provisioning_memory' into 'master'
...
feat(wifi_provisioning): Optimize memory for wifi scan ap number
Closes AEG-67
See merge request espressif/esp-idf!18067
2022-05-13 13:58:34 +08:00
Yuan Jian Min
74ae372c73
feat(wifi_provisioning): Optimize memory for wifi scan ap number
2022-05-13 13:58:34 +08:00
Kapil Gupta
72e53d116a
Merge branch 'feature/internal_tls_code_update' into 'master'
...
wpa_supplicant: sync eap code with upstream
See merge request espressif/esp-idf!16962
2022-05-13 12:57:48 +08:00
Kapil Gupta
c2429f1cf9
wpa_supplicant: sync eap code with upstream
2022-05-13 12:57:47 +08:00
Sudeep Mohanty
1f47466664
Merge branch 'test/ignore_freertos_yield_tests' into 'master'
...
freertos: ignore freertos yield test failures
See merge request espressif/esp-idf!18078
2022-05-13 11:45:15 +08:00
Ivan Grokhotkov
849a296675
Merge branch 'bugfix/newlib_implement_atomic_load_store' into 'master'
...
newlib: implement __atomic_load/__atomic_store functions
Closes LLVM-144
See merge request espressif/esp-idf!17561
2022-05-13 02:14:15 +08:00
jingli
a85e187ea7
remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3
2022-05-12 21:51:21 +08:00
Darian
8dae294ab6
Merge branch 'refactor/freertos_kconfig_options' into 'master'
...
Freertos: Refactor Kconfig options
See merge request espressif/esp-idf!18043
2022-05-12 21:47:18 +08:00
Armando
591d45151d
psram: add quad mode kconfig macro on 32/s2
2022-05-12 21:36:18 +08:00
jingli
abb6bb1181
esp_hw_support/sleep: fix cannot enable sleep reject in some cases
...
When enable sleep reject before this fix, we have two limitations:
1. it must be light sleep
2. RTC GPIO wakeup source must be set
We require light sleep because `esp_deep_sleep_start` function has
been declared with "noreturn" attribute, So developers don't expect
that this function may return (due to an error or a sleep reject).
But the requirement for RTC GPIO wakeup source is not reasonable for
all chips. This requirement exists because ESP32 only supports RTC GPIO
and SDIO sleep reject sources. But later chips support all sleep reject
sources.
This fix brings the following changes:
for ESP32: RTC GPIO and SDIO sleep reject sources can be enabled
when corresponding wakeup source is set.
for later chips: all sleep reject sources can be enabled when
corresponding wakeup source is set.
2022-05-12 19:09:57 +08:00
jingli
ddcc5bfe38
improve ulp riscv test case
...
Add second sleep and wakeup test in test case `ULP-RISC-V is able to wakeup main CPU from light sleep`
2022-05-12 19:08:57 +08:00
Nachiket Kukade
2f4ec4e27d
Merge branch 'bugfix/sap_mode_change_crash_issue' into 'master'
...
Fixes for SAP mode change and PMF issues
Closes WIFI-4322, WIFI-4394, and IDFCI-1147
See merge request espressif/esp-idf!17865
2022-05-12 19:08:05 +08:00
jingli
dd414b9305
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-12 17:57:08 +08:00
Marius Vikhammer
34910bee07
Merge branch 'bugfix/fix_doxygen_warnings' into 'master'
...
docs: fix doxygen warnings
See merge request espressif/esp-idf!18071
2022-05-12 16:54:52 +08:00
Wei Tian Hua
aef62ba21f
Merge branch 'bugfix/fix_bt_sphinx_warnings' into 'master'
...
components_bt: fix unstandard typedefs
Closes BT-2357
See merge request espressif/esp-idf!18047
2022-05-12 16:46:13 +08:00
Sudeep Mohanty
ffae594e8b
freertos: ignore freertos yield test failures
...
This commit updates the freertos yield tests to be ignored by the CI
during failures.
2022-05-12 13:57:02 +05:30
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Mahavir Jain
af1f342ee8
Merge branch 'fix/make_esp_tls_t_private' into 'master'
...
Make esp_tls_t as private structure
Closes IDF-2812
See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
KonstantinKondrashov
c8cd3e3da3
esp_hw_support: Adds a msg when 32k xtal was stopped
2022-05-12 06:28:52 +00:00
morris
068adfba70
heap: use ROM implementation for heap tlsf on esp32c2
2022-05-12 05:18:57 +00:00
morris
24f5fecef0
hal: use ROM implementation for systimer and wdt on esp32c2
2022-05-12 05:18:57 +00:00
morris
334126315f
esp32c2: level up from preview targets
2022-05-12 05:18:57 +00:00
Kapil Gupta
36321fda82
Merge branch 'feature/eloop_timer' into 'master'
...
wpa_supplicant: Add timer based eloop implementation
See merge request espressif/esp-idf!17430
2022-05-12 12:30:44 +08:00
Mahavir Jain
42aac8d1d7
Merge branch 'contrib/github_pr_8816' into 'master'
...
Don't ignore return value of `httpd_stop` (GitHub PR)
Closes IDFGH-7222
See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Kapil Gupta
97d7bde1ea
Merge branch 'feature/wps_code_updation' into 'master'
...
wpa_supplicant: wps code cleanup
See merge request espressif/esp-idf!16577
2022-05-12 11:56:58 +08:00
Darian Leung
aa028f018f
freertos: Refactor Kconfig options
...
This commit refactors FreeRTOS Kconfig options as follows:
- Grouped them into Kernel and Port submenus
- Renamed Kernel option promppts to match upstream names
- Simplified some option descriptions
- Added "Todo" markers related to SMP support
2022-05-12 11:53:16 +08:00
Michael (XIAO Xufeng)
cc37f63e14
Merge branch 'bugfix/keep_rtc8m_in_lightsleep' into 'master'
...
pm: fixed RTC8M domain power down issue when used as RTC source
See merge request espressif/esp-idf!17612
2022-05-12 10:25:35 +08:00
weitianhua
4c370cc437
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-05-11 14:30:20 +00:00
Andrei Safronov
3d9814bf8b
newlib: implement __atomic_load/__atomic_store functions
2022-05-11 17:00:14 +03:00
Sachin Parekh
7dd62bb044
esp32c2: Remove assert check on len for SHA calculation
2022-05-11 18:00:07 +05:30
Sachin Parekh
2c725264f7
esp32c2: Support Secure Boot V2 based on ECDSA scheme
2022-05-11 18:00:03 +05:30
Kapil Gupta
ecc87cfc8d
wpa_supplicant: wps code updation
...
Update WPS code with upstream. Also moved ESP specific code
in another esp code folder.
2022-05-11 12:18:52 +00:00
Kapil Gupta
9c27cf93fc
Add testcase for eloop execution
2022-05-11 17:45:23 +05:30
Kapil Gupta
d06daee350
wpa_supplicant: Add timer based eloop implementation
2022-05-11 17:45:23 +05:30
Vilem Zavodny
342abc262f
Merge branch 'feature/esp_lcd_read_i2c' into 'master'
...
Feature/esp lcd read i2c
See merge request espressif/esp-idf!18016
2022-05-11 20:02:21 +08:00
Harshit Malpani
9f99d2350a
docs: Added breaking change for esp_https_server to migration guide
2022-05-11 16:30:16 +05:30
Mahavir Jain
dec3db6913
Merge branch 'bugfix/freertos_stack_tcb_alloc_order' into 'master'
...
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH
See merge request espressif/esp-idf!18042
2022-05-11 18:09:49 +08:00
Harshit Malpani
2c56c6cad8
Updated coding style and added error logs
2022-05-11 08:58:01 +00:00
Nathan Phillips
e8e63a06e8
Don't ignore return value of httpd_stop
2022-05-11 08:58:01 +00:00
zhangwenxu
87070b8d3c
openthread: support build esp32h2beta1 & esp32h2beta2 on master
2022-05-11 16:32:19 +08:00
Aditya Patwardhan
aa9de02259
esp_tls.h: Clean up included header files.
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
5b15c91ae4
esp_https_server.h: Remove const identifier for esp_tls pointer
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
788c9ddf8d
esp_tls: Added getter function for esp_tls ssl ctx.
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
434e74ff73
esp_tls: Make esp_tls_t as private structure.
2022-05-11 07:09:34 +00:00
Michael (XIAO Xufeng)
36074b9812
pm: add powerdown for int_8m on ESP32-C2 and ESP32-H2
...
Also move the xtal fpu logic to sleep_modes.c
2022-05-11 11:36:34 +08:00
Michael (XIAO Xufeng)
2905cbbe03
pm: fixed RTC8M domain power issues
...
introduced in e44ead5356
1. The int8M power domain config by default is PD. While LEDC is using
RTC8M as clock source, this power domain will be kept on.
But when 8MD256 is used as RTC clock source, the power domain should
also be kept on.
On ESP32, there was protection for it, but broken by commit
e44ead5356
. Currently the power domain
will be forced on when LEDC is using RTC8M as clock source &&
!int8m_pd_en (user enable ESP_PDP_DOMAIN_RTC8M in lightsleep). Otherwise
the power domain will be powered off, regardless of RTC clock source.
In other words, int8M domain will be forced off (even when 8MD256
used as RTC clock source) if LEDC not using RTC8M as clock source, user
doesn't enable ESP_PDP_DOMAIN_RTC8M, or in deep sleep.
On later chips, there's no such protection, so 8MD256 could't be used as
RTC clock source in sleep modes.
This commit adds protection of 8MD256 clock to other chips. Fixes the
incorrect protection logic overriding on ESP32. Now the power domain
will be determiend by the logic below (order by priority):
1. When RTC clock source uses 8MD256, power up
2. When LEDC uses RTC8M clock source, power up
3. In deepsleep, power down
4. Otherwise determined by user config of ESP_PDP_DOMAIN_RTC8M,
power down by default. (This is preferred to have highest
priority, but it's kept as is because of current code structure.)
2. Before, after the macro `RTC_SLEEP_CONFIG_DEFAULT` decides dbias, the
protection above may force the int8m PU. This may cause the inconsistent
of dbias and the int8m PU status.
This commit lifts the logic of pd int8m/xtal fpu logic to upper layer
(sleep_modes.c).
Related: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
temp
2022-05-11 11:30:47 +08:00
morris
523c51818c
Merge branch 'feature/c2_soc_hwsupport_code' into 'master'
...
ESP32-C2 (729) RTC update (Clock, PM)
Closes IDF-3833 and IDF-4874
See merge request espressif/esp-idf!17311
2022-05-11 11:23:57 +08:00
Jakob Hasse
903649ddcd
Merge branch 'feature/component_ut_mem_leak_check' into 'master'
...
Component unit tests memory leak check
Closes IDF-2148
See merge request espressif/esp-idf!17667
2022-05-11 10:03:55 +08:00
morris
df5872b3a4
Merge branch 'feature/support_i2c_on_esp32h2' into 'master'
...
i2c: support i2c on esp32h2
Closes IDF-4155
See merge request espressif/esp-idf!17798
2022-05-10 22:48:05 +08:00
Sudeep Mohanty
f6be878b6c
Merge branch 'feature/freertos_smp_single_core_build' into 'master'
...
freertos: Enable FreeRTOS SMP unicore build
See merge request espressif/esp-idf!18020
2022-05-10 19:52:39 +08:00
Mahavir Jain
318f723042
freertos: extend snapshot test to check return status of vTaskGetSnapshot
2022-05-10 14:19:17 +05:30
Mahavir Jain
5b817038a0
freertos: add return value to API vTaskGetSnapshot
...
`vTaskGetSnapshot` is being used in coredump module to collect diagnostic information.
It is possible that input arguments are invalid and `assert` in this situation is not
correct.
This commit modifies API signature to return pdTRUE in case of success, and pdFALSE
otherwise. Caller can verify return value and then take appropriate decision.
2022-05-10 11:39:50 +05:30
Sudeep Mohanty
c60b70ff8f
Merge branch 'test/test-freertos-smp-yield-behavior' into 'master'
...
freertos: add freertos unit test to verify yielding behavior of the kernel
Closes IDF-3343
See merge request espressif/esp-idf!17903
2022-05-10 13:18:20 +08:00
Mahavir Jain
01855054ab
Merge branch 'bugfix/mbedtls_dynamic_buffer_crash_on_ssl_server' into 'master'
...
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer
Closes IDF-4836
See merge request espressif/esp-idf!17877
2022-05-09 23:07:50 +08:00
Mahavir Jain
1093173382
Merge branch 'bugfix/httpd_queue_work' into 'master'
...
esp_http_server: Update httpd_queue_work() API
Closes IDFGH-6813
See merge request espressif/esp-idf!17809
2022-05-09 21:59:13 +08:00
Li Jingyi
fa3cbf9162
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function
2022-05-09 13:56:20 +00:00
Harshit Malpani
1bb03e17a7
esp_http_server: update httpd_queue_work() API to use semaphore
...
Closes: https://github.com/espressif/esp-idf/issues/8440
2022-05-09 18:00:05 +05:30