projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Module configuration parameters are showed only when they are compatible with the...
[bertos.git]
/
bertos
/
drv
/
dataflash_hwtest.c
diff --git
a/bertos/drv/dataflash_hwtest.c
b/bertos/drv/dataflash_hwtest.c
index 05426fef6c75a2bdfd243ad098b9ade84a2d82df..3edf8111ac94b2ce546726b1c851a0c0dcb7f66e 100644
(file)
--- a/
bertos/drv/dataflash_hwtest.c
+++ b/
bertos/drv/dataflash_hwtest.c
@@
-50,7
+50,7
@@
#include "hw/hw_dataflash.h"
#include "cfg/cfg_dataflash.h"
#include "hw/hw_dataflash.h"
#include "cfg/cfg_dataflash.h"
-#include "cfg/cfg_
kern
.h"
+#include "cfg/cfg_
proc
.h"
#include <cfg/test.h>
#include <cfg/debug.h>
#include <cfg/test.h>
#include <cfg/debug.h>
@@
-108,9
+108,9
@@
static uint8_t save_buf[DATAFLASH_TEST_STR_LEN];
* Setup all needed to test dataflash memory
*
*/
* Setup all needed to test dataflash memory
*
*/
-int dataflash_testSet
U
p(void)
+int dataflash_testSet
u
p(void)
{
{
- kfile_testSet
U
p();
+ kfile_testSet
u
p();
LOG_INFO("KFILE setup..ok\n");
LOG_INFO("Check if kernel is enable (if enable you should see the assert message.)\n");
LOG_INFO("KFILE setup..ok\n");
LOG_INFO("Check if kernel is enable (if enable you should see the assert message.)\n");
@@
-173,7
+173,7
@@
int dataflash_testRun(void)
LOG_INFO("Run KFILE test.\n");
SILENT_ASSERT("bertos/drv/dataflash.c:405: Assertion failed: fd->fd.seek_pos + size <= fd->fd.size");
LOG_INFO("Run KFILE test.\n");
SILENT_ASSERT("bertos/drv/dataflash.c:405: Assertion failed: fd->fd.seek_pos + size <= fd->fd.size");
- if (kfile_testRun(&dflash_fd.fd, test_buf, save_buf, sizeof(test_buf)) != EOF)
+ if (kfile_testRun
Generic
(&dflash_fd.fd, test_buf, save_buf, sizeof(test_buf)) != EOF)
{
LOG_INFO("KFILE test..ok\n");
}
{
LOG_INFO("KFILE test..ok\n");
}
@@
-212,7
+212,7
@@
int main(void)
proc_init();
#endif
proc_init();
#endif
- if (!dataflash_testSet
U
p())
+ if (!dataflash_testSet
u
p())
{
LOG_INFO("DATAFLASH setup..ok\n");
}
{
LOG_INFO("DATAFLASH setup..ok\n");
}