966 Commits

Author SHA1 Message Date
Rocha Euripedes
381e72c918 Merge branch 'move_from_idf' into 'master'
Reintroduce target tests

See merge request espressif/esp-mqtt!242
2025-10-01 20:38:56 +08:00
Euripedes Rocha Filho
3b1133723c ci: Disable certificate verification for publish tests
- Temporary solution while we are fixing the certificates for the test
broker.
2025-10-01 13:14:17 +02:00
Euripedes Rocha Filho
71534b1c43 ci: Adds target tests and move to gitlab components
Ths adopts gitlab components for better maintanance of CI.
Adds target tests
2025-10-01 13:14:17 +02:00
Rocha Euripedes
110613a8a6 Merge branch 'ci_build_speed_up' into 'master'
ci: Makes build parallel to speed up ci

See merge request espressif/esp-mqtt!255
2025-09-29 16:23:57 +08:00
Euripedes Rocha Filho
57f729ec66 ci: Makes build parallel to speed up ci 2025-09-29 08:56:07 +02:00
Rocha Euripedes
5800ec1b06 Merge branch 'introduce_pre_commit' into 'master'
Introduces pre-commit and removes deployment automation

See merge request espressif/esp-mqtt!254
2025-09-27 04:54:54 +08:00
Euripedes Rocha Filho
04f8e3765d chore: Adds pre-commit checks and introduce conventional commits 2025-09-26 17:45:16 +02:00
Euripedes Rocha Filho
5b1f57f690 ci: Removes deployment of docs and component
Release of documents and component should be done manually until we
introduce the automation properly.

ci: Solve the warnings on docs_build

ci: Adopts the old strategy to push to github
2025-09-26 14:16:20 +02:00
Rocha Euripedes
2c3e1e0942 Merge branch 'managed_esp_mqtt' into 'master'
ci: Adds documentation build

See merge request espressif/esp-mqtt!252
v1.0.0
2025-09-25 00:09:12 +08:00
Euripedes Rocha Filho
169e1ee88d fix: Adjust all examples and test to use local component
- Makes the name of component mqtt
- Updates README
- Adjust CI to build for supported idf versions
- Removes qemu job
2025-09-24 16:25:42 +02:00
Euripedes Rocha Filho
2b33476c3f ci: Adds documentation build
- Adds documentation build and deploy
- Removes QEMU test as it is outdated
2025-09-23 15:18:56 +02:00
Rocha Euripedes
48d134382c Merge branch 'move_idf_history' into 'master'
Moves idf history to esp-mqtt

Closes DOC-2797, IDF-3859, IDFGH-4986, and IDF-1027

See merge request espressif/esp-mqtt!247
2025-09-22 20:41:32 +08:00
Euripedes Rocha Filho
2925288e51 chore: Reorganize file structure
This just move files to their expected locations.
2025-09-22 13:19:04 +02:00
Euripedes Rocha
7edc15287c fix(mqtt): Adds sdkconfig to use test broker
Changes the configuration to make test to use internal broker on CI
runs.
2025-09-19 18:51:40 +08:00
Euripedes Rocha
f116643d5a feat(mqtt): Add reason code to SUBSCRIBED event in examples 2025-09-19 18:51:40 +08:00
Euripedes Rocha
6b609bcdee fix(mqtt): Make example binary data consistent
Improves user experience when copying examples to use as starting point.
2025-09-19 18:51:40 +08:00
Hossein.M
dfeb06f99f fix: fix build failure when project name is not mqtt_ssl
fixes: #14870

