Commit Graph

15509 Commits

Author SHA1 Message Date
Anton Maklakov
70c12407d3 Merge branch 'bugfix/bt_fix_int_arguments' into 'master'
bt: make int types consistent

See merge request espressif/esp-idf!18223
2022-05-29 16:56:00 +08:00
Jiang Jiang Jian
6884d98c23 Merge branch 'bugfix/add_bda_to_read_rmt_name_param' into 'master'
Bugfix/add bda to read rmt name param

Closes IDFGH-7459

See merge request espressif/esp-idf!18279
2022-05-29 14:13:39 +08:00
Jiang Jiang Jian
f3922f1b7f Merge branch 'feature/flash_mmap_refactor' into 'master'
flash mmap: abstract R/W of MMU table instead of reg access

See merge request espressif/esp-idf!16882
2022-05-29 13:56:37 +08:00
Yuan Jian Min
a574652f79 Merge branch 'bugfix/fix_lwip_kconfig' into 'master'
fix(Kconfig): Fix lw-ip Kconfig display garbled characters

See merge request espressif/esp-idf!18264
2022-05-29 12:35:53 +08:00
Kapil Gupta
777b2caa1c wpa_supplicant: Move ETS/ESP timers to eloop 2022-05-29 09:32:16 +05:30
Jack
74e0096472 relax memory leak threshold for some wifi test case 2022-05-29 10:38:54 +08:00
xiongweichao
b777a53fe8 support add and search raw sdp record 2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a sdp support create and search PBAPC record 2022-05-28 23:34:21 +00:00
xiongweichao
a317cb1b0a Split jv_rfcomm and jv_l2cap 2022-05-28 23:34:21 +00:00
xiongweichao
740dc8795d rfcomm supports the use of ERTM 2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a add sdp api 2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047 add l2cap api 2022-05-28 23:34:21 +00:00
xiongweichao
e2e74e2b8b Modify the format of esp_a2dp_api.h comments 2022-05-28 23:31:45 +00:00
xiongweichao
b0551ef456 add source handle the delay report 2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b add sink send delay reporting 2022-05-28 23:31:45 +00:00
Matus Fabo
58cca07104 add: Kconfig assert or errorcode option
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-05-28 20:29:05 +02:00
Jiang Jiang Jian
2042840974 Merge branch 'bugfix/sae_pmk_caching_issue' into 'master'
esp_wifi: Do not use pmkid caching when SSID is changed

Closes WIFI-4422

See merge request espressif/esp-idf!18244
2022-05-29 00:18:19 +08:00
Jack
7a8b63869f deinit BB MAC back memory when they are not used 2022-05-29 00:13:32 +08:00
Martin Gano
67920a03dc Merge branch 'feature/add-chaining-fatfsparse' into 'master'
fatfs: enable cluster chaining for fatfsparse.py

Closes IDF-4975

See merge request espressif/esp-idf!18069
2022-05-28 22:31:36 +08:00
Wu Zheng Hui
d3fa6e3a15 Merge branch 'bugfix/update_efuse_name' into 'master'
efuse: update efuse name

See merge request espressif/esp-idf!18193
2022-05-28 22:03:17 +08:00
Wu Zheng Hui
b98622c624 efuse: update efuse name 2022-05-28 22:03:16 +08:00
Darian Leung
49256fe5c9 freertos: Refactor TLSP deletion callback test
- Add a new test case for SMP FreeRTOS
- Old test case is preserved. To be removed in the future
2022-05-28 21:36:39 +08:00
Darian Leung
64469affcd freertos: Fix TLSP deletion callback log
Currently, portCLEAN_UP_TCB() is called in a critical section. This commit updates
vPortTLSPointersDelCb() to use an EARLY log to prevent a crash.
2022-05-28 21:36:39 +08:00
Darian Leung
ef6afa1324 freertos: Refactor eTaskGetState() unit test
This commit refactors the eTaskGetState() unit test to work on FreeRTOS SMP
2022-05-28 21:36:23 +08:00
Darian
f3d06ad78d Merge branch 'bugfix/fix_SysTickIsrHandler_casting' into 'master'
HAL: Fix systimer counter value bit field

Closes IDF-5132

