Commit Graph

26583 Commits

Author SHA1 Message Date
Marius Vikhammer
319208c3d1 Merge branch 'bugfix/clang_tidy_and_nvs_memory_issue' into 'release/v5.0'
clang tidy add C++ and nvs memory issue (backports 5.0)

See merge request espressif/esp-idf!22666
2023-03-10 11:42:02 +08:00
Mahavir Jain
045ad4638e Merge branch 'feature/memprot_test_app_v5.0' into 'release/v5.0'
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3 (v5.0)

See merge request espressif/esp-idf!22582
2023-03-10 11:27:01 +08:00
Aditya Patwardhan
f31e3c1046 Merge branch 'fix/esp32_hw_mpi_data_corruption_v5.0' into 'release/v5.0'
esp32/mpi: Added alternate workaround for MPI data corruption issue (v5.0)

See merge request espressif/esp-idf!22581
2023-03-10 11:17:31 +08:00
Ivan Grokhotkov
72d59d1ced ci: add .cpp and .hpp files, but ignore nvs_storage.cpp
* nvs_storage.cpp seems to produce a false positive
2023-03-09 17:38:53 +08:00
isha.pardikar@espressif.com
0a47d78680 Doc : SPP server documentation fix
Closes https://github.com/espressif/esp-idf/issues/10930
2023-03-09 11:58:14 +05:30
Wang Meng Yang
e9092c2d2d Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
support ble write and notify throughput test at the same time (backport v5.0)

See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
Zim Kalinowski
2a804de4b7 Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)

See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
Sarvesh Bodakhe
e111b46e7d esp_wifi: fix typo in wifi_enterprise example README
Closes https://github.com/espressif/esp-idf/issues/10042
2023-03-08 13:18:24 +05:30
Jakob Hasse
0eddee63e8 bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init() 2023-03-08 14:13:11 +08:00
Zim Kalinowski
416ada0ce1 Merge branch 'refactor/nvs_allocatable_objects_v5.0' into 'release/v5.0'
refactor(nvs): custom allocator for all objects allocated in NVS (v5.0)

See merge request espressif/esp-idf!21792
2023-03-07 14:15:49 +08:00
morris
a77d7d2343 Merge branch 'bugfix/timg0_disable_v5.0' into 'release/v5.0'
esp_system: Fix TIMG0 still enabled after Timer is freed (v5.0)

See merge request espressif/esp-idf!22630
2023-03-07 11:56:50 +08:00
Omar Chebib
83907aaa20 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
morris
2b6576ff08 Merge branch 'bugfix/some_small_fix_for_sleep_examples_backport_v5.0' into 'release/v5.0'
examples: some small fix for sleep examples(backport v5.0)

See merge request espressif/esp-idf!22618
2023-03-07 10:20:02 +08:00
morris
4cd4762b1f Merge branch 'bugfix/return_error_when_fail_detect_oct_psram_v5.0' into 'release/v5.0'
esp_psram: return error when fail to detect oct psram (v5.0)

See merge request espressif/esp-idf!22612
2023-03-07 10:18:28 +08:00
Gustavo Henrique Nihei
aab0a5a4a8 esp_system: Fix TIMG0 still enabled after Timer is freed
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Gustavo Henrique Nihei
24484887a9 esp_system: Ensure TIMG0 clock is always enabled during normal operation
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
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
Song Ruo Jing
639e49d157 gpio: add a test case to test the ability of disabling USB D+ pin pull-up 2023-03-06 11:14:05 +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
Zim Kalinowski
20db248fb2 cxx: removed cxx experimental components 2023-03-05 10:23:28 +01:00
Song Ruo Jing
f177b2c6c6 uart: Fix two TX concurrency issues
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 19:18:08 +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
wanlei
62e1e2500c spi_slave: fix io re-config issue 2023-03-03 17:56:23 +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