Commit Graph

22914 Commits

Author SHA1 Message Date
Mahavir Jain
2a30a1012d
docs: add migration guide note about vTaskGetSnapshot signature 2022-05-10 11:40:47 +05:30
Mahavir Jain
5b817038a0
freertos: add return value to API vTaskGetSnapshot
`vTaskGetSnapshot` is being used in coredump module to collect diagnostic information.
It is possible that input arguments are invalid and `assert` in this situation is not
correct.

This commit modifies API signature to return pdTRUE in case of success, and pdFALSE
otherwise. Caller can verify return value and then take appropriate decision.
2022-05-10 11:39:50 +05:30
Sudeep Mohanty
c60b70ff8f Merge branch 'test/test-freertos-smp-yield-behavior' into 'master'
freertos: add freertos unit test to verify yielding behavior of the kernel

Closes IDF-3343

See merge request espressif/esp-idf!17903
2022-05-10 13:18:20 +08:00
Mahavir Jain
01855054ab Merge branch 'bugfix/mbedtls_dynamic_buffer_crash_on_ssl_server' into 'master'
fix(mbedtls): fix ssl server  memory leak  when enable mbedtls dynamic buffer

Closes IDF-4836

See merge request espressif/esp-idf!17877
2022-05-09 23:07:50 +08:00
Mahavir Jain
1093173382 Merge branch 'bugfix/httpd_queue_work' into 'master'
esp_http_server: Update httpd_queue_work() API

Closes IDFGH-6813

See merge request espressif/esp-idf!17809
2022-05-09 21:59:13 +08:00
Li Jingyi
fa3cbf9162 fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function 2022-05-09 13:56:20 +00:00
Harshit Malpani
1bb03e17a7 esp_http_server: update httpd_queue_work() API to use semaphore
Closes: https://github.com/espressif/esp-idf/issues/8440
2022-05-09 18:00:05 +05:30
Nachiket Kukade
6a0d972cb2 CI: Reverse allowing failure of IT_012 2022-05-09 16:16:10 +05:30
Nachiket Kukade
2aa156d8b5 esp_wifi: Update wifi libs
1. Fix issues caused during SoftAP mode change
2. Improve SoftAP PMF logic for triggering of SA Query and cleanup
2022-05-09 16:15:57 +05:30
Mahavir Jain
588a65759c
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH
This is as per FreeRTOS recommendation and allows to protect task TCB
in case task stack has overflowed.
2022-05-09 15:45:38 +05:30
zlq
6336f8191e C2 rtc code 2022-05-09 17:50:54 +08:00
Vilem Zavodny
4a2766d906 esp_lcd: Add support for rx_param on I2C transport. 2022-05-09 11:49:57 +02:00
Sudeep Mohanty
0eafe4d326 Merge branch 'bugfix/power-down-rtc-periph-for-ulp-touch-fsm' into 'master'
ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V

Closes IDFGH-6186

See merge request espressif/esp-idf!17680
2022-05-09 15:31:50 +08:00
Mahavir Jain
f7f6a929f2 Merge branch 'bugfix/Fix_ios_ble_adv_rsp' into 'master'
Fix iOS advertisement response and simplify

Closes IDFGH-7093, IDFGH-5959, and IDFGH-7133

See merge request espressif/esp-idf!18003
2022-05-09 13:43:57 +08:00
morris
755233290a Merge branch 'contrib/github_pr_8572' into 'master'
UART:  added default clock source choice for all targets + Github PR fix

Closes IDFGH-6952

See merge request espressif/esp-idf!17502
2022-05-09 12:36:46 +08:00
Sudeep Mohanty
aa60118944 freertos: Enable FreeRTOS SMP unicore build
This commit enables unicore build with the FreeRTOS SMP kernel.
2022-05-09 09:44:44 +05:30
Sudeep Mohanty
3ea1c8bf96 freertos: add freertos unit test to verify yielding behavior of the kernel
This commit adds a unit test to verify the task yielding behavior of the
FreeRTOS SMP kernel.
2022-05-09 03:48:07 +00:00
Sudeep Mohanty
6fba3fc645 Merge branch 'refactor/refactor-freertos-tls-del-cb' into 'master'
freertos-smp: refactor thread local storage pointers deletion callbacks

Closes IDF-3330

See merge request espressif/esp-idf!17972
2022-05-09 11:45:27 +08:00
Vladimir Chistyakov
7a4cacfcd0 console: allow use apb clock for uart to achieve high baud rate
Console sets UART clock source to REF_TICK on ESP32 and ESP32S2 by
default, however, APB clock frequency does not change when power
management is disabled. Using APB clock source allows higher baud rates
for UART console.