See merge request espressif/esp-idf!18252
2022-05-28 18:31:03 +08:00
jingli
1781ce3b98 further fix rtc attr for esp32c2 2022-05-28 08:52:55 +00:00
Jessy Chen
7b9b448041 esp_wifi: optimize wifi kconfig 2022-05-28 08:52:55 +00:00
liuning
e0decf4839 esp_wifi: fully support connectionless traffic with ps and coex 2022-05-28 08:52:55 +00:00
Jessy Chen
0ae391ef07 esp_wifi: enable FTM for esp32c2 & fix pre-commit check 2022-05-28 08:52:55 +00:00
Jessy Chen
60cbbffc74 esp_phy: optimize esp32c2 tx power control 2022-05-28 08:52:55 +00:00
Zhang Junhao
31f9292f90 feat: disable mbedtls rom code on master 2022-05-28 08:52:55 +00:00
Zhang Jun Hao
fcf8c84ad5 fix potential leak of memory check error 2022-05-28 08:52:55 +00:00
jiangguangming
c7beae1d6a newlib: 64-bits time_t test pass
please keep in mind that don't use nano-foramt printf for 64-bits
2022-05-28 08:52:55 +00:00
jiangguangming
4302e28698 newlib: use newlib nano format default 2022-05-28 08:52:55 +00:00
jingli
84628ba883 fix rtc attr for esp32c2 2022-05-28 08:52:55 +00:00
Jack
58d04eb203 esp_wifi: update esp32c2 wifi rom & lib 2022-05-28 08:52:55 +00:00
zhangyanjiao
e979e9701f esp_wifi: bringup esp32c2 wifi 2022-05-28 08:52:55 +00:00
Laukik Hase
28ac0b12fb
mbedtls: Remove deprecated options from mbedtls/esp_config.h
- Removed options related to RC4 ciphersuite, SSL3 and TLS1
  (as per mbedtls v3.1.0)
2022-05-28 10:21:06 +05:30
jingli
ae127b04cd fix ld err since esp32c2 do not suport config gpio of spi flash via efuse 2022-05-27 19:29:38 +08:00
jingli
e70c434780 fix compile error for esp32c2, since esp32c2 no longer support RTC fast mem 2022-05-27 19:29:38 +08:00
jingli
27edaaef91 add wakeup enable for bt 2022-05-27 19:29:38 +08:00
jingli
db102da7c6 update sleep params for esp32c2 2022-05-27 19:29:38 +08:00
jingli
9eec740a16 enable external 32k osc for esp32c2 2022-05-27 19:29:29 +08:00
Anton Maklakov
cfa3e68d1b bt: esp32s3, make int types consistent 2022-05-27 08:03:54 +00:00
Anton Maklakov
877dc3e304 bt: make int types consistent 2022-05-27 08:03:54 +00:00
yuanjm
0ae030d0ca fix(Kconfig): Fix lw-ip Kconfig display garbled characters 2022-05-27 02:48:45 +00:00
Marius Vikhammer
9177e9fb37 Merge branch 'bugfix/cpu_cycle_count_not_iram' into 'master'
HAL: place cpu_ll_get_cycle_count in IRAM

Closes IDFGH-7431

See merge request espressif/esp-idf!18260
2022-05-27 10:40:50 +08:00
Tomas Rezucha
3b7018923e Merge branch 'docs/i2c_thread_safety' into 'master'
docs: Fix I2C thread-safety

Closes IDF-5034

See merge request espressif/esp-idf!18172
2022-05-27 08:24:13 +08:00
Zim Kalinowski
2c9cd8e307 Merge branch 'feature/remove_target_cmake' into 'master'
build-system: remove target component

Closes IDF-3091 and IDF-3581

See merge request espressif/esp-idf!18131
2022-05-27 06:55:25 +08:00
keymoon
3027aa84be
assign value to uninitialized bt_addr field 2022-05-27 01:07:06 +09:00
keymoon
2c4b135be6
add address field to read_rmt_name_param 2022-05-26 23:24:56 +09:00
Darian Leung
c45784b8c4 hal: Fix systimer counter value bit field
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.

Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 12:56:25 +00:00
Kapil Gupta
0cdad0a002 wpa_supplicant: Add wrappers for FreeRTOS APIs 2022-05-26 15:23:21 +05:30
Jiang Jiang Jian
37596b4dd8 Merge branch 'feature/wps_registrar_support' into 'master'
wpa_supplicant: wps registrar support

See merge request espressif/esp-idf!17659
2022-05-26 17:05:00 +08:00
David Čermák
6f3d021d60 Merge branch 'bugfix/esp_netif_ip6_multicast_api' into 'master'
esp_netif: Fix inversion error in leave_ipv6 api (GitHub PR)

Closes IDFGH-7412

See merge request espressif/esp-idf!18184
2022-05-26 15:57:00 +08:00
Yuan Jian Min
62182e1767 Merge branch 'feature/add_mld6_flag_for_eth' into 'master'
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif

Closes IDFGH-6983

