Module test

Source

Modulesยง

aes_test ๐Ÿ”’
Test that AES (either CTR or CBC mode) is working properly.
crc_test ๐Ÿ”’
Test that CRC is working properly.
i2c_dummy ๐Ÿ”’
A dummy I2C client
icmp_lowpan_test ๐Ÿ”’
icmp_lowpan_test.rs: Test kernel space sending of ICMP packets over 6LoWPAN
ipv6_lowpan_test ๐Ÿ”’
ipv6_lowpan_test.rs: 6LoWPAN Fragmentation Test Suite
linear_log_test ๐Ÿ”’
Tests the log storage interface in linear mode. For testing in circular mode, see log_test.rs.
log_test ๐Ÿ”’
Tests the log storage interface in circular mode. For testing in linear mode, see linear_log_test.rs.
rng_test ๐Ÿ”’
This tests an underlying 32-bit entropy generator and the library transformations between 8-bit and 32-bit entropy. To run this test, add this line to the imix boot sequence:
sha256_test ๐Ÿ”’
This tests a software SHA256 implementation. To run this test, add this line to the imix boot sequence:
spi_dummy ๐Ÿ”’
A dummy SPI client to test the SPI implementation
spi_loopback ๐Ÿ”’
A SPI test which read/writes and expects MOSI to be loopbacked to MISO. It checks that what it writes is what it reads. The values put in the buffer are a circular ring of 8-bit values, starting with an initial value and incrementing by 1 on each write. So if the first write is [33, 34, โ€ฆ , 32], the next write will be [34, 35, โ€ฆ, 34]. You can set the speed of the operation to check that configurations are being set correctly: running two tests in parallel with different bit rates should see different clock frequencies.
udp_lowpan_test ๐Ÿ”’
udp_lowpan_test.rs: Kernel test suite for the UDP/6LoWPAN stack
virtual_aes_ccm_test ๐Ÿ”’
notice that there will be 18 tests, 6 for each, and the test output will make the debug buffer full, please go to boards/components/src/debug_writer.rs and change let buf = static_init!([u8; 1024], [0; 1024]); to let buf = static_init!([u8; 4096], [0; 4096]); Thanks! To run this test, include the code
virtual_uart_rx_test ๐Ÿ”’
Test reception on the virtualized UART by creating two readers that read in parallel. To add this test, include the line