zhengyujie
1e3c82b27d
ieee802154: add ieee802154 component CI
2022-12-14 12:20:45 +08:00
Zim Kalinowski
7627a12045
pthread: enable qemu tests
2022-12-13 21:42:58 +01:00
Rocha Euripedes
aaeaefc9ad
Merge branch 'update/esp-mqtt' into 'master'
...
mqtt: [Update mqtt_client] - Set state on stoping; Add error code to Subscribed event
See merge request espressif/esp-idf!20922
2022-12-14 04:34:09 +08:00
Song Ruo Jing
edd815af2e
Merge branch 'feature/esp32c6_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32c6
Closes IDF-5630, IDF-5973, IDF-5346, and IDF-6050
See merge request espressif/esp-idf!21149
2022-12-14 02:22:49 +08:00
Euripedes Rocha
4ec9d4bad6
mqtt: Set state on stoping; Add error code to Subscribed event
...
* Update submodule: git log --oneline ae53d799da294f03ef65c33e88fa33648e638134..fde00340f19b9f5ae81fff02ccfa9926f0e33687
Detailed description of the changes:
* Fix the default configuration for event queue
- See merge request espressif/esp-mqtt!153
- See commit https://github.com/espressif/esp-mqtt/commit/fb42588
* Adds missing header.
- See merge request espressif/esp-mqtt!152
- See commit https://github.com/espressif/esp-mqtt/commit/8a60057
* Moves state change when stopping the client
- See merge request espressif/esp-mqtt!150
- Closes https://github.com/espressif/esp-mqtt/issues/239
- See commit https://github.com/espressif/esp-mqtt/commit/3738fcd
* Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure
- See merge request espressif/esp-mqtt!143
- - Closes https://github.com/espressif/esp-mqtt/issues/233
- See commit https://github.com/espressif/esp-mqtt/commit/9af5c26
* Adds debug information on sending dup messages
- See merge request espressif/esp-mqtt!145
- See commit https://github.com/espressif/esp-mqtt/commit/47b3f9b
* ci: Fix qemu build
- See merge request espressif/esp-mqtt!147
- See commit https://github.com/espressif/esp-mqtt/commit/68e8c4f
* ci: Build and Test QEMU on v5.0
- See merge request espressif/esp-mqtt!142
- See commit https://github.com/espressif/esp-mqtt/commit/9db9ee7
* client: Add support for user events
- See merge request espressif/esp-mqtt!140
- Closes https://github.com/espressif/esp-mqtt/issues/230
- See commit https://github.com/espressif/esp-mqtt/commit/97503cc
* Adds unregister event API
- See merge request espressif/esp-mqtt!139
- Closes https://github.com/espressif/esp-idf/issues/9194
- See commit https://github.com/espressif/esp-mqtt/commit/a9a9fe7
2022-12-13 15:34:31 +00:00
chenjianhua
d7c97ce20b
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-13 21:40:04 +08:00
Ivan Grokhotkov
ff23012d68
Merge branch 'contrib/github_pr_10334' into 'master'
...
Set errno in adjtime (GitHub PR)
Closes IDFGH-8915
See merge request espressif/esp-idf!21516
2022-12-13 19:36:49 +08:00
Song Ruo Jing
536d5827c0
gpio_filter: Fix test case fail on esp32c6 due to slow io_mux clock compare to 160MHz cpu clock.
2022-12-13 19:18:34 +08:00
Song Ruo Jing
19ee95e509
gptimer: Fix esp32c6 gptimer clock source, no APB, instead, is PLL_F80M_CLK
2022-12-13 19:18:34 +08:00
Song Ruo Jing
244d3caa97
i2s: Fix esp32c6 get I2S_CLK_SRC_PLL_160M clock frequency value wrong issue
2022-12-13 19:18:34 +08:00
Song Ruo Jing
182e937c5a
clk_tree: Add basic clock support for esp32c6
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32c6
2022-12-13 19:18:34 +08:00
zwl
cdcdc50cfe
Renamed BAH
2022-12-13 18:02:19 +08:00
zwl
a83ee7d406
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:47:28 +08:00
zwl
0b3490acd8
Optimized the number of npl on ESP32C2
2022-12-13 17:47:28 +08:00
Nachiket Kukade
3b31370e39
Merge branch 'bugfix/bdsa_security_issues' into 'master'
...
wpa_supplicant: BDSA related patch updates
Closes WIFI-4853
See merge request espressif/esp-idf!20535
2022-12-13 17:04:26 +08:00
chenjianxing
1c96b509bb
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-13 16:57:41 +08:00
Rahul Tank
4e43694b7c
Nimble: Add helper macros to set interval min / max for periodic adv
2022-12-13 13:44:30 +05:30
Darian
c83078b765
Merge branch 'bugfix/example_pytest_expectations_startup_dependence' into 'master'
...
pytest: Expect "Calling app_main()" to indicate start of application
See merge request espressif/esp-idf!21510
2022-12-13 15:41:57 +08:00
zhangwenxu
98a1e9d786
openthread: fix multi br forwarding ping reply
2022-12-13 15:32:30 +08:00
Rahul Tank
af953e48de
Merge branch 'doc/update_nimble_mesh_example_information' into 'master'
...
Nimble: Update Mesh example documentation
See merge request espressif/esp-idf!21539
2022-12-13 15:24:42 +08:00
Marius Vikhammer
6c4c6e0b98
Merge branch 'bugfix/cxx_stack_smash_test' into 'master'
...
cxx: fixed stack smash test case failing due to changed output
Closes IDFCI-1549
See merge request espressif/esp-idf!21574
2022-12-13 15:16:56 +08:00
Wang Meng Yang
1ac3595bde
Merge branch 'bugfix/a2dp_error_code' into 'master'
...
bt: Update A2DP version to v1.4
Closes BT-2918, BT-2919, and BT-2932
See merge request espressif/esp-idf!21142
2022-12-13 14:56:18 +08:00
Marius Vikhammer
bb435c076b
cxx: fixed stack smash test case failing due to changed output
...
__stack_chk_fail no longer prints "abort() was called" message,
changed test case to reflect this.
2022-12-13 11:15:01 +08:00
chenjianhua
5c533afbae
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-13 10:33:22 +08:00
Wu Zheng Hui
bec679fbc6
Merge branch 'bugfix/fix_esp32c6_regi2c_enable_clock' into 'master'
...
bugfix: regi2c: fix regi2c api for esp32c6
See merge request espressif/esp-idf!21397
2022-12-13 10:20:14 +08:00
Rahul Tank
1d9eaccde4
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-12 18:06:55 +05:30
Shreyas Sheth
bd55b8b72e
esp_wifi:BDSA related patch updates
2022-12-12 15:04:04 +05:30
Zhi Wei Jian
6d676019c1
Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
...
Bluedroid: fix encrypt keysize of GATT characteristic permission
Closes BT-2992
See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Zhi Wei Jian
250f2c4a89
Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
...
Bluedroid: fix ble connection update with same params
Closes BT-2943
See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f
Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral
See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
Jiang Jiang Jian
f0fd0b7bc3
Merge branch 'rebase/remove_redundant_pm_lock_on_ble' into 'master'
...
ble: remove redundant pm lock on ble
See merge request espressif/esp-idf!21357
2022-12-12 14:49:23 +08:00
Wang Meng Yang
84e48db373
Merge branch 'feature/support_ble_53_feature_for_pts' into 'master'
...
Bluedroid: support ble host features for PTS
See merge request espressif/esp-idf!21253
2022-12-12 14:33:37 +08:00
morris
7064b668c6
Merge branch 'feature/etm_api_update' into 'master'
...
etm: introduce config structure for event/task new functions
See merge request espressif/esp-idf!21483
2022-12-12 13:12:09 +08:00
Marius Vikhammer
0443865102
Merge branch 'feature/s2_bootld_iram_increase' into 'master'
...
bootloader: increased iram_loader_seg for ESP32-S2
See merge request espressif/esp-idf!21254
2022-12-12 11:50:12 +08:00
Zhi Wei Jian
6842d2f8c9
Merge branch 'bugfix/fix_mem_not_released_after_controller_init_failed_on_esp32c3' into 'master'
...
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
Closes BT-3047 and BT-3025
See merge request espressif/esp-idf!21504
2022-12-12 11:15:34 +08:00
Li Qi Gan
df5c1ffd8b
Merge branch 'bugfix/fix_hid_device_vup_without_connection' into 'master'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection
Closes IDFGH-8662
See merge request espressif/esp-idf!21152
2022-12-12 10:08:57 +08:00
Jakob Hasse
b36c0e823f
Merge branch 'feature/linux_esp_hw_support' into 'master'
...
linux target: add support for building esp_hw_support, soc and hal components for linux target
See merge request espressif/esp-idf!21502
2022-12-12 09:59:31 +08:00
Mahavir Jain
c4c904c8ae
Merge branch 'contrib/github_pr_10329' into 'master'
...
Fix type of cast (GitHub PR)
Closes IDFGH-8910
See merge request espressif/esp-idf!21517
2022-12-11 22:35:06 +08:00
Rahul Tank
7b08933d09
Merge branch 'feature/nimble_support_ble_max_conn_num' into 'master'
...
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
See merge request espressif/esp-idf!21498
2022-12-09 21:35:19 +08:00
Darian Leung
cdbd8ebeaa
pytest: Expect "Calling app_main()" to indicate start of application
...
This commit updates variousf pytest scripts to expect
"main_task: Calling app_main()" instead of "cpu_start: Starting scheduler" as
indicator of the start of an application.
2022-12-09 19:40:40 +08:00
Zhi Wei Jian
bf3a9a1085
Merge branch 'bugfix/fix_mem_not_free_after_controller_init_failed' into 'master'
...
Fixed some memory was not released after Bluetooth controller initialization failed on ESP32
Closes BT-3025 and BT-3037
See merge request espressif/esp-idf!21477
2022-12-09 18:57:06 +08:00
Guillaume Souchere
c92f2394f2
Merge branch 'fix/stack-check-fail-in-flash' into 'master'
...
esp_system: fix placement of __stack_chk_fail from flash to RAM
See merge request espressif/esp-idf!21465
2022-12-09 18:08:57 +08:00
Armando
25114b716e
mspi_tuning: fix psram timing tuning bug
...
Prior to this commit, when calling:
- spi_timing_enter_mspi_low_speed_mode()
- spi_timing_enter_mspi_high_speed_mode()
psram timing is not tuned. This will lead to a stall during early
startup. This bug is on S3, for 80MHz DDR PSRAM
This commit will add psram timing tuning, in these two functions.
2022-12-09 17:23:23 +08:00
morris
374434524b
Merge branch 'feature/gpio_filter_esp32c6' into 'master'
...
GPIO glitch filter driver
Closes IDF-5810, IDF-6059, and IDF-5913
See merge request espressif/esp-idf!20567
2022-12-09 16:06:32 +08:00
Mahavir Jain
fbbb937b06
Merge branch 'contrib/github_pr_10328' into 'master'
...
Improve certificate logging (GitHub PR)
Closes IDFGH-8911
See merge request espressif/esp-idf!21518
2022-12-09 15:37:08 +08:00
cjin
77d870c73a
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:23:44 +08:00
zwl
46127774fa
Unify controller internal error code on ESP32-C2
2022-12-09 15:23:44 +08:00
cjin
6d83c999c6
ble: remove redundant pm lock on ble
2022-12-09 15:23:44 +08:00
chenjianhua
5a0bc5c1fd
bluedroid: fix ble connection update with same params
2022-12-09 14:40:57 +08:00
Marius Vikhammer
4ddbaa4166
linux target: add support for building esp_hw_support, soc and hal components for linux target
2022-12-09 13:59:39 +08:00
chenjianhua
2afe5cdc76
bluedroid: add config for GAP service and periodic adv sync transfer
2022-12-09 13:28:31 +08:00
chenjianhua
702e06e09e
bluedroid: add internal GATT API for PTS
2022-12-09 13:28:31 +08:00
chenjianhua
fa06476806
bluedroid: add config for robust caching and RPA timeout
2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8
bluedroid: support GATT robust caching feature
2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d
bluedroid: support GATT services database hash calculate
2022-12-09 13:28:31 +08:00
chenjianhua
4a487a6a5c
bluedroid: support periodic advertising sync transfer cmd
2022-12-09 13:28:31 +08:00
chenjianhua
6f0d34d323
bluedroid: support LE L2CAP credit based connection
2022-12-09 13:28:31 +08:00
chenjianhua
2048322429
bluedroid: support oob pairing for smp secure connection
2022-12-09 13:28:31 +08:00
Wang Meng Yang
7d7a710b60
Merge branch 'feature/report_acl_conn_cmp_stat_to_app' into 'master'
...
feature/report ACL link related events to application
Closes BT-2097 and BT-1863
See merge request espressif/esp-idf!19276
2022-12-09 13:10:52 +08:00
morris
62f1cbca2c
gpio: support glitch filter
2022-12-09 11:33:42 +08:00
morris
2b9d3a37ee
twai: fix coverity warnings
2022-12-09 11:33:42 +08:00
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
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
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
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
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
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
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
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
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
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
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
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
wanlei
dd50bb2d50
test: enable multi-board test of spi for c6
2022-12-07 11:37:48 +08:00
wanlei
7f14f9e487
spi_slave_hd: fix c6 bringup issue of dma interrupt invokr bit
2022-12-07 11:37:48 +08:00
wanlei
5c099a2a49
test: re-enable some test cases of spi for esp32c2
2022-12-07 11:37:48 +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
liqigan
2198c3ed77
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-07 10:36:42 +08:00
jincheng
228bf596dc
Added reporting for ACL link related events to application
2022-12-07 02:33:55 +00: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