Commit Graph

26308 Commits

Author SHA1 Message Date
Laukik Hase
a2dd95434f memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-06 12:39:12 +00:00
morris
6b397d5114 Merge branch 'contrib/github_pr_10640_v5.0' into 'release/v5.0'
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22588
2023-03-06 15:35:24 +08:00
Laukik Hase
d53d4ec930 esp32/mpi: Added alternate workaround for MPI data corruption issue
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
  MPI peripheral
- Updated the previous workaround added for the same issue as it
  was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
  enabled.
- The test performance numbers had to be updated due to the
  performance penalty introduced by this fix.

Closes https://github.com/espressif/esp-idf/issues/10403
2023-03-06 06:43:17 +00:00
jingli
cb64ff74fc system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK 2023-03-06 11:56:56 +08:00
jingli
38c25ebceb konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED 2023-03-06 11:53:35 +08:00
jingli
5d6c050376 examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold 2023-03-06 11:51:55 +08:00
jingli
63db044e9c esp32c2/ci: reenable deep sleep example test 2023-03-06 11:51:41 +08:00
jingli
c6fbdb4acb examples/system/deep_sleep:
Use nvs instead of RTC_DATA_ATTR to record deep sleep enter time when
the target chip does not have rtc mem.
2023-03-06 11:46:56 +08:00
jingli
a7be8fddcb examples/system/light_sleep:
Add some hints in README to remind users that they can try to power down
the CPU and SPI Flash for lower power consumption.
2023-03-06 11:46:37 +08:00
Armando
753ed2697f esp_psram: return error when fail to detect oct psram 2023-03-06 10:56:28 +08:00
morris
2b14b7d061 Merge branch 'contrib/github_pr_10402_v5.0' into 'release/v5.0'
ledc: move callback to IRAM as it's called from an ISR (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22590
2023-03-06 10:14:58 +08:00
Marius Vikhammer
7ea24f38a7 Merge branch 'refactor/move_rom_test_to_fpga_only_v5.0' into 'release/v5.0'
esp_rom: miniz test only on FPGA (backport 5.0)

