File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 # Add ESP32 core index and install the latest available esp32 core
1717 arduino-cli core update-index --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
1818 arduino-cli core install esp32:esp32
19+ - name : Install local library into Arduino CLI libraries
20+ run : |
21+ mkdir -p $HOME/.arduino15/libraries
22+ cp -R $GITHUB_WORKSPACE $HOME/.arduino15/libraries/HaierProtocol
1923 - name : Compile Arduino example
2024 working-directory : test/ci/arduino_example
2125 run : |
22- arduino-cli compile --fqbn esp32:esp32:esp32 . --libraries ../../..
26+ arduino-cli compile --fqbn esp32:esp32:esp32 .
Original file line number Diff line number Diff line change @@ -12,6 +12,20 @@ This library is compatible with both **PlatformIO** and **Arduino** toolchains.
1212
1313- Existing include paths stay unchanged (for example ``"protocol/haier_protocol.h" ``).
1414- Public headers are located in the ``src `` tree (the ``include `` tree is no longer used).
15+ - For Arduino IDE/CLI, you can also include the main header:
16+
17+ Note on C++ standard library support
18+ ----------------------------------
19+
20+ This library uses C++ timing facilities (``std::chrono ``). It requires a
21+ toolchain and board core that provide the C++ standard library. Older or
22+ constrained Arduino cores (for example some AVR/Uno toolchains) may not
23+ provide ``<chrono> `` and will fail to compile. For these boards prefer
24+ PlatformIO or newer Arduino cores that include full C++ support.
25+
26+ If you target constrained boards, see the Arduino usage documentation for
27+ workarounds and recommended cores.
28+
1529- For Arduino IDE/CLI, you can also include the main header:
1630
1731 .. code-block :: cpp
You can’t perform that action at this time.
0 commit comments