1from __future__ import print_function 2 3import ttfw_idf 4 5 6@ttfw_idf.idf_example_test(env_tag='Example_ExtFlash') 7def test_examples_storage_ext_flash_fatfs(env, extra_data): 8 dut = env.get_dut('ext_flash_fatfs', 'examples/storage/ext_flash_fatfs', dut_class=ttfw_idf.ESP32DUT) 9 dut.start_app() 10 11 dut.expect('Initialized external Flash') 12 dut.expect('partition \'nvs\'') 13 dut.expect('partition \'storage\'') 14 dut.expect('File written') 15 dut.expect('Read from file: \'Written using ESP-IDF') 16 17 18if __name__ == '__main__': 19 test_examples_storage_ext_flash_fatfs() 20