|
|
3 rokov pred | |
|---|---|---|
| .. | ||
| main | 4 rokov pred | |
| CMakeLists.txt | 3 rokov pred | |
| README.md | 4 rokov pred | |
| sdkconfig.defaults | 4 rokov pred | |
| Supported Targets | Linux |
|---|
This unit test tests only if some of the supplied Linux functions seem to work correctly. The test framework is CATCH.
This application has been tested on Ubuntu 20.04 with gcc version 9.3.0.
First, make sure that the target is set to Linux. Run idf.py --preview set-target linux if you are not sure. Then do a normal IDF build: idf.py build.
IDF monitor doesn't work yet for Linux. You have to run the app manually:
./build/test_rom_host.elf
Ideally, all tests pass, which is indicated by "All tests passed" in the last line:
$ ./build/test_rom_host.elf
test
===============================================================================
All tests passed (8 assertions in 6 test cases)