|
libNeon
|
Neopixel driver library, effects included. Pure ESP-IDF and C++17.
Important folders:
libneon/ libneon/{include, src, examples}/neo/ libneon/examples/sdkconfig.defaults tests/ tests/lib/libneon/ libneon/, to allow the unit tests to pick up the local library foldertests/test/.keep Secondary folders:
cicd/ Helper files needed by CI/CDdocs/ Doxygen config and additional doxygen sourcesmisc/ Helper files needed for setting up development, logos, non-source material.tests/platformio.ini. You can, for exampletests/platformio.ini.sample to your board and setup, orcicd/platformio.ini, the file used by CI/CD.clang-format file to format the source, e.g. by Note on the test project structure. We set up the unit test project in such a way that we can use both pio run and pio test to run the unit tests. The two commands are similar but different enough that some commands are available for one and not the other (for example, the compilation database is generated for pio run but not pio test). We work around this by providing a test transport (similar to the one provided by pio test), our own app_main() function and building sources and tests together.
0. Make sure you have setup your tests/platformio.ini as above.
pio test or pio run, as follows: ./docs/_build/html/index.html.