Angus Gratton
9c73b80ee0
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-04 17:44:36 +11:00
Angus Gratton
3ddfe1e8ac
Merge branch 'bugfix/asserts_disabled' into 'master'
...
core: Fix assert path embedding, warnings when asserts are disabled
Closes IDFGH-4477
See merge request espressif/esp-idf!12371
2021-03-03 08:20:54 +00:00
Angus Gratton
a13be9f40c
Merge branch 'feature/mbedtls_bignum' into 'master'
...
mbedtls: Fix rsa test
See merge request espressif/esp-idf!12578
2021-03-03 06:50:42 +00:00
Mahavir Jain
4ea63ceb60
Merge branch 'feature/partial_download_example_test' into 'master'
...
advanced_https_ota: Add example_test for partial HTTP download use case
Closes IDF-2902
See merge request espressif/esp-idf!12590
2021-03-03 04:41:40 +00:00
Mahavir Jain
7dd81949db
Merge branch 'fix/coap_pointer_check_for_dynamic_memory' into 'master'
...
coap: Fixed NULL checks for dymanic memory allocation in coap_mbedtls.c
Closes IDF-2794
See merge request espressif/esp-idf!12585
2021-03-03 04:14:00 +00:00
Angus Gratton
c786ba9186
Merge branch 'feature/re-enable_suspend_test_esp32c3' into 'master'
...
freertos: Workaround delay between interrupt request and trigger on RISC-V
Closes IDF-2588 and IDF-2226
See merge request espressif/esp-idf!12350
2021-03-03 03:41:05 +00:00
Angus Gratton
772b218c38
docs: Add section about assertions to the style guide
2021-03-03 10:31:05 +11:00
Angus Gratton
9b988ca097
config: Add new option to replace IDF_PATH and project path with placeholders in macros
...
Allows building with asserts on and still not finding any actual file paths in the
final binary file.
Alternative fix for https://github.com/espressif/esp-idf/issues/6306
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-03-03 10:31:05 +11:00
Angus Gratton
9ae01e40b5
ci: Add a test app for not placing embedded file paths into binaries
...
Doubles as a test app that building with assertions off doesn't produce warnings.
Closes https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:31:05 +11:00
Angus Gratton
74fa52668c
esp-mqtt: Remove __FILE__ macro from error logs
2021-03-03 10:26:57 +11:00
Angus Gratton
c68f869411
driver: Remove some stray __FILE__ macros
...
Related to https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
61b70c50a4
freertos: Use the standard assert() function for configASSERT
...
Unless the option for "assert and keep running" is enabled.
This means that silent asserts now work for FreeRTOS, and disabling asserts
now also disables them in FreeRTOS without needing a separate config change.
Related to https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
cfde7adb7f
esp_ble_mesh: Use standard ESP-IDF asserts
...
Smaller binary size, means that config options for silent assert or disable
assert will apply
2021-03-03 10:26:57 +11:00
Angus Gratton
0d26c89b6b
btc_common: Redefine BTC assert macro to use standard assert
...
Allows assert to be disabled, made silent, etc.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
a0c73c5f92
bt host: Don't redefine the assert macro
...
Required so that bt asserts obey the same configuration settings as other
asserts.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
10bde42551
esp_websocket_client: Don't log the filename when logging "Websocket already stop"
...
Progress towards https://jira.espressif.com:8443/browse/IDFGH-4477
2021-03-03 10:26:57 +11:00
Angus Gratton
9c6d4de1e6
lwip: Support silent assertion configuration
...
If silent assert configuration is enabled, LWIP asserts are now 'silent' also.
Also updates KConfig to note that LWIP asserts are also disabled when asserts
are disabled globally (this was already the behaviour, but the config item
suggested otherwise.)
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-03-03 10:26:57 +11:00
Angus Gratton
90ec0b0327
bootloader: Allow 'silent assert' config to work in bootloader
...
Requires adding the 'newlib' component to the bootloader project, for
platform_include header.
2021-03-03 10:26:57 +11:00
Angus Gratton
d6f4d99d93
core system: Fix warnings in compilation when assertions are disabled
...
Adds a CI config for hello world that sets this, to catch future regressions
2021-03-03 10:26:57 +11:00
Aditya Patwardhan
3e533be8be
coap: Fixed NULL checks for dymanic memory allocation in coap_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-02 22:34:19 +05:30
Krzysztof Budzynski
ac776657c9
Merge branch 'docs/provide_link_to_pcb_layout_for_ethernet_board_v1.2' into 'master'
...
docs: provide the link to pcb layout for ethernet board v1.2 and fix a typo in freetos/task
See merge request espressif/esp-idf!12522
2021-03-02 11:42:59 +00:00
Shubham Kulkarni
fb0beefefb
advanced_https_ota: Add example_test for partial HTTP download
2021-03-02 16:48:18 +05:30
Michael (XIAO Xufeng)
2e0e583ad1
Merge branch 'bugfix/clear_interrupt_in_touch_sensor_initialization' into 'master'
...
fix: clear interrupt in touch sensor initialization
See merge request espressif/esp-idf!12201
2021-03-02 08:09:23 +00:00
David Čermák
138ab8a3af
Merge branch 'feature/refactor_pppos_modem' into 'master'
...
pppos-client: Refactor modem component
Closes IDFGH-4671
See merge request espressif/esp-idf!12313
2021-03-02 07:26:40 +00:00
Mahavir Jain
7ef6c5855b
Merge branch 'feature/partial_image_download' into 'master'
...
esp_https_ota: Add support for partial image download
Closes IDF-1669, IDFGH-4573, IDFGH-4574, and IDFGH-4824
See merge request espressif/esp-idf!12141
2021-03-02 04:11:41 +00:00
Anton Maklakov
0d5a3a2d53
Merge branch 'ci/update_mypy_ignorelist' into 'master'
...
CI: Update mypy_ignore_list
See merge request espressif/esp-idf!12564
2021-03-02 03:36:10 +00:00
KonstantinKondrashov
f3dd0a37c7
mbedtls: Fix rsa test
2021-03-02 03:18:58 +08:00
Liu Han
b3a35e3d4e
pppos-client: Refactor modem component
...
Merges https://github.com/espressif/esp-idf/pull/6483
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
42aaefe218
Remove duplicated empty lines
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
3968660b2a
Move DCE_CHECK in the esp_modem_dce
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
de239f151f
Edit comments with protocol foreach methods
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
a77e9a8ab9
Move typedef with private resource into esp_modem_dce.h
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
ea1df995f8
Move commun methods in DCE and align few methods
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jiang Jiang Jian
dcb8857e72
Merge branch 'bugfix/fix_coex_reset_last_wait_lose_iram_attr_m' into 'master'
...
Fix IRAM_ATTR missing
See merge request espressif/esp-idf!12546
2021-03-01 15:11:12 +00:00
Hassan DRAGA
b2eb199502
Update native_ota_example.c
...
* assert(update_partition) should be before trying to use update_partition in ESP_LOGI().
* if we show detailed description about the error ESP_ERR_OTA_VALIDATE_FAILED, why show it again using esp_err_to_name() ?
Merges https://github.com/espressif/esp-idf/pull/6623
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-01 14:00:27 +00:00
Itay Perl
807bf9688c
ESP HTTPS OTA: send POST request body if set
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes: https://github.com/espressif/esp-idf/issues/6390
Merges: https://github.com/espressif/esp-idf/pull/6391
2021-03-01 14:00:27 +00:00
Shubham Kulkarni
7f8541ff47
esp_https_ota: Add support for partial image download
...
Fix issue where binary_file_length field is greater than original image length
2021-03-01 14:00:27 +00:00
Michael (XIAO Xufeng)
94118efe64
Merge branch 'feature/usb_hcd' into 'master'
...
USB Host Controller Driver
Closes IDF-2634
See merge request espressif/esp-idf!12034
2021-03-01 11:30:50 +00:00
Krzysztof Budzynski
22224589bb
Merge branch 'doc/c3_api_ref_update' into 'master'
...
docs: minor api-reference update for C3
Closes IDF-2326, IDF-2268, and IDF-2346
See merge request espressif/esp-idf!12460
2021-03-01 09:59:20 +00:00
Ivan Grokhotkov
ee7c66cc82
Merge branch 'bugfix/idf_size_total_size_without_bss' into 'master'
...
tools: Don't count BSS into the total image size
Closes IDF-2813
See merge request espressif/esp-idf!12479
2021-03-01 08:34:09 +00:00
Fu Hanxi
eb2edf6ff6
Merge branch 'ci/switch_CI_COMMIT_BRANCH_to_mr_one' into 'master'
...
ci: bugfix: use CI_MERGE_REQUEST_SOURCE_BRANCH in mr pipelines
See merge request espressif/esp-idf!12562
2021-03-01 07:55:48 +00:00
Fu Hanxi
941574dc2f
ci: use CI_MERGE_REQUEST_SOURCE_BRANCH in mr pipelines
2021-03-01 15:20:34 +08:00
Marius Vikhammer
6334b5e56f
docs: update api-reference chapters for C3
...
Checked and updated the following chapters:
* api-reference/network
* api-reference/protocols
* api-reference/provisioning
* api-reference/storage
* api-reference/peripherals/ds
* api-reference/peripherals/hmac
* api-reference/peripherals/secure_element
2021-03-01 14:58:08 +08:00
Tomas Sebestik
c9f710ea2c
Update mypy_ignore_list
...
Add missing records mostly in /examples dir
2021-03-01 07:41:37 +01:00
fuzhibo
cfe59031a5
fix: clear interrupt in touch sensor initialization
2021-03-01 03:57:01 +00:00
Michael (XIAO Xufeng)
48cda62bcf
Merge branch 'feature/touch_sense_example' into 'master'
...
touch_element: add touch element lib examples
Closes IDF-2665
See merge request espressif/esp-idf!11826
2021-03-01 02:41:41 +00:00
Angus Gratton
e3045d9a63
Merge branch 'bugfix/git_describe_cmake' into 'master'
...
build system: fix NOTFOUND git version error
See merge request espressif/esp-idf!12526
2021-02-28 23:29:07 +00:00
Kang Zuoling
cd8e874c8d
touch_element: add touch element lib example
2021-02-28 17:33:50 +08:00
David Čermák
1a53bd39a4
Merge branch 'bugfix/pppos_client_7600_powerdown' into 'master'
...
esp_modem: Add specific power-down command for SIM7600
See merge request espressif/esp-idf!12478
2021-02-26 18:33:53 +00:00
David Cermak
3748b4ac57
esp_modem: Add specific power-down command for SIM7600
2021-02-26 17:16:28 +01:00