Wykres commitów

32 Commity (36169e6beb8d777e97fbd4eb244bdddba5dedf57)

Autor SHA1 Wiadomość Data
Jakob Hasse d023036be9 [cxx]: Added virtual desctructor in I2C class
Closes https://github.com/espressif/esp-idf/issues/7435
2021-10-09 14:00:29 +08:00
KonstantinKondrashov 709abee65c example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +08:00
David Cermak 64419f7247 Examples/esp_modem: Fix broken links, add details on using the example 2021-09-08 09:58:19 +02:00
David Čermák 25e14bd8d9 Merge branch 'feature/esp_netif_ppp_params' into 'master'
Examples: Add esp_modem example to experimental cxx components

Closes IDF-1923, IDFGH-217, IDFGH-2608, IDFGH-4838, IDFGH-1229, IDFGH-3848, and IDFGH-3809

See merge request espressif/esp-idf!13161
2021-09-07 18:16:13 +00:00
David Cermak 6cc07ecd58 examples: Add experimental modem example
* esp_modem cxx example to use esp_event_cxx (using only sync event)
* Use 0.1.9 version of the esp_modem to support CMake 3.5
* Add supported targets ESP32 and ESP32s2

Closes https://github.com/espressif/esp-idf/issues/1847
Closes https://github.com/espressif/esp-idf/issues/4688
Closes https://github.com/espressif/esp-idf/issues/6637
Closes https://github.com/espressif/esp-idf/issues/5754
Closes https://github.com/espressif/esp-idf/issues/5722
2021-09-07 13:27:50 +02:00
Euripedes Rocha Filho d53f0e074c experimental/mqtt_cxx: Adds a C++ Mqtt client wrapper
- Base class with separated event handlers for each Mqtt client event.
- Topic matcher added to support data events.
- Filter class to allow only mqtt valid topic filters.
- Initial code for unit test on the host.
2021-09-02 11:41:04 -03:00
Jakob Hasse b3271a51af Merge branch 'bugfix/common_components_linux' into 'master'
[build system]: Fixed common requirement for Linux target

Closes IDF-3638

See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Marius Vikhammer 6fc8c484ea ci: always run check_readme_links 2021-08-16 10:29:20 +08:00
Jakob Hasse 7029f0537e [build system]: Fixed common requirement for Linux 2021-08-13 16:50:29 +08:00
Jakob Hasse ca12c92877 [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
Jakob Hasse 88eb4fa6a6 [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
Jakob Hasse c9984faaef [mocks]: freertos mock
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Jakob Hasse 06956d46c1 [cxx]: GPIO CXX wrappers, experiemental CI rule
* Wrapper class for simple GPIO interaction
  like read/write without ISRs.
* Added rule to provoke builds after changes in
  the experimental C++ component.
2021-08-03 19:51:21 +08:00
Jakob Hasse 77909446f5 [cxx]: fixed I2C master timeout 2021-07-15 16:44:08 +08:00
Angus Gratton 936523b904 Merge branch 'feature/secure_bootv2_c3' into 'master'
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3

Closes IDF-2647

See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
KonstantinKondrashov ec4de4fe5c example_tests: CI uses ECO0 for esp32c3 tests 2021-04-09 14:26:06 +08:00
Cao Sen Miao c3da21a93f I2C: enable all unit test for i2c on esp32c3 2021-04-06 17:37:55 +08:00
Marius Vikhammer c85d949c1f ci: run Example_GENERIC for C3
Add support for running example_GENERIC tests for C3 on label.

Fix examples that fail.
2021-03-15 10:27:07 +08:00
Fu Hanxi 0146f258d7 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
Marius Vikhammer 9c8e4fd4c5 C3: build and run unit tests
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors

Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Jakob Hasse 5b15f37458 fix[cxx]: improve experimental cxx examples
* use std::this_thread::sleep_for instead of
  FreeRTOS sleep functions
* adjusted/added lincense headers in examples
2020-12-16 10:10:20 +08:00
Jakob Hasse 8282b0f9ea esp_timer: added C++ wrapper for esp_timer
Closes IDF-1074
2020-12-14 11:17:56 +08:00
KonstantinKondrashov aa96c9a4d8 esp_timer: Add an option to skip unhandled events for periodic timers
- Added an option to skip unhandled events for periodic timers. Useful for light sleep.
- Added doc about this case
- Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events.
- Fixed for esp_timer_dump() if name of timer is NULL
- Refactored timer_process_alarm()
- Added the delete function after using in UTs
2020-12-09 17:19:19 +08: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
Jakob Hasse f835bead45 C++: ESP Event wrapper classes
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
  waiting for events

* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
morris 9fa06719fa global: enable build uinit test for esp32-s3 2020-09-22 15:15:03 +08:00
Jakob Hasse 20c068ef3b cmock: added cmock as component
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
Jakob Hasse 25424477f2 C++: I2C API 2020-07-24 08:36:16 +08:00
Fu Hanxi bde4b1b350 ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC 2020-06-11 14:22:05 +08:00
Roland Dobai e1dc92b60b Add system example tests 2020-04-28 14:52:15 +02:00
Mahavir Jain d472e99a8f examples: fix cpp example tests regression 2020-02-19 11:03:07 +05:30
Jakob Hasse 31edd48b43 C++: Moved all C++ examples to own folder
* moved C++ examples to a new cxx folder in
  examples
* added experimental C++ component
* added ESPException class to the C++ experimental
  component
* added test cases for ESPException and
  corresponding test macros
2020-02-18 12:48:57 +08:00