Commit Graph

26969 Commits

Author SHA1 Message Date
wuzhenghui
a7f952238e bootloader: enable i2c clk at bootloader_hardware init 2022-11-18 11:17:08 +08:00
wuzhenghui
ffab6ce1bb add modem reg headers 2022-11-18 11:17:04 +08:00
Marius Vikhammer
ffb878964a Merge branch 'bugfix/c6_chip_info' into 'master'
esp-hw-support: update C6 chip info to include 802.15.4 support

See merge request espressif/esp-idf!21129
2022-11-18 09:18:04 +08:00
timoxd7
355abfdff6
Queue Send fix
Fixes rare deadlock on heavy loaded multicore-systems.
2022-11-17 20:20:29 +01:00
KonstantinKondrashov
54b06ecb62 esp_timer: Fix the stop alarm triggering when the timer list is empty
Related to ESP32-C6 chip only because this chip can power down the digital domain
during the light sleep. And after wakes up, systimer gets resumed,
and the alarm value < count value, so it leads the alarm fired immediately.
We get one unnecessary interrupt at light sleep exit time.

Other chips do not power down the digital domain related to systimer.
2022-11-17 14:32:16 +00:00
Armando (Dou Yiwen)
cee025c003 Merge branch 'bugfix/return_error_when_fail_detect_oct_psram' into 'master'
esp_psram: return error when fail to detect an octal psram

See merge request espressif/esp-idf!21033
2022-11-17 21:18:02 +08:00
morris
454fc4034c Merge branch 'contrib/github_pr_10165' into 'master'
Clarify GPIO Mask Comment (GitHub PR)

Closes IDFGH-8724

See merge request espressif/esp-idf!21068
2022-11-17 20:03:49 +08:00
Aditya Patwardhan
96585abb17 Merge branch 'feature/esp_http_client_support_secure_element' into 'master'
esp_http_client: Add option to use secure_element

Closes IDFGH-8625

See merge request espressif/esp-idf!20972
2022-11-17 19:24:31 +08:00
wuzhenghui
0d5fe4d1c3 esp_rom: put regi2c override apis to IRAM 2022-11-17 19:12:02 +08:00
Zhi Wei Jian
4a3319d381 Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3' into 'master'
Change BLE default TX power on ESP32C3 and ESP32S3

Closes BT-2867, IDFGH-8459, IDFGH-8318, and IDFGH-7439

See merge request espressif/esp-idf!20543
2022-11-17 17:56:54 +08:00
wuzhenghui
eb2444bb7f esp_rom: override i2c_reg ops api in rom phy 2022-11-17 17:23:34 +08:00
Aditya Patwardhan
ba43063314 esp_http_client: Add option to use secure_element
Closes https://github.com/espressif/esp-idf/issues/10071
2022-11-17 14:43:35 +05:30
Mahavir Jain
3247cd05e4 Merge branch 'bugfix/coverity_scan_warnings' into 'master'
Fix multiple coverity scan warnings

See merge request espressif/esp-idf!21014
2022-11-17 16:46:20 +08:00
isha.pardikar@espressif.com
3a3e7b1401 NimBLE: Fixed going for reattempt connection code 2022-11-17 13:08:22 +05:30
Darian
eb837bbb6f Merge branch 'bugfix/freertos_smp_riscv_statement_expr_macro' into 'master'
FreeRTOS(SMP): Fix SMP FreeRTOS RISC-V statement expression macro

See merge request espressif/esp-idf!21110
2022-11-17 15:35:26 +08:00
Konstantin Kondrashov
55578295db Merge branch 'feature/api_to_define_user_mac_addres' into 'master'
esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address

Closes IDFGH-5534 and IDFGH-8022

See merge request espressif/esp-idf!21036
2022-11-17 15:26:35 +08:00
zhangyanjiao
8683a2622e update doc for espnow max encryped connection 2022-11-17 15:07:49 +08:00
morris
31d9312442 Merge branch 'contrib/github_pr_10106' into 'master'
hal/uart_ll.h: Fix compile with C++ (GitHub PR)