Closes https://github.com/espressif/esp-idf/pull/14871
2025-09-19 18:51:40 +08:00
David Cermak
0cbd2fbcf3 fix(examples): Update wifi-remote dependency to include IDF-v6
Use esp_wifi_remote version < v2.0
Planned release v1.0 to support remote and native coexistence, which
should be still compatible with IDFv5.x and IDFv6.x
2025-09-19 18:51:40 +08:00
David Cermak
ea6237dd8d change(examples): Re-enable examples which need esp_wifi_remote
This reverts commit b40958fd363733d2b0136f63e45016442b9baae9.
2025-09-19 18:51:40 +08:00
Euripedes Rocha
de8ab91c19 change(mqtt): Adds retry on publish connect test case
This test case fails mostly for network related issues, with retrys we
might avoid the failure of the whole job.
2025-09-19 18:51:40 +08:00
Ivan Grokhotkov
1741b21561 change(examples): temp. disable examples which need esp_wifi_remote
Will be re-enabled after adding IDF 6.0 compatibility in
esp_wifi_remote.
2025-09-19 18:51:40 +08:00
Shen Meng Jing
95f299c4f3 docs: Fix some typos 2025-09-19 18:51:40 +08:00
harshal.patil
a38c9e1ee0 fix(examples): Example CA certs must contain the Key Usage parameter
- Example CA certificates that are used for self-signed client certificates
need to include the Key Usage parameter.
- Python3.13 changed the default context of the SSL context that is
generated using ssl.create_default_context() by enabling the VERIFY_X509_STRICT
flag by default
2025-09-19 18:51:40 +08:00
Chen Jichang
204f57f154 feat(esp32h4): disable unsupported build 2025-09-19 18:51:40 +08:00
Chen Jichang
05b46d3ed0 feat(esp32h4): enable ESP32H4 ci build 2025-09-19 18:51:40 +08:00
Zhang Shuxian
003ea16dfd docs: Update CN translation in protocols 2025-09-19 18:51:40 +08:00
igor.udot
d30dfd5074 test: format all test scripts 2025-09-19 18:51:40 +08:00
nilesh.kale
b8d7b2bded docs: update document to remove dependency of esp32 on secure element usage 2025-09-19 18:51:40 +08:00
gaoxu
e7abe55bc2 feat(esp32h21): disable unsupported build test 2025-09-19 18:51:40 +08:00
Euripedes Rocha
aeb84de1a0 fix(mqtt): Regenerate certificates for testing
- Previous fix ommited one of the client certificates by mistaque.
- This regenerates all certificates to clean that up.
2025-09-19 18:51:40 +08:00
Euripedes Rocha
73b773986f fix(mqtt): Update test app certificates
Certificates expired, so need to update for testing to pass.
2025-09-19 18:51:40 +08:00
Euripedes Rocha
e06ed89fdf fix(mqtt): MQTT5 API header added to documentation
MQTT5 API headers were missing.
2025-09-19 18:51:40 +08:00
David Cermak
d23102b47a fix(mqtt): Fix test with local mosquitto increasing stack size
4kB stack size for mosquitto runner task wasn't enough and with
recent updates of sock_utils it caused stack overflows
2025-09-19 18:51:40 +08:00
Marek Fiala
a0f32ae1a0 feat(tools): Enforce utf-8 encoding with open() function 2025-09-19 18:51:40 +08:00
Euripedes Rocha
efebd8831f change: Makes topic in mqtt publish test unique for case
- Makes each case to subscribe/publish to unique topics
- Makes test to wait for the successful subscription on the runner
2025-09-19 18:51:40 +08:00
Fu Hanxi
e8e1ab57bb ci(target-test): support timeout 4h markers 2025-09-19 18:51:40 +08:00
Euripedes Rocha
cca3d4af9d change: Improve mqtt publish connect tests
- Add random client id on each iteration
- Make timeout configuration dependent on more scenario parameters
2025-09-19 18:51:40 +08:00
David Cermak
ec8a9ec2cb feat(mqtt): Add publish stress test with local broker 2025-09-19 18:51:40 +08:00
Frantisek Hrbata
b17444a109 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>
2025-09-19 18:51:40 +08:00
Frantisek Hrbata
e71a595cf8 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>
2025-09-19 18:51:40 +08:00
Linda
c5fb6c9436 docs: update application examples for modbus.rst, mqtt.rst and lwip.rst 2025-09-19 18:51:40 +08:00
Euripedes Rocha
2a68028e50 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.
2025-09-19 18:51:40 +08:00
David Cermak
8b6951a969 fix(examples): esp_hosted as default for Wi-Fi connect on P4 2025-09-19 18:51:40 +08:00
Ondrej Kosta
87e021c8d9 ci(esp_eth): enabled build and test for c61 in eth/proto examples 2025-09-19 18:51:40 +08:00
Ondrej Kosta
d75c586e7e 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.
2025-09-19 18:51:40 +08:00
xuxiao
67b882b53c fix(wifi): fix code comments 2025-09-19 18:51:40 +08:00
wanlei
8b1fb7ff2f feat(esp32c61): disable unsupported build test 2025-09-19 18:51:40 +08:00
laokaiyao
54f86b9687 remove(c5beta3): remove c5 beta3 doxy files 2025-09-19 18:51:40 +08:00
David Cermak
08af0be8ce 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
2025-09-19 18:51:40 +08:00
Jakob Hasse
ab03f3f21a refactor(mqtt): removed unused includes from tcp example 2025-09-19 18:51:40 +08:00