Commit Graph

28275 Commits

Author SHA1 Message Date
jofrev
60767c234d Set errno in adjtime if delta is too large
errno should be set to EINVAL in this case according to adjtime's man
page.
2022-12-08 22:35:50 +00:00
jofrev
1005b45ca8 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.
2022-12-08 22:34:49 +00:00
Darian Leung
10ee81108f freertos(IDF): Update documentation on spinlock initialization and usage
This commit adds some code snippets to covering how to initialize spinlocks
when they are dynamically or statically allocated.
2022-12-08 22:05:14 +08:00
Rahul Tank
4bf8886042 Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 2022-12-08 17:23:15 +05:30
morris
bc56ae4a63 Merge branch 'docs/translate_uart' into 'master'
docs: translate uart

Closes DOC-3037

See merge request espressif/esp-idf!21184
2022-12-08 19:34:40 +08:00
Wang Zi Yan
828fed333e docs: translate uart 2022-12-08 19:34:40 +08:00
Ivan Grokhotkov
f1b1540f61
docs: fix the number of breakpoints and watchpoints for RISC-V chips 2022-12-08 12:12:02 +01:00
Wu Zheng Hui
46917a87ba Merge branch 'bugfix/unstall_other_cpu_on_core_reset' into 'master'
bugfix: unstall other cpu on core reset

Closes IDFGH-8902

See merge request espressif/esp-idf!21495
2022-12-08 18:53:36 +08:00
Nathan Phillips
2d047f5439 Fix type of cast 2022-12-08 10:51:16 +00:00
Nathan Phillips
260fd5c5a5 Explicitly log an invalid digest in DS data 2022-12-08 10:33:59 +00:00
Nathan Phillips
057f5cb120 Distinguish 4 identical log messages
Say which certificate couldn't be parsed in each one.
2022-12-08 10:31:28 +00:00
Alexey Lapshin
960a235ad7 Merge branch 'fix/docs-SYSVIEW_FreeRTOS_txt-path' into 'master'
docs: fix path to SYSVIEW_FreeRTOS.txt

See merge request espressif/esp-idf!21461
2022-12-08 18:13:22 +08:00
Wan Lei
35a749a76e Merge branch 'test/re-enable_unit-test' into 'master'
test: re-enable some test cases of spi for esp32c2 and c6

Closes IDF-5146

See merge request espressif/esp-idf!21052
2022-12-08 17:54:04 +08:00
zwj
b5a6e9a528 Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3 2022-12-08 17:26:14 +08:00
Chip Weinberger
9afc386dd2 [Heap Trace Standalone] improvements to formatting, code, comments 2022-12-08 00:47:02 -08:00
Song Ruo Jing
6f4d1ea436 Merge branch 'feature/esp32c6_ledc_support' into 'master'
ledc: Add basic support for esp32c6

Closes IDF-5328

See merge request espressif/esp-idf!21387
2022-12-08 16:07:46 +08:00
Mahavir Jain
2af4a97b87 Merge branch 'examples/remove_wno_format_compile_option' into 'master'
protocols/security: Remove `-Wno-format` compile option for examples

Closes IDF-6434

See merge request espressif/esp-idf!21480
2022-12-08 15:59:41 +08:00
Vilem Zavodny
1303a7ceee Merge branch 'feature/support_rotating_lcd_ssd1306_1' into 'master'
Support rotation SSD1306, changed example for using LVGL port component and added SH1107 LCD support.

See merge request espressif/esp-idf!21196
2022-12-08 15:34:39 +08:00
wuzhenghui
0d345c814a bugfix: unstall other cpu on core reset
- Closes https://github.com/espressif/esp-idf/issues/10320
2022-12-08 15:30:39 +08:00
Tomas Rezucha
fb4b18db2f Merge branch 'feature/usb_host/cdc_ch340' into 'master'
USB Host: Expand VCP example

Closes IDFGH-7370 and IDFGH-8156

See merge request espressif/esp-idf!18940
2022-12-08 15:14:51 +08:00
Fu Hanxi
fc1f4ee2ba ci: add pytest example jtag job 2022-12-08 14:25:02 +08:00
Fu Hanxi
1148980383 test: pytest_gdb.py avoid LIBUSB_ERROR_BUSY
- stop using `shell=True`
- use `terminate()`
2022-12-08 14:25:02 +08:00
Fu Hanxi
dc3c630919 ci: move more openocd scripts into pytest-embedded 2022-12-08 14:25:02 +08:00
Fu Hanxi
09a32437b3 ci: migrate ttfw gdb_loadable_elf test to pytest 2022-12-08 14:25:02 +08:00
Fu Hanxi
ea5a08468c ci: install pytest-embedded-jtag for --enable-pytest 2022-12-08 14:25:01 +08:00
Darian
f7d6f83c41 Merge branch 'refactor/freertos_startup_and_common_functions' into 'master'
FreeRTOS: Refactor app startup and port common functions

See merge request espressif/esp-idf!21240
2022-12-08 13:40:28 +08:00
Fu Hanxi
c81ff4571e Merge branch 'ci/improve_pytest_process' into 'master'
Ci/improve pytest process