See merge request espressif/esp-idf!18173
2022-05-26 15:40:09 +08:00
Marius Vikhammer
415ab25a49 HAL: place cpu_ll_get_cycle_count in IRAM
Closes https://github.com/espressif/esp-idf/issues/9008
2022-05-26 14:42:41 +08:00
Fu Hanxi
788ac3989b Merge branch 'fix/panic_test' into 'master'
fix: panic test

See merge request espressif/esp-idf!18239
2022-05-26 10:09:15 +08:00
Darian
3b57f6d40c Merge branch 'bugfix/task_wdt_freertos_smp_unicore_build' into 'master'
esp_system: FIx TWDT SMP FreeRTOS unicore build error

See merge request espressif/esp-idf!18241
2022-05-26 09:20:33 +08:00
Song Ruo Jing
cf32e49aeb Merge branch 'refactor/cleanup_rtc_h' into 'master'
clk_tree: Prework2 of introducing clock subsystem control

Closes IDF-4934

See merge request espressif/esp-idf!17861
2022-05-26 09:16:47 +08:00
Mahavir Jain
c6e2ae76a9 Merge branch 'esp32c2/IDRAM_PMP_split' into 'master'
esp32c2: Enable IRAM/DRAM split using PMP

Closes IDF-3837

See merge request espressif/esp-idf!18156
2022-05-26 00:47:49 +08:00
Martin Gano
8ef66536ed fatfsparse.py: add cluster chaining support to enable reading longer-than-sector files
Closes IDF-4975
2022-05-25 15:49:24 +02:00
Kapil Gupta
1cf54db433 esp_wifi: Changes to not use pmkid caching when SSID is changed 2022-05-25 15:11:26 +05:30
Tomas Rezucha
b6771b7f83 docs: Fix I2C thread-safety 2022-05-25 07:22:02 +00:00
Darian Leung
8af172ec46 esp_system: FIx TWDT SMP FreeRTOS unicore build error
When configNUM_CORES = 1, vTaskCoreAffinityGet() is not defined. This
commit fixes the TWDT to omit calls to vTaskCoreAffinityGet() when building
for unicore.
2022-05-25 13:51:17 +08:00
Fu Hanxi
b2f107b76c fix: espcoredump without project_description.json in ci 2022-05-25 12:00:13 +08:00
morris
7642be45ef Merge branch 'bugfix/c2_efuse_fix_error_reg' into 'master'
efuse_hal(esp32c2): Fix error bits for BLOCK0

See merge request espressif/esp-idf!18219
2022-05-25 04:24:55 +08:00
Ivan Grokhotkov
4d9e141201 Merge branch 'bugfix/freertos_smp_no_affinity' into 'master'
Freertos SMP: fix wrong no affinity value in kconfig

Closes IDF-5063, IDF-5064, IDF-5067, IDF-5068, IDF-5075, IDF-5076, IDF-5078, IDF-5079, IDF-5080, IDF-5082, IDF-5083, IDF-5084, IDF-5085, IDF-5086, IDF-5087, IDF-5088, IDF-5089, IDF-5090, IDF-5091, IDF-5092, IDF-5093, IDF-5094, IDF-5095, IDF-5096, IDF-5097, IDF-5098, IDF-5099, IDF-5100, IDF-5101, IDF-5102, IDF-5105, IDF-5106, IDF-5108, IDF-5109, IDF-5110, IDF-5111, IDF-5113, IDF-5114, IDF-5115, IDF-5116, IDF-5117, IDF-5118, IDF-5120, IDF-5121, IDF-5123, IDF-5125, IDF-5126, IDF-5128, and IDF-5129

See merge request espressif/esp-idf!18224
2022-05-25 03:05:33 +08:00
Rahul Tank
b45723b92e Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
NimBLE: Enabled ESP Timer support for esp32h2

See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Sachin Parekh
9a763f4ff2 esp32c2: Enable IRAM/DRAM split using PMP 2022-05-24 21:36:06 +05:30
songruojing
74c99a8a07 rtc_clk: Add alias for the clock tree related enum and macros for backwards compatibility 2022-05-24 22:59:51 +08:00
songruojing
729d70129a clk_tree: add initial docs for clock tree 2022-05-24 22:59:51 +08:00
morris
b26cd91537 doc: added clk_tree definitions to doc 2022-05-24 22:59:51 +08:00
songruojing
a5b09cf015 rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
morris
64604dcfe0 Merge branch 'bugfix/s3_spi_pre' into 'master'
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config

See merge request espressif/esp-idf!18213
2022-05-24 16:18:48 +08:00
Roland Dobai
4e0116a170 Merge branch 'fix/otatool_targets' into 'master'
app_update: Fix otatool targets

Closes IDF-4758 and IDFGH-7254

