Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

read the data from file using f_read in fatfs

hello , i'm trying to read my file fatfs in sdk , i have the instruction created with vivado HLS but i can't translate by my self in fatfs. some help please

this the instruction which i want to translate : 

/* Read model file */
           if( ! readModel( modelIn, example, sv, lambda, svNonZeroFeature, nonZeroFeature, target, weight, output, zeroFeatureExample, rbfConstant, degree
                    , b, numSv, numExample, kernelType, maxFeature ) ) {
              fprintf( stderr, "Error in reading model file %s\n",  mfile );
              exit (3);
           } else fclose( modelIn );
            printf("Finish reading model file\n");

Related