Closes IDFGH-8661

See merge request espressif/esp-idf!20952
2022-11-17 15:07:16 +08:00
zhangyanjiao
d11ee31bf1 Modify maximum softap conn num and espnow encryption peer num 2022-11-17 15:02:34 +08:00
Marius Vikhammer
f7a0a3040c esp-hw-support: update C6 chip info to include 802.15.4 support 2022-11-17 14:27:26 +08:00
David McCurley
0c89ab3b58 soc: update SOC_GPIO_VALID_GPIO_MASK doc
Merges https://github.com/espressif/esp-idf/pull/10165
2022-11-17 06:24:11 +00:00
Jiang Jiang Jian
7b35f8008f Merge branch 'mesh/bugfix_fix_memory_leak_issue' into 'master'
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop

Closes WIFI-5023, FCS-1081, and IDFGH-4525

See merge request espressif/esp-idf!21108
2022-11-17 13:56:23 +08:00
Armando
bf6ca71630 esp_psram: return error when fail to detect oct psram 2022-11-17 13:46:44 +08:00
Marius Vikhammer
1baa8f81cb Merge branch 'docs/c6_front_page_getting_started' into 'master'
docs: update getting started and frontpage docs for C6

Closes IDF-5929 and IDF-5930

See merge request espressif/esp-idf!21075
2022-11-17 12:59:52 +08:00
Kevin (Lao Kaiyao)
58b5dc43b9 Merge branch 'feature/support_i2s_on_c6' into 'master'
i2s: support on esp32c6

Closes IDF-5317 and IDF-5912

See merge request espressif/esp-idf!21080
2022-11-17 12:11:26 +08:00
Marius Vikhammer
0244c81fd2 docs: update getting started and frontpage docs for C6 2022-11-17 11:30:30 +08:00
laokaiyao
3b4ec64f26 i2s: support on esp32c6 2022-11-17 11:04:39 +08:00
morris
f080d647cc Merge branch 'test/move_sdio_to_pytest_app' into 'master'
sdio: move sdio related test case to it's own pytest app

Closes IDF-5501 and IDFCI-1377

See merge request espressif/esp-idf!19314
2022-11-17 10:14:59 +08:00
Radek Tandler
aad600c9ca Merge branch 'feature/storage_host_test_nvs' into 'master'
nvs_flash: Migrate host tests to CMake build system, use Linux partition API

Closes IDF-4697

See merge request espressif/esp-idf!20671
2022-11-17 02:05:35 +08:00
Jakob Hasse
c381fee319 Merge branch 'feature/esp_system_linux' into 'master'
esp_system partially buildable on Linux

Closes IDF-5983

See merge request espressif/esp-idf!21055
2022-11-16 22:38:48 +08:00
radek.tandler
ca7f073e7b nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation
Host tests of nvs_flash eligible to run in Linux implementation of nvs flash were migrated. Remaining test cases
were left in original folder. Migrated test cases use CMake instead of make.
2022-11-16 14:15:23 +01:00
KonstantinKondrashov
244cf14ea8 esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address
Closes https://github.com/espressif/esp-idf/pull/7261
Closes https://github.com/espressif/esp-idf/issues/9531
2022-11-16 19:23:10 +08:00
Fu Hanxi
fbef416c36 Merge branch 'bugfix/env_var_SDKCONFIG_DEFAULTS_fail_with_bootloader_subproject' into 'master'
build_system: stop looking for env var `SDKCONFIG_DEFAULTS` in bootloader subproject

See merge request espressif/esp-idf!21091
2022-11-16 19:14:11 +08:00
Roland Dobai
670fda877d Merge branch 'tools/move_kconfig_out' into 'master'
tools: Move out kconfig_new in favour of using the esp-idf-kconfig package

Closes IDF-5802

