Mahavir Jain
e31712ee56
Merge branch 'bugfix/fix_memory_leak_in_ws_server_example_v5.0' into 'release/v5.0'
...
example: Fix memory leak in ws_echo_server when httpd_queue_work failed (backport v5.0)
See merge request espressif/esp-idf!23954
2023-05-29 13:21:58 +08:00
yuanjianmin
7b72adaa78
example: Fix memory leak in ws_echo_server when httpd_queue_work failed
...
Closes https://github.com/espressif/esp-idf/issues/11507
2023-05-26 20:06:45 +08:00
Mahavir Jain
de3fa9ae71
tests: update Root certificate for the test endpoints
...
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.
This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-17 15:28:23 +05:30
Jiang Jiang Jian
e8205de110
Merge branch 'bugfix/lwip_core_locking_v5.0' into 'release/v5.0'
...
esp_netif/lwip: Fix core-locking config (v5.0)
See merge request espressif/esp-idf!22443
2023-03-23 16:54:49 +08:00
David Cermak
a18d019fc9
lwip: Fix lwiopts macro expansion and dhcps-test
...
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
Fix lwip thread safety issue in tests: dhcp server should be started and
stopped only in lwip context/thread. Without this fix, the test would
fail if `CONFIG_LWIP_CHECK_THREAD_SAFETY=y`
Adds CONFIG_LWIP_TCPIP_CORE_LOCKING=y to some mqtt example tests (the
same configs as used in v5.1)
2023-03-21 11:21:07 +01:00
David Cermak
5b75693522
esp_netif/lwip: Fix core-locking config (v5.0)
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 11:09:56 +01:00
aleks
be59a273c6
modbus remove example tests
2023-03-20 13:12:30 +01:00
Chen Yudong
3c58ca9285
CI: optimize test case test_examples_protocol_socket_tcpserver
2023-03-01 22:40:34 +08:00
Laukik Hase
09c0b58b97
esp_local_ctrl: Fix header inclusion
...
- Included `sdkconfig.h` and HTTP/S server based headers
explicitly
2023-01-26 12:53:02 +05:30
Laukik Hase
7279244f8c
esp_local_ctrl: Add support for insecure HTTP server transport
2022-12-28 11:17:10 +05:30
Jiang Jiang Jian
490216a2ac
Merge branch 'bugfix/fix_httpd_req_cleanup_v5.0' into 'release/v5.0'
...
esp_http_server: fix wrong context pointer in httpd_req_cleanup function (v5.0)
See merge request espressif/esp-idf!21731
2022-12-22 10:22:06 +08:00
Laukik Hase
73ea8543e3
protocols/security: Remove -Wno-format
compile option for examples
2022-12-21 14:39:46 +05:30
Harshit Malpani
a5ee1504f8
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
...
Added example which fails without the fix
Closes https://github.com/espressif/esp-idf/issues/10265
2022-12-21 10:32:34 +05:30
Chen Yudong
afc433114e
CI: fix ipv6 test failed on some runners
2022-12-20 11:26:32 +08:00
Harshit Malpani
9a914cc6d4
ci: fix https_x509 example
2022-12-05 03:17:08 +00:00
Mahavir Jain
e15dfec417
Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled_v5.0' into 'release/v5.0'
...
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled (v5.0)
See merge request espressif/esp-idf!21081
2022-12-05 11:14:57 +08:00
Ivan Grokhotkov
85eff825a9
Merge branch 'bugfix/do_not_mix_esp_partition_and_spi_flash_apis_v5.0' into 'release/v5.0'
...
partition: use esp_partition_munmap instead of spi_flash_munmap (v5.0)
See merge request espressif/esp-idf!21024
2022-12-02 19:29:49 +08:00
harshal.patil
9463a66fc0
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
2022-11-14 15:56:17 +05:30
Harshit Malpani
df988596b1
cbor: Update cbor component version in idf_component.yml file in example
2022-11-14 10:08:07 +05:30
Armando
d4725fb34d
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-10 11:26:51 +08:00
Ivan Grokhotkov
166effd4b8
Merge branch 'feature/partition_api_new_component_v5.0' into 'release/v5.0'
...
Storage: Partition APIs moved to the new component 'esp_partition' (v5.0)
See merge request espressif/esp-idf!20855
2022-11-04 14:58:51 +08:00
Ivan Grokhotkov
a8ebd8ad04
unity: add linux port
...
This allows using unity fixture in Linux host tests
2022-11-02 21:49:15 +01:00
Martin Vychodil
af81bd1b0a
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
beta-tester
940530c505
doc: redirect console page
...
Previous the console doc is moved from api-guide to api-reference, which
broken the URL as well, this commit added a redirect link to ensure the
old URL can still work.
2022-11-02 16:11:24 +08:00
yuanjianmin
bb41b340b9
ci: Fix mqtt broker is not available
2022-10-10 02:38:28 +00:00
Aditya Patwardhan
c88b27f285
mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
...
the DS documentation
2022-08-30 21:39:01 +05:30
Aditya Patwardhan
cbecb2e944
mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
...
the example
2022-08-29 16:19:51 +05:30
Aditya Patwardhan
69be3b6955
mqtt/ssl_ds example: Update the code to use esp_secure_cert
component
2022-08-29 16:19:51 +05:30
Aditya Patwardhan
5e1b0b97b5
mqtt/ssl_ds example: Remove configure_ds.py script, use
...
esp-secure-cert-tool instread
2022-08-29 16:19:51 +05:30
David Cermak
7e3e0fbbac
Examples: Remove SLIP protocol example
2022-08-18 07:07:44 +02:00
David Cermak
df8390075b
esp_netif: Migrate SLIP interface to user-space
2022-08-18 07:07:44 +02:00
Ivan Grokhotkov
e596c84d49
build system: re-add -Wno-format as private flag for some example components
2022-08-03 16:42:47 +04:00
Mahavir Jain
9b518380b2
Merge branch 'contrib/github_pr_9452' into 'master'
...
coap: Update examples to use latest features of libcoap component (GitHub PR)
Closes IDFGH-7934
See merge request espressif/esp-idf!19308
2022-08-01 16:35:24 +08:00
Jon Shallow
98d346a81e
coap: Update examples to use latest features of libcoap component
...
Support libcoap build with Client Only or Server Only code.
2022-07-28 13:11:52 +00:00
yuanjm
7dcc29d0be
Add mqtt5 build test rules
2022-07-28 06:24:43 +00:00
yuanjm
196831efa8
example: Add mqtt5 example
2022-07-28 06:24:43 +00:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Abhik Roy
757a171e39
Merge branch 'example/icmpv6_ping' into 'master'
...
icmpv6_ping example code formatting.
See merge request espressif/esp-idf!19136
2022-07-21 03:32:02 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
David Čermák
e7ccaaf9ca
Merge branch 'feature/update_mqtt_client' into 'master'
...
[MQTT] - Updates esp_mqtt configuration struct
See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Abhik Roy
8ab028c85e
icmpv6_ping example code formatting.
2022-07-20 12:14:59 +05:30
Mahavir Jain
0c09406173
examples/cbor: keep newlib nano disabled in the example
...
CBOR parsing fails with newlib nano configuration, observed on ESP32-C2.
Closes IDFCI-1375
2022-07-19 13:27:51 +05:30
David Čermák
d1dc30fd70
Merge branch 'example/icmpv6_ping' into 'master'
...
examples: Add ICMPv6 Echo Request/Reply example.
See merge request espressif/esp-idf!18731
2022-07-19 05:04:02 +08:00
Abhik Roy
25c310b3da
examples: Add ICMPv6 Echo Request/Reply example.
...
Added example to create a raw ICMPv6 socket and sends an ICMPv6 Echo-Request
to the destination ipv6 address and wait for Echo-Reply for esp32 and Linux target.
2022-07-18 12:13:23 +05:30
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Chen Yudong
d54e1e8379
CI: make sure that reading of the ipv4 address has finished
2022-07-15 14:21:39 +08:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
Chen Yudong
692fbc169c
CI: use ssid password from stdin for pytest cases
2022-07-15 01:16:36 +08:00
Chen Yudong
4313ff4655
CI: input ssid password depends on sdkconfig
2022-07-15 01:16:36 +08:00
Chen Yudong
472ac26712
CI: update test cases to use different environment variables
...
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00