Commit Graph

25996 Commits

Author SHA1 Message Date
Darian Leung
fe0d4f2834 freertos: Refactor riscv port stack initialization code
This commit refactors the pxPortInitialiseStack() function of the riscv
FreeRTOS ports (both IDF and SMP FreeRTOS).

- Each stack area is now separated into their own functions
- Each function will individually
    - Push the stack pointer to allocate the stack area
    - Initiaze the allocated stack area
- Each stack area's size and usage is now clearly documented in code
2022-10-09 14:51:45 +08:00
Darian Leung
282f10d1bc freertos: Refactor xtensa port stack initialization code
This commit refactors the pxPortInitialiseStack() function of the xtensa
FreeRTOS ports (both IDF and SMP FreeRTOS).

- Each stack area is now separated into their own functions
- Each function will individually
    - Push the stack pointer to allocate the stack area
    - Initiaze the allocated stack area
- Each stack area's size and usage is now clearly documented in code
2022-10-09 14:48:30 +08:00
Wang Meng Yang
a5e19246df Merge branch 'bugfix/fix_gattc_disc_crash' into 'master'
Bluedroid: configurable max gattc cache characteristic count

See merge request espressif/esp-idf!19842
2022-10-09 11:31:59 +08:00
Armando (Dou Yiwen)
10b538284a Merge branch 'test/improve_adc_continuous_iram_test_aim' into 'master'
esp_adc: improve adc continuous iram test aim

Closes IDFCI-1453

See merge request espressif/esp-idf!20078
2022-10-09 11:09:09 +08:00
Evan Neidler
54ee184a95 Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-09 10:52:04 +08:00
Armando
5fd4dbad12 esp_adc: improve adc continuous iram test aim
This commit increases adc continuous iram test period of cache disabling
time. Now time is: 1 second

- The aim of this test is to make sure the continuous mode driver ISR
callbacks can run in an IRAM-Safe context.
- Closing cache takes time. WHereas the code to close the cache is
updated. This time gets changed.
2022-10-09 02:35:22 +00:00
Zhi Wei Jian
1308ff3d21 Merge branch 'bugfix/fix_esp32_ble_assert_32' into 'master'
Fixed ESP32 BLE assert(32 0)

Closes BT-2809

See merge request espressif/esp-idf!20446
2022-10-08 21:51:50 +08:00
Zhi Wei Jian
3b20bc7adc Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually' into 'master'
allow bluedroid host to report adv_ind separately

See merge request espressif/esp-idf!20305
2022-10-08 21:41:31 +08:00
Wang Meng Yang
0fa55c897f Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3' into 'master'
Fixed BLE lld_per_adv.c line 401 assert

Closes BT-2624

See merge request espressif/esp-idf!20447
2022-10-08 20:49:43 +08:00
chenjianhua
137a7cb592 bluedroid: configurable max gattc cache characteristic count 2022-10-08 17:47:17 +08:00
morris
7984552731 Merge branch 'docs/update_cn_trans_build_system' into 'master'
Docs: Update CN trans for build-system.rst

Closes DOC-3758

See merge request espressif/esp-idf!20402
2022-10-08 15:49:35 +08:00
Mo Fei Fei
b03cc11a92 Docs: Update CN trans for build-system.rst 2022-10-08 15:49:34 +08:00
zhangyanjiao
a165d5b3ef esp_wifi: fix connect fail when enable SPIRAM
Closes IDFGH-8189
2022-10-08 15:49:02 +08:00
Michael (XIAO Xufeng)
8282dca796 Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug' into 'master'
ESP32C3: Fix system not stable bug when dbias storing in efuse is bigger than 27

Closes IDF-6048

See merge request espressif/esp-idf!20453
2022-10-08 14:56:40 +08:00
zwj
01faa7b664 allow bluedroid host to report adv_ind separately 2022-10-08 14:49:36 +08:00
Chen Yudong
229ea8e9f5 CI: enable psram in sniffer example 2022-10-08 13:45:12 +08:00
Aditya Patwardhan
9697eb54ba Merge branch 'fix/esp_srp_fix_coverity_issues' into 'master'
protocommm/esp_srp: Fix small issues reported by coverity scan.

Closes IDF-6040

See merge request espressif/esp-idf!20458
2022-10-08 12:55:33 +08:00
Chen Yudong
b9cd4ccd05 ci: change example simple sniffer test channel 2022-10-08 04:48:20 +00:00
Chen Yudong
aa822339aa pytest: set default timeout for each case 2022-10-08 04:47:35 +00:00
morris
35a1cc5106 Merge branch 'doc/async_memcpy_code_sample' into 'master'
docs: async_memcpy: use real function names in the example code

See merge request espressif/esp-idf!20469
2022-10-08 10:16:40 +08:00
Aditya Patwardhan
6328afdce6 wifi_provisioning/manager.c: Fix small bug introduced in recent MR. 2022-10-07 18:27:08 +05:30
Aditya Patwardhan
7cb55e6f0b pytest_wifi_prov_mgr.py: Update example test to enable sec1 and sec2
testing
2022-10-07 18:27:08 +05:30
Aditya Patwardhan
acc3dc8bd2 protocomm/esp_srp: Allocate memory for username only when the
verification is successful
2022-10-07 18:27:07 +05:30
Aditya Patwardhan
68947b5944 protocommm/esp_srp: Fix small issues reported by coverity. 2022-10-07 18:27:07 +05:30
Guillaume Souchere
cd805a5ab1 heap: Fix memory boundary condition checks when adding new region
Previously, condition_4 was making impossible the valid scenario
start > heap_start && end == heap_end.

