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
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
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
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
David Čermák
00432fa2c3
Merge branch 'feature/update_mqtt_test_url' into 'master'
...
Feature/update mqtt test url
See merge request espressif/esp-idf!12473
2021-02-26 16:09:38 +00:00
Darian Leung
424e1e1886
Add USB HCD
...
This commit adds the USB HCD (Host Controller Driver) and accompanying unit tests.
2021-02-26 23:13:42 +08:00
Jiang Jiang Jian
bf0c05064c
Merge branch 'bugfix/add_encrypt_option_for_esptouch_v1' into 'master'
...
esp_wifi: Add encrypt option for ESPTouch v1
Closes WIFI-3235 and WIFI-3408
See merge request espressif/esp-idf!12533
2021-02-26 13:33:42 +00:00
gengyuchao
0d1eb8a331
Fix IRAM_ATTR missing
2021-02-26 20:31:47 +08:00
Jiang Jiang Jian
41ffe31cbd
Merge branch 'bugfix/btdm_fix_spp_acceptor_cancle_pair_crash' into 'master'
...
BT: fix crash caused by spp pairing cancel
Closes IDFGH-4685
See merge request espressif/esp-idf!12410
2021-02-26 12:17:55 +00:00
zhangyanjiao
c803b37315
esp_wifi:
...
1. Added encrypt option for ESPTouch v1
2. Fixed issue of reason code change from 15 to 200 when provide wrong password
2021-02-26 20:17:43 +08:00
Jiang Jiang Jian
53cd589bcc
Merge branch 'bugfix/wifi_phy_register_backup' into 'master'
...
esp_wifi: store PHY digital registers before disabling PHY and load them after enabling PHY
See merge request espressif/esp-idf!12059
2021-02-26 10:01:52 +00:00
Angus Gratton
56048b8428
Merge branch 'bugfix/ds_invalidate_assert' into 'master'
...
esp32s2 ds: Fix invalidating Digital Signature key from HMAC peripheral if assertions are disabled
See merge request espressif/esp-idf!12459
2021-02-26 08:16:49 +00:00
Michael (XIAO Xufeng)
60dfb09122
Merge branch 'bugfix/freemodbus_fix_zero_based_reg_address_in_iterator' into 'master'
...
freemodbus: fix mb zero based reg address
See merge request espressif/esp-idf!12422
2021-02-26 08:13:59 +00:00
Fu Hanxi
77935e2c02
Merge branch 'bugfix/check_submodule_sync_block_ci' into 'master'
...
ci: bugfix: check submodule sync block ci
See merge request espressif/esp-idf!12534
2021-02-26 07:57:11 +00:00
Michael (XIAO Xufeng)
eca301e196
Merge branch 'feature/bringup_deepsleep_wakeup_esp32c3' into 'master'
...
esp_system: support gpio wakeup from deep sleep on esp32c3
Closes IDF-2688, IDF-2511, and IDF-2407
See merge request espressif/esp-idf!12297
2021-02-26 07:49:15 +00:00