projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only include switch.h when preemption is enabled
[bertos.git]
/
drv
/
dataflash.h
diff --git
a/drv/dataflash.h
b/drv/dataflash.h
index 0cd943923ba9fa8bd17ce2d9b3e938bc7b961a5b..c49b9acd0a61fa257fc072991c178b129993930c 100644
(file)
--- a/
drv/dataflash.h
+++ b/
drv/dataflash.h
@@
-48,10
+48,13
@@
#include <appconfig.h>
#include <appconfig.h>
+#warning This driver must be test before use!
+
/**
* Type definition for dflash memory.
*/
typedef uint32_t dataflashAddr_t;
/**
* Type definition for dflash memory.
*/
typedef uint32_t dataflashAddr_t;
+typedef uint32_t dataflashOffset_t;
typedef uint32_t dataflashSize_t;
#define RESET_PULSE_WIDTH 10 // Width of reset pulse in usec.
typedef uint32_t dataflashSize_t;
#define RESET_PULSE_WIDTH 10 // Width of reset pulse in usec.
@@
-201,7
+204,7
@@
typedef enum {
} DataFlashOpcode;
void dataflash_init(struct _KFile *fd);
} DataFlashOpcode;
void dataflash_init(struct _KFile *fd);
-void
hal_d
flash_test(void);
+void
data
flash_test(void);
#endif /* DRV_DATAFLASH_H */
#endif /* DRV_DATAFLASH_H */