Commit Graph

17538 Commits

Author SHA1 Message Date
Angus Gratton
f91d6c7a69 Merge branch 'bugfix/tls_threadptr_calculation' into 'master'
freertos: fix TLS run-time address calculation

See merge request espressif/esp-idf!13271
2021-04-21 23:13:13 +00:00
David Čermák
10fd0c36a1 Merge branch 'bugfix/spi_eth_example_pin' into 'master'
esp_eth: Examples: Extend configurable pins for SPI modules

Closes IDFGH-4372

See merge request espressif/esp-idf!13113
2021-04-21 16:06:13 +00:00
Ivan Grokhotkov
0535195983 freertos: fix TLS run-time address calculation
Since dd849ffc, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.

Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.

Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-04-21 13:45:21 +02:00
Jiang Jiang Jian
822cdd81ef Merge branch 'bugfix/correct_cod_check' into 'master'
esp-idf: Corrected check of Class of Device for discovered devices

Closes IDF-6548

See merge request espressif/esp-idf!12391
2021-04-21 11:38:31 +00:00
Ivan Grokhotkov
d4e8987a39 Merge branch 'feature/prevent_unwind_code_linking' into 'master'
prevent unwind code linking

Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153

See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Wang Meng Yang
81723243cf Merge branch 'bugfix/ble_timeout_disconnected_no_report' into 'master'
Fix the controller do not report the disconnect event to host

See merge request espressif/esp-idf!13261
2021-04-21 09:43:33 +00:00
Mahavir Jain
2d472f47b8 Merge branch 'bugfix/enable_wifi_prov_example_c3' into 'master'
CI: re-enable wifi prov examples for C3

Closes IDFGH-4712

See merge request espressif/esp-idf!13260
2021-04-21 09:07:49 +00:00
Mahavir Jain
5692868e23 Merge branch 'feature/gatts_in_simple_ota' into 'master'
Feature/gatts in advanced https ota example

See merge request espressif/esp-idf!12593
2021-04-21 09:04:49 +00:00
“YangZhao”
1def09cc99 bugfix: Fix the issue that the controller do not report the timeout
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 14:49:44 +08:00
Mahavir Jain
104830107a Merge branch 'fix/esp_https_client_compile_warning' into 'master'
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set

Closes IDFGH-5098

See merge request espressif/esp-idf!13192
2021-04-21 04:57:49 +00:00
Mahavir Jain
c22805e94b Merge branch 'bugfix/bootloader_min_revision_c3' into 'master'
Fix bootloader minimum revision check and print for ESP32-C3

Closes IDFGH-5106

See merge request espressif/esp-idf!13248
2021-04-21 04:41:47 +00:00
Marius Vikhammer
70b304bc2f CI: re-enable wifi prov examples for C3 2021-04-21 09:45:35 +08:00
Angus Gratton
15575346f5 Merge branch 'bugfix/freertos_current_tcb_unpinned' into 'master'
freertos: Fix race condition returning incorrect TCB on unpinned tasks

Closes WIFI-3125

See merge request espressif/esp-idf!13189
2021-04-21 01:03:32 +00:00
Angus Gratton
127f2ce0b6 Merge branch 'doc/update_support_policy_pr6667' into 'master'
Remove deprecated versions from SUPPORT_POLICY.md

Closes IDFGH-4871

See merge request espressif/esp-idf!13239
2021-04-21 00:55:37 +00:00
Ivan Grokhotkov
d34421dd7b Merge branch 'feature/build_nvs_host_test_ci' into 'master'
Add nvs page host test to CI

Closes IDF-2425

See merge request espressif/esp-idf!12417
2021-04-20 23:32:01 +00:00
Ivan Grokhotkov
c248dcc724 Merge branch 'bugfix/flash_rodata_any_alignement' into 'master'
build: (Custom) App version info is now on a dedicated section

Closes IDFGH-4927

See merge request espressif/esp-idf!12786
2021-04-20 23:30:03 +00:00
Front-end developer
16f76976d5 Remove deprecated versions from SUPPORT_POLICY.md
Closes https://github.com/espressif/esp-idf/pull/6667
2021-04-21 09:28:14 +10:00
David Cermak
3db3e023af Examples/eth: Extend configurable pins for SPI modules
Closes https://github.com/espressif/esp-idf/issues/6206
2021-04-20 16:11:06 +00:00
Jiang Jiang Jian
9b73403efd Merge branch 'bugfix/ftm_fixes_logging_change' into 'master'
wifi/ftm: Move FTM report logging into application and general Bugfixes

Closes WIFI-3294

See merge request espressif/esp-idf!13009
2021-04-20 15:26:49 +00:00
Wang Meng Yang
c94916de8f Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
optimize c3 multi con and add connection retry

See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Mahavir Jain
4f71805255 Merge branch 'bugfix/update_tinycbor_for_static_analysis_fix' into 'master'
Update tinycbor for static analysis fix

Closes IDF-2792

See merge request espressif/esp-idf!13190
2021-04-20 14:40:05 +00:00
Aditya Patwardhan
31445c1566 esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set 2021-04-20 20:06:41 +05:30
Island
3e05abe7bb Merge branch 'bugfix/endianness_in_output_or_input_oob' into 'master'
ble_mesh: stack: Fix endianness error in output or input oob data of number