See merge request espressif/esp-idf!22601
2023-03-06 09:15:54 +08:00
morris
6f74272d56 Merge branch 'contrib/github_pr_10856_v5.0' into 'release/v5.0'
Correct typo in referenced function name (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22587
2023-03-05 23:42:37 +08:00
morris
2aed3d6056 Merge branch 'contrib/github_pr_10334_v5.0' into 'release/v5.0'
Set errno in adjtime (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22598
2023-03-05 21:37:45 +08:00
jofrev
aa496e6550 Set errno in adjtime if delta is too large
errno should be set to EINVAL in this case according to adjtime's man
page.
2023-03-03 18:15:27 +08:00
jofrev
f2c8de6b1b Set errno in adjtime if newlib time funcs are not implemented
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2023-03-03 18:15:26 +08:00
Jakob Hasse
1581c494d3 refactor(esp_rom): miniz test only on FPGA now 2023-03-03 18:15:06 +08:00
Song Ruo Jing
bdffb4403d ledc: Add check for whether the registered callback is in iram in ledc_cb_register 2023-03-03 17:21:56 +08:00
chli
c3db512280 ledc: move callback to IRAM, it's called from an ISR 2023-03-03 17:21:56 +08:00
Simon Arlott
9d34501ad1 hal/uart_ll.h: Fix compile issue with C++
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 16:50:26 +08:00
Bradley McFadden
701780891c uart: Correct typo in referenced function name
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.

Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-03 16:45:17 +08:00
Zim Kalinowski
11c59a2e69 Merge branch 'bugfix/fix_psram_kconfig_help_v5.0' into 'release/v5.0'
psram: removed deprecated statement about coredump and external BSS (backport v5.0)

See merge request espressif/esp-idf!22562
2023-03-03 13:35:30 +08:00
Jiang Jiang Jian
7d7196d2d2 Merge branch 'ci/add_generic_to_xtal_26mhz_runners_5.0' into 'release/v5.0'
Ci: add generic to xtal 26mhz runners 5.0

See merge request espressif/esp-idf!21756
2023-03-02 17:17:47 +08:00
morris
0a5ed6ff9c Merge branch 'bugfix/fix_btld_app_overlap_c2_v5.0' into 'release/v5.0'
ld: fixed bootloader and app potential overlap issue (v5.0)

See merge request espressif/esp-idf!22569
2023-03-02 15:26:02 +08:00
Rahul Tank
2b5f1140dd Nimble: Added return value (success / failure ) to nimble_port_init 2023-03-02 09:47:03 +05:30
Jakob Hasse
28c325b291 refactor(nvs): custom allocator for all objects allocated in NVS 2023-03-02 10:49:53 +08:00
Armando
fbe7d6fca9 ld: fixed bootloader and app potential overlap issue 2023-03-02 10:45:40 +08:00
Chen Yudong
3c58ca9285 CI: optimize test case test_examples_protocol_socket_tcpserver 2023-03-01 22:40:34 +08:00
Chen Yudong
a62e103109 CI: add example adc tests 2023-03-01 22:40:34 +08:00
Chen Yudong
c8e7ab7f17 CI: add generic to xtal_40mhz jobs 2023-03-01 22:40:32 +08:00
morris
21b42ce760 Merge branch 'bugfix/fix_adc_pm_lock_release_issue_v5.0' into 'release/v5.0'
esp_adc: fix continuous mode pm lock release fail issue and add tests (v5.0)

See merge request espressif/esp-idf!22551
2023-03-01 22:35:22 +08:00
Omar Chebib
e4c94328b9 psram: removed deprecated statement about coredump and external BSS 2023-03-01 19:02:24 +08:00
Krzysztof Budzynski
850ac2c037 Merge branch 'docs/fix_errors_in_esp32-c3-devkitm-1_pin_list_v5.0' into 'release/v5.0'
Docs/Fix Errors in ESP32-C3-DevKitM-1 Pin List (v5.0)

See merge request espressif/esp-idf!22487
2023-03-01 18:41:22 +08:00
Armando
aa3cc6ac17 esp_adc: fix continuous mode pm lock release fail issue and add tests
Closes https://github.com/espressif/esp-idf/issues/10853
2023-03-01 10:51:19 +08:00
Island
564b94fe5b Merge branch 'feature/esp32c2_optimize_npl_api_v5.0' into 'release/v5.0'
Optimized NPL Freertos API

See merge request espressif/esp-idf!21906
2023-02-28 20:51:49 +08:00
Jiang Jiang Jian
d759ee5aea Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
touch: update examples and tests (v5.0)

See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Mahavir Jain
d56a6e1691 Merge branch 'fix/http_client_disable_auto_redirect_causes_loop_v5.0' into 'release/v5.0'
http_client: fixed looping caused when disable_auto_redirect enabled (v5.0)

See merge request espressif/esp-idf!22536
2023-02-28 19:54:31 +08:00
Kevin Evans
af1f67424c Nimble:Re-run ext adv after completion 2023-02-28 17:22:03 +05:30
Jiang Jiang Jian
008a4dc54e Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue_v5.0' into 'release/v5.0'
NimBLE: Fix incomplete clearing of peer_dev_rec (v5.0)

See merge request espressif/esp-idf!21952
2023-02-28 14:20:48 +08:00
harshal.patil
f39f6011f5 http_client: fixed looping caused when disable_auto_redirect enabled
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-28 10:29:24 +05:30
zwl
3eb8a9cf1e ble: Fixed flow control count error on ESP32-C2 2023-02-27 21:48:19 +08:00
zhiweijian
61c3b96957 Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing 2023-02-27 13:01:13 +00:00
zhiweijian
1a9300af1f support ble notify and write throughput test at the same time 2023-02-27 13:01:13 +00:00
Marius Vikhammer
ca0623e311 Merge branch 'bugfix/freertos_stream_buffer_test_v5.0' into 'release/v5.0'
FreeRTOS: Fix stream buffer send-receive test (v5.0)

See merge request espressif/esp-idf!22507
2023-02-27 19:02:04 +08:00
Zim Kalinowski
fd707e1d03 Merge branch 'bugfix/twai_listen_only_errata_v5.0' into 'release/v5.0'
twai: Add errata workaround for listen only mode (v5.0)

See merge request espressif/esp-idf!22514
2023-02-27 18:13:11 +08:00
Shen Weilong
0fce029b92 [esp32c2] Fixed the occasional assertion when deinit the ble controller 2023-02-27 16:56:05 +08:00
zwl
7b28d40c0a ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2 2023-02-27 16:56:05 +08:00
zwl
530c07a5be Optimized NPL Freertos API 2023-02-27 16:56:05 +08:00
Sumeet Singh
ace6a3b4bb NimBLE: Fix incomplete clearing of peer_dev_rec 2023-02-27 14:21:57 +05:30
Jiang Jiang Jian
9a3c8a6567 Merge branch 'bugfix/change_position_of_vendor_model_and_gen_onoff_model_callback_forv5.0' into 'release/v5.0'
ble_mesh:example:change position of vendor model and generic onoff model callback(v5.0)

See merge request espressif/esp-idf!21798
2023-02-27 15:13:27 +08:00