my development board boots from the sd card,then i hope to store video data on the same sd card . how do i use the functions in the file_api fie to write data in the sd card?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
my development board boots from the sd card,then i hope to store video data on the same sd card . how do i use the functions in the file_api fie to write data in the sd card?
Hi,
you can find example how to use this functionality in vision_sdk/links_fw/src/rtos/links_common/null/nullLink_tsk.c or as alternative you can use Null link in your usecase to write file to SD Card (you can check vision_sdk/apps/src/rtos/usecases/null_src_mpeg4enc_null usecase for example).
Also please check vision_sdk/links_fw/src/rtos/utils_common/include/file_api.h for description of File_XXXX functions.
(note that file_api functionality is used when you run VisionSDK in BIOS on all cores mode, if you run Linux on A15, then file operations on SD Card are controlled by the Linux)
Regards,
Yordan