Commit Graph

26972 Commits

Author SHA1 Message Date
wangjialiang
2fd57ba418 ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples 2022-12-13 11:16:26 +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
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
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
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
Vilem Zavodny
2e3c72a5d1 Merge branch 'fix/lcd_spi_example_colors' into 'master'
examples/spi_lcd_touch: Fixed colors on ILI9341.

Closes IDFGH-8811

See merge request espressif/esp-idf!21298
2022-12-07 14:41:09 +08:00
morris
9cce5849e8 Merge branch 'bugfix/usb_host_dwc_hal_chan_halt_race_condition' into 'master'
USB Host: Fix USB DWC HAL host channel halt race condition + Incorrect bmRequestType direction flag

Closes IDF-6348

See merge request espressif/esp-idf!21452
2022-12-07 14:27:13 +08:00
Mahavir Jain
a46223bc4e Merge branch 'bugfix/fix_esp_https_server_initialize' into 'master'
esp_https_server: Fix initializers missing in esp_https_server

Closes IDFGH-8885

See merge request espressif/esp-idf!21437
2022-12-07 14:18:31 +08:00
Sachin Parekh
e997038ab4 Merge branch 'esp32c6/bootloader_region_protection' into 'master'
esp32c6: Enable IRAM-DRAM split using PMP

Closes IDF-5642 and IDF-5684

See merge request espressif/esp-idf!21199
2022-12-07 13:45:46 +08:00
Mahavir Jain
bdd822970c Merge branch 'bugfix/add_check_for_coredump_encrypted_flag' into 'master'
coredump: add partition encrypted flag check for flash encryption case

See merge request espressif/esp-idf!21410
2022-12-07 11:52:49 +08:00
Cao Sen Miao
8cc9260f86 ESP32H2: Add system support for ESP32H2 2022-12-07 11:38:51 +08:00
morris
171b849831 Merge branch 'doc/esp_lcd_class_diagram' into 'master'
RGB LCD multi-framebuffer support

Closes IDF-5309, IDF-5939, and IDF-6336

See merge request espressif/esp-idf!20975
2022-12-07 11:25:15 +08:00
Wang Meng Yang
c9b4f1995a Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption' into 'master'
Reduce the stack consumption of BTU_TASK

Closes BT-3022 and BT-2950

See merge request espressif/esp-idf!21433
2022-12-07 11:13:41 +08:00
Zhang Xiao Yan
1d82bcd125 Merge branch 'docs/update_jtag_pins_for_other_purposes_esp32s3_esp32c3' into 'master'
docs: update description of jtag pins for esp32s3 and esp32c3

Closes DOC-3015

See merge request espressif/esp-idf!21225
2022-12-07 09:45:05 +08:00
Marius Vikhammer
2f348d93c7 Merge branch 'feature/linux_heap' into 'master'
heap: add linux target support

Closes IDF-6000

See merge request espressif/esp-idf!21401
2022-12-07 09:28:36 +08:00
Alexey Gerenkov
002411b169 riscv: Use 'li' instead of 'la' for loading peripheral reg address 2022-12-06 21:54:50 +03:00
Zim Kalinowski
c73f1f1d02 Merge branch 'feature/qemu-efuse' into 'master'
efuse: enable qemu tests

Closes QEMU-73

See merge request espressif/esp-idf!21419
2022-12-07 01:47:36 +08:00
Sachin Parekh
7af998d23f esp32c6: Enable IRAM-DRAM split using PMP 2022-12-06 14:50:55 +00:00
Ivan Grokhotkov
e20b28e0c8
hello_world: revert to %d for 8/16-bit for newlib-nano compatibility 2022-12-06 14:59:34 +01:00
Wang Meng Yang
7b1bbd59eb Merge branch 'bugfix/spp_vfs_memory_leak' into 'master'
Component_bt/fix esp_spp_vfs_register memory leak

Closes BT-2344

See merge request espressif/esp-idf!17909
2022-12-06 20:14:51 +08:00
Zhang Xiao Yan
8956987041 Merge branch 'docs/update_usb_otg_console' into 'master'
docs: update description of initial upload on development boards

Closes DOC-4201

See merge request espressif/esp-idf!21403
2022-12-06 20:05:10 +08:00
Alexey Gerenkov
2710749f21 riscv: Remove asm struct expressions in header files 2022-12-06 13:35:27 +03:00
Darian Leung
c2bc34ee84 usb: Fix incorrect bmRequestType direction flag in USB Host Library
usb_host_transfer_submit_control() uses the incorrect bmRequestType direction
flag. Therefore, when doing a transfer check, all transfers were mistakenly
treated as OUT transfers (only affects transfer check and not actual transfer).
2022-12-06 18:10:45 +08:00
Darian Leung
d69d1aafaf hal: Fix USB DWC HAL host channel halt race condition
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...

- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.

This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2022-12-06 18:08:54 +08:00
Vilem Zavodny
0ea1317983 examples/spi_lcd_touch: Fixed colors on ILI9341. 2022-12-06 10:59:25 +01:00
Alexey Gerenkov
893cc19f75 tools: Adds newlib nano support for clang builds 2022-12-06 12:33:09 +03:00
Alexey Gerenkov
989cb33fe4 tools: Updates esp-clang version to 'esp-15.0.0-20221201' 2022-12-06 12:33:09 +03:00
Shen Wei Long
67507baf37 Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
Explain how much memory that will be used by each connection/advertiser.

See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
Jiang Jiang Jian
8223a59183 Merge branch 'feat/espnow_rx_cb_opt' into 'master'
esp_wifi: upload more pkt info for espnow rx cb

Closes WIFI-4754

See merge request espressif/esp-idf!18261
2022-12-06 16:33:16 +08:00
Jiang Guang Ming
454aeb3a48 Merge branch 'feature/add_new_caps_for_rom_has_regi2c_bug' into 'master'
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps

See merge request espressif/esp-idf!21418
2022-12-06 16:04:21 +08:00
Jiang Jiang Jian
505a78f4f5 Merge branch 'ci/patterns-target_test-wifi_more_files' into 'master'
CI: add more files to patterns-target_test-wifi

Closes IDFCI-1534

See merge request espressif/esp-idf!21398
2022-12-06 14:38:33 +08:00
Mahavir Jain
274aa2d7c0 Merge branch 'docs/remote_signing_of_images_cmd_fix' into 'master'
docs: fix secure boot "Remote Signing of Images" section command

Closes DOC-4198

See merge request espressif/esp-idf!21378
2022-12-06 14:35:21 +08:00
Marius Vikhammer
6bd0be3e92 Merge branch 'bugfix/freertos_port_miss_header' into 'master'
freertos: add missing header include for esp_chip_info.h to port.c

Closes IDFGH-8889

See merge request espressif/esp-idf!21456
2022-12-06 12:46:54 +08:00
Marius Vikhammer
b8e3896fc4 Merge branch 'bugfix/hints_require' into 'master'
hints: add a more complete description for component not found errors

See merge request espressif/esp-idf!21421
2022-12-06 12:00:55 +08:00
Mo Fei Fei
2f8371fe53 Merge branch 'docs/update_schematics_s3_devkitc' into 'master'
Docs: Update schematics for ESP32-S3 DevKitC-1

Closes DOC-4182

See merge request espressif/esp-idf!21406
2022-12-06 11:50:23 +08:00
Mo Fei Fei
120657cc08 Docs: Update schematics for ESP32-S3 DevKitC-1 2022-12-06 11:50:23 +08:00