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
Sudeep Mohanty
ac99c0ad6b
Merge branch 'feature/freertos_remove_untested_fn_feature' into 'master'
...
freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option
Closes IDF-5298
See merge request espressif/esp-idf!21000
2022-11-16 10:28:42 +08:00
Djordje Nedic
ebb6c2e77b
tools: Move out kconfig_new in favour of using the esp-idf-kconfig package
...
This commit removes all kconfig_new files and references to them and adds esp-idf-kconfig as a dependency and adequate wrappers to avoid breaking changes.
2022-11-15 21:19:51 +01:00
morris
f7f3c514df
Merge branch 'feature/esp_rom_alias_mz_crc32_to_crc32_le' into 'master'
...
move {target}/rom/miniz.h to common miniz.h
Closes IDFGH-8737
See merge request espressif/esp-idf!21083
2022-11-16 03:16:42 +08:00
Mahavir Jain
79216c657e
esp_http_server: modify error print for clarifying internal socket usage
...
Closes https://github.com/espressif/esp-idf/issues/10108
Closes IDFGH-8663
2022-11-15 20:46:35 +05:30
Mahavir Jain
34f3287323
esp_http_server: fix default control port for HTTPS configuration
...
For simultaneous HTTP and HTTPS server use-case, default configurations
set same control socket port and hence one of the server initialization
fails with an error "error in creating control socket".
This commit modifies default initializers to use different control
socket port in HTTP vs HTTPS server case.
Closes https://github.com/espressif/esp-idf/issues/10160
Closes IDFGH-8719
2022-11-15 20:46:35 +05:30
Marius Vikhammer
73724b0d41
Merge branch 'bugfix/c2_chip_info_gpio_range' into 'master'
...
hw-support: update C2 chip info to reflect that esp8684 has embedded flash
Closes IDFGH-8735 and IDFGH-8734
See merge request espressif/esp-idf!21064
2022-11-15 20:39:06 +08:00
morris
06b8d395fb
Merge branch 'feature/esp_lcd_spi_support_3wire_half-duplex' into 'master'
...
esp_lcd: support serial interface-I mode for spi LCD
See merge request espressif/esp-idf!21077
2022-11-15 19:54:56 +08:00
Ondrej
6fff81d970
esp_eth: receive buffer allocation optimization
...
Receive buffers are allocated with a size equal to actual received frame size
2022-11-15 10:44:12 +00:00
Zim Kalinowski
f3a5a29bf8
Merge branch 'fix/add-dram-limitations-in-docs' into 'master'
...
docs: add section in ram-usage documentation to clarify DRAM limitations on esp32
Closes IDFGH-1187
See merge request espressif/esp-idf!21085
2022-11-15 17:54:20 +08:00
Jakob Hasse
73d9d83a2f
feat(freertos): make num of task notifications configurable
...
Closes https://github.com/espressif/esp-idf/issues/9349
2022-11-15 09:36:42 +01:00
jiangguangming
08fd77a09a
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
Jiang Jiang Jian
e4bb9cb2b1
Merge branch 'bugfix/ble_mesh_event_typo_fix' into 'master'
...
ble_mesh: stack: Fix typo in directly erase settings event
See merge request espressif/esp-idf!20908
2022-11-15 15:34:59 +08:00
liqigan
a025dfd965
optimize HID Host disconnection procedure
2022-11-15 15:15:50 +08:00
liqigan
df7449615b
fix HFP client parse CLCC command response bug
2022-11-15 15:14:42 +08:00
Jiang Jiang Jian
4fe074b3c8
Merge branch 'doc/fix_a_typo_in_gatt_server_demo' into 'master'
...
Fix a typo in the GATT Server walkthrough
Closes IDFGH-8646
See merge request espressif/esp-idf!20895
2022-11-15 15:08:54 +08:00
Darian Leung
816ddc8867
freertos(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port
...
The portDISABLE_INTERRUPTS() macro on Xtensa should return only the interrupt
mask/level before the interrupts were disabled. Previously, the entire contents
of PS register were returned (i.e., direct return from RSIL instruction without
any bit masking or shifting).
This commit fixes the portDISABLE_INTERRUPTS() macro to return the INTLEVEL
bitfield of the PS register.
2022-11-15 14:57:24 +08:00
Darian
fd9c88ac85
Merge branch 'feature/freertos_smp_add_unit_tests_config' into 'master'
...
FreeRTOS(SMP): Add Amazon SMP FreeRTOS unit test configuration
See merge request espressif/esp-idf!21028
2022-11-15 14:54:23 +08:00
Guillaume Souchere
abe56e2bbe
docs: add section in ram-uasge.rst to clarify DRAM limitations on esp32.
...
The sections details that only 160KB of DRAM can be used for statically allocated data.
Reference this new section in mem_alloc.rst and memory-types.rst.
2022-11-15 07:40:25 +01:00
morris
6c8807e789
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-15 06:29:59 +00:00
Simon Arlott
d1993c01f2
hal/uart_ll.h: Fix compile with C++
...
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.
All of the enums need explicit casts for conversion to/from integers.
Merges https://github.com/espressif/esp-idf/pull/10106
2022-11-15 06:29:05 +00:00
Marius Vikhammer
9d56ce3556
Merge branch 'bugfix/flake8_precommit' into 'master'
...
precommit: update flake8 repo url to use github
See merge request espressif/esp-idf!21092
2022-11-15 14:24:13 +08:00
Marius Vikhammer
73367a9eb2
precommit: update flake8 repo url to use github
...
Gitlab mirror repo has been deprecated.
2022-11-15 13:33:02 +08:00
Jiang Jiang Jian
6cbedbfa57
Merge branch 'mesh/bugfix_fix_invalid_child_issue' into 'master'
...
esp_wifi_mesh: fix invalid child issue
Closes IDFGH-8290
See merge request espressif/esp-idf!20270
2022-11-15 11:28:28 +08:00
morris
7758c0c65b
Merge branch 'gcc/tmp_hack_toolchain_libatomic' into 'master'
...
tools: bypass atomic instruction variant for esp32c6 temporarily
See merge request espressif/esp-idf!21087
2022-11-15 11:19:32 +08:00
Chen Yu Dong
37f2339dfe
Merge branch 'tools/idf_tools_use_mirror_url' into 'master'
...
tools: espidf constraints also supports mirror url
See merge request espressif/esp-idf!21020
2022-11-15 10:51:36 +08:00
Wan Lei
602884e668
Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
...
spi_slave: add a private API to reset transaction queue
Closes IDF-5033
See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
David Čermák
b5f69e5fb7
Merge branch 'bugfix/tcp_transport_err_propagate' into 'master'
...
tcp_transport: Fix error propagation on tcp_read()
Closes IDFGH-8549, IDF-6202, and ESPAT-1346
See merge request espressif/esp-idf!20913
2022-11-15 00:46:47 +08:00
Jakob Hasse
7fd27f338a
Merge branch 'bugfix/esp_ds_encrypt_param_doc' into 'master'
...
esp_ds: remove requirement of aligned and DMA capable buffer from docs
See merge request espressif/esp-idf!21012
2022-11-14 23:17:35 +08:00
Zim Kalinowski
04595966f3
Merge branch 'doc/api_guides_cplusplus' into 'master'
...
docs: add C++ support chapter to the API guides
See merge request espressif/esp-idf!20182
2022-11-14 20:20:31 +08:00
morris
08f05420c0
tools: bypass atomic instruction variant for esp32c6 temporarily
...
Current riscv32-esp-elf-gcc can't provide the atomic intrinsic
functions.
Bypass it for now. Will revert this commit when a new toolchain is
ready.
2022-11-14 19:44:03 +08:00
Jiang Jiang Jian
8ea3865430
Merge branch 'feature/support_ble_memory_release_on_esp32c2' into 'master'
...
Support BLE memory release on ESP32C2
See merge request espressif/esp-idf!20838
2022-11-14 19:32:01 +08:00
Liu Zhongwei
1a7cdc095b
esp_lcd: add condition for spi to keep cs low
2022-11-14 17:55:27 +08:00
shenjun
8dc397d88a
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-11-14 17:48:17 +08:00
Armando (Dou Yiwen)
66b1c34095
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3' into 'master'
...
PSRAM: remove CS/CLK pin settings in kconfig on ESP32S2/S3
Closes IDF-5966
See merge request espressif/esp-idf!20162
2022-11-14 17:36:44 +08:00
Liu Zhongwei
4bdba8bdc6
esp_lcd: modify flag name
2022-11-14 17:29:24 +08:00
zhangwenxu
33467831fc
openthread: rename h2 to h4
2022-11-14 17:22:00 +08:00
Liu Zhongwei
48ce2037be
esp_lcd: support serial interface-I mode for spi LCD
2022-11-14 16:33:36 +08:00
Armando
ea0b839302
spi: limit esp32 dma workaround only on esp32
2022-11-14 16:01:48 +08:00
Armando
a7289587d3
spi_slave: add a test to internal api spi_slave_reset_trans_queue
2022-11-14 16:01:48 +08:00
Armando
3dc36f622c
spi_slave: add a private API to reset transaction queue
2022-11-14 16:01:48 +08:00
Mahavir Jain
769ec42899
Merge branch 'fix/fix_esp_cryptoauthlib_dependency_for_esp_tls' into 'master'
...
esp-tls: Fix esp-cryptoauthlib built dependency when secure element
See merge request espressif/esp-idf!21051
2022-11-14 15:14:53 +08:00