X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_dataflash.c;h=1a758a869561d10e183ff3d1577d6e20c9faffc1;hb=b30ca67e54f665181d85a49bff3af2862e86601e;hp=739e5870299e94c0aa10f927a3fe8967d2632339;hpb=f9bf6788cebb30370bcb4c421cce30868d3cc134;p=bertos.git diff --git a/bertos/hw/hw_dataflash.c b/bertos/hw/hw_dataflash.c index 739e5870..1a758a86 100644 --- a/bertos/hw/hw_dataflash.c +++ b/bertos/hw/hw_dataflash.c @@ -1,24 +1,47 @@ /** * \file * * * \brief Dataflash HW control routines. * - * \version $Id$ * \author Francesco Sacchi */ -#include "hw_dataflash.h" +#include "hw/hw_dataflash.h" #include #include #include -#include - +#warning TODO:This is an example implementation, you must implement it! MOD_DEFINE(hw_dataflash); @@ -32,7 +55,6 @@ MOD_DEFINE(hw_dataflash); */ void dataflash_hw_init(void) { - #warning The data flash init pins function is not implemented! //Disable CS line (remove if not needed) dataflash_hw_setCS(false); @@ -58,7 +80,6 @@ void dataflash_hw_init(void) */ void dataflash_hw_setCS(bool enable) { - #warning The data flash setCS function is not implemented! if (enable) { /* @@ -86,7 +107,6 @@ void dataflash_hw_setCS(bool enable) */ void dataflash_hw_setReset(bool enable) { - #warning The data flash setReset function is not implemented! if (enable) { /*