See merge request espressif/esp-idf!21358
2022-12-08 13:04:16 +08:00
Fu Hanxi
67cd264535 pytest: check duplicates test case/script names 2022-12-08 09:49:12 +08:00
Fu Hanxi
df63cd0765 docs: update pytest related docs 2022-12-08 09:49:12 +08:00
Fu Hanxi
08e68c192a ci(pytest): differentiate temp_skip and temp_skip_ci markers 2022-12-08 09:49:12 +08:00
Fu Hanxi
52e6fefb3d ci(pytest): stop adding xtal_40mhz when running test case for other targets 2022-12-08 09:49:12 +08:00
Fu Hanxi
d9bcb99f58 ci(pytest): declare markers in conftest.py instead of pytest.ini 2022-12-08 09:49:12 +08:00
Fu Hanxi
a6164dc14c ci: make get_pytest_apps 90% faster 2022-12-08 09:48:25 +08:00
Fu Hanxi
9a666c8ba0 ci: ci_build_apps.py supports filter_expr 2022-12-08 09:48:25 +08:00
Darian Leung
486cc33fb3 freertos: Refactor port common functions
This commit refactors port_common.c so that it only contains implementation of
FreeRTOS port functions that are common to all FreeRTOS ports (i.e., on all
architectures and on all FreeRTOS implementations).
2022-12-08 01:57:30 +08:00
Darian Leung
09690906e7 freertos: Refactor OS startup functions
This commit refactors the OS startup functions as follows:

- Moved the OS/app startup functions listed below to "app_startup.c". Their
    implementations are now common to all ports (RISC-V and Xtensa) of all
    FreeRTOS implementations (IDF and Amazon SMP).
    - esp_startup_start_app()
    - esp_startup_start_app_other_cores()
- Removed esp_startup_start_app_common() as app startup functions are now
    already common to all ports.
- Added extra logs to "main_task" to help with user debugging

Note: Increased startup delay on "unity_task". The "unity_run_menu()" is non
blocking, thus if the main task or other startup tasks have not been freed
by the time "unity_run_menu()" is run, those tasks will be freed the next time
"unity_task" blocks. This could cause some tests to have a memory leak, thus
the "unity_task" startup delay has increased.
2022-12-08 01:57:30 +08:00
Ivan Grokhotkov
9a1f2b95ea Merge branch 'contrib/github_pr_10304' into 'master'
Fixed mismatch in printf types (GitHub PR)

Closes IDFGH-8883

See merge request espressif/esp-idf!21450
2022-12-08 00:24:18 +08:00
Alexey Gerenkov
9ac90acd9e Merge branch 'feature/add_newlib_nano_build_support_for_clang' into 'master'
Newlib nano build support for clang

See merge request espressif/esp-idf!21056
2022-12-07 20:24:58 +08:00
Andrei Safronov
2c5a9494fe Merge branch 'bugfix/fix_gnu_asm_struct' into 'master'
xtensa: remove asm struct expressions in header files

See merge request espressif/esp-idf!18836
2022-12-07 20:21:31 +08:00
Tomas Rezucha
abdf7430e0 usb_host: Extend VCP example with more devices
Closes https://github.com/espressif/esp-idf/issues/9652
Closes https://github.com/espressif/esp-idf/issues/8951
2022-12-07 11:33:48 +00:00
Song Ruo Jing
9402ab427b ledc: Add basic support for esp32c6 2022-12-07 18:40:50 +08:00
Jin Cheng
f2f6aef019 correct the SR_mode selection when konw nothing about Peripheral 2022-12-07 09:47:03 +00:00
Vilem Zavodny
7e661b3f7f lcd: Add SH1107 controller into I2C oled example. 2022-12-07 09:04:17 +01:00
Vilem Zavodny
8631e4544b lcd: Support rotation SSD1306 and changed example for using LVGL port component. 2022-12-07 09:04:17 +01:00
Guillaume Souchere
4d16f46a88 esp_system: fix placement of __stack_chk_fail from flash to RAM
When stack check is enabled, certain functions (sometimes placed in RAM)
are being decorated with stack guards and a call to __stask_chk_fail() in
case ofr stack corruption. For this reason, __stack_chk_fail() must be
placed in RAM too.

Add stack check config in heap tests on all targets to find eventual flash to RAM
calls due to stack checks when running callgraph_check.py
2022-12-07 08:49:12 +01:00
morris
5c06e9cf40 etm: update etm event task new API 2022-12-07 15:43:20 +08:00
C.S.M
c645c9ba06 Merge branch 'feature/add_esp32h2_system_support' into 'master'
ESP32H2: Add system support for ESP32H2

See merge request espressif/esp-idf!21460
2022-12-07 15:39:45 +08:00
Laukik Hase
184c09ea81
protocols/security: Remove -Wno-format compile option for examples 2022-12-07 13:02:00 +05:30
David Čermák
1aa1e265ea Merge branch 'bugfix/tcp_transport_psram' into 'master'
Bugfix for tcp_transport CI psram issue

See merge request espressif/esp-idf!17127
2022-12-07 15:17:54 +08:00
zwj
e9bfaf9a41 Fixed some memory was not released after bluetooth controller initialization failed on ESP32 2022-12-07 15:04:39 +08:00