Now, the end == heap_end and start == heap_start case is handled
separately allowing the case start > heap_start && ned == heap_end
to be considered a valid scenario
2022-10-07 13:22:30 +02:00
morris
05092e2f82 rgb_lcd: support restart dma transmission manually
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.

Added a restart function to help the user to make them sync again.
2022-10-07 18:46:05 +08:00
Sudeep Mohanty
052dc64616 Merge branch 'feature/ulp_fix_ignore_tests' into 'master'
ulp: add all ignored ulp unit tests to the pytest framework

See merge request espressif/esp-idf!20465
2022-10-07 14:17:12 +08:00
Martin Vychodil
1abd4eac2c Merge branch 'test/fatfs_component_test_apps' into 'master'
fatfs: migrate unit tests to component test app, re-enable test for C2

Closes IDF-5588 and IDF-5136

See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Sudeep Mohanty
93153bdfe1 ulp: add all 'ignore' tests to pytest framework
This commit adds a way to run all 'ignore' tests for ulp using the
pytest framework.
2022-10-06 12:58:11 +02:00
Martin Vychodil
c99a82de28 Merge branch 'bugfix/sdmmc_target_test' into 'master'
ci: add missing target-test jobs for sdcard and extflash examples

Closes IDF-6043

See merge request espressif/esp-idf!20466
2022-10-06 18:53:50 +08:00
Guillaume Souchere
cc545fbf9a Merge branch 'feature/heap-fix-ignored-tests' into 'master'
heap: add all 'ignore' tests to pytest framework

See merge request espressif/esp-idf!20478
2022-10-06 16:25:18 +08:00
Roland Dobai
a6792c2673 Merge branch 'feature/use_tools_json_to_check_toolchain_ver' into 'master'
Tools: use tools.json to double-check toolchain version when building

See merge request espressif/esp-idf!19894
2022-10-06 16:22:41 +08:00
Rahul Tank
81c23740e1 Nimble: Added check to deregister stack callback with controller during
stack deinit
2022-10-06 09:31:09 +05:30
Rocha Euripedes
8dff5bbf69 Merge branch 'bugfix/wrong_ws_mask_check' into 'master'
[tcp_transport] Bugfix: Remove unecessary mask_key check

See merge request espressif/esp-idf!20366
2022-10-05 21:47:42 +08:00
Guillaume Souchere
2b5a844640 heap: fix the boundary checks when adding a new region 2022-10-05 15:08:21 +02:00
Guillaume Souchere
2cce5e98b1 heap: add dynamic poisoning threshold in pytest env to allow test with known memory leak to pass 2022-10-05 15:07:37 +02:00
Guillaume Souchere
a29627f59d heap: fix the size of buffers in ignored tests
the ignored tests are updated with the minimum required buffer size to create
a new heap using the tlsf heap callocator.
2022-10-05 15:07:06 +02:00
Ivan Grokhotkov
8048d596a2
docs: remove duplicate "the" articles 2022-10-05 11:58:23 +02:00
Ivan Grokhotkov
12f4ea94aa
docs: async_memcpy: use real function names in the example code 2022-10-05 11:58:22 +02:00
Kapil Gupta
198a4335f2 Remove unnecessary code from disconnect handler 2022-10-04 21:38:59 +05:30
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2 2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
353df4f530 Merge branch 'bugfix/pytest_import_from_conftest' into 'master'
test_apps: move PanicTestDut from conftest into a separate module

See merge request espressif/esp-idf!20472
2022-10-04 21:48:19 +08:00
Ivan Grokhotkov
87ea3142ac Merge branch 'contrib/github_pr_9899' into 'master'
Make esp_app_desc a weak symbol (GitHub PR)

Closes IDFGH-8433

See merge request espressif/esp-idf!20461
2022-10-04 13:40:32 +08:00
Ivan Grokhotkov
39319c0750
test_apps: move PanicTestDut from conftest into a separate module
pytest_panic used to do 'from conftest import PanicTestDut'. This
stopped working when another conftest.py file was added in
tools/test_build_system/conftest.py.
In this case we can't rename conftest.py since both are necessary
for pytest to install the hooks in the respective test cases.
Fix by moving PanicTestDut into a separate module, then importing
it from there.
2022-10-03 21:44:28 +02:00
Ivan Grokhotkov
104f2da4c6 Merge branch 'feature/pytest_build_system' into 'master'
build system: add initial version of pytest-based build system tests

See merge request espressif/esp-idf!19498
2022-10-04 01:18:58 +08:00
David Cermak
1f2c16af97 lwip/test: Add SNTP cases to check NTP timestamp overflow 2022-10-03 17:34:42 +02:00
Ivan Grokhotkov
6872ff1080
ci: add missing target-test jobs for sdcard and extflash examples 2022-10-03 17:15:02 +02:00
Alexey Lapshin
e6f7b1a3a0 tools: cmake: check tool supported version with idf_tools.py 2022-10-03 19:01:32 +04:00
Ivan Grokhotkov
93c332155d
docs: system: mention how to obtain esp_app_desc_t 2022-10-03 12:01:57 +02:00
Roland Dobai
d50f574a31 Tools: The Python dependency checker should not update the constraint file
The Python dependency checker called from the export scripts and before
build remains offline, i.e. it will use the previously downloaded
constraint file but won't download a newer version.

Related to https://github.com/espressif/esp-idf/pull/9328
2022-10-03 11:39:28 +02:00