Marius Vikhammer
08c4984773
Merge branch 'bugfix/s3_psram_spinlock' into 'master'
...
spinlock: fixed spinlocks not working on S3 if placed in PSRAM
Closes IDF-5169, IDFGH-7560, and IDF-5007
See merge request espressif/esp-idf!18425
2022-06-09 13:02:18 +08:00
Laukik Hase
872f8513fb
ci: Re-enable protocomm UTs for ESP32-C2
2022-06-09 09:55:09 +05:30
morris
6eb450fa87
newlib: ROM library is build with time_t 64bit on esp32c2
2022-06-09 10:48:31 +08:00
wuzhenghui
89319cd72f
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers for esp32h2-beta2
2022-06-09 10:40:09 +08:00
Marius Vikhammer
c8c2e78096
Merge branch 'bugfix/s3_sleep_voltage_enable_ulp' into 'master'
...
ulp: re-enable support, example and CI jobs for S2 and S3
Closes IDF-4514, IDFGH-7075, and IDFGH-7531
See merge request espressif/esp-idf!18308
2022-06-09 10:20:25 +08:00
Li Jingyi
21d65931fc
tcp_transport: add websocket dynamic buffer feature
...
Free websocket transport buffer when connection succeed to save peak heap cost about WS_BUFFER_SIZE.
2022-06-08 19:13:25 +00:00
Anton Maklakov
da3fa37d66
ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit
2022-06-08 19:51:06 +07:00
Cao Sen Miao
6589daabb9
MMU: Add configurable mmu page size support on ESP32C2
2022-06-08 19:34:31 +08:00
Anton Maklakov
a343ab813c
spiffs, tests: increase stack size for a test
2022-06-08 17:07:53 +07:00
Marius Vikhammer
6e79cc69f9
re-enable riscv ulp gpio support and examples
...
Closes https://github.com/espressif/esp-idf/issues/8691
Closes https://github.com/espressif/esp-idf/issues/9094
2022-06-08 17:59:28 +08:00
Marius Vikhammer
9c4a12b11e
Revert "ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V"
...
This reverts commit f709faea7c
.
2022-06-08 17:59:07 +08:00
Anton Maklakov
763deaea3c
freertos, tests: increase stack size for a test
2022-06-08 16:45:31 +07:00
Zim Kalinowski
20bbfa128c
Merge branch 'bugfix/freertos_smp_gcc11_build_errors' into 'master'
...
freertos: Fix GCC 11 SMP FreeRTOS build errors
See merge request espressif/esp-idf!18399
2022-06-08 16:29:58 +08:00
yuanjm
b9b1a7aba8
fix(websocket): Support handler deal with PING and CLOSE frame
...
Closes https://github.com/espressif/esp-idf/issues/8803
2022-06-08 16:16:57 +08:00
Marius Vikhammer
486316f222
spinlock: fixed spinlocks not working on S3 if placed in PSRAM
...
The compare and set instruction (S32C1I) cannot be used when
lock is not in internal memory.
Closes https://github.com/espressif/esp-idf/issues/9120
2022-06-08 14:31:16 +08:00
Fu Hanxi
da947e2544
Merge branch 'test/remove_rtc_power_pytest' into 'master'
...
test_rtc: remove invalid test case file
See merge request espressif/esp-idf!18374
2022-06-07 23:56:28 +08:00
Kapil Gupta
bb23d783c0
Merge branch 'bugfix/sta_rejoin_softap_mode_issue' into 'master'
...
wpa_supplicant: Add changes to deinit sta_info correctly
Closes WIFI-4441
See merge request espressif/esp-idf!18395
2022-06-07 21:47:14 +08:00
Wang Meng Yang
e2bc3f865e
Merge branch 'bugfix/uninitialized-element' into 'master'
...
component_bt:initialize all elements of esp_bt_controller_config_t
Closes IDFGH-7506
See merge request espressif/esp-idf!18343
2022-06-07 17:24:39 +08:00
Darian Leung
3c6185788f
freertos: Fix GCC 11 SMP FreeRTOS build errors
...
This commit fixes the following build errors in SMP FreeRTOS when building with GCC 11:
- "-Wattributes" warning due to conflicting attributes on xPortInterruptedFromISRContext()
- "-Wtype-limits" warning due to taskVALID_CORE_ID() not casting xCoreID
2022-06-07 16:33:22 +08:00
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
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
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