Michael (XIAO Xufeng)
ae6c52e9f9
Merge branch 'bugfix/fix_memory_miss_bug_v4.4' into 'release/v4.4'
...
esp32c3/esp32s3: Fix cpu crash bug when wakeup from lightsleep for memory data miss (backport v4.4)
See merge request espressif/esp-idf!17826
2022-05-19 13:47:20 +08:00
Jiang Jiang Jian
5d95cd58b2
Merge branch 'bugfix/fix_wifi_pm_state_v4.4' into 'release/v4.4'
...
esp_wifi: fix no null data after WiFi waking up. (backport v4.4)
See merge request espressif/esp-idf!18142
2022-05-19 10:51:59 +08:00
Jiang Jiang Jian
416d01db7a
Merge branch 'bugfix/wifi_provisioning_arduino_v4.4' into 'release/v4.4'
...
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h (v4.4)
See merge request espressif/esp-idf!18162
2022-05-19 10:45:38 +08:00
Jiang Jiang Jian
9ce3973f19
Merge branch 'bugfix/errno_overlap_v4.4' into 'release/v4.4'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value (v4.4)
See merge request espressif/esp-idf!18164
2022-05-19 10:44:12 +08:00
Li Jingyi
81c195fed2
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function
2022-05-19 10:41:40 +08:00
Jiang Jiang Jian
c5deb7a971
Merge branch 'bugfix/disable_bt_pll_track_v4.4' into 'release/v4.4'
...
Bluetooth: disable PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues(bacport v4.4)
See merge request espressif/esp-idf!18139
2022-05-19 10:41:27 +08:00
Jiang Jiang Jian
74dd39d8b0
Merge branch 'bugfix/Fix_ios_ble_adv_rsp_v4.4' into 'release/v4.4'
...
Fix iOS advertisement response and simplify (v4.4)
See merge request espressif/esp-idf!18038
2022-05-19 10:40:57 +08:00
Jiang Jiang Jian
7a72f8e852
Merge branch 'bugfix/driver_uart_fix_tx_bytes_rts_assert_failure_v44' into 'release/v4.4'
...
driver: fixes context switch while sending cause rts reset before send (backport v4.4)
See merge request espressif/esp-idf!17929
2022-05-19 10:40:34 +08:00
Alex Lisitsyn
6bf650c159
driver: fixes context switch while sending cause rts reset before send (backport v4.4)
2022-05-19 10:40:34 +08:00
Jiang Jiang Jian
0bbdd67231
Merge branch 'bugfix/fix_s3_bbpll_calibrate_fail_bug_v4.4' into 'release/v4.4'
...
ESP32S3: fix bbpll calibrate fail bug in high temperature (backport v4.4)
See merge request espressif/esp-idf!17896
2022-05-19 10:39:52 +08:00
Jiang Jiang Jian
6382b51bfb
Merge branch 'feature/check_block_after_burn_v4.4' into 'release/v4.4'
...
efuse: Validates data after burning and re-burnes it if necessary (v4.4)
See merge request espressif/esp-idf!17702
2022-05-19 10:39:17 +08:00
Jiang Jiang Jian
80c516e6ad
Merge branch 'bugfix/vfs_fat_(p)write_on_diskfull_v4.4' into 'release/v4.4'
...
vfs: bugfix vfs_fat_write/pwrite upon disk-full (v4.4)
See merge request espressif/esp-idf!17649
2022-05-19 10:39:01 +08:00
Ivan Grokhotkov
b02cf33bfa
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-05-18 19:52:15 +02:00
Rodrigo Garcia
9359c61fea
provisioning: Fix include for Arduino INADDR_NONE
2022-05-18 19:44:05 +02:00
Ivan Grokhotkov
134b5153e3
newlib: fix return value of no-VFS _read_r if nothing received
...
'read' function should return 0 when encountering an end of file. When
newlib calls read and sees EOF returned, it assumes that this
condition is permanent and never calls 'read' for this file again
(unless the read pointer is moved using fseek).
The correct behavior in case no characters were received over UART is
to return -1. In this case newlib will retry reading from file on next
call to fread, fgetc or another function which calls __srefill_r.
2022-05-18 19:33:10 +02:00
chaijie
d222adbeeb
solve memory error bug when in lightsleep mode
2022-05-18 17:43:13 +08:00
liuning
d6f51a5cab
esp_wifi: fix no null data after WiFi waking up (backport v4.4).
2022-05-17 23:12:33 +08:00
Karl Wang
5c24b7f75f
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:54:51 +08:00
Cao Sen Miao
04f7c342f0
I2C: patch for solving watchdog timeout issue
2022-05-17 16:36:40 +08:00
Michael (XIAO Xufeng)
4efab0d0ff
soc/esp32s3: merge gpio caps into soc_caps.h
2022-05-16 22:01:11 +08:00
Gustavo Henrique Nihei
477d11e9c1
bootloader: Create option for enabling memory region protection
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-16 09:39:51 -03:00
yuanjm
a706a482c6
feat(wifi_provisioning): Optimize memory for wifi scan ap number
2022-05-16 14:07:19 +08:00
Michael (XIAO Xufeng)
e119d6cb06
pm: add powerdown for int_8m on ESP32-H2
...
Also move the xtal fpu logic to sleep_modes.c
2022-05-16 00:59:36 +08:00
Omar Chebib
caa5444c93
RISC-V: Fix vectors.S assembly file indentation and macro usage
...
The file is now more consistent as the macros have been fixed, more comments
have been added and the indentation is now using spaces only.
2022-05-13 12:54:21 +03:00
Alexey Gerenkov
9017ff235b
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-05-13 12:54:21 +03:00
Alexey Gerenkov
46a98fb8d1
riscv: Adds support for returning from exception handler
2022-05-13 12:52:06 +03:00
Alexey Gerenkov
300d67411a
riscv: Fixes GDB backtrace end function to point to prvTaskExitError
2022-05-13 12:52:06 +03:00
Alexey Gerenkov
44bfddd784
riscv: Fixes GDB backtrace of interrupted threads
...
Save missed SP value on stack
2022-05-13 12:52:06 +03:00
Jiang Jiang Jian
80ea94dd36
Merge branch 'bufix/esp32c3_s3_build_err_v4.4' into 'release/v4.4'
...
component_bt: Fix ESP32C3/S3 build error after enable light sleep(v4.4)
See merge request espressif/esp-idf!17995
2022-05-13 15:39:38 +08:00
Zim Kalinowski
832c199c25
Merge branch 'bugfix/fix_heap_free_memory_v4.4' into 'release/v4.4'
...
Heap: fix free bytes calculation for TLSF heap (backport v4.4)
See merge request espressif/esp-idf!17688
2022-05-12 16:20:32 +08:00
Michael (XIAO Xufeng)
17b9cc6b4a
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-12 15:57:09 +08:00
Omar Chebib
18fb3d60b8
Apply 1 suggestion(s) to 1 file(s)
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
06aeeff54e
efuse: fix
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
8c063a326e
efuse: Fix 3/4 coding scheme UTs
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
ce148dd7b8
efuse: Improve messages during burn operation
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
24af86071d
efuse: Burn func can return an error
...
esp_efuse_utility_burn_chip()
2022-05-12 07:49:28 +00:00
KonstantinKondrashov
114608142a
efuse: Validates data after burning and re-burnes it if necessary
...
It checks the content of the written data and encoding errors.
2022-05-12 07:49:28 +00:00
morris
009e66e625
Merge branch 'feature/esp_lcd_read_i2c_v4.4' into 'release/v4.4'
...
Feature/esp lcd read i2c (backport v4.4)
See merge request espressif/esp-idf!18066
2022-05-11 22:33:41 +08:00
Zim Kalinowski
9f2d407105
Merge branch 'bugfix/i2c_too_short_panics_v4.4' into 'release/v4.4'
...
I2C: Read transactions, without a STOP, won't panic anymore (backport v4.4)
See merge request espressif/esp-idf!17954
2022-05-11 14:04:46 +08:00
David Cermak
0bd2c55413
mdns: Fix potential read behind parsed packet
2022-05-10 16:45:43 +02:00
David Cermak
d6ad597b0f
mdns: Fix memleak when adding delegated host
2022-05-10 16:45:43 +02:00
David Cermak
c8874b0d85
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
2022-05-10 16:45:43 +02:00
Vilem Zavodny
c9b0be6ef7
esp_lcd: Add support for rx_param on I2C transport.
...
(cherry picked from commit 4a2766d906
)
2022-05-10 15:03:53 +02:00
lorenzo.consolaro
c9d5c14451
Fix iOS advertisement response and simplify
2022-05-09 10:09:06 +05:30
Cao Sen Miao
ea4b3fdfe5
spi_flash: refact that flash qio can be overidable
2022-05-09 11:08:53 +08:00
morris
f33720a263
rmt_legacy: fix undetermined idle level
...
Closes https://github.com/espressif/esp-idf/issues/8864
2022-05-08 07:20:30 +00:00
Michael (XIAO Xufeng)
4222e93351
Merge branch 'flash/opi_12345G_support_v4.4' into 'release/v4.4'
...
opi_flash: Add new 16MB opi flash (MX25UW12345G) support.(backport v4.4)
See merge request espressif/esp-idf!17782
2022-05-08 12:23:18 +08:00
laokaiyao
cdaa440d98
i2s: fix only right case v4.4
2022-05-07 13:43:01 +00:00
xiongweichao
39c63420ba
Fix ESP32C3/S3 build error after enable light sleep
2022-05-07 06:19:33 +00:00
Jiang Jiang Jian
123288c1c6
Merge branch 'bugfix/default_ssid_not_set_v4.4' into 'release/v4.4'
...
esp_wifi: Fix for default ap ssid not set.(v4.4)
See merge request espressif/esp-idf!18005
2022-05-07 12:36:41 +08:00
Jiang Jiang Jian
d72ba54138
Merge branch 'bugfix/fix_websocket_server_v4.4' into 'release/v4.4'
...
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame (backport v4.4)
See merge request espressif/esp-idf!18018
2022-05-07 10:17:59 +08:00
morris
97caa51152
Merge branch 'bugfix/spi_slave_intr_iram_v4.4' into 'release/v4.4'
...
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is (v4.4)
See merge request espressif/esp-idf!17831
2022-05-06 22:23:13 +08:00
yuanjm
e759fa4697
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame
2022-05-06 17:55:14 +08:00
aditi_lonkar
88f79ca9ca
esp_wifi: Fix for default ap ssid not set.
...
Closes https://github.com/espressif/esp-idf/issues/8744
2022-05-05 14:04:49 +05:30
Ivan Grokhotkov
a6a245f75f
Merge branch 'feature/ftruncate_vfs_fatfs_support_v4.4' into 'release/v4.4'
...
fatfs: Implement ftruncate function in VFS and FAT VFS (v4.4)
See merge request espressif/esp-idf!17864
2022-05-04 08:14:46 +08:00
Ivan Grokhotkov
a615fccd01
Merge branch 'bugfix/spiffs_check_part_alignment_v4.4' into 'release/v4.4'
...
spiffs: add init checks for partition alignment and data types (v4.4)
See merge request espressif/esp-idf!17835
2022-05-03 17:01:50 +08:00
Jiang Jiang Jian
b6f4629e11
Merge branch 'bugfix/_rtc_slow_length_incorrectly_optimized_backport_v4.4' into 'release/v4.4'
...
sleep_power_domain: fix _rtc_slow_length being incorrectly optimized by compiler(backport v4.4)
See merge request espressif/esp-idf!17974
2022-05-03 15:04:09 +08:00
Vamshi Gajjela
ebb9cc3670
fatfs: Add ftruncate api support for VFS and FAT-VFS
...
Unit test cases added to verify ftruncate within fatfs tests.
Closes https://github.com/espressif/esp-idf/issues/8279
2022-05-02 04:37:56 +00:00
jingli
a2f141807f
fix rtc mem load err(since the voltage of rtc regulator is too low)
2022-05-01 23:29:12 +08:00
jingli
74399f5b44
fix _rtc_slow_length being incorrectly optimized by compiler
2022-05-01 23:14:18 +08:00
Jiang Jiang Jian
8efd164e7f
Merge branch 'bugfix/fix_esp32c3_brownout_bug_after_deepsleep_v4.4' into 'release/v4.4'
...
rtc: fix c3 brownout bug after deepsleep (backport v4.4)
See merge request espressif/esp-idf!17957
2022-05-01 17:29:33 +08:00
David Čermák
8c8f700c1d
Merge branch 'update/mqtt_refs_v4.4' into 'release/v4.4'
...
mqtt: Fix sending log data; dup flag after queue (v4.4)
See merge request espressif/esp-idf!17402
2022-04-28 22:45:59 +08:00
chaijie
fe83802d65
fix c3 brownout bug after deepsleep
2022-04-28 18:23:28 +08:00
Jiang Jiang Jian
dcc77b0bed
Merge branch 'bugfix/idle_task_skipped_light_sleep_backport_v4.4' into 'release/v4.4'
...
pm_impl: fix neither enter light sleep nor enter waiti state in idle task(backport v4.4)
See merge request espressif/esp-idf!17837
2022-04-28 16:12:23 +08:00
David Cermak
198dfc92dd
mqtt: Fix sending log data; dup flag after queue
...
* Fix sending mqtt message longer than Tx buffer size
* Fix enqueue API to send data with correct dup flag
* Update submodule: git log --oneline b86d42c130ac64a916ce6cf299d99f9756692394..985078affa8a2d2b56b87c8e6455252850f895c6
Detailed description of the changes:
* Isolate IDF env for v4.4 and v5.0(master)
- See merge request espressif/esp-mqtt!111
- ci: Isolate IDF env for v4.4 and v5.0(master) (espressif/esp-mqtt@4c5a65c )
* Client: Remove usage of legacy FreeRTOS types
- See merge request espressif/esp-mqtt!120
- ci: Fix build issues with IDF-4.4 against master (espressif/esp-mqtt@c28a56d )
- See commit https://github.com/espressif/esp-mqtt/commit/6ef98d6
* mqtt_client: Fix mqtt send long data error
- See merge request espressif/esp-mqtt!117
- Closes https://github.com/espressif/esp-mqtt/issues/214
- See commit https://github.com/espressif/esp-mqtt/commit/372b323
* Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1
- See merge request espressif/esp-mqtt!116
- See commit https://github.com/espressif/esp-mqtt/commit/df8dc92
2022-04-28 07:55:25 +00:00
Omar Chebib
0da60f7b83
I2C: Read transactions, without a STOP, won't panic anymore
...
* Closes https://github.com/espressif/esp-idf/issues/8548
2022-04-28 14:05:22 +08:00
Omar Chebib
751c546a68
Heap: fix typos in test and component
2022-04-28 05:59:31 +00:00
Omar Chebib
bf8fd5f42c
Heap: fix free bytes calculation for TLSF heap
...
* Closes https://github.com/espressif/esp-idf/issues/8270
2022-04-28 05:59:31 +00:00
Michael (XIAO Xufeng)
4178cdaa4f
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio_v4.4' into 'release/v4.4'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro (backport v4.4)
See merge request espressif/esp-idf!17807
2022-04-28 11:19:20 +08:00
Jiang Jiang Jian
4fedbdd264
Merge branch 'bugfix/spp_crash_after_call_spp_deinit_v4.4' into 'release/v4.4'
...
Component_bt/Fix spp crash after call esp_spp_deinit(v4.4)
See merge request espressif/esp-idf!17930
2022-04-28 01:26:06 +08:00
Jiang Jiang Jian
9ae38aa873
Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.4' into 'release/v4.4'
...
component_bt: Fix CI failure when disable bluetooth debug log(v4.4)
See merge request espressif/esp-idf!17899
2022-04-27 18:20:41 +08:00
Jiang Jiang Jian
ef7ce17dbd
Merge branch 'bugfix/fix_build_warring_v4.4' into 'release/v4.4'
...
esp_phy: fix build warning(v4.4)
See merge request espressif/esp-idf!17840
2022-04-27 18:19:27 +08:00
xiongweichao
6232753804
Fix spp initialization failure without free mutex
2022-04-27 14:19:59 +08:00
xiongweichao
eb8a4d3423
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:19:50 +08:00
Krzysztof Lewandowski
e0d6398a99
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-26 22:50:40 -04:00
Island
c41208550a
Merge branch 'bugfix/oversized_SegN_as_valid_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Bugfix for oversized SegN as valid(v4.4)
See merge request espressif/esp-idf!17772
2022-04-26 20:11:35 +08:00
Jiang Jiang Jian
75e50e97f8
Merge branch 'bugfix/scan_mixed_keymgmt_issue_v4.4' into 'release/v4.4'
...
Combined fix for scan issue and PMF disable API (Backport v4.4)
See merge request espressif/esp-idf!17743
2022-04-26 19:24:12 +08:00
Jessy Chen
e57697aef2
esp_phy: fix tx power limit for esp32s2/s3/c3
2022-04-26 03:36:47 -04:00
Jessy Chen
e97720131d
esp_phy: fix build warning
2022-04-26 03:36:47 -04:00
Jiang Jiang Jian
36823b45cc
Merge branch 'bugfix/rrm_dpp_task_delete_v4.4' into 'release/v4.4'
...
wpa_supplicant: backport WLAN fixes (release v4.4)
See merge request espressif/esp-idf!17655
2022-04-26 12:38:04 +08:00
xiongweichao
1ce01c6f76
Fix CI failure when disable bluetooth debug log
2022-04-26 11:28:01 +08:00
chaijie
a86cad6afe
fix s3 bbpll calibrate fail bug in high temperature
2022-04-25 18:21:10 +08:00
wangjialiang
7a34692e6f
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:49:50 +08:00
Michael (XIAO Xufeng)
69a3bdacb0
Merge branch 'bugfix/adc2_cal_assert_arbiter_failed_v4.4' into 'release/v4.4'
...
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration (v4.4)
See merge request espressif/esp-idf!17586
2022-04-25 10:14:12 +08:00
morris
3419823c46
Merge branch 'bugfix/add_spinlock_for_dma_channel' into 'release/v4.4'
...
gdma: add spin lock for gdma channel (v4.4)
See merge request espressif/esp-idf!17855
2022-04-24 18:16:58 +08:00
Michael (XIAO Xufeng)
127d187743
Merge branch 'bugfix/i2c_iram_placement_fix_v4.4' into 'release/v4.4'
...
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset (backport v4.4)
See merge request espressif/esp-idf!17808
2022-04-21 18:28:59 +08:00
morris
5e49369a2c
lcd: spi lcd support transmit lsb first
...
Closes https://github.com/espressif/esp-idf/issues/8790
2022-04-21 10:11:20 +00:00
morris
2f1393ad53
gdma: add spin lock for gdma channel
...
... because we allow several control functions to be runable under ISR
context
2022-04-21 10:11:20 +00:00
Michael (XIAO Xufeng)
7071506033
Merge branch 'feature/esp32c3_eco4_v4.4' into 'release/v4.4'
...
esp32c3: Adds ECO4 revision (v4.4)
See merge request espressif/esp-idf!17717
2022-04-21 18:06:41 +08:00
Michael (XIAO Xufeng)
86b39a5042
Merge branch 'bugfix/spi_free_crash_uninitialized_v4.4' into 'release/v4.4'
...
spi: fixed crash when calling spi_bus_free when not initialized (v4.4)
See merge request espressif/esp-idf!17608
2022-04-21 15:47:13 +08:00
Omar Chebib
e365f0782e
UART: Fix custom ISR registration function
...
* Closes https://github.com/espressif/esp-idf/issues/8491
2022-04-21 03:05:01 +00:00
Jiang Jiang Jian
7bf3277692
Merge branch 'update/c3_s3_phy_lib_20220419_v4.4' into 'release/v4.4'
...
Update esp c3/s3 phy lib aa05aec (backport v4.4)
See merge request espressif/esp-idf!17815
2022-04-21 11:01:00 +08:00
Ivan Grokhotkov
be2bd983f4
Merge branch 'feature/vfs_semihosting_c3_v4.4' into 'release/v4.4'
...
vfs: add support for semihosting on ESP32-C3 (v4.4)
See merge request espressif/esp-idf!17527
2022-04-21 04:43:02 +08:00
Martin Vychodil
fccd450304
fatfs: Fix putc_bfd compilation warning
...
Fixed FatFs\ff.c: warning: argument of type "TCHAR **" is incompatible with parameter of type "const TCHAR **"
Closes https://github.com/espressif/esp-idf/issues/5870
2022-04-20 16:38:28 +00:00
gaoxiaojie
784b46be11
pm_impl: fix neither enter light sleep nor enter waiti state in idle task
2022-04-20 19:37:46 +08:00
Ivan Grokhotkov
6eeaf50da8
spiffs: add init checks for partition alignment and data types
...
Closes https://github.com/espressif/esp-idf/issues/8593
2022-04-20 12:53:30 +02:00
Ivan Grokhotkov
43f929de4d
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
...
Closes https://github.com/espressif/esp-idf/issues/3870
2022-04-20 12:49:49 +02:00
Ivan Grokhotkov
c0b97b6749
console: linenoise: fix usage of an uninitialized buffer
...
Reported in https://github.com/espressif/esp-idf/issues/6440
The issue could occur if esp_console_config_t::hint_color
was set to -1.
2022-04-20 16:03:09 +05:30
Ivan Grokhotkov
38a16e05d9
console: disable colored hints if CONFIG_LOG_COLORS is not set
2022-04-20 16:03:08 +05:30
Kapil Gupta
2231a3bcbe
wpa_supplicant: Remove scan done event in task
2022-04-20 10:08:45 +00:00
Kapil Gupta
fee9509d5d
wpa_supplicant: static analysis fixes
2022-04-20 10:08:45 +00:00
Kapil Gupta
f6da49c3c9
wpa_supplicant: Add BTM security checks
2022-04-20 10:08:45 +00:00
Kapil Gupta
bac4173161
esp_example: Enable MbedTLS for DPP enrollee by default
2022-04-20 10:08:45 +00:00
Kapil Gupta
6e826523b1
wpa_supplicant: Correct task deletion for RRM and DPP tasks
...
Closes https://github.com/espressif/esp-idf/issues/7409
2022-04-20 10:08:45 +00:00
KonstantinKondrashov
73164b87ae
esp32c3: Adds ECO4 revision
2022-04-20 08:40:56 +00:00
Ivan Grokhotkov
7c740c38cd
Merge branch 'feature/flash_size_gt_16mb_pr_v4.4' into 'release/v4.4'
...
add support for Flash 32MB..128MB (S2, S3) (Github PR + fixups) (v4.4)
See merge request espressif/esp-idf!17423
2022-04-20 13:26:10 +08:00
Wang Meng Yang
70adf8f631
Merge branch 'bugfix/fix_spp_initiator_connect_failed_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed[backport 4.4]
See merge request espressif/esp-idf!17744
2022-04-20 11:01:30 +08:00
Ivan Grokhotkov
01d950feea
Merge branch 'bugfix/sdspi_example_esp32s3_v4.4' into 'release/v4.4'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins (v4.4)
See merge request espressif/esp-idf!17420
2022-04-20 06:11:48 +08:00
Mahavir Jain
438834b150
Merge branch 'contrib/github_pr_8564_v4.4' into 'release/v4.4'
...
Fix nested redirect (GitHub PR) (v4.4)
See merge request espressif/esp-idf!17734
2022-04-19 23:36:22 +08:00
morris
213da04fcd
Merge branch 'bugfix/esp_lcd_improvements_v4.4' into 'release/v4.4'
...
bunch of esp lcd improvements (v4.4)
See merge request espressif/esp-idf!17555
2022-04-19 22:39:10 +08:00
Ivan Grokhotkov
6e9414206a
partition_table: add a test for total partition size error
2022-04-19 14:00:11 +00:00
rudi ;-)
04959af635
add support for Flash 32MB..128MB (S2, S3)
...
ESP32-S2 and ESP32-S3
supports up to 1 GB of external flash and RAM
add support for
- 32MB
- 64MB
- 128MB ( example NOR spiFLASH 1G-BIT W25Q01JVZEIQ Winbond 0xEF 0x40 0x21 )
Merges https://github.com/espressif/esp-idf/pull/7688
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-04-19 14:00:11 +00:00
Ivan Grokhotkov
c9db320410
xtensa: fix semihosting arguments potentially begin optimized out
...
The compiler was not informed that the assembly block should be
treated as a memory barrier and could optimize out the initialization
of local arrays which could be used as semihosting arguments.
This resulted in garbage values being passed as semihosting call
arguments.
Additionally this commit changes the approach for placing values into
specific register. Instead of clobbers, local register variables are
used. This results in simpler generated code, since the compiler is
able to place values directly into the registers used for semihosting
arguments, avoiding additional moves.
2022-04-19 13:55:36 +00:00
Ivan Grokhotkov
ad532236ae
vfs: add support for semihosting on ESP32-C3
2022-04-19 13:55:36 +00:00
Roland Dobai
76037c66d8
Merge branch 'bugfix/s3_otg_compressed_flash_with_stub_v4.4' into 'release/v4.4'
...
esptool_py: Support ESP32-S3 USB OTG compressed flashing with stub (v4.4)
See merge request espressif/esp-idf!17780
2022-04-19 21:45:21 +08:00
morris
3e262942fb
esp_lcd: remove lvgl v7 port in test cases
...
LVGL porting examples are temporarily left in test folder.
Now we can remove it, as we have lvgl examples in esp-idf.
And lvgl v7 is legacy, we recommend to use lvgl v8
2022-04-19 13:01:13 +00:00
morris
d23c3fb314
gdma: correct the iram placement logic
2022-04-19 13:01:13 +00:00
morris
5f28db177d
i80_lcd: support PSRAM buffer for esp32s3
2022-04-19 13:01:13 +00:00
morris
3e7448d0f3
i80_lcd: support I2S1 LCD mode for esp32
2022-04-19 13:01:13 +00:00
rrforte
862ccae396
spi_lcd: support large color transfer
2022-04-19 13:01:13 +00:00
morris
ab3d75ab75
rgb_lcd: workaround auto-next frame bug
...
Closes https://github.com/espressif/esp-idf/issues/8620
2022-04-19 13:01:13 +00:00
xiewenxiang
c7ee618b25
Update esp c3/s3 phy lib (aa05aec)
2022-04-19 20:17:21 +08:00
Wang Meng Yang
d54df43d4c
Merge branch 'bugfix/bt_add_some_debug_log_v4.4' into 'release/v4.4'
...
component_bt: Add some bluetooth debug log(v4.4)
See merge request espressif/esp-idf!17614
2022-04-19 20:12:00 +08:00
liqigan
4a88aed12b
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-19 20:06:32 +08:00
liqigan
3897d12024
fix SPP initiator can not free resource when connection is failed
2022-04-19 20:06:32 +08:00
Ivan Grokhotkov
2d54f4584e
driver: sdspi: set default DMA channel compatible with S3, C3 or later
2022-04-19 13:46:37 +02:00
Mahavir Jain
792eb70334
Merge branch 'https_server/min_cert_auth_mode_v4.4' into 'release/v4.4'
...
https_server: Add config option to set minimum certificate auth mode (v4.4)
See merge request espressif/esp-idf!17796
2022-04-19 16:26:22 +08:00
Mahavir Jain
2afe86be7f
Merge branch 'bugfix/http_code_v4.4' into 'release/v4.4'
...
esp_http_client, esp_https_ota: Handle HTTP 303 status code (v4.4)
See merge request espressif/esp-idf!17732
2022-04-19 16:24:20 +08:00
Wang Meng Yang
1861ca5700
Merge branch 'bugfix/wifi_prov_mgr_conn_issue_v4.4' into 'release/v4.4'
...
Wifi_prov_mgr: Fix for device disconnection after pairing (v4.4)
See merge request espressif/esp-idf!17618
2022-04-19 15:47:12 +08:00
David Čermák
677a01851f
Merge branch 'bugfix/security_update_pppos_crash_v4.4' into 'release/v4.4'
...
lw-ip: Apply security fixes from upstream; Fix PPPoS and NAPT ip-forward (v4.4)
See merge request espressif/esp-idf!17419
2022-04-19 15:45:31 +08:00
Shubham Kulkarni
3529b9450e
esp_http_client: Add comment for clearing location field in esp_http_client_prepare
2022-04-19 07:34:33 +00:00
Nicklas Frahm
9a7d85c09b
esp_http_client: fix redirect by resetting location before parsing
...
Closes #8563 .
Signed-off-by: Nicklas Frahm <nicklas.frahm@gmail.com>
2022-04-19 07:34:33 +00:00
songruojing
00229547b2
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset
...
Closes https://github.com/espressif/esp-idf/issues/8422
(cherry picked from commit 1ceb7c8cd6
)
2022-04-18 22:24:47 +08:00
songruo
25668f96e4
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
...
Closes https://github.com/espressif/esp-idf/issues/8733
(cherry picked from commit 0d52cb04dc
)
2022-04-18 22:18:17 +08:00
Laukik Hase
c1bb9032c2
https_server: Add config option to min. cert. auth mode
...
- Added a config option to set the minimum Certificate Verification
mode to Optional
- When this option is enabled, the peer (the client) certificate
is checked by the server, however the handshake continues even if
verification failed.
- By default, the peer certificate is not checked and ignored by the server.
Closes https://github.com/espressif/esp-idf/issues/8664
2022-04-18 11:10:14 +05:30
xiongweichao
3e494ec5fd
Add some bluetooth debug log
2022-04-16 07:14:51 +00:00
Michael (XIAO Xufeng)
1329b19fe4
versions: Update version to 4.4.1
2022-04-16 09:43:14 +08:00
Michael (XIAO Xufeng)
9b75e5664e
Merge branch 'bugfix/iperf_performance_v4.4' into 'release/v4.4'
...
Bugfix/iperf performance (v4.4)
See merge request espressif/esp-idf!17600
2022-04-15 15:52:13 +08:00
Cao Sen Miao
4a7f5f41ea
spi_flash: esptool temporarily supports H2 clock configurations
2022-04-14 13:22:50 +02:00
Cao Sen Miao
71c2f2618f
opi_flash: Add new 16MB opi flash (MXIC25UW12345G) support,
...
Closes https://github.com/espressif/esp-idf/issues/7996
2022-04-14 19:06:18 +08:00
Roland Dobai
ff84535758
esptool_py: Update to support ESP32-S3 USB OTG compressed flashing with stub
2022-04-14 12:28:28 +02:00
Nachiket Kukade
c4c8aab39d
esp_wifi: Update wifi lib
...
1. In scan, correctly identify AP's with mixed key mgmt
2. Add API to disable PMF configuration
2022-04-13 10:22:00 +05:30
xiewenxiang
ea1a9f9e3a
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-13 12:15:38 +08:00
Shubham Kulkarni
d485a8cd35
esp_https_ota: Add check for 303 and 308 status code
...
Closes https://github.com/espressif/esp-idf/issues/8581
2022-04-11 09:42:51 +05:30
Shubham Kulkarni
98c2132498
esp_http_client: Add new status code 303 and 308
2022-04-11 09:42:47 +05:30
xiewenxiang
b37df7e3df
Update esp c3/s3 phy lib (dcbe608)
2022-04-08 16:42:50 +08:00
Ondrej Kosta
ba62cbc04f
Fixed Ethernet lwIP netif error indication
2022-04-06 10:44:31 +00:00
Michael (XIAO Xufeng)
d378ca2b78
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-06 12:18:23 +08:00
Michael (XIAO Xufeng)
8522bb1178
regi2c: use safe version of spinlock, instead of ISR ver
2022-04-06 09:34:43 +08:00
Vamshi Gajjela
b33e7f27ea
vfs: bugfix vfs_fat_write/pwrite upon disk-full
...
Closes https://github.com/espressif/esp-idf/issues/5027
2022-03-30 09:55:57 +02:00
Michael (XIAO Xufeng)
f5ee7093b8
Merge branch 'test/disable_touch_sleep_testcase_v4.4' into 'release/v4.4'
...
touch: add protection for touch sleep case (v4.4)
See merge request espressif/esp-idf!17611
2022-03-30 15:24:15 +08:00
Michael (XIAO Xufeng)
4e827ca09b
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration
...
Issue exist since first IDF version supporting ESP32-S2.
2022-03-28 10:23:48 +00:00
Isha Pardikar
916533ef92
Merge branch 'bugfix/wifi_prov_mgr_conn_issue' into 'release/v4.4'
...
NimBLE: Fixed device disconnection issue of wifi prov mgr
Closes IDF-4655
See merge request espressif/esp-idf!17618
2022-03-28 11:49:09 +05:30
Michael (XIAO Xufeng)
b6c2c80e44
touch: add protection for touch sleep case
2022-03-27 02:44:47 +08:00
Michael (XIAO Xufeng)
36d989b16c
spi: fixed crash when calling spi_bus_free when not initialized
...
introduced in 49a48644e4
Closes: https://github.com/espressif/esp-idf/issues/8642
2022-03-27 02:33:18 +08:00
Michael (XIAO Xufeng)
3503ee41ca
sleep: fixed the issue error log not printed
2022-03-25 14:50:26 +08:00
Michael (XIAO Xufeng)
ea27a8543a
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
...
This is not supported yet.
2022-03-25 14:50:26 +08:00
KonstantinKondrashov
353abc5702
esptool: Update esptool submodule
2022-03-11 06:39:30 +00:00
laokaiyao
19faa6ef43
touch: fix the touch sensor wait cycle on s3
2022-03-11 06:24:07 +00:00
David Cermak
47414efe0b
lwip: Security fixes; PPPoS null-deref; NAPT ip-forward
...
* Cherry-pick important fixes to 2.1.2-esp
- CVE-2020-22283: Attacker could craft a packet that would disclose 8 bytes of some heap memory:
- icmp6: Don't copy too much data
- icmp6: Fix copying of chained pbuf in reply
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages
- CVE-2020-22284: ZEP - ZigBee Encapsulation Protocol/6LoWPAN is not supported in IDF,
the netif module (zepif.c) is not included in the build, but users can still inject
the file into compilation process, implement IO interface and use this.
- zepif: Copy possibly chained output pbuf properly
- Add #define for minimum IPv6 MTU length
- pbuf: Add pbuf_copy_partial_pbuf library function
* PPPoS: Fix null-deref when processing double break packet
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
* NAPT: Fix PBUF_REF type to clone the pbuf before forwarding
- IP-FORWARD: If packet-type is PBUF_REF clone it before forwarding
- Add NAPT unit test to exercise NAT feature for both RAM and REF pbuf types
* version: Update version numbers to match 2.1.2-esp
* Update submodule: 2749568fe1...76303df238
- test/napt: Add unit test for IP forward with PBUF_REF (espressif/esp-lwip@76303df2 )
- napt: Fix PBUF_REF type to clone the pbuf before forwarding (espressif/esp-lwip@39068263 )
- version: Update version numbers to match 2.1.2-esp (espressif/esp-lwip@2b922919 )
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
- pbuf: Add pbuf_copy_partial_pbuf library function (espressif/esp-lwip@1c9cd9c1 )
- Add #define for minimum IPv6 MTU length (espressif/esp-lwip@d2dc577b )
- zepif: Copy possibly chained output pbuf properly (espressif/esp-lwip@64ab7f2a )
- icmp6: Don't copy too much data (espressif/esp-lwip@4a64731b )
- icmp6: Fix copying of chained pbuf in reply (espressif/esp-lwip@7c822ff4 )
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages (espressif/esp-lwip@29100ab6 )
- dns: Add API to clear dns cache (espressif/esp-lwip@ee59f77d )
- CI: Fixed adding gitlab key (espressif/esp-lwip@5a2bdba7 )
- test case: modify test case test_tcp_new_max_num_remove_FIN_WAIT_1 (espressif/esp-lwip@6b090f7d )
Closes https://github.com/espressif/esp-idf/issues/8300
Closes https://github.com/espressif/esp-idf/issues/8451
2022-03-11 06:05:39 +00:00
morris
45dcc4384c
Merge branch 'feature/emac_start_stop_test_v4.4' into 'release/v4.4'
...
test_emac: extended Ethernet start/stop stress test (v4.4)
See merge request espressif/esp-idf!17306
2022-03-11 10:38:40 +08:00
Wang Meng Yang
7a2068c864
Merge branch 'feature/update_hfp_hf_version_v4.4' into 'release/v4.4'
...
Update HFP_HF version to 1.7.2(v4.4)
See merge request espressif/esp-idf!17382
2022-03-10 20:20:16 +08:00
Ondrej Kosta
7768c389ad
Created EMAC start/stop stress test under heavy traffic
2022-03-10 10:15:34 +01:00
Ondrej Kosta
d53094bdc0
esp_eth: EMAC start/stop optimization
2022-03-10 10:15:34 +01:00
morris
0fca632ffd
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues_v44' into 'release/v4.4'
...
modbus: fix tcp slave destroy issues (backport v4.4)
See merge request espressif/esp-idf!17406
2022-03-09 09:48:36 +08:00
Marius Vikhammer
c9ce438466
Merge branch 'bugfix/inline_intrmask_from_isr_v4.4' into 'release/v4.4'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR (v4.4)
See merge request espressif/esp-idf!17325
2022-03-09 09:38:36 +08:00
morris
121ddb87e5
Merge branch 'bugfix/fix_adc_digital_not_reset_issue_v4.4' into 'release/v4.4'
...
adc: fix adc digital part not reset issue (v4.4)
See merge request espressif/esp-idf!17375
2022-03-08 23:16:33 +08:00
aleks
d7fafdc916
freemodbus: fix port enable disable sequence for tcp master and slave
2022-03-08 10:07:19 +01:00
aleks
ba9c0c29a9
modbus: fix tcp slave destroy issues
...
Closes https://github.com/espressif/esp-idf/issues/8211
2022-03-08 09:52:54 +01:00
morris
1b06c55ab1
Merge branch 'bugfix/fix_adc_calibration_light_sleep_issue_v4.4' into 'release/v4.4'
...
adc: fix calibration error when waking up from light sleep (v4.4)
See merge request espressif/esp-idf!16930
2022-03-07 19:01:31 +08:00
xiongweichao
898a7d071b
Update HFP_HF version to 1.7.2
2022-03-07 18:16:05 +08:00
Jiang Jiang Jian
dc7cb6de4b
Merge branch 'bugfix/ignore_pmf_capable_flag_v4.4' into 'release/v4.4'
...
Always connect Station in PMF mode if possible (Backport v4.4)
See merge request espressif/esp-idf!17036
2022-03-07 16:24:44 +08:00
Armando
e1515beb26
adc: fix adc digital not reset issue
2022-03-07 11:40:18 +08:00
Armando
d53ea1166d
rng: fix rng adc digital inpu not disabled issue
2022-03-07 11:39:27 +08:00
Armando
32afe6a498
sleep: restore analog calibration registers after waking up from light sleep
...
Closes https://github.com/espressif/esp-idf/issues/8287
Closes https://github.com/espressif/esp-idf/issues/7921
2022-03-07 11:28:48 +08:00
Jiang Jiang Jian
3d2700146e
Merge branch 'bugfix/uart_no_int_after_flush_v4.4' into 'release/v4.4'
...
UART: RX interrupts are now properly restored after a flush (backport v4.4)
See merge request espressif/esp-idf!17122
2022-03-07 11:03:33 +08:00
Jiang Jiang Jian
d326c5283d
Merge branch 'bugfix/ledc_consecutive_fade_v4.4' into 'release/v4.4'
...
ledc: Bugfixes for issues related to fade protection (backport v4.4)
See merge request espressif/esp-idf!16953
2022-03-07 11:00:46 +08:00
Jiang Jiang Jian
964db79c0e
Merge branch 'docs/add_a_note_to_mck_io_num_v4.4' into 'release/v4.4'
...
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set (v4.4)
See merge request espressif/esp-idf!16694
2022-03-07 11:00:25 +08:00
wangjialiang
90083fcbb7
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-04 12:33:15 +00:00
wangjialiang
1016801eaf
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-04 12:33:15 +00:00
Wang Fang
21cdaeade9
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set
2022-03-04 07:00:18 +00:00
Jiang Jiang Jian
380ee4b87a
Merge branch 'bugfix/update_stack_init_check_v4.4' into 'release/v4.4'
...
Nimble: Remove stack initialization status from unwanted functions (v4.4)
See merge request espressif/esp-idf!17234
2022-03-04 14:11:23 +08:00
Jiang Jiang Jian
975b525e03
Merge branch 'bugfix/add_pll_track_feature_mr_4.4' into 'release/v4.4'
...
Add pll track feature
See merge request espressif/esp-idf!17285
2022-03-04 13:54:19 +08:00
morris
f17a435ea7
Merge branch 'refactor/i2s_deprecate_confusing_names_v4.4' into 'release/v4.4'
...
i2s: Add detailed comments for confusing names (v4.4)
See merge request espressif/esp-idf!16748
2022-03-04 13:18:32 +08:00
Ivan Grokhotkov
89f57f3402
Merge branch 'bugfix/rom_time_t_size_deps_v4.4' into 'release/v4.4'
...
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers (v4.4)
See merge request espressif/esp-idf!17040
2022-03-04 04:38:42 +08:00
Jiang Jiang Jian
169008616b
Merge branch 'bugfix/a2dp_sniff_v4.4' into 'release/v4.4'
...
Fix crash when host exit sniff mode(v4.4)
See merge request espressif/esp-idf!17313
2022-03-03 23:37:37 +08:00
morris
aa260a9376
Merge branch 'bugfix/i2s_mono_issue_on_c3_s3_v4.4' into 'release/v4.4'
...
🔧 i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3 (v4.4)
See merge request espressif/esp-idf!17331
2022-03-03 21:54:20 +08:00
morris
0f11ac2bd3
Merge branch 'bugfix/i2s_dac_incorrect_clock_v4.4' into 'release/v4.4'
...
i2s: fix adc/dac clock calculation (v4.4)
See merge request espressif/esp-idf!17336
2022-03-03 20:37:43 +08:00
Mahavir Jain
a472035d97
Merge branch 'feature/websocket_server_support_close_handle_v4.4' into 'release/v4.4'
...
esp_http_server: Websocket CLOSE frame can support callback function (backport v4.4)
See merge request espressif/esp-idf!17339
2022-03-03 18:40:34 +08:00
yuanjm
3b91281c91
esp_http_server: Websocket CLOSE frame can support callback function
...
Closes https://github.com/espressif/esp-idf/issues/7493
2022-03-03 15:46:09 +08:00
laokaiyao
299d496c30
i2s: add detailed comments to some fileds (v4.4)
2022-03-03 05:55:35 +00:00
laokaiyao
15e8601cfc
i2s: add mclk_div underflow check
...
Closes https://github.com/espressif/esp-idf/issues/8344
2022-03-03 12:23:47 +08:00
Stephan Hadinger
19f4eca4b9
Fix for mclk/bclk divisors #8326
...
Merges https://github.com/espressif/esp-idf/pull/8327
2022-03-03 12:23:47 +08:00
Shubham Kulkarni
7600869c35
esp_http_client: Cache received data in http_on_body callback.
...
This change fixes issue with data loss when multiple body chunks are
received after calling esp_http_client_fetch_headers.
2022-03-03 03:54:37 +00:00
laokaiyao
86d78c1592
i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
2022-03-03 03:23:41 +00:00
Michael (XIAO Xufeng)
eff03cbbd9
Merge branch 'feat/support_mxic_unlock_v4.4' into 'release/v4.4'
...
spi_flash: support unlock MXIC flash chips (v4.4)
See merge request espressif/esp-idf!17251
2022-03-03 11:13:09 +08:00
xiongweichao
d8c7c41a43
Fix crash when host exit sniff mode
2022-03-03 02:59:31 +00:00
Marius Vikhammer
1690785432
spi flash: fix cache accessed while disabled issues at -O0
...
mask_get_id and gpio_hal_iomux_func_sel were called while cache
is disabled, but were not inlined as expected at -0O.
Force these functions to always be inlined.
2022-03-03 09:45:22 +08:00
Marius Vikhammer
3a7ec8acfa
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
...
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.
Closes https://github.com/espressif/esp-idf/issues/8301
2022-03-03 09:44:31 +08:00
Jiang Jiang Jian
f0e894e540
Merge branch 'bugfix/remove_c_series_chips_unsupported_efuse_field_backport_v4.4' into 'release/v4.4'
...
efuse: free esp32c3/esp32h2 unused efuse field (backport v4.4)
See merge request espressif/esp-idf!17292
2022-03-02 18:36:13 +08:00
Mahavir Jain
27e49aee72
Merge branch 'bugfix/check_chip_id_at_start_ota_v4.4' into 'release/v4.4'
...
esp_https_ota: fix for checking chip id at start of OTA (v4.4)
See merge request espressif/esp-idf!17220
2022-03-02 17:19:14 +08:00
morris
5f56bbd2d0
Merge branch 'bugfix/rtcio_increase_size_v4.4' into 'release/v4.4'
...
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue (v4.4)
See merge request espressif/esp-idf!17201
2022-03-02 16:53:05 +08:00
morris
64f41ed6c4
Merge branch 'bugfix/bootloader_uart_custom_gpio_v4.4' into 'release/v4.4'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect (v4.4)
See merge request espressif/esp-idf!17307
2022-03-02 16:50:49 +08:00
morris
2e8df440c1
Merge branch 'feature/usb_host_cleanup_v4.4' into 'release/v4.4'
...
USB: Host stack cleanup and QOL update + wTotalLength Fix + omit MSC reset (v4.4.1)
See merge request espressif/esp-idf!16678
2022-03-02 16:49:38 +08:00
Roland Dobai
0ccee00059
Merge branch 'bugfix/coredump_data_section_v4.4' into 'release/v4.4'
...
espcoredump: fix a bug where tracked DRAM data where not dumped (v4.4)
See merge request espressif/esp-idf!17120
2022-03-02 16:48:00 +08:00
songruojing
2ef6b8845b
uart: fixed reset logic on ESP32-S3
2022-03-02 02:42:46 +08:00
songruojing
bdd7610e66
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-02 02:42:06 +08:00
Michael (XIAO Xufeng)
8543d1b88a
bootloader: fixed the issue custom_uart_gpio doesn't take effect
2022-03-02 02:40:45 +08:00
Yang Zhao
2bdea81b2a
Update ESP32-C3 and ESP32-S3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-01 14:56:47 +08:00
Nachiket Kukade
659306b243
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-28 17:55:42 +05:30
wuzhenghui
e6e76195e8
remove in esptool
2022-02-28 17:40:02 +08:00
wuzhenghui
6c2f5a16bb
remove esp32h2 unsupported efuse field
2022-02-28 17:33:12 +08:00
wuzhenghui
c6aa1cf732
remove esp32c3 unsupported efuse field
2022-02-28 17:26:28 +08:00
Michael (XIAO Xufeng)
e835599979
bootloader: support unlock MXIC flash chips
2022-02-23 16:23:34 +08:00
Rahul Tank
ae546316d3
Nimble: Check stack initialization status before executing stack command
...
Previous commit added checks in some functions that can be called
without stack initalization. Corrected such instances.
2022-02-22 10:26:43 +05:30
Omar Chebib
2fb3824dfa
UART: Fix custom ISR unit test
...
On ESP32, UART_INTR_BRK_DET may be triggered after setting the new ISR handler.
Disable these interrrupts.
2022-02-22 10:54:06 +08:00
Omar Chebib
9a36ced294
espcoredump: add a test for coredump dumped sections
2022-02-22 02:38:00 +00:00
Omar Chebib
b868fd2a95
espcoredump: fix a bug where tracked DRAM data where not dumped
...
Variables marked as COREDUMP_DRAM_ATTR will now be part of the core dump.
* Closes https://github.com/espressif/esp-idf/issues/8151
2022-02-22 02:38:00 +00:00
Omar Chebib
1e117f2f83
UART: RX interrupts are now properly restored after a flush
...
Added a unit test to make sure the expected behavior happens
2022-02-22 02:28:21 +00:00
Harshit Malpani
bf7934aa84
esp_https_ota: fix for checking chip id at start of OTA
2022-02-21 13:55:53 +05:30
Martin Valik
e898e4b2f5
Bugfix: make wTotalLength uint16_t to avoid truncation
2022-02-18 15:51:05 +08:00
Darian Leung
c46b74191e
usb: Add USB Host Library documentation
...
This commit adds the USB Host Library documentation and fixes some nitpicks
in the Host Stack types.
Closes https://github.com/espressif/esp-idf/issues/6408
2022-02-18 15:51:05 +08:00
Darian Leung
ebd058c8c9
usb: Update USB Host Library
...
This commit updates the USB Host Library as follows:
- usb_helpers.h
- Removed dependency on USB Host Library API
- Added function to print string descriptors
- usbh
- Fixed bug where an interface/endpoint could be claimed/allocated multiple times
- Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-02-18 15:51:05 +08:00
Darian Leung
50bbdbc1de
usb: Hub Driver and USBH recover port automatically after disconnection
...
This commit updates the Hub Driver and USBH as follows:
- Updated communication mechanism between Hub Driver and USBH
- USBH notifies the Hub Driver via Hub request callback (usbh_hub_req_cb_t)
- Hub Driver notifies the USBH via usbh_hub_pass_event()
- Hub Driver now defers all event handling to hub_process.
- Hub Driver and USBH will now automatically recover the port after a disconnected
device has been closed.
- Fixed incorrect assert in usbh_dev_close()
2022-02-18 15:51:05 +08:00
Darian Leung
ea6de613bf
usb: Hub Driver Update and Refactor
...
Hub Driver is refactored as follows:
This commit update and refactors the Hub Driver as follows:
- Refactored enumeration state machine and stage functions
- Enumeration stage is now incremented
- Combined transfer stages of enumeration into common functions
- Comments updated
- Fixed usbh_hal_disable_debounce_lock() that would cause root_port_handle_events()
to fail the HCD_PORT_CMD_RESET call because the previous port connection interrupt
was not cleared.
The following features were added to the Hub Driver
- Enumeration config descriptor is now fetched in two separate stages
- Header is fetched first to determine the wTotalLength of the descriptor
- Fetching the full descriptor will request exactly wTotalLength bytes
- This works around some non-compliant devices that will babble/return zero
when requesting a length > wTotalLength
- Closes https://github.com/espressif/esp-idf/issues/7799
- Enumeration now stores string descriptors
- The Manufacturer, Product, and Serial Number string descriptors are
now read and stored during enumeration
- String descriptors are now part of usb_device_info_t
- Added unit test to test enumeration
2022-02-18 15:51:05 +08:00
Darian Leung
7f09fe1b23
usb: USB Host stack uses USB PHY driver
...
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.
- The hcd_install() now expects the USB PHY and OTG Contorller to be
already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
the user wants to setup their own USB PHY (e.g., in the case of using
and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY
Closes https://github.com/espressif/esp-idf/issues/8061
2022-02-18 15:51:05 +08:00
Darian Leung
b3b8ed79c8
usb: HCD multiple fixes
...
This commit fixes the following bugs in the HCD
- HCD control pipes fill incorrect transfer size
_buffer_fill_ctrl() would fill the transfer descriptors length with
wLength instead of transfer->num_bytes. Therefore, the remaining length
would be incorrect when a control transfer requests more bytes than are
available.
- Fix USB_TRANSFER_FLAG_ZERO_PACK behavior
The previous behavior of USB_TRANSFER_FLAG_ZERO_PACK was incorrect, and did not
support interrupt pipes. A zero length packet can now be added to Bulk/Interrupt
OUT transfers where the length is a multiple of the endpoint's MPS.
- Fixed HCD port suspend and resume test case
Halting a control pipe mid control transfer can lead some test devices to get stuck
2022-02-18 15:51:05 +08:00
Darian Leung
8888179439
usb: Tidy up usbh
...
- Remove enum_todo_flags from usbh
- USBH move config_desc to constant fields
2022-02-18 15:51:05 +08:00
Zim Kalinowski
000d3823bb
Merge branch 'cumulative_backport_into_v4.4' into 'release/v4.4'
...
Cumulative backport MR (v4.4)
See merge request espressif/esp-idf!17194
2022-02-18 07:16:52 +00:00
Zim Kalinowski
a8c073c1cc
fixed trailing whitespace
2022-02-18 12:58:53 +08:00
Zim Kalinowski
dc4783945a
freertos: Move Espressif's specific esp_reent_init into collective ifdef
2022-02-18 12:58:53 +08:00
KonstantinKondrashov
90c63f7250
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
...
It helps to reduce the memory usage at startup.
Closes https://github.com/espressif/esp-idf/issues/8111
2022-02-18 12:36:05 +08:00
Michael (XIAO Xufeng)
21b80a969f
soc: updated soc_caps about rtc_io and the format
2022-02-18 11:44:43 +08:00
Michael (XIAO Xufeng)
fd20ac807c
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue
...
Closes https://github.com/espressif/esp-idf/issues/8231
2022-02-18 11:44:20 +08:00
Jakob Hasse
c904b4807b
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-02-17 22:22:26 +08:00
Marius Vikhammer
f3639dafc8
freertos: add pm_trace header include
2022-02-17 22:22:26 +08:00
Chip Weinberger
9cc4c2f34d
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
...
(cherry picked from commit 8dcdb2f363fd3fa00bd77e4bd75e7c73d6c7d0fb)
2022-02-17 22:22:26 +08:00
Jiang Jiang Jian
5ff09f0a06
Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict_v44' into 'release/v4.4'
...
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.4)
See merge request espressif/esp-idf!16896
2022-02-17 08:38:57 +00:00
Alex Lisitsyn
d2399f6d8c
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.4)
2022-02-17 08:38:56 +00:00
Jiang Jiang Jian
b2ef617a34
Merge branch 'bugfix/fix_ble_adv_underrun_error_v4.4' into 'release/v4.4'
...
components/bt: Fix ble adv_underrun issue(backport v4.4)
See merge request espressif/esp-idf!17164
2022-02-17 08:30:38 +00:00
Jiang Jiang Jian
38cca53445
Merge branch 'bugfix/assoc_comeback_fail_issue_v4.4' into 'release/v4.4'
...
Fix assoc comeback causing invalid state & FTM cleanup (Backport v4.4)
See merge request espressif/esp-idf!17170
2022-02-17 04:42:52 +00:00
Jiang Jiang Jian
b39d0dbf2c
Merge branch 'bugfix/usb_default_print_wifi_v4.4' into 'release/v4.4'
...
esp_phy: enable usb under default(without choosing USB_SERIAL_JTAG) (backport v4.4)
See merge request espressif/esp-idf!17075
2022-02-17 04:15:54 +00:00
Jiang Jiang Jian
f9927119b8
Merge branch 'bugfix/efuse_timesettings_for_esp32s3_v4.4' into 'release/v4.4'
...
efuse: Fixes eFuse timesettings issue on esp32S3 (v4.4)
See merge request espressif/esp-idf!17177
2022-02-17 04:00:14 +00:00
Jiang Jiang Jian
174bd31bc0
Merge branch 'bugfix/usb_no_rom_log_v4.4' into 'release/v4.4'
...
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting(backport v4.4)
See merge request espressif/esp-idf!17073
2022-02-17 03:59:36 +00:00
Marius Vikhammer
6664e6cf43
ds: update gen_digital_signature_tests.py to handle different max key sizes
...
Max key size is now decided by target parameter, and related parameters are
no longer hard coded.
Closes https://github.com/espressif/esp-idf/issues/8243
(cherry picked from commit 4a3f50faa0
)
2022-02-17 11:24:54 +08:00
morris
35d5a30d47
Merge branch 'feature/adc_calibration_version_2_on_c3_v4.4' into 'release/v4.4'
...
adc: upgrade adc calibration algorithm to version 2 on c3 (v4.4)
See merge request espressif/esp-idf!17049
2022-02-17 03:04:35 +00:00
morris
11440c8757
Merge branch 'bugfix/gpio_intr_on_core1_s3_v4.4' into 'release/v4.4'
...
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3 (backport v4.4)
See merge request espressif/esp-idf!16595
2022-02-17 01:47:46 +00:00
David Čermák
ae6f171370
Merge branch 'bugfix/mdns_null_deref_fuzzer_v4.4_' into 'release/v4.4'
...
mdns: Fix potential null deref reported by fuzzer test(v4.4)
See merge request espressif/esp-idf!17147
2022-02-17 01:21:00 +00:00
David Čermák
bf7266312c
Merge branch 'bugfix/esp_eth_start_tx_buff_v4.4_followup' into 'release/v4.4'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size` (v4.4 followup)
See merge request espressif/esp-idf!16666
2022-02-16 18:33:12 +00:00
David Čermák
538401aa06
Merge branch 'contrib/github_pr_8337_v4.4' into 'release/v4.4'
...
Set success when closing socket (GitHub PR) (v4.4)
See merge request espressif/esp-idf!17097
2022-02-16 18:31:30 +00:00
KonstantinKondrashov
d011404607
esptool: Fixes esp32h2 target name
2022-02-17 00:14:45 +08:00
Nachiket Kukade
908874c642
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-16 15:51:50 +05:30
KonstantinKondrashov
5c7b597594
efuse: Fixes eFuse timesettings issue on esp32S3
2022-02-16 15:15:27 +08:00
songruojing
83edf2dbcf
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
(cherry picked from commit be2ab09832
)
2022-02-16 15:02:45 +08:00
songruojing
574f2c6a17
ledc: bugfix - Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
(cherry picked from commit e175086226
)
2022-02-16 15:02:45 +08:00
Armando
175132a874
adc: upgrade adc calibration algorithm to version 2 on c3
2022-02-16 14:58:42 +08:00
Ivan Grokhotkov
492afe4d4a
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2022-02-16 14:58:42 +08:00
Ivan Grokhotkov
be542db463
esp_adc_cal: simplify CMakeLists.txt
2022-02-16 14:58:42 +08:00
songruojing
41e452e7d8
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
...
Closes https://github.com/espressif/esp-idf/issues/7885
(cherry picked from commit 91f1159f9c
)
2022-02-16 14:50:51 +08:00
songruojing
b722e6f6ec
gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service()
...
Closes https://github.com/espressif/esp-idf/issues/5571
Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
(cherry picked from commit 0e8286c57b
)
2022-02-16 14:50:51 +08:00
Zim Kalinowski
81861d03c0
Merge branch 'bugfix/fix_i2c_crash_v4.4' into 'release/v4.4'
...
I2C: Fix I2C Master operation with repeated start condition (backport v4.4)
See merge request espressif/esp-idf!17118
2022-02-16 06:30:44 +00:00
David Cermak
c0e105cc41
mdns: Fix potential null deref reported by fuzzer test
2022-02-16 06:23:57 +00:00
Zim Kalinowski
33f7009bef
Merge branch 'bugfix/i2c_spiram_bug_v4.4' into 'release/v4.4'
...
i2c: fix buffer check when SPIRAM used as a heap (backport v4.4)
See merge request espressif/esp-idf!17098
2022-02-16 05:16:32 +00:00
Jiang Jiang Jian
d483bd9518
Merge branch 'feature/support_eap_fast_release_v4.4' into 'release/v4.4'
...
Add support for EAP-FAST authentication (backport v4.4)
See merge request espressif/esp-idf!16279
2022-02-16 03:28:15 +00:00
Jiang Jiang Jian
11ec6ed917
Merge branch 'bugfix/eap_client_crash_v4.4' into 'release/v4.4'
...
wpa_supplicant: Fix memory corruption (v4.4)
See merge request espressif/esp-idf!17128
2022-02-16 03:27:47 +00:00
Jiang Jiang Jian
e3a5a85e2f
Merge branch 'feature/gcov_esp32c3_v4.4' into 'release/v4.4'
...
debug_stubs and gcov: Refactor and add support for RISCV (v4.4)
See merge request espressif/esp-idf!17068
2022-02-16 03:26:49 +00:00
Zim Kalinowski
6ba07ccfaa
Merge branch 'bugfix/typo_in_i2c_macro_v4.4' into 'release/v4.4'
...
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name (backport v4.4)
See merge request espressif/esp-idf!17116
2022-02-16 02:49:01 +00:00
xiewenxiang
35b2b3e24c
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:39:00 +08:00
David Cermak
a145a5ee48
mdns: Use memcpy() for copy to support non-text TXTs
2022-02-15 13:32:53 +01:00
David Cermak
ec9dbd922d
mdns: Support for null-value TXT records
...
Closes https://github.com/espressif/esp-idf/issues/8267
2022-02-15 13:32:53 +01:00
Cao Sen Miao
93be7d5192
usb_serial_jtag: remove the strict condition check in esp_phy
2022-02-15 18:56:49 +08:00
Cao Sen Miao
bf523af21d
usb_serial_jtag: can print when wifi enabled by default
...
Closes https://github.com/espressif/esp-idf/issues/8131
2022-02-15 18:56:48 +08:00
Cao Sen Miao
a74e06560b
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2022-02-15 18:56:06 +08:00
Michael (XIAO Xufeng)
8c61c5c565
Merge branch 'bugfix/lcd_rgb_memory_alignment_v4.4' into 'release/v4.4'
...
rgb lcd memory alignment(v4.4)
See merge request espressif/esp-idf!16883
2022-02-14 15:34:49 +00:00
morris
21b6c46d11
Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.4' into 'release/v4.4'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.4)
See merge request espressif/esp-idf!17135
2022-02-14 06:27:47 +00:00
Jiang Jiang Jian
13d30652cc
Merge branch 'bugfix/wps_fixes_v4.4' into 'release/v4.4'
...
wpa_supplicant: Add WPS Fixes (Backport V4.4)
See merge request espressif/esp-idf!17064
2022-02-14 06:24:16 +00:00
Jiang Jiang Jian
71b81e4a01
Merge branch 'bugfix/support_esp32s2_eco1_v4.4' into 'release/v4.4'
...
esp_phy: Update ESP32S2 phy lib to support eco1 chip(V4.4)
See merge request espressif/esp-idf!16715
2022-02-14 05:55:29 +00:00
Michael (XIAO Xufeng)
21b4cd8325
sdio_slave: fixed the issue DMA desc not capable
2022-02-13 22:35:04 +08:00
Michael (XIAO Xufeng)
c2c4b126f7
Merge branch 'feature/support_new_psram_v4.4' into 'release/v4.4'
...
psram: add ESP32-D0WD-R2-V3 support(backport v4.4)
See merge request espressif/esp-idf!16705
2022-02-13 14:13:38 +00:00
Michael (XIAO Xufeng)
246f72020f
Merge branch 'bugfix/modbus_port_fix_lgpl_licensed_files_v4.4' into 'release/v4.4'
...
freemodbus: fix port contains lgpl licensed files (v4.4)
See merge request espressif/esp-idf!16550
2022-02-12 20:43:22 +00:00
Kapil Gupta
136c5b8204
wpa_supplicant: Fix invalid memory dereference
2022-02-12 10:32:33 +05:30
Dmitry Koptsov
f60a914bae
I2C: Fix I2C Master operation with repeated start condition
...
* Closes https://github.com/espressif/esp-idf/pull/8353
2022-02-11 15:37:24 +08:00
paul
8f3b47da39
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
...
* Closes https://github.com/espressif/esp-idf/pull/8012
2022-02-11 15:29:52 +08:00
Michael (XIAO Xufeng)
730ca0ea43
Merge branch 'bugfix/cpu_reset_perip_clk_disable_v4.4' into 'release/v4.4'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison (backport v4.4)
See merge request espressif/esp-idf!15898
2022-02-10 10:32:09 +00:00
Hrudaynath Dhabe
e21832cabb
esp_wifi: Add support for EAP-FAST authentication method
2022-02-10 15:54:15 +05:30
Michael (XIAO Xufeng)
8b86834a72
Merge branch 'bugfix/gpio_pin_num_fix_v4.4' into 'release/v4.4'
...
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3 (backport v4.4)
See merge request espressif/esp-idf!16594
2022-02-10 10:21:52 +00:00
Michael (XIAO Xufeng)
954d52ff3a
Merge branch 'flash/add_th_support_v4.4' into 'release/v4.4'
...
spi_flash: add support for th 1M flash(backport v4.4)
See merge request espressif/esp-idf!16714
2022-02-10 09:40:40 +00:00
Michael (XIAO Xufeng)
fb1695ade7
Merge branch 'bugfix/fix_spi_cs_hold_time_issue_v4.4' into 'release/v4.4'
...
spi_master: fix spi cs_ena_posttrans issue (v4.4)
See merge request espressif/esp-idf!16686
2022-02-10 09:12:15 +00:00
morris
38b5c012f9
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap_v4.4' into 'release/v4.4'
...
rmt: do not support rx wrap on esp32s2 (v4.4)
See merge request espressif/esp-idf!17076
2022-02-10 09:11:32 +00:00
Omar Chebib
9e000d4177
LEDC: divisor calculation will now be rounded up when necessary
...
Closes https://github.com/espressif/esp-idf/issues/7722
2022-02-10 16:56:07 +08:00
Omar Chebib
63afc84de5
LEDC: improved support for ESP32-C3 and refactored divisor calculation
...
As ESP32C3 does not have support for REF_TICK source clock, it is now not
possible to select it anymore.
Auto cfg clock has been improved for all boards.
2022-02-10 16:54:00 +08:00
Omar Chebib
98647cf351
i2c: fix buffer check when SPIRAM used as a heap
...
* Closes https://github.com/espressif/esp-idf/issues/8173
2022-02-10 16:16:01 +08:00
Mahavir Jain
5355ba06f1
transport_ssl: use return value from close
for non-TLS case
2022-02-10 13:03:32 +05:30
Dániel Buga
9e892fbf46
Set success when closing socket
...
Closes https://github.com/espressif/esp-idf/pull/8337
Closes IDFGH-6709
2022-02-10 13:02:58 +05:30
chenjianxing
50302e4157
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-02-10 14:13:02 +08:00
Wang Meng Yang
c7b9f94733
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid compile issue(backport release/v4.4)
See merge request espressif/esp-idf!16592
2022-02-09 11:28:57 +00:00
morris
956c6b889f
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-09 17:29:09 +08:00
Jiang Jiang Jian
c8075df214
Merge branch 'bugfix/a2dp_source_congest_v4.4' into 'release/v4.4'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.4)
See merge request espressif/esp-idf!16733
2022-02-09 08:16:01 +00:00
Alexey Gerenkov
89fe956ebc
gcov: Fixes interference of gcov dump with normal IPC calls
2022-02-08 22:25:33 +03:00
Alexey Gerenkov
792f510d0d
gcov: Do not use shrunk ROM's fake stdout and stderr FILE struct
2022-02-08 22:24:54 +03:00
Alexey Gerenkov
1bbefc3e5d
debug_stubs: Refactor and add support for RISCV
2022-02-08 22:24:54 +03:00
Ivan Grokhotkov
330da63548
Merge branch 'bugfix/nvs_oom_check_wrong_pointer_v4.4' into 'release/v4.4'
...
nvs: fixed OOM check wrong pointer issue (backport 4.4)
See merge request espressif/esp-idf!16976
2022-02-08 14:54:48 +00:00
Ivan Grokhotkov
6c0c3029ab
Merge branch 'bugfix/vfs_open_errno_v4.4' into 'release/v4.4'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR) (v4.4)
See merge request espressif/esp-idf!17044
2022-02-08 14:37:29 +00:00
Kapil Gupta
757445422d
wpa_supplicant: Add WPS Fixes
...
Add following bugfixes
1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
APs in its vicinity and try to do WPS with them one by one till
WPS timeout occurs. This is for some APs which do not set
selected registrar correctly.
2022-02-08 17:22:40 +05:30
aleks
e26318bcac
freemodbus: fix port contains lgpl licensed files
...
Initial version of freemodbus master port files have been added to ESP-IDF based on https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32 .
The overall repository license, at the time of adding these files, has been BSD 3-clause. However at that time, several port files carried LGPL license headers. As the author of these files confirmed in https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32/issues/61#issuecomment-977828450 , this wasn't intentional. ESP-IDF version of modbus master port has been rewritten to target FreeRTOS instead of RT-Thread, but the license headers remained from the original version. This commit corrects this, replacing the license of these files with BSD 3-clause.
2022-02-08 12:43:08 +01:00
Jiang Jiang Jian
6934a0164a
Merge branch 'bugfix/fix_common_clock_bug_v4.4' into 'release/v4.4'
...
esp_wifi: fix common clock bug (backport v4.4)
See merge request espressif/esp-idf!16971
2022-02-08 09:10:34 +00:00
Mahavir Jain
93855605f3
Merge branch 'bugfix/esp32c3_sysview_examples_build_error_v4.4' into 'release/v4.4'
...
riscv: fix portSTACK_GROWTH redefinition error (v4.4)
See merge request espressif/esp-idf!17038
2022-02-07 12:48:02 +00:00
Ivan Grokhotkov
23b0cdad8a
vfs: add test for errno value after 'open'
2022-02-07 11:36:00 +01:00
hörbert
931dd74da6
vfs: don't overwrite errno by a hard coded ENOENT
...
Calling "open" in CHECK_AND_CALL sets a perfectly correct errno.
There is no need to overwrite that with a value of ENOENT, since doing
so hides lower level errors like EIO.
Closes https://github.com/espressif/esp-idf/pull/8036
2022-02-07 11:35:59 +01:00
Ivan Grokhotkov
096c013675
esp_rom: remove functions which depend on sizeof(struct stat)
...
...and all their callers.
With the upcoming switch from sizeof(time_t)==4 to sizeof(time_t)==8,
sizeof(struct stat) is also increasing.
A few newlib functions present in ROM allocate 'struct stat' on the
stack and call _fstat_r on this structure. The implementation of
fstat is provided in ESP-IDF. This implementation will often do
memset(st, 0, sizeof(*st)), where st is 'struct stat*', before setting
some fields of this structure. If IDF is built with sizeof(st)
different from sizeof(st) which ROM was built with, this will lead
to an out-of-bounds write and a stack corruption.
This commit removes problematic ROM functions from the linker script.
Here are the functions which allocate 'struct stat':
* _isatty_r (in ROM)
* __swhatbuf_r, called by __smakebuf_r, called by __swsetup_r and
__srefill_r (in ROM)
* _fseeko_r (not in ROM)
* glob2 (not in ROM)
* _gettemp (not in ROM)
As a result, these functions are used from libc.a, and use correct
size of 'stat' structure.
Closes https://github.com/espressif/esp-idf/issues/7980
2022-02-07 11:23:59 +01:00
Michael (XIAO Xufeng)
1e80a52de4
Merge branch 'bugfix/i2s_mclk_stopped_when_set_clock' into 'release/v4.4'
...
i2s: fix mclk stop issue when setting clock (v4.4)
See merge request espressif/esp-idf!16706
2022-02-07 09:47:19 +00:00
Erhan Kurubas
5c8bfa9b46
esp32c3: fix portSTACK_GROWTH redefinition error
2022-02-07 09:47:57 +01:00
xiewenxiang
2fe53759c9
components/bt: Fix bluedroid compile issue
2022-02-07 16:04:50 +08:00
Wang Meng Yang
0a0b652815
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid ble50 adv data length issue(backport release/v4.4)
See merge request espressif/esp-idf!16579
2022-02-07 08:01:55 +00:00
laokaiyao
a9df58c776
i2s: fix mclk stopped when setting clock
2022-02-07 15:27:35 +08:00
Armando
1140036424
spi_master: fix spi cs_ena_posttrans issue
2022-02-07 12:19:51 +08:00
Mahavir Jain
d501a53f2f
Merge branch 'feature/mbedtls-2.28.0_v4.4' into 'release/v4.4'
...
mbedtls: Upgrading to v2.28.0 (v4.4)
See merge request espressif/esp-idf!17004
2022-02-02 13:52:54 +00:00
Laukik Hase
51fc67f5fa
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
- Fix for make-system build errors
2022-02-02 15:03:48 +05:30
Laukik Hase
11366d643f
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-02-02 10:56:48 +05:30
Laukik Hase
c3d2f2361c
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-02-02 10:56:48 +05:30
Laukik Hase
b10d0a533c
wpa_supplicant: Saved message-type digest used in handshake for PRF operations
2022-02-02 10:56:48 +05:30
Laukik Hase
76b9beff3c
mbedtls: Moved mbedtls_mpi_mul_int to port layer
2022-02-02 10:56:48 +05:30
Laukik Hase
76658d5066
mbedtls: Added config options for v2.28.0 upgrade
2022-02-02 10:56:48 +05:30
Laukik Hase
0fdc5f7490
mbedtls: Upgrade to v2.28.0
2022-02-02 10:56:13 +05:30
Laukik Hase
b7c1c4913e
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-02-01 09:49:45 +05:30
Mahavir Jain
602b26ccd4
Merge branch 'feature/upgrade_expat_component_v4.4' into 'release/v4.4'
...
expat: upgrade to v2.4.3 release
See merge request espressif/esp-idf!16981
2022-01-31 07:14:04 +00:00
Harshit Malpani
3dbe641c6b
expat: upgrade to v2.4.3 release
...
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_3/expat/Changes
2022-01-31 11:13:26 +05:30
Anton Maklakov
bfd3e9c54c
Merge branch 'ci/split_assign_test_and_add_c3_integration_test_4.4' into 'release/v4.4'
...
Ci: split assign test and add c3 integration test 4.4
See merge request espressif/esp-idf!16925
2022-01-28 14:39:16 +00:00
Ivan Grokhotkov
b9eda8431e
Merge branch 'test/esp32s2_fatfs_speedtest_ci_fix_v4.4' into 'release/v4.4'
...
[Storage]: Re-enable FatFS write/read speed test (v4.4)
See merge request espressif/esp-idf!16080
2022-01-28 10:37:10 +00:00
morris
42abd894d4
build: fix unused tag string
...
Closes https://github.com/espressif/esp-idf/issues/8250
2022-01-28 11:59:45 +08:00
Michael (XIAO Xufeng)
c8eb02bb39
bugfix (nvs): fixed wrong pointer check
2022-01-28 11:37:53 +08:00
liuning
6e6c8bb682
esp_wifi: fix common clock bug (backport v4.4)
2022-01-27 20:19:41 +08:00
Matus Fabo
e64ae67888
fix: pin definitions for other boards
...
fix: re-enabled fatfs r/w test on sdspi
fix: copyright notice
add: pin definitions for esp32c3
fix: Changed fixed spi dma channel to a macro definition
2022-01-27 12:06:41 +01:00
Mahavir Jain
d16aaae498
Merge branch 'feature/memprot_api_unified_c3_v4.4' into 'release/v4.4'
...
Memprot API unified - ESP32C3 (v4.4.1)
See merge request espressif/esp-idf!16489
2022-01-27 11:00:03 +00:00
songruojing
b80a070395
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
...
(cherry picked from commit f57456e9dd919e5eea1d3cd0caa64b5c97a4df73)
2022-01-27 09:51:00 +00:00
Jiang Jiang Jian
1f45f160a8
Merge branch 'bugfix/fix_console_linenosie_backport_v4.4' into 'release/v4.4'
...
console: fix console stuck in auto test (backport v4.4)
See merge request espressif/esp-idf!16914
2022-01-27 07:18:46 +00:00
Jiang Jiang Jian
8ab30f72b2
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.4' into 'release/v4.4'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.4)
See merge request espressif/esp-idf!16813
2022-01-27 05:45:35 +00:00
Jiang Jiang Jian
6114ac2994
Merge branch 'bugfix/fix_smartconfig_setopt_fail_v4.4' into 'release/v4.4'
...
smartconfig: Fix smartconfig set socket option fail (backport v4.4)
See merge request espressif/esp-idf!16772
2022-01-27 05:44:35 +00:00
Jiang Jiang Jian
d982a9a5e1
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.4' into 'release/v4.4'
...
component_bt: fixed config parse crash after flash_erase(v4.4)
See merge request espressif/esp-idf!16730
2022-01-27 05:44:17 +00:00
Jiang Jiang Jian
4f9afec016
Merge branch 'bugfix/ci_check_blobs_v4.4' into 'release/v4.4'
...
ci: improve checks for Wi-Fi/PHY libraries (v4.4)
See merge request espressif/esp-idf!16659
2022-01-27 05:42:56 +00:00
Jiang Jiang Jian
bfd68507d8
Merge branch 'bugfix/PRs_on_esp_hid_v4.4' into 'release/v4.4'
...
bugfix/handle_3_esp_hid_PRs (v4.4)
See merge request espressif/esp-idf!16590
2022-01-27 05:41:52 +00:00
Jiang Jiang Jian
5788a393ea
Merge branch 'doc/update_document_of_demo_bt_discovery_v4.4' into 'release/v4.4'
...
Doc/update document of demo bt discovery v4.4
See merge request espressif/esp-idf!16575
2022-01-27 05:40:52 +00:00
Mahavir Jain
7d9b93e2e0
Merge branch 'bugfix/MR16031_v4.4' into 'release/v4.4'
...
heap: adjust the order of RTC memory heap caps and regions(backport v4.4)
See merge request espressif/esp-idf!16704
2022-01-27 05:30:02 +00:00
Martin Vychodil
7d9652dccf
System/Security: Memprot API unified (ESP32C3,ESP32S3)
...
Unified Memory protection API for all PMS-aware chips
Closes JIRA IDF-3849
2022-01-27 12:40:27 +08:00
Chen Yudong
641bfa388a
ci: move integration test related files outside of components
2022-01-26 22:33:14 +08:00
Chen Yudong
6e11783992
ci: split assign tests
2022-01-26 22:33:09 +08:00
Mahavir Jain
55b1756d5f
Merge branch 'contrib/github_pr_8139_backport_v4.4' into 'release/v4.4'
...
ledc.h - fix extern "C" to include ledc_cb_register() (backport v4.4)
See merge request espressif/esp-idf!16585
2022-01-26 13:40:22 +00:00
Jiang Jiang Jian
56e854bb4e
Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.4' into 'release/v4.4'
...
CI: change ap authmode from number to string (backport v4.4)
See merge request espressif/esp-idf!16553
2022-01-26 11:53:30 +00:00
Roland Dobai
a59e3ab59d
Merge branch 'feature/esp32s3_apptrace_v4.4' into 'release/v4.4'
...
Feature/esp32s3 apptrace v4.4
See merge request espressif/esp-idf!16649
2022-01-26 09:58:35 +00:00
Michael (XIAO Xufeng)
a76f908074
Merge branch 'test/remove_spi_flash_perf_thr_v4.4' into 'release/v4.4'
...
spi_flash_test: remove threshold from unit test (v4.4)
See merge request espressif/esp-idf!16821
2022-01-26 08:20:26 +00:00