Closes https://github.com/espressif/esp-idf/pull/8572
2022-05-09 11:26:30 +08:00
morris
c49e99f9e7 uart: use clk_tree API to acquire FAST_RC clock 2022-05-09 11:26:30 +08:00
morris
722fde218d uart: add default source clock for all targets 2022-05-09 11:26:30 +08:00
morris
660ff8e840 rmt: declare RMTMEM as a block of memory 2022-05-09 11:26:30 +08:00
Jakob Hasse
905f5c3d41 feature (unity): added memory leak check API, integrated it into cxx tests 2022-05-09 11:09:20 +08:00
Mo Fei Fei
4d9930888a Merge branch 'docs/sync_up_lines_api_guides' into 'master'
docs: Sync up lines for api-guides and get-started

Closes DOC-3028

See merge request espressif/esp-idf!18032
2022-05-09 10:20:43 +08:00
morris
f670c2a963 Merge branch 'contrib/github_pr_8888' into 'master'
utils.py: fix assert range with hour (GitHub PR)

Closes IDFGH-7300

See merge request espressif/esp-idf!18011
2022-05-09 10:11:26 +08:00
mofeifei
6b29118765 docs: sync up lines for api-guides and get-started 2022-05-09 02:10:06 +00:00
Marius Vikhammer
5bee313bde Merge branch 'bugfix/kconfig_checker_osource' into 'master'
kconfig: update check_kconfigs.py to handle orsource command

See merge request espressif/esp-idf!18013
2022-05-09 09:48:06 +08:00
morris
f3e8a17285 Merge branch 'feature/support_riscv_floatingpoint_library_selection' into 'master'
esp32c2: Support riscv floating-point library selection

See merge request espressif/esp-idf!17725
2022-05-08 17:57:41 +08:00
Wu Zheng Hui
0580d68b69 esp32c2: Support riscv floating-point library selection 2022-05-08 17:57:40 +08:00
Armando (Dou Yiwen)
03aeac1dde Merge branch 'refactor/adc_hal_common_layer' into 'master'
adc: create common adc hal layer

See merge request espressif/esp-idf!17577
2022-05-08 15:45:56 +08:00
morris
1b1553c853 Merge branch 'feature/rmt_driver_ng' into 'master'
 Introduce a brand new driver for RMT

Closes IDF-2081, IDF-3855, IDF-4363, IDFGH-3160, and IDFGH-7275

See merge request espressif/esp-idf!15618
2022-05-07 20:18:33 +08:00
Armando
49747bb486 adc: create common adc hal layer 2022-05-07 19:20:44 +08:00
morris
a7f6f8677a doc: update api reference for new rmt driver 2022-05-07 10:34:50 +00:00
morris
f472551910 example: added dshot esc example based on new rmt driver 2022-05-07 10:34:50 +00:00
morris
0e19bc1463 example: update stepper motor example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
b3c1480d9c example: update musical buzzer example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
d537da5bfb example: update led strip example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
977a2830dd example: update ir nec example with new rmt driver 2022-05-07 10:34:50 +00:00
morris
c5cd86ae8b test_utils: migrate to use new rmt driver 2022-05-07 10:34:50 +00:00
morris
2fb43820c2 driver_ng: implement new rmt driver
The legacy driver can't handle the breaking change between esp chips

very well.

And it's not elegant to extend new feature like DMA, ETM.

The new driver can return a opaque handle for each RMT channel.

An obvious transaction concept was also introduced.

TX and RX functionalities are splited out.
2022-05-07 10:34:50 +00:00
morris
df474e74a1 rmt_legacy: fix undetermined idle level
Closes https://github.com/espressif/esp-idf/issues/8864
2022-05-07 10:34:50 +00:00
morris
5bfe873725 driver: deprecate legacy rmt driver
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
Dai Zi Yan
8d332b6bc4 Apply 1 suggestion(s) to 1 file(s) 2022-05-07 16:58:24 +08:00
morris
9a8c8e5db4 Merge branch 'docs/docs_full_ci_readme' into 'master'
CI: add docs_full label info to readme

See merge request espressif/esp-idf!18030
2022-05-07 16:57:40 +08:00
Krzysztof Budzynski
26677c7c06 Apply 1 suggestion(s) to 1 file(s) 2022-05-07 16:21:06 +08:00
Marius Vikhammer
948df77e85 CI: add docs_full label info to readme 2022-05-07 15:21:54 +08:00
Roland Dobai
7772476dc8 Merge branch 'update/target-test-env_image_v502' into 'master'
Update target-test-env-v5.0:2

See merge request espressif/esp-idf!17707
2022-05-07 00:34:42 +08:00
Tomas Sebestik
8dde0b1676 Update target-test-env-v5.0:2 2022-05-06 16:31:50 +00:00
Roland Dobai
efc3357f1a Merge branch 'feature/semihosting_call_number_change' into 'master'
Semihosting V2

Closes IDF-4893

See merge request espressif/esp-idf!17412
2022-05-07 00:28:48 +08:00
morris
1f922f2124 Merge branch 'contrib/github_pr_8900' into 'master'
hello_world_main : fix incorrect printf format (GitHub PR)

Closes IDFGH-7312

See merge request espressif/esp-idf!17998
2022-05-06 21:22:51 +08:00