Euripedes Rocha
cc1526c570
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-07-12 06:19:20 +00: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
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
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
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
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
yuanjm
ca037eba9b
examples: Update mqtt open source test server address
2021-02-23 15:29:07 +08:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01:00
Euripedes Rocha Filho
b5682610b6
examples/mqtt: Cleanup on examples
...
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
and add documentation on usage of handler_args.
2021-02-11 07:29:29 +01:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
He Yin Ling
a908174c06
test: remove fake binary size check in example test:
...
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
David Cermak
c31cd77d43
examples: make mqtt tcp example to report tcp-transport errno
2020-11-19 17:25:04 +01:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
Marius Vikhammer
500c247030
protocol examples: enable protocol examples for esp32sbeta
...
Closes IDF-1027
2019-11-01 11:14:10 +08:00
Angus Gratton
8675a818f9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-22 13:51:49 +11:00
Marius Vikhammer
c6934d6175
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-15 09:35:23 +00:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Mahavir Jain
e7dba7d7bc
examples: change default build instructions in docs to CMake
2019-08-02 16:32:46 +05:30
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
David Cermak
3eda52f6cd
mqtt: update example documentation on generating a certificate for ssl authentication to hosts
...
Closes https://github.com/espressif/esp-idf/issues/3593
2019-07-14 16:05:50 +02:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
David Cermak
1ae0dfe7ef
mqtt: added support for esp event loop, updating examples to register and use event loop handler
2019-06-04 07:41:27 +02:00
Ivan Grokhotkov
6548afcf49
examples/protocols/mqtt: use common network component
2019-04-15 03:32:05 +00:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
David Cermak
b13a536041
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-11 15:30:15 +01:00
David Cermak
13bf307c85
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2019-01-03 09:22:24 +01:00