See merge request espressif/esp-idf!20419
2022-11-16 18:08:39 +08:00
Darian Leung
623f20d2b5 freertos(SMP): Fix SMP FreeRTOS RISC-V statement expression macro
Macros that need to reteurn a value should use GCC statement expression macro
syntax. This commit fixes the portTRY_ENTER_CRITICAL() in the RISC-V port of
SMP FreeRTOS to be a statement expression macro.
2022-11-16 17:51:10 +08:00
Jakob Hasse
cce1f9dee4 Merge branch 'feature/freertos_task_notification_configurable' into 'master'
freertos: make num of task notifications configurable

Closes IDFGH-7819

See merge request espressif/esp-idf!20880
2022-11-16 17:11:03 +08:00
Fu Hanxi
b5d9df8b6f build_system: stop looking for sdkconfig file specified by env var SDKCONFIG_DEFAULTS in bootloader subproject 2022-11-16 16:52:54 +08:00
Jakob Hasse
5b3a645813 feat(esp_system): Partially buildable on Linux now 2022-11-16 09:03:09 +01:00
zwj
b2a17e9d4c Update bt lib for ESP32C3 and ESP32S3
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-16 15:58:32 +08:00
zwj
0e0b62792f Fixed ble_compatibility_test example NVS init error 2022-11-16 15:58:31 +08:00
zwj
39c03e0ce0 Fixed errors reported by CI clang_tidy_check 2022-11-16 15:58:31 +08:00
zwj
6eb0d6f52d cleanup sdkconfig.defaults 2022-11-16 15:58:31 +08:00
Darian Leung
8b98e4e3b8 freertos(IDF): Restore vanilla call behavior on xTaskIncrementTick() and vTaskSwitchContext()
Due to SMP, critical sections have been added to xTaskIncrementTick() and
vTaskSwitchContext() (to take the xKernelLock). However, this is technically
not necessary when building for single-core as FreeRTOS expect these funcitons
to be called with interrupts already disabled.

This commit makes the critical secitons in those functions depend on
"configNUM_CORES > 1", and ensures that interrupts are disabled when calling
those functions. This effectively restores the vanilla behavior for these
functions when building for single-core.
2022-11-16 15:50:21 +08:00
Darian Leung
087e4318a6 freertos(IDF): Use common macros for SMP specific critical sections
In IDF FreeRTOS, when building for SMP, there are numerous functions
which require different critical sections when compared to single-core. This
commit encapsulates those difference into a common set of macros whose
behavior depends on "configNUM_CORES > 1". As such...

- Vanilla behavior has been restored for some functions when building for
  single core (i.e., used to call taskENTER_CRITICAL, now disables interrupts
  mactching vanilla behavior).
- Reduces number of "#ifdef (configNUM_CORES > 1)" in functions
- Any SMP only critical sections are now wrapped by
  "#ifdef (configNUM_CORES > 1)" and properly documented via comments.
2022-11-16 15:50:21 +08:00
Darian
4c1ff6016a Merge branch 'bugfix/freertos_smp_xtensa_port_disable_interrupt_macro' into 'master'
FreeRTOS(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port

See merge request espressif/esp-idf!21093
2022-11-16 15:47:11 +08:00
zwj
d074b74e1f Fixed sometimes BTU task overflow when doing read and write performance test 2022-11-16 15:44:29 +08:00
zwj
8dc4207e69 change default tx power from 3dBm to 9dBm 2022-11-16 15:44:29 +08:00
zhangyanjiao
eab2ce1ca8 esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-11-16 14:14:07 +08:00
wanlei
ee4f4ac3e0 test: move sdio unit-test to test_apps 2022-11-16 11:22:31 +08:00
Marius Vikhammer
7a947e829a Merge branch 'ci/enable_c2_tests_default' into 'master'
ci: enable running C2 tests by default

See merge request espressif/esp-idf!20981
2022-11-16 11:13:16 +08:00