Marek Fiala
2c814ef2fa
feat(tools): Enforce utf-8 encoding with open() function
2024-12-27 17:12:21 +08:00
Frantisek Hrbata
1c92945f59
change(examples): switch examples to use a minimal build
...
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
ad15109daa
change(examples): explicitly specify component dependencies for examples
...
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Euripedes Rocha
5ccc9d1978
ci(mqtt): Set partition to large for c6 on custom outbox example
...
Example failed to build on CI for c6 target due to partition size.
2024-10-10 10:49:36 +02:00
David Čermák
07400d348c
Merge branch 'feat/wifi_remote_with_hosted' into 'master'
...
fix(examples): esp_hosted as default for Wi-Fi connect on P4
See merge request espressif/esp-idf!33213
2024-09-30 15:37:40 +08:00
Ondrej Kosta
301e67157b
ci(esp_eth): enabled build and test for c61 in eth/proto examples
2024-09-18 08:44:58 +02:00
David Cermak
30c13225ca
fix(examples): esp_hosted as default for Wi-Fi connect on P4
2024-09-02 08:23:32 +02:00
Ondrej Kosta
dd81b56fb6
feat(esp_eth): removed disable of C5 and P4 from examples .build-test-rules
...
Updated examples to be able to build for C5 and P4.
Added Ethernet support for static_ip example.
2024-08-14 10:07:48 +02:00
xuxiao
a481b6c78d
fix(wifi): fix code comments
2024-07-24 18:03:42 +08:00
laokaiyao
c731b099ee
remove(c5beta3): remove c5 beta3 doxy files
2024-06-17 12:02:15 +08:00
David Cermak
39f4f98aa1
fix(examples): Add wifi_remote option to common connect example
...
* Add MQTT test configuration with WiFi on ESP32-P4
* Document esp_wifi_remote workflow in the example's README
2024-05-29 19:42:00 +08:00
Jakob Hasse
ba685edf45
refactor(mqtt): removed unused includes from tcp example
2024-05-17 09:15:35 +02:00
Bogdan Kolendovskyy
256e0e50e7
feat(mqtt): Enable build test in mqtt examples for esp32p4
2024-04-09 13:48:28 +02:00
Mahavir Jain
421a1ee931
feat(examples): add support for ESP32-P4 in ssl_ds example
2024-03-27 10:56:13 +05:30
David Cermak
327629c527
feat(example): Use PPP config in one MQTT example
...
to be build in CI, but only running PPP on UART to avoid adding tinyusb
dependency.
2023-10-30 14:50:03 +01:00
Euripedes Rocha
2f46d9686d
feat(mqtt/example): Adds custom outbox example
...
Adds example presenting how to customize esp-mqtt outbox.
2023-10-11 14:07:07 +02:00
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
...
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Andrii
6a42266795
fix(mqtt): Unite supported components tags under common structure
2023-08-10 09:06:16 +00:00
Euripedes Rocha
4778d9b477
protocols/examples: Disable Wifi connection if not supported
...
- Disable Kconfig option for Wifi if not supported by the SoC
- Enable building mqtt examples when target is set to esp32h2
2023-05-30 13:26:45 +02:00
Bogdan Kolendovskyy
9a05cc7733
Updated CMakeList.txt for main component of mqtt/ssl_ds.
2023-03-17 16:03:52 +01:00
Bogdan Kolendovskyy
d7b8b36082
examples: fix format errors, remove -Wno-format
...
Logging in series of examples has misuse of "%d" instead of type-appropriate format specifiers.
Fix by changing "%d" to PRIxx macros corresponding to type.
Remove -Wno-format compile flag in those examples that are affected.
2023-02-14 15:46:54 +01:00
Mahavir Jain
50f7d40b89
mqtt/ssl_ds: enable the example for ESP32-H2 target
2023-02-13 10:27:22 +05:30
Laukik Hase
45c6631a00
ci: Enable build stage for mqtt/ssl_ds
example for esp32c6
2023-01-19 10:00:00 +05:30
David Cermak
a71fa82177
esp_netif/lwip: Fix core-locking config
...
* 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
* Fix openthread libs
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-01-17 16:15:58 +01:00
Chen Yudong
c07d237ffe
examples: enable build esp32c6 for wifi and network examples
2023-01-12 14:50:06 +08:00
Suren Gabrielyan
b68203bfb5
Examples: migration mqtt examples to pytest
2022-12-20 17:48:48 +04:00
Armando
aba9f80cd2
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-09 20:15:17 +08:00
Martin Vychodil
c9c7573f71
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:54:45 +01:00
Aditya Patwardhan
6c7fd1edc0
mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
...
the DS documentation
2022-08-30 10:54:15 +05:30
Aditya Patwardhan
41707d0f17
mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
...
the example
2022-08-29 13:06:21 +05:30
Aditya Patwardhan
8387725c4f
mqtt/ssl_ds example: Update the code to use esp_secure_cert
component
2022-08-29 10:53:17 +05:30
Aditya Patwardhan
d64bda5946
mqtt/ssl_ds example: Remove configure_ds.py script, use
...
esp-secure-cert-tool instread
2022-08-29 10:53:17 +05:30
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +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
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
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
Chen Yudong
9575f03b8d
CI: fix ip address checker and trace log
2022-07-15 01:16:35 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Laukik Hase
2dea0e833a
ci: Fix mqtt_qos1
example test failure
...
- Updated log levels of some tags in mqtt/tcp example
- Updated mqtt/tcp example test to work with WiFi
2022-06-15 14:16:44 +05:30
Michael (XIAO Xufeng)
f7be540222
ci: partially enable example build for esp32c2
2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
Aditya Patwardhan
b284016bfd
configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
...
Closes https://github.com/espressif/esp-idf/issues/8285
2022-01-31 14:13:25 +05:30
David Cermak
51e222e71f
ci/mqtt: Move mqtt example tests to ethernet runners
2022-01-14 14:35:02 +01:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Roland Dobai
9c1d4f5b54
Build & config: Remove the "make" build system
...
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Sachin Billore
667017d517
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
...
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Shubham Kulkarni
0a395134d4
Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols
2021-04-15 04:00:06 +00:00