See merge request espressif/esp-idf!13160
2021-04-20 13:09:01 +00:00
Shu Chen
f8addc5b3d Merge branch 'bugfix/add-ci-allow-line' into 'master'
tools: Add /*error*.o and /*error*.d to allowed build lines

See merge request espressif/esp-idf!13251
2021-04-20 12:05:27 +00:00
Fu Hanxi
af2139e0b6 Merge branch 'bugfix/ci/runner_py_consider_no_junit_report_as_succeeded' into 'master'
CI: runner py consider no test case as succeeded

See merge request espressif/esp-idf!13098
2021-04-20 10:13:02 +00:00
Jiacheng Guo
9c9838f229 tools: Add /*error*.o and /*error*.d to allowed build lines 2021-04-20 18:09:40 +08:00
Chinmay Chhajed
3eaf78d462 advanced_https_ota: Added BLE GATTS code.
`advanced_https_ota` can run a minimal BLE GATT server while
downloading OTA update. Both NimBLE and Bluedroid stack can be used
here by configuring relevant options in menuconfig.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2021-04-20 15:34:53 +05:30
Wang Meng Yang
b05ac11456 Merge branch 'nimble/add_c3_config_max_conn' into 'master'
NimBLE: Add max connection config option for C3

See merge request espressif/esp-idf!12226
2021-04-20 09:49:11 +00:00
Axel Lin
39792bd7cc esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
Fix below build warning when CONFIG_OTA_ALLOW_HTTP is set:
esp_https_ota.c:165:13: warning: 'is_server_verification_enabled' defined but not used [-Wunused-function]

While at it, also simplify the is_server_verification_enabled logic.

Fixes: 48987ad9df ("esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle")
Signed-off-by: Axel Lin <axel.lin@gmail.com>

Closes https://github.com/espressif/esp-idf/pull/6882

Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-04-20 14:48:44 +05:30
Mahavir Jain
6f81428013 test_apps: increase partition table offset to fix build errors 2021-04-20 14:23:13 +05:30
Mahavir Jain
a4f38db53d
bootloader_support: fix min. revision error print for < C3-ECO3 revisions 2021-04-20 14:22:14 +05:30
Mahavir Jain
f9699e2412
bootloader: fix print related to min. chip revision
Closes https://github.com/espressif/esp-idf/issues/6890
Closes IDFGH-5106
2021-04-20 14:19:17 +05:30
Jakob Hasse
2fb5b42eb1 [nvs] add nvs page host test to CI
Closes IDF-2425
2021-04-20 14:40:16 +08:00
Jakob Hasse
2552c7ba0f [C++]: wrapper functions around unwind code
* Replaced all C++ exception related
  functions with wrappers if -fno-exception
  is used. This prevents linking of the
  corresponding code in libgcc. The code
  size will decrease by around 7-9 KB when
  building with -fno-exception.
* added no except test app

Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-04-20 14:27:58 +08:00
wangjialiang
dd0fbb2f5e ble_mesh: stack: Fix endianness error in output or input oob data of number
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 06:25:52 +00:00
Angus Gratton
79ae7a7bd9 freertos: test: Add stress test for thread local storage
(Fails without the fix applied in parent commit.)
2021-04-20 14:46:49 +10:00
Angus Gratton
c7328f1cc0 freertos: Fix race condition returning incorrect TCB on unpinned tasks
Noted as a problem with thread local storage returning a different task's
pointers, but some other were APIs also accessing current task unsafely.

Regression in FreeRTOS 10 update a3c90bf59a
2021-04-20 14:46:49 +10:00
Mahavir Jain
6a06be002e tinycbor: update to latest upstream commit-id
Relevant: https://github.com/espressif/esp-idf/issues/6440

Closes IDF-2792
2021-04-20 03:59:44 +00:00
Angus Gratton
2554d8956a Merge branch 'feature/parametrize_core_dump_check' into 'master'
coredump: core dump data check can now be parametrized

Closes IDFGH-4821

See merge request espressif/esp-idf!12605
2021-04-20 03:58:58 +00:00
Angus Gratton
dfbcacd246 Merge branch 'update_copyright_notice_log' into 'master'
log: Update copyright notice

See merge request espressif/esp-idf!13108
2021-04-20 03:54:49 +00:00
Nachiket Kukade
c93907fb27 wifi/ftm: Move FTM report logging into application and some bugfixes
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled

Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
Shu Chen
809832f3bc Merge branch 'bugfix/add-ci-allow-file-filter' into 'master'
tools: Add *error*.cpp to allowed build lines

See merge request espressif/esp-idf!13176
2021-04-20 03:25:58 +00:00
Fu Hanxi
9b8d1e7826 fix(ci): return as failed when no test case result generated 2021-04-20 11:18:12 +08:00
Fu Hanxi
4d4abf428b ci: add helper info for tests with no config 2021-04-20 11:18:12 +08:00
Shu Chen
bd010f2d71 Merge branch 'feature/update-example-readme' into 'master'
examples: update README for the openthread examples

See merge request espressif/esp-idf!13167
2021-04-20 03:05:06 +00:00
Prasad Alatkar
7d4cfb6d53 NimBLE: Add max connection config option for ESP32C3 2021-04-20 02:41:58 +00:00
zwj
58cd231895 optimize C3 and s3 multi-connection 2021-04-20 02:41:14 +00:00
zwj
0a016fa59e update esp32s3 default sdkconfig 2021-04-20 02:41:14 +00:00
zwj
077722696a add option to enable multi-connection 2021-04-20 02:41:14 +00:00
zwj
6fff69390e update con state when getting connection cancle complete 2021-04-20 02:41:14 +00:00