mirror of https://github.com/ARMmbed/mbed-os.git
commit
40cf725c11
|
@ -16,9 +16,6 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#include "mbed_trace.h"
|
|
||||||
|
|
||||||
#define TRACE_GROUP "GRNT"
|
|
||||||
|
|
||||||
#define FS_FAT 1
|
#define FS_FAT 1
|
||||||
#define FS_LFS 2
|
#define FS_LFS 2
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "unity/unity.h"
|
#include "unity/unity.h"
|
||||||
#include "greentea-client/test_env.h"
|
#include "greentea-client/test_env.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "common_defines_test.h"
|
#include "download_test.h"
|
||||||
|
|
||||||
#define MAX_THREADS 5
|
#define MAX_THREADS 5
|
||||||
|
|
||||||
|
|
|
@ -20,5 +20,9 @@
|
||||||
/*
|
/*
|
||||||
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
|
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "mbed_trace.h"
|
||||||
|
|
||||||
|
#define TRACE_GROUP "GRNT"
|
||||||
size_t download_test(NetworkInterface *interface, const unsigned char *data, size_t data_length, size_t buff_size, uint32_t thread_id = 0);
|
size_t download_test(NetworkInterface *interface, const unsigned char *data, size_t data_length, size_t buff_size, uint32_t thread_id = 0);
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "mbed.h"
|
#include "mbed.h"
|
||||||
#include "unity/unity.h"
|
#include "unity/unity.h"
|
||||||
#include "common_defines_test.h"
|
#include "file_test.h"
|
||||||
|
|
||||||
void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size)
|
void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size)
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
/*
|
/*
|
||||||
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
|
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
|
||||||
*/
|
*/
|
||||||
|
#include "mbed_trace.h"
|
||||||
|
|
||||||
|
#define TRACE_GROUP "GRNT"
|
||||||
|
|
||||||
void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size);
|
void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size);
|
||||||
|
|
||||||
void file_test_read(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size);
|
void file_test_read(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size);
|
||||||
|
|
Loading…
Reference in New Issue