Ivan Grokhotkov
abebaca884
Merge branch 'bugfix/timer_order_ut' into 'master'
...
esp_timer: fix "esp_timer orders timers correctly" header line handling
See merge request espressif/esp-idf!12402
2021-02-18 07:25:19 +00:00
Fu Hanxi
43668cf79f
ci: supports more special characters for MR labels
2021-02-18 14:25:48 +08:00
Angus Gratton
ecdc214466
esp32s2: Simplify the code for adding spiram to heap
2021-02-18 16:27:43 +11:00
Angus Gratton
f5685e6a64
esp32s2: Remove unused option CONFIG_SPIRAM_USE_AHB_DBUS3
2021-02-18 16:27:43 +11:00
Marius Vikhammer
451465ff8c
esp_timer: fix "esp_timer orders timers correctly" headerline handling
...
Discard header lines from esp_timer_dump that comes before the actual timer
info. "esp_timer orders timers correctly" would crash when reading the header lines.
2021-02-18 11:59:42 +08:00
Angus Gratton
8e7db81ce8
Merge branch 'bugfix/clang_tidy_deploy_artifacts_missing' into 'master'
...
ci: ensure clang_tidy_deploy artifacts downloaded
See merge request espressif/esp-idf!12393
2021-02-18 03:58:20 +00:00
Ivan Grokhotkov
674cfe4fd2
Merge branch 'bugfix/nvs_encryption_keys' into 'master'
...
NVS: fix nvs_flash_generate_keys to generate random keys (Github PR)
See merge request espressif/esp-idf!12205
2021-02-17 09:44:19 +00:00
Angus Gratton
ca29765e97
test apps: Add some documentation about test app configs
2021-02-17 18:10:51 +11:00
Christoph Rackwitz
c2e940e04c
singular form of quanta is quantum
...
it's like bacteria/bacterium, phenomena/phenomenon
2021-02-16 18:02:30 +01:00
Fu Hanxi
24e8109cc3
ci: no setup_python for deploy_test_result
2021-02-17 00:45:06 +08:00
Fu Hanxi
a01b6c0382
ci: run all static code analysis jobs when the gitlab yaml changes
2021-02-17 00:31:08 +08:00
Fu Hanxi
1f12eaf6ea
ci: ensure clang_tidy_deploy artifacts downloaded
2021-02-17 00:17:33 +08:00
Michael (XIAO Xufeng)
4f1ef535c1
Merge branch 'docs/reorder_public_headers' into 'master'
...
docs: reorder the sequence of headers
See merge request espressif/esp-idf!12310
2021-02-16 13:52:28 +00:00
David Čermák
e615d10b4f
Merge branch 'feature/transport_tcp_connection_errors' into 'master'
...
tcp_transport/esp_tls: Use common TCP transport to reduce code duplication
Closes IDFGH-4405
See merge request espressif/esp-idf!12136
2021-02-16 13:32:47 +00:00
David Čermák
f54f4f8720
Merge branch 'feature/add_websocket_unit_test' into 'master'
...
Add websocket unit tests
See merge request espressif/esp-idf!12095
2021-02-16 11:29:46 +00:00
Ivan Grokhotkov
22cc1121fb
Merge branch 'ci/detect_file_changes_to_assign_jobs' into 'master'
...
CI: Detect file changes to assign jobs
See merge request espressif/esp-idf!10652
2021-02-16 11:08:17 +00:00
Ivan Grokhotkov
863aecc38d
Merge branch 'bugfix/fix-automatic-connection' into 'master'
...
bugfix: fixed automatic connection in idf_monitor
Closes IDF-2654
See merge request espressif/esp-idf!12220
2021-02-16 08:58:26 +00:00
yuanjm
cd01a0ca81
websocket: Add websocket unit tests
2021-02-16 08:29:28 +00:00
David Cermak
1921ae8973
tcp_transport: Reduce lwip dependecy for tcp_transport/http_client
2021-02-16 09:01:35 +01:00
David Cermak
eb772e152c
esp_tls: Fix unresolved lwip symbol when complex dependency tree
2021-02-16 09:01:35 +01:00
David Cermak
5cfa545d08
esp-tls: Added _esp_tls_net_init to init fd for both mbedtls/wolfssl
2021-02-16 09:01:35 +01:00
David Cermak
4375f888fa
esp-tls: Fix wolfssl error codes for WANT_READ/WANT_WRITE
...
wolfSSL error codes are mostly positive numbers, but esp-tls potentially
non-block API (read/write) returns ssize_t, i.e. bytes read/written if
>0, errorcode otherwise. To comply with this API we have to conditionate
the wolfssl return codes to negative numbers, preferably the same codes
as mbedTLS codes.
2021-02-16 09:01:35 +01:00
David Cermak
2d25252746
esp-tls: Rework tcp_connect() to use more subroutines
...
Refactored the esp_tcp_connect() functionality to break it down to
* dns-resolution + socket creation
* set configured socket options
* set/reset non-block mode
* the actual connection in non-blocking mode
2021-02-16 09:01:35 +01:00
David Cermak
1fa0db8d44
tcp_transport: Allow for using transport independently from list
...
For compatibility reasons, support also transports separately if the transport is used
before attaching to parent list. In this case we create an internal context which is
independent on the foundation transport and used preferably
2021-02-16 09:01:35 +01:00
David Cermak
41146d674f
ci: Update pppos client test regex with esp-tls transport layer
2021-02-16 09:01:35 +01:00
David Cermak
99805d880f
websockets: Set keepalive options after adding transport to the list
...
To be in line with other code and mainly to support base/foundation transport used by both tcp and ssl transport layers
2021-02-16 09:00:43 +01:00
David Cermak
0e97517a1c
tcp_transport: Add unit test to exercise tcp/ssl transport init
2021-02-16 09:00:43 +01:00
David Cermak
4e394bcbce
esp-tls: Extend error types with TCP clean close error
2021-02-16 09:00:43 +01:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01:00
David Cermak
6b318fe583
esp_tls: Updated connection method to use non-blocking connect
...
For better control over connection timeouts
To be in line with former tcp_transport, as esp-tls is not used for
plain tcp transports
2021-02-16 09:00:43 +01:00
David Cermak
2c28ffffee
tcp_transport/esp_tls: Use common TCP transport to reduce code duplication
...
For high level review of the changes.
2021-02-16 09:00:43 +01:00
David Cermak
391d7bf271
tcp_transport: Add TCP transport connection errors
...
Transport's error_handle is used to capture different types of errors
including esp_err_t from esp-tls and socket/system errors.
This change adds the following error codes for TCP transport:
* connection closed by a FIN flag (clean closure from server)
* DNS resolution problem
* connection timeout
These errors are already defined in esp-tls component and since this
component will be used in the future for both TCP and SSL transport, we
currently report these issues in transport::error_handle::esp_tls_last_error
of standard esp error type (esp_err_t)
Closes https://github.com/espressif/esp-mqtt/issues/182
2021-02-16 09:00:43 +01:00
Angus Gratton
8c195a7a17
Merge branch 'feature/ulp_c3_not_exists_update_doc' into 'master'
...
doc/ulp(esp32c3): Excludes ulp and some RTC features from ESP32C3 doc
Closes IDF-2318 and IDF-2331
See merge request espressif/esp-idf!12347
2021-02-15 23:09:54 +00:00
Angus Gratton
fc945be7f8
Merge branch 'bugfix/freemodbus_fix_parity_propagation_issue' into 'master'
...
freemodbus: fix mb controller parity propagation issues
Closes IDFGH-4560
See merge request espressif/esp-idf!11951
2021-02-15 22:55:38 +00:00
Angus Gratton
5b5431a5f0
Merge branch 'feature/new_blink_example' into 'master'
...
new blink example
See merge request espressif/esp-idf!12238
2021-02-15 22:47:47 +00:00
Tomas Rezucha
1814a1d9f6
Add note about unit testing on Windows
2021-02-15 13:36:59 +01:00
pedro.minatel
cccdb3e4aa
Get started example update for addressable LED compatibility.
...
Added the RMT/addr LED blink to the example and more detailed README.md
Moved component/led_strip to common_components
Added missing README file to common_components/led_strip
README file update
Makefile and Kconfig fixed for led_strip component
Fixing end-of-line on main/blink.c
Component updated to handle multiple instances
Added note on the RMT channel number (ESP32 and ESP32-S2)
Removed components folder from rmt/led_strip example and README updated
Changed the led_strip_denit function and added ESP32-C3 RMT info on channel configuration
Updates on README, Kconfig default settings and configure_led() function added
2021-02-15 12:34:55 +00:00
KonstantinKondrashov
11a2f2acd3
bootloader: Adds a check that app is run under FE
2021-02-15 20:33:50 +08:00
Angus Gratton
7d27ddc502
Merge branch 'bugfix/aes_dma_completion' into 'master'
...
mbedtls: Fix AES dma completion race condition
See merge request espressif/esp-idf!12257
2021-02-15 08:23:07 +00:00
David Čermák
904be7c41b
Merge branch 'bugfix/mdns-pvs-arrayoverrun' into 'master'
...
mdns: add bound check when setting interface as duplicate
Closes IDF-2787
See merge request espressif/esp-idf!12373
2021-02-15 08:06:56 +00:00
aleks
b554d4d34d
freemodbus: fix mb controller parity propagation issues
...
Closes https://github.com/espressif/esp-idf/issues/6377
2021-02-15 08:39:18 +01:00
suren.gabrielyan
2b9d2c06f5
mdns: add bound check when setting interface as duplicate
...
Closes IDF-2787
Partially addresses https://github.com/espressif/esp-idf/issues/6440
2021-02-15 06:43:51 +00:00
Mahavir Jain
b8e6d8e699
Merge branch 'bugfix/fix_enable_reset_provision_cause_device_crash' into 'master'
...
provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash
Closes IDFGH-4409
See merge request espressif/esp-idf!12298
2021-02-15 06:05:08 +00:00
yuanjm
850053caad
provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash
...
Closes https://github.com/espressif/esp-idf/issues/6240
2021-02-15 05:08:22 +00:00
Mahavir Jain
deac2fbeb9
Merge branch 'debug_prints' into 'master'
...
Label columns of timer and pm lock dumps
See merge request espressif/esp-idf!12047
2021-02-15 03:00:08 +00:00
Ivan Grokhotkov
552796a160
Merge branch 'feature/prefer_python3_in_installer' into 'master'
...
tools: Prefer python3 during install and export
Closes IDF-2682, IDFGH-4659, and IDFGH-4726
See merge request espressif/esp-idf!12250
2021-02-13 22:10:14 +08:00
Roland Dobai
47f67f8b81
tools: Prefer python3 during install and export
...
Install and export script should work on systems without "python"
executable.
Closes https://github.com/espressif/esp-idf/pull/6471
Closes https://github.com/espressif/esp-idf/issues/6532
Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-13 11:34:40 +01:00
Angus Gratton
e3b7337f03
esp_common: Don't redefine likely/unlikely if already defined
...
As these macros aren't namespaced, they may have been defined by another header.
Also reported in https://github.com/espressif/esp-idf/issues/6445
2021-02-12 15:30:24 +11:00
Angus Gratton
7778779489
newlib: Avoid introducing ESP-IDF macros from newlib platform headers
...
Also, rewrite the assert.h header to be clearer
Closes https://github.com/espressif/esp-idf/issues/6445
2021-02-12 15:18:05 +11:00
Angus Gratton
89b6baf2b8
mbedtls tests: Add optional debug log output to AES stream tests
2021-02-12 04:08:12 +00:00