X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_dataflash.c;h=844dd9220ab6092b73abd40ca1b49de9528554db;hb=2325bd9b0caad4f1ef2a277a7c568dae53c3f7f3;hp=739e5870299e94c0aa10f927a3fe8967d2632339;hpb=f9bf6788cebb30370bcb4c421cce30868d3cc134;p=bertos.git diff --git a/bertos/hw/hw_dataflash.c b/bertos/hw/hw_dataflash.c index 739e5870..844dd922 100644 --- a/bertos/hw/hw_dataflash.c +++ b/bertos/hw/hw_dataflash.c @@ -1,6 +1,31 @@ /** * \file * @@ -11,14 +36,13 @@ * \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 +56,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 +81,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 +108,6 @@ void dataflash_hw_setCS(bool enable) */ void dataflash_hw_setReset(bool enable) { - #warning The data flash setReset function is not implemented! if (enable) { /*