Omar Chebib
6906c34319
heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer
2022-08-10 11:41:01 +08:00
tgotic
b43e777e0a
fix malloc(0) and heap_caps_alloc_failed()
...
Don't call heap_caps_alloc_failed() for malloc(0) and calloc(0), because it is not an error.
Improve handling of malloc(0) and calloc(0).
Merges https://github.com/espressif/esp-idf/pull/9517
2022-08-10 11:40:53 +08:00
Omar Chebib
05575cc246
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
...
heap_caps_*_prefer functions will now only call heaps_caps_alloc_failed
callback if all attempts to allocation memory fail (and not after each attempt
anymore).
* Closes https://github.com/espressif/esp-idf/issues/9086
2022-08-10 11:40:32 +08:00
morris
56a89b920d
Merge branch 'bugfix/i2s_slot_sequence_v4.4' into 'release/v4.4'
...
i2s: fixed pdm rx sample rate doubled issue
See merge request espressif/esp-idf!19415
2022-08-10 11:10:37 +08:00
Roland Dobai
f935c17a95
Tools: Fix Python style warnings
2022-08-09 14:30:52 +02:00
laokaiyao
53a5d51aea
i2s: fix PDM TX stereo mode for c3 and s3
2022-08-09 18:28:09 +08:00
laokaiyao
76cdab5f42
i2s: fixed pdm rx sample rate doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/8660
2022-08-09 18:28:09 +08:00
laokaiyao
482a37612d
i2s: fix 16bit slot sequence on esp32
2022-08-09 18:28:09 +08:00
Marius Vikhammer
f8729d905e
Merge branch 'feature/ulp_riscv_adc_v4.4' into 'release/v4.4'
...
ulp-riscv: add support for using ADC as well as an example show-casing it. (v4.4)
See merge request espressif/esp-idf!19058
2022-08-09 15:00:50 +08:00
morris
22b847fc5f
Merge branch 'bugfix/memory_region_define_rtc_fast_v4.4' into 'release/v4.4'
...
backport v4.4: substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
See merge request espressif/esp-idf!19423
2022-08-09 14:38:40 +08:00
Marius Vikhammer
a968442603
Merge branch 'bugfix/ringbuf_iram_fix_v4.4' into 'release/v4.4'
...
esp_ringbuf: placement in flash is no longer controlled by... (v4.4)
See merge request espressif/esp-idf!19165
2022-08-09 11:01:52 +08:00
Marius Vikhammer
f8f93d936e
ulp-riscv: add support for using ADC as well as an example show-casing it.
2022-08-09 09:21:15 +08:00
Marius Vikhammer
a940064748
esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
...
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
Closes https://github.com/espressif/esp-idf/issues/9198
2022-08-08 07:15:00 +00:00
Omar Chebib
cb411a81a2
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-08-08 06:10:31 +00:00
Li Shuai
12db32642c
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
2022-08-08 11:27:10 +08:00
Jiang Jiang Jian
d16797b447
Merge branch 'bugfix/further_fix_for_mspi_current_leakage_backport_v4.4' into 'release/v4.4'
...
system/sleep: further fix spi flash/ram current leakage(backport v4.4)
See merge request espressif/esp-idf!19212
2022-08-04 14:46:56 +08:00
Jiang Jiang Jian
68dd89971e
Merge branch 'bugfix/backtrace_formatting_add_missing_space_v4.4' into 'release/v4.4'
...
Reverts Backtrace: format to what it used to be (v4.4)
See merge request espressif/esp-idf!19123
2022-08-04 14:46:31 +08:00
Jiang Jiang Jian
46f5c59cc2
Merge branch 'bugfix/set_ipv6_dns_error_v4.4' into 'release/v4.4'
...
lw ip: Fixed that ipv6 dns cannot work (v4.4)
See merge request espressif/esp-idf!19062
2022-08-04 14:45:58 +08:00
Jiang Jiang Jian
905b3b1718
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.4' into 'release/v4.4'
...
Fix some bluedroid issues(backport v4.4)
See merge request espressif/esp-idf!19130
2022-08-04 14:45:44 +08:00
Jiang Jiang Jian
0544069689
Merge branch 'bugfix/put_sempher_and_queue_used_in_isr_into_DRAM_v4.4' into 'release/v4.4'
...
Make sure semphr/queue used in interrupt is in DRAM
See merge request espressif/esp-idf!18988
2022-08-04 14:44:56 +08:00
Jiang Jiang Jian
d3eeebf8f8
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.4' into 'release/v4.4'
...
Fixed bluedroid host memory overflow for v4.4
See merge request espressif/esp-idf!19060
2022-08-04 14:44:40 +08:00
Jiang Jiang Jian
869abf8a3f
Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.4' into 'release/v4.4'
...
FreeRTOS: Fix event group task list race condition (v4.4)
See merge request espressif/esp-idf!19103
2022-08-04 14:43:45 +08:00
Jiang Jiang Jian
9f9021a221
Merge branch 'bugfix/multiple_adc_bugfix_v4.4' into 'release/v4.4'
...
adc: fix multiple bugs (v4.4)
See merge request espressif/esp-idf!19142
2022-08-04 14:42:53 +08:00
Jiang Jiang Jian
bfb88338bb
Merge branch 'bugfix/memory_debug_not_work_v4.4' into 'release/v4.4'
...
bugfix/fix the dependency error of macro for memory debug (v4.4)
See merge request espressif/esp-idf!19237
2022-08-04 14:42:12 +08:00
Jiang Jiang Jian
79a8ad665a
Merge branch 'bugfix/memory_copy_bugs_in_bluedroid_4.4' into 'release/v4.4'
...
components_bt/bluedroid: Fix Memory Copy Build Err [backport v4.4]
See merge request espressif/esp-idf!19311
2022-08-04 14:41:58 +08:00
Jiang Jiang Jian
66a1de0843
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host_v4.4' into 'release/v4.4'
...
component_bt: fix legacy pair controller does not send the link key to the host (v4.4)
See merge request espressif/esp-idf!19320
2022-08-04 14:41:45 +08:00
Jiang Jiang Jian
aa81e5bbbe
Merge branch 'bugfix/fix_bt_sphinx_warnings_4.4' into 'release/v4.4'
...
components_bt: fix unstandard typedefs [backport v4.4]
See merge request espressif/esp-idf!19338
2022-08-04 14:41:28 +08:00
Jiang Jiang Jian
40a8214314
Merge branch 'feature/esp_lcd_spi_rx_v4.4' into 'release/v4.4'
...
Add support SPI rx into LCD component (backport v4.4)
See merge request espressif/esp-idf!19122
2022-08-04 14:41:03 +08:00
Li Shuai
e4c5e5a701
sleep: beacon loss and noise check timer optimize for wifi power save
2022-08-04 12:11:39 +08:00
Mahavir Jain
c0d04787ca
Merge branch 'feature/rainmaker_BT_configurable_v4.4' into 'release/v4.4'
...
Wifi_prov_mgr: Made BT configurable after provisioning is completed (v4.4)
See merge request espressif/esp-idf!19263
2022-08-04 11:49:36 +08:00
Mahavir Jain
6854841267
Merge branch 'contrib/github_pr_9446_v4.4' into 'release/v4.4'
...
Add missing comma (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19307
2022-08-04 11:47:02 +08:00
Roland Dobai
b2770bd18e
Merge branch 'tools/mfg_fix_blank_lines_csv_v4.4' into 'release/v4.4'
...
tools: Introduce support for blank lines in config and value files for mfg utility (v4.4)
See merge request espressif/esp-idf!19253
2022-08-03 22:49:14 +08:00
Roland Dobai
575d28e56c
Merge branch 'contrib/github_pr_9408_v4.4' into 'release/v4.4'
...
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2 (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19306
2022-08-03 22:49:02 +08:00
Roland Dobai
1b16ef6cfc
versions: Update version to 4.4.2
2022-08-02 14:06:15 +02:00
weitianhua
72fd3bc1e6
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-02 13:39:36 +08:00
xiongweichao
c4491c352d
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-08-01 19:07:16 +08:00
weitianhua
5b648b8452
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 14:27:56 +08:00
FanhuaCloud
dc626195f0
Add missing comma
...
Add missing comma when CONFIG_ESP32S3_DATA_CACHE_16KB is enabled
2022-08-01 09:17:40 +05:30
Angus Gratton
b765963c7c
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2
...
As documented, the limit for NVS format v2 is 4000 bytes for a string.
2022-08-01 09:12:39 +05:30
Jiang Jiang Jian
6d85d53cee
Merge branch 'bugfix/qatest_spp_crash_v4.4' into 'release/v4.4'
...
bugfix/qatest spp crash (v4.4)
See merge request espressif/esp-idf!19238
2022-07-28 16:06:56 +08:00
jingli
236bd27134
further fix spi flash/ram current leakage
...
Currently, we pull up cs io for spi flash/ram to reduce current leakage during
light sleep. But some kind of spi flash/ram chip need all io pull up. Otherwise,
current leakage will still exist.
2022-07-28 13:11:55 +08:00
jingli
5f2855882b
kconfig: fix kconfig help of power down flash
2022-07-28 13:10:55 +08:00
jingli
23d934429c
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-07-28 11:24:40 +08:00
jincheng
a066de7fec
1. add protect for bt_util_buf_env buffers when multi-access
...
2. ignore assert_err in em_bt_clkoff1_setf
2022-07-27 18:01:12 +08:00
Isha Pardikar
eb490dc18e
Merge branch 'feature/rainmaker_BT_configurable' into 'release/v4.4'
...
Doc: Made bluetooth configurable after wifi provisioning is completed
See merge request espressif/esp-idf!19263
2022-07-27 12:24:50 +05:30
Djordje Nedic
b654c14d0e
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-26 23:17:33 +02:00
Jiang Jiang Jian
14903a46d1
Merge branch 'bugfix/optimize_beacon_timeout_issue_4.4' into 'release/v4.4'
...
esp_wifi:bugfix optimize beacon timeout issue(4.4)
See merge request espressif/esp-idf!19157
2022-07-25 15:48:57 +08:00
baohongde
aadd18514c
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-25 11:10:28 +08:00
baohongde
c5db1591cf
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-25 11:08:13 +08:00
Jiang Jiang Jian
47b6a8c85a
Merge branch 'bugfix/phy_init_failed_when_wifi_deinit_4.4' into 'release/v4.4'
...
esp_wifi:bugfix for phy init failed when wifi deinit(4.4)
See merge request espressif/esp-idf!19137
2022-07-25 10:52:28 +08:00