Rahul Tank
27b34d60c1
Nimble: Added check to free keypair if already allocated to avoid memory
...
leak. Added an API that allows to free keypair
2022-06-07 13:38:15 +05:30
Kapil Gupta
ed35b6d4fc
Merge branch 'bugfix/supplicant_issues' into 'master'
...
fix some supplicant issues
Closes WIFI-4446 and WIFI-4445
See merge request espressif/esp-idf!18362
2022-06-07 15:49:38 +08:00
Chen Jian Xing
44989a9ea0
Merge branch 'feature/update_phy_lib_c3_s3_20220504' into 'master'
...
esp_phy: optimize phy calibration for C3 and S3
Closes IDFGH-5903
See merge request espressif/esp-idf!18028
2022-06-07 14:19:26 +08:00
Kapil Gupta
ed2bed49c0
wpa_supplicant: Add changes to deinit sta_info correctly
...
Incase sta pointer is not null during station join, deinit of
previous sm causing crash due to incorrect typecast.
Add changes to correct this.
2022-06-07 11:41:53 +05:30
xiongweichao
a2ea4f5bc9
Fix AVDTP general reject format error.
2022-06-07 02:45:46 +00:00
Zim Kalinowski
e6c5badfe2
Merge branch 'bugfix/freertos_smp_disable_scheduler_suspension_tests' into 'master'
...
freertos: Disable scheduler suspension tests for SMP FreeRTOS
Closes IDF-5077
See merge request espressif/esp-idf!18361
2022-06-07 00:25:02 +08:00
Kapil Gupta
28a06d07f7
Corrected hash size for sta_info structure
2022-06-06 16:38:04 +05:30
Michael (XIAO Xufeng)
773715d900
Merge branch 'feature/support_refresh_brownout_v1' into 'master'
...
spi_flash: send reset when brownout detected on XMC flash
Closes IDF-3882
See merge request espressif/esp-idf!16873
2022-06-06 16:27:58 +08:00
Kapil Gupta
e9128b3b5b
wpa_supplicant: Removed ESP32 reference from generic APIs/Code
2022-06-06 11:03:36 +05:30
Kapil Gupta
e60ebc0cbe
Use snprintf instead of sprintf
2022-06-06 11:03:36 +05:30
Kapil Gupta
2aa6853d3e
Remove strcpy/strncpy function callings from supplicant
2022-06-06 11:03:35 +05:30
Kapil Gupta
916a4d6524
Fix coverity reported issues
2022-06-06 11:03:35 +05:30
Kapil Gupta
944690a5e7
Correct condition for not to use pmk caching
2022-06-06 11:03:35 +05:30
Mahavir Jain
3de609800b
Merge branch 'fix/menuconfig_option_esp_cryptoauthlib' into 'master'
...
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib
See merge request espressif/esp-idf!18373
2022-06-06 12:41:05 +08:00
Mahavir Jain
2acab7c783
Merge branch 'feature/c2_rng_support' into 'master'
...
esp32c2: Add support for RNG
Closes IDF-4021
See merge request espressif/esp-idf!18149
2022-06-06 12:38:28 +08:00
Mahavir Jain
89e936f495
Merge branch 'feature/add_option_allow_short_app_partition' into 'master'
...
bootloader: Allows app partition length not 64KB aligned for NO SECURE BOOT
Closes IDF-4984
See merge request espressif/esp-idf!18364
2022-06-06 12:21:12 +08:00
Darian Leung
593fbe0b23
freertos: Disable scheduler suspension tests for SMP FreeRTOS
...
The behavior of vTaskSuspendAll() has changed in SMP FreeRTOS. This commit
disables scheduler suspension related unit tests for SMP FreeRTOS.
The tests will be updated in IDF-5201
2022-06-06 12:15:44 +08:00
Mahavir Jain
51bbee2e19
espcoredump: allow reserving dedicated stack size for Xtensa architecture
...
Core issue with SET_STACK was fixed with e543e97c7b
Related: IDF-2797
2022-06-06 03:24:50 +00:00
Michael (XIAO Xufeng)
e372710b35
test_rtc: remove invalid test case file
2022-06-06 00:36:21 +08:00
Jiang Jiang Jian
b617ccfb4c
Merge branch 'feature/esp32c2_eco1_bluetooth_update_0525_for_MR' into 'master'
...
Support bluetooth for esp32c2 chip
See merge request espressif/esp-idf!18243
2022-06-04 17:35:17 +08:00
Geng Yuchao
cef8c506fd
Synchronously modify the nibmle repo
2022-06-04 12:11:31 +08:00
Geng Yuchao
910b296d72
Add missing configuration items for BLE controller
2022-06-04 11:35:18 +08:00
Aditya Patwardhan
2ea419db22
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib
...
menuconfig option
2022-06-03 23:12:11 +05:30
Jiang Jiang Jian
95fd68a0ab
Merge branch 'bugfix/pm_enabled_bt_build_fail' into 'master'
...
component_bt: Bluetooth build fail when power management is enabled
Closes BT-2372 and IDFGH-7514
See merge request espressif/esp-idf!18331
2022-06-04 01:15:37 +08:00
Geng Yuchao
3ee9ce9d06
Sync nimble repo
2022-06-04 01:00:04 +08:00
Geng Yuchao
8533457208
Add bluetooth controller lib for esp32c2
2022-06-04 01:00:04 +08:00
Geng Yuchao
0722e6a0b7
Update controller lib for esp32h2
2022-06-04 01:00:04 +08:00
Geng Yuchao
5bba3ebed9
Fix esp32h2 controller support.
2022-06-04 00:59:56 +08:00
Geng Yuchao
5c3f0bfe7c
Add esp32c2 controller support.
2022-06-04 00:59:21 +08:00
Michael (XIAO Xufeng)
d798662421
Merge branch 'bugfix/s3_sleep_voltage' into 'master'
...
esp32s3: fixed dangerous power parameters in sleep modes
See merge request espressif/esp-idf!18168
2022-06-04 00:47:32 +08:00
Geng Yuchao
a692abd423
Optimize the Cmake file structure, support esp32c2.
...
Follow Kconfig to update the nimble config macro name.
2022-06-03 22:41:33 +08:00
Geng Yuchao
50b762af1f
Add Bluetooth controller menuconfig option for esp32c2 and esp32h2
2022-06-03 22:41:33 +08:00
Geng Yuchao
02636688eb
Refactor Kconfig options structure
2022-06-03 22:41:20 +08:00
Geng Yuchao
c1505d045c
Add periph_module needed for BT
2022-06-03 21:47:58 +08:00
Geng Yuchao
8012af37d1
Fix soc caps for BT
2022-06-03 21:45:40 +08:00
morris
067e0f65bd
Merge branch 'bugfix/c2_uart_default_pin_num' into 'master'
...
C2: Added default UART pin numbers
See merge request espressif/esp-idf!18351
2022-06-03 20:35:11 +08:00
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
Anton Maklakov
e0d2e186bf
Merge branch 'feature/toolchain_2022r1' into 'master'
...
Bring 2022r1-RC1 toolchains, GCC 11
Closes GCC-180, GCC-178, IDFGH-5559, IDFGH-6180, IDFGH-5101, and IDFGH-4380
See merge request espressif/esp-idf!16797
2022-06-03 16:05:49 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Darian
64947546a3
Merge branch 'feature/freertos_smp_newlib_dynamic_reent' into 'master'
...
freertos: Add support for newlib dynamic reentrancy
Closes IDF-5135
See merge request espressif/esp-idf!18216
2022-06-03 15:21:59 +08:00
David Cermak
c67f4c2b4c
lwip: Remove vanilla-lwip config until it's fully deployable
2022-06-02 20:45:24 +02:00
Ivan Grokhotkov
d34f061bc1
spiffs: update submodule to fix SPIFFS_readdir errno issue
...
See https://github.com/pellepl/spiffs/pull/288 for the description
of the issue.
Reported in https://github.com/esp-rs/rust/issues/117#issuecomment-1142159661
2022-06-02 18:42:48 +02:00
KonstantinKondrashov
b4d14902e7
bootloader: Allows app partition length not 64KB aligned for NO SECURE BOOT
2022-06-02 22:40:12 +08:00
Mu Hai Dong
2905223889
Merge branch 'bugfix/fix_country_policy_issue' into 'master'
...
esp_wifi: fix country policy issue
Closes WIFI-3908, WIFI-4287, and WIFI-4279
See merge request espressif/esp-idf!17366
2022-06-02 20:01:07 +08:00
Anton Maklakov
bc932c646e
Merge branch 'bugfix/dirent-definition' into 'master'
...
newlib: dirent d_ino type fix
See merge request espressif/esp-idf!18336
2022-06-02 19:48:53 +08:00
Jessy Chen
7d25f254b8
esp_phy: optimize phy calibration for C3 and S3
2022-06-02 17:12:45 +08:00
muhaidong
06fb6b2e32
esp_wifi: fix country policy issue
...
1. Fix not update phy according to country code.
2. Update regdomain max channel according to country info from nvs and or AP.
3. Change nvs default country from "CN" to "01".
4. Channel 14 is allowed only 11b mode.
5. Remove csa when switch channel from/to 14 channel.
6. Update phy mode nvs when softap channel from 14 to other.
7. Fix the bug that check whether channel parameter is valid.
Docs: change default country from "CN" to "01"
2022-06-02 16:15:48 +08:00
Darian Leung
d8eb55d83b
freertos: Add newlib dynamic reentrancy support
...
SMP FreeRTOS adds support for dynamic reentrancy in the following commit:
34b8e24d7c
This commit does the following:
- Pulls in the upstream changes
- Move __getreent() to "freertos_tasks_c_additions.h"
- Add the required configNEWLIB_REENTRANT_IS_DYNAMIC to SMP FreeRTOS port
2022-06-02 15:42:02 +08:00
Michael (XIAO Xufeng)
4e231f9dac
ci: partially enable pytest for esp32c2
2022-06-02 15:07:53 +08:00
morris
3247335770
mcpwm: don't support disable carrier first pulse
...
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.
Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
morris
a12936dca9
mcpwm: rename MCPWM_ISR_IN_IRAM to MCPWM_ISR_IRAM_SAFE
2022-06-02 15:01:18 +08:00
morris
f7ff7ac4d0
mcpwm: clean up hal driver and add doc
2022-06-02 15:01:18 +08:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
Sachin Parekh
8ad3f2ba57
esp32c2: Add support for RNG
2022-06-02 11:36:23 +08:00
Jakob Hasse
11a8c95d11
bugfix (esp_system): Added default UART pin numbers for C2
2022-06-02 11:22:20 +08:00
Anton Maklakov
cc309db89d
ci, test: temporary increase IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING and IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING_NO_DMA
2022-06-02 10:15:24 +07:00
Anton Maklakov
c199f910e1
ci, test: temporary increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME limit
2022-06-02 10:15:24 +07:00
Anton Maklakov
b79d0739f4
ci, test: temporary increase IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP limit
2022-06-02 10:15:23 +07:00
Shu Chen
4011c7c578
openthread: update the lib with new toolchain
2022-06-02 10:15:23 +07:00
morris
17a688749a
timer: disable nano printf for gptimer examples
...
because we need to use %llu to print the timer count value, but nano
printf doesn't known that format
2022-06-02 11:08:59 +08:00
morris
4b26a5d340
legacy_timer: fix converting count value into time second
2022-06-02 11:08:59 +08:00
xiongweichao
d888665160
Bluetooth build fail when power management is enabled
...
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-02 10:46:19 +08:00
Cao Sen Miao
6a2d3509dc
spi_flash: Making XMC flash works more stable when brownout detected
2022-06-02 10:38:55 +08:00
Cao Sen Miao
895a3e1bb2
esp_intr: Split RTC interrupt, making some of signals can be triggered with cache disabled
2022-06-02 10:38:55 +08:00
David Cermak
7efcb5e625
lwip: Add missing null-checks, rename to vanilla-lwip
2022-06-01 20:38:40 +02:00
Michael (XIAO Xufeng)
1d018fd3bd
test_rtc: add test_app to test power consumption
2022-06-01 21:03:54 +08:00
chaijie
e624206ca6
modify voltage param to fit all mode of S3
2022-06-01 21:03:54 +08:00
Michael (XIAO Xufeng)
ab69df3ea7
esp32s3: fixed dangerous power parameters in sleep modes
2022-06-01 21:03:54 +08:00
Scott Mabin
c947585ee4
newlib: dirent d_ino type fix
...
As per the posix spec, `d_ino` should be defined as `ino_t`. See the
reference:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html .
2022-06-01 13:49:32 +01:00
David Cermak
00377cf2e5
lwip/ci: Cleanup public header checker ignore list
2022-06-01 14:36:58 +02:00
xiongweichao
a48cb2c5e7
initialize all elements of esp_bt_controller_config_t
...
Closes https://github.com/espressif/esp-idf/pull/9073
2022-06-01 18:10:25 +08:00
Roland Dobai
2d08431433
Merge branch 'bugfix/flash_size_detect' into 'master'
...
Tools: Fix esptool flash size detection arguments
Closes IDFGH-7203
See merge request espressif/esp-idf!18100
2022-06-01 17:46:33 +08:00
Roland Dobai
9c46c98b4c
Tools: Don't add SHA256 digest to images when flash size detection is enabled
2022-06-01 08:57:07 +02:00
Roland Dobai
9bbbb99907
Tools: Fix esptool arguments and use flash size detection if selected
...
Closes https://github.com/espressif/esp-idf/issues/8798
2022-06-01 08:57:07 +02:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Mahavir Jain
8094d874bc
Merge branch 'refactor/tcp_transport' into 'master'
...
tcp_transport: Fix error propagation to higher layers
Closes IDF-1291
See merge request espressif/esp-idf!16394
2022-06-01 13:22:15 +08:00
Konstantin Kondrashov
b824f68b35
Merge branch 'feature/move_dport_workaround_to_g0' into 'master'
...
dport_access: Move DPORT workaround to G0
Closes IDF-2177
See merge request espressif/esp-idf!17961
2022-06-01 12:11:12 +08:00
Ivan Grokhotkov
0c10b937f5
Merge branch 'bugfix/freertos_smp_disable_interrupt_usage' into 'master'
...
FreeRTOS: Replace portSET_INTERRUPT_MASK_FROM_ISR() call for SMP
Closes IDF-5062 and IDF-5066
See merge request espressif/esp-idf!18301
2022-06-01 00:18:26 +08:00
David Cermak
8b40579aa4
lwip: Move wifi's custom pbuf alloc/free to IRAM if config
2022-05-31 16:21:47 +02:00
David Cermak
0e71a325de
lwip/wifi: Improve Rx throughput on the wifi defaults (sta+ap)
2022-05-31 15:23:06 +02:00
Konstantin Kondrashov
f1d3332eea
Merge branch 'bugfix/c3_efuse_fail_bits' into 'master'
...
soc: Fix efuse fail bits
See merge request espressif/esp-idf!18321
2022-05-31 21:11:30 +08:00
KonstantinKondrashov
c5a4ab39a7
soc: Fix description of efuse fail bits
2022-05-31 11:21:24 +00:00
KonstantinKondrashov
0b22839925
hal(ecp32c2): Adds spi_flash_encrypted_ll
2022-05-31 11:12:21 +00:00
KonstantinKondrashov
dd4642b6ba
secure_boot(esp32c2): Fix case when SB key is pre-loaded
2022-05-31 11:12:21 +00:00
KonstantinKondrashov
505e18237a
bootloader: Support Flash Encryption for ESP32-C2
2022-05-31 11:12:21 +00:00
Sudeep Mohanty
8d3eca6a0d
Merge branch 'bugfix/freertos_fix_test_preemption' into 'master'
...
freertos: fix test_preemtion test
See merge request espressif/esp-idf!18318
2022-05-31 18:08:45 +08:00
Laukik Hase
7115881a97
esp_http_client/esp_https_ota: Removed errno checks
...
- Returned -ESP_ERR_HTTP_EAGAIN for timeout errors from
esp_http_client whenever tcp transport layer returns
connection timeout
- Removed redundant conditional statements as required
Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2022-05-31 15:04:21 +05:30
Laukik Hase
cc7c67ad4e
tcp_transport: Fix error propogation
...
- Made tcp_transport_errors codes public to indicate
TCP connection issues not covered in socket's errno
- Added API to translate tcp_transport_error codes
to esp_err_t codes for TCP Transport
Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2022-05-31 15:04:21 +05:30
Anton Maklakov
25cee26784
Merge branch 'bugfix/storage-warnings' into 'master'
...
nvs: minor warning fixes
See merge request espressif/esp-idf!18313
2022-05-31 13:46:13 +08:00
KonstantinKondrashov
ac4c7d99fe
dport: Move DPORT workaround to G0
2022-05-31 13:44:18 +08:00
Anton Maklakov
5751ecbbe9
Merge branch 'bugfix/bootloader_warnings' into 'master'
...
bootloader: minor fixes of warnings
See merge request espressif/esp-idf!18307
2022-05-31 13:36:01 +08:00
Anton Maklakov
d1aa08eefb
Merge branch 'bugfix/periph-warnings' into 'master'
...
peripherals: minor warning fixes
See merge request espressif/esp-idf!18312
2022-05-31 13:32:55 +08:00
Anton Maklakov
b965264e68
Merge branch 'bugfix/coredump_warnings' into 'master'
...
coredump: minor fixes of warnings
See merge request espressif/esp-idf!18306
2022-05-31 11:43:51 +08:00
Anton Maklakov
620ceb8638
Merge branch 'bugfix/efuse_supress_warnings' into 'master'
...
efuse: suppress -Wstringop-overflow warnings
See merge request espressif/esp-idf!18258
2022-05-31 11:14:32 +08:00
Anton Maklakov
c0c4548453
Merge branch 'bugfix/ulp_warnings' into 'master'
...
ulp: minor fixes of warnings
See merge request espressif/esp-idf!18309
2022-05-31 11:06:18 +08:00
Jakob Hasse
97c149f73d
Merge branch 'refactor/nvs_iterator_api' into 'master'
...
NVS: New interface for iterator functions
Closes IDFGH-6149
See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Ivan Grokhotkov
79659e3096
sdmmc: better calculation of erase timeout
...
Previous version of the code used a fixed constant (500 ms) for the
erase timeout and added 1 ms for each sector erased.
This commit improves timeouts calculation:
- For SD cards, check if erase timeout information is present in the
SSR register. If yes, use it for erase timeout calculation.
Otherwise assume 250ms per erase block, same as Linux does.
- For eMMC assume 250ms per erase block (but no less than 1 second).
This has to be improved later to use the erase timeout info in the
extended CSD register.
2022-05-30 15:39:02 +02:00
Ivan Grokhotkov
a28828a6f4
fatfs: re-enable TRIM support for SPI mode
...
Previously this didn't work because MMC_ERASE implementation for SPI
didn't wait for the busy status indication.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
36e3043306
sdmmc: check card status in SPI mode after sdmmc_erase_sectors
...
Same as for write operation, some errors are reported only via CMD13.
Without the R1b response support in sdspi driver, this check would
fail. Now that R1b support is implemented, erase command response is
zero (success) on all cards under test.
Also remove the now-unnecessary card reset after erase in the test
case.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
3ad98984e9
driver: sdspi: add support for R1b response
...
Same as R1 but with busy indication polling
2022-05-30 15:39:01 +02:00
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