See merge request espressif/esp-idf!18190
2022-05-24 15:47:34 +08:00
Kapil Gupta
a6811adac7 wpa_supplicant: Add WPS registrar support for softAP mode 2022-05-24 12:11:53 +05:30
Kapil Gupta
df1a15e918 wpa_supplicant: Add upstream files for wps registrar 2022-05-24 12:11:53 +05:30
morris
60d51bf6c8 Merge branch 'contrib/github_pr_9001' into 'master'
usbh_print_intf_desc prints wrong value for tbInterfaceClass (GitHub PR)

Closes IDFGH-7422 and IDFGH-9000

See merge request espressif/esp-idf!18198
2022-05-24 10:15:12 +08:00
Kevin (Lao Kaiyao)
94d7ae03da Merge branch 'bugfix/i2s_write_timeout_when_setting_clock' into 'master'
i2s: fixed write timeout while setting the clock

Closes IDFGH-7273 and IDFGH-7261

See merge request espressif/esp-idf!18201
2022-05-24 10:01:12 +08:00
Marius Vikhammer
15684fb5a0 Freertos SMP: fix wrong no affinity value in kconfig 2022-05-24 09:16:43 +08:00
Marius Vikhammer
cf1b222cac build system: removed target component
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Marius Vikhammer
d485f6add8 Merge branch 'feature/arch_build_property' into 'master'
build-system: add property for architecture (riscv/xtensa)

Closes IDF-1754

See merge request espressif/esp-idf!18127
2022-05-24 08:46:09 +08:00
Marius Vikhammer
425c9e5b0f Merge branch 'feature/target_kconfig_movement_3' into 'master'
kconfig: move remaining kconfig options out of target component

Closes IDF-3579

See merge request espressif/esp-idf!18046
2022-05-24 08:45:01 +08:00
KonstantinKondrashov
c74d442d03 efuse_hal: Fix error bits for BLOCK0
eFuse BLOCK0 has only one error reg.
2022-05-24 03:28:57 +08:00
Mahavir Jain
5d88df658d Merge branch 'feature/esp-tls_optimize_memory' into 'master'
esp-tls: add api to free client session

Closes AEG-57

See merge request espressif/esp-idf!18103
2022-05-24 02:53:59 +08:00
morris
1385d1b2f6 Merge branch 'bugfix/i2c_warning_always_true' into 'master'
i2c: fix 'comparision is always true' warning

See merge request espressif/esp-idf!18202
2022-05-24 02:21:34 +08:00
Gustavo Henrique Nihei
c946c80415 hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-23 10:13:07 -03:00
Marius Vikhammer
0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
laokaiyao
a5f651ad71 i2s: Update FIFO direct access reg on ESP32 according to the TRM
Closes: https://www.github.com/espressif/esp-idf/issues/8862
2022-05-23 16:28:42 +08:00
laokaiyao
f523fbc73b i2s: Fixed divide 0 issue while setting PDM down sampling issue
Closes https://www.github.com/espressif/esp-idf/issues/8850
2022-05-23 16:28:42 +08:00
Li Jingyi
6d58008119 esp-tls: add api to free client session
Free session with mbedtls api to avoid mem-leak
2022-05-23 16:28:40 +08:00
laokaiyao
f36ae3f603 i2s: fixed write timeout while setting the clock 2022-05-23 16:28:37 +08:00
Armando
8532d09259 cache: access error & illegal error ll functions 2022-05-23 15:00:47 +08:00
songruojing
436085de51 rtc_clk: fix potential "division by zero" in rtc_clk_cpu_freq_mhz_to_config (found by coverity scan) 2022-05-23 13:38:41 +08:00
Anton Maklakov
41bbea5124 i2c: fix 'comparision is always true' warning 2022-05-23 11:39:46 +07:00
Omar Chebib
2d84985baa Merge branch 'bugfix/i2c_notify_task_in_ISR' into 'master'
I2C: Fix a bug making the I2C task wait too long on an event

Closes IDFGH-7169

See merge request espressif/esp-idf!18027
2022-05-23 12:29:22 +08:00
Song Ruo Jing
70109e2393 Merge branch 'refactor/remove_ck8m_fpu_in_rtc_slow_clk_set' into 'master'
rtc_clk: Remove the ck8m fpu logic when setting rtc slow clock source

See merge request espressif/esp-idf!18181
2022-05-23 11:49:24 +08:00
Omar Chebib
872a4311f2 I2C: Fix a bug making the I2C task wait too long on an event
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-05-23 02:02:00 +00:00
Ivan Grokhotkov
341162bb3d Merge branch 'fix/vfs_fat_info_overflow' into 'master'
fatfs: Fix possible integer overflow in esp_vfs_fat_info()

Closes IDF-4958

See merge request espressif/esp-idf!18191
2022-05-22 20:00